/*-------------------
This theme uses Bootstrap v5.1.

It is highly recommended to check out Bootstrap's guiding principles,
strategies, and techniques at https://getbootstrap.com/docs/5.1/extend/approach/
before adding custom styling.

To learn more about Bootstrap v5.1, please check
out https://getbootstrap.com/docs/5.1/getting-started/introduction/.
/*-------------------*/

/*-------------------*/

/* SKU PRODUCTION TIME CONDITION */


.delivery-copy {
  margin-bottom: 12px;
  font-size: 12px;
  color: #555;
  font-style: italic;
}

.product-delivery-note .delivery-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.delivery-instock {
  display: inline;
}

/* Toggle for custom items */
.is-custom .delivery-custom {
  display: inline;
}

.is-custom .delivery-instock {
  display: none;
}

/* END */


/* GENERAL */

ol.breadcrumb li {
    font-weight: 700;
}

.form-control {
  border: 1px solid #ced4da;
  color: #495057;
  background-color: #f7f7f7 !important;
}

select.form-select,
form:not(.search-form) .form-control:not(.popup-search) {
    border: 1px solid #ced4da;
    color: #495057;
    background-color: #f7f7f7 !important;
    border-radius: 10px !important;
}

.add-to-cart-area .btn.secondary {
    font-size: 20px;
}

.btn.primary.add-to-cart {
    padding: .5rem 1rem;
}

.btn.secondary {
    font-weight: 600 !important;
}

form.simple_form.new_search.search-form {
    min-width: 100%;
}

h2 {
    text-transform: uppercase;
}

/* TOP NAV */

.header-icons > a svg, .header-icons button svg {
    height: 20px;
}

.header-container .dropdown-item:hover, .header-container .dropdown-item:focus {
    background-color: #f78f20;
}

.header-container .dropdown-menu {
    border-radius: 0;
}

/* HEADER */

.header-container {
    background-image: linear-gradient(#f78e20, #f47522);
}

.header-container .navbar-brand.logo-container {
    padding: 12px 15px;
}

.header-navbar {
    padding: 0 15px;
}

.header-container .nav-section {
  	padding: .5rem 1rem;
}

/* CATEGORY NAV */

.dropdown-item {
  	font-size:16px;
}

.mobile-slider ul {
    padding: .5rem 1rem;
    background-color: #f78f20;
}

.mobile-slider .nav-link {
    padding: 12px 15px;
}

.mobile-slider li > a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

/* END */

/* CONTENT */

.product-list{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 1rem !important;
  margin-right: 1rem !important;
  padding-right: 0;
}

.product-list-home,
.related-products-thumbnails,
.recently-viewed-products-thumbnails {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 1rem !important;
  margin-right: 1rem !important;
  padding-right: 0;
}


.product-thumbnail {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.14);
  padding: 16px;
  margin: 0 !important;
  width: auto !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
 
.thumbnail-description-container h5 {
    font-size: 18px;
}

.product-thumbnail:hover {
  transform: translateY(-20px);
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transition: all .3s ease-in-out;
}

.product-thumbnail:hover .new-item-label {
  background: #f78f20 !important;
  transition: all .3s ease-in-out;
}

.product-thumbnail:hover a h5 {
    color: #f78f20 !important;
}



.thumbnail-img-container {
  background: #fff;
  border-radius: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.thumbnail-img-container img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.thumbnail-description-container {
  text-align: center;
}

.thumbnail-description-container h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.thumbnail-description-container .card-text {
  font-size: 16px;
  font-weight: 700;
  color: #0d4b8b; /* Jani-King blue */
  margin: 0;
}

.product-thumbnail a {
  text-decoration: none;
  color: inherit;
}

/* ribbon display for in stock item */

.product-thumbnail {
  position: relative;
  overflow: hidden;
}

/* Ribbon */
.new-item-label {
  position: absolute;
  top: 28px;
  left: -56px;
  width: 220px;

  background: #4d4e50;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  padding: 8px 0;

  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
  letter-spacing: .6px;
  z-index: 10;
  pointer-events: none;
  bottom: auto !important;
}

/* End  */


/* size chart button link modification */
.quantity-discount > button, .quantity-discount > button:hover, 
.quantity-discount > button:focus, .size-chart > button, 
.size-chart > button:hover, .size-chart > button:focus {
    color: #006699 !important;
}

.size-chart .btn-link,
.quantity-discount .btn-link {
    text-decoration: none !important;
}

.size-chart .btn-link:hover,
.quantity-discount .btn-link:hover {
    text-decoration: underline !important;
}

.featured-categories-container {
  background-color: #fff;
  padding: 5rem 0 !important;
}

.featured-categories-container h2,
.featured-products h2 {
  text-align: center !important;
}

.featured-categories-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.featured-categories-inner .box {
  width: calc((100% - 60px) / 3);
  margin-bottom: 20px;
  box-shadow: 0 12px 16px -4px #00000014,0 4px 6px -2px #00000008;
  border-radius: 16px;
  background-color: #f5f5f5;
  padding: 0;
  transition: .3s;
}

.box-content {
    padding: 20px;
}

.featured-categories-inner img {
  max-width: 100%;
}

.featured-categories-inner span {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #333333;
}

.btn.secondary {
  padding: 6px 16px 7px;
}

.checkout-steps .btn.secondary {
  padding: 0.25rem 0.5rem;
}

.featured-categories-inner .btn.secondary svg {
  background-color: #1fec85;
  border-radius: 20px;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  padding: 3px;
}
.featured-categories-inner .btn.secondary svg path {
  fill: #3378c6 !important;
}

.featured-categories-inner .box {
  border-radius: 16px;
  overflow: hidden; /* ensures nothing bleeds outside */
}

/* Only round the top corners of the image */
.featured-categories-inner .box img {
  width: 100%;
  display: block;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Card shape */
.featured-categories-inner .box {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

/* Image base */
.featured-categories-inner .box img {
  width: 100%;
  display: block;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.box:hover::after {
    opacity: 1;
}

.box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Keeps overlay locked inside rounded edges */
.featured-categories-inner .box .box-content {
  position: relative;
  z-index: 2;
  background: #fff;
}


.featured-categories-inner .box a:hover,
.featured-categories-inner .box a:hover span{
  text-decoration: none;
  color: #006699;
}
    
.featured-products-container {
    background-color: #f0f0f0;
}

/* PRODUCT THUMBS */

.main-img-container {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.14);
}

.product-page-main .images-wrapper ul li .small-thumb {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.14);
}

.product-page-main .images-wrapper ul li {
    border: none;
}

.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.orange-text {
    color: #f78f20;
    font-weight: 900;
}

/* PRODUCT */


/* FOOTER */

.footer-container p a:hover, .footer-container p a:focus,
.footer-container .links.pages a:hover{
    color: white !important;
    text-decoration: underline !important;
    font-weight: 700;
}

.footer-container h5 {
 	font-weight:700;
}

.footer-container {
    padding: 50px;
}

.footer-container h4.font-weight-bolder {
    font-weight: 700;
    text-transform: uppercase;
}

.footer-container a.nav-link.main-cat.py-2 {
    padding: 0;
}

.register-btn-footer {
	width: 100%;
}

.register-btn-footer:hover {
	border-color: #f78f20 !important;
}

/* MEDIA QUERIES */

/*-------------------*/
@media (min-width: 1200px) {
  
  .thumbnail-img-container {
        padding: 10px;
  }
  
  h2 {
    font-weight: 400;
    font-size: 2rem;
  }
  
}


@media screen and (max-width: 1200px){
  
	.featured-categories-inner {
    	justify-content: center;
  	}

  	.featured-categories-inner .box {
    	width: calc((100% - 15px) / 2);
  	}
  
  
}

@media (max-width: 991px) {
  
    .product-list, .product-list-home, .related-products-thumbnails, .recently-viewed-products-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    }
  
  	.mobile-slider {
        max-height: 280px;
        overflow-y: auto;
    }
  
    .header-container .nav-section {
      background-color: #f78f20;
    }
}

@media (max-width: 768px) {
  
  .product-list {
    gap: 16px;
  }

  .thumbnail-img-container img {
    max-height: 140px;
  }
  
  .featured-categories-container {
    padding: 3rem 1rem !important;
  }

  .featured-categories-inner {
    flex-direction: column;
    gap: 20px;
  }

  .featured-categories-inner .box {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .box-content {
    padding: 16px;
  }

  .featured-categories-inner span {
    font-size: 18px;
  }

  .featured-categories-inner .btn.secondary {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }
}


@media screen and (max-width: 660px){
 
}

@media screen and (max-width: 340px){

}

@media (hover: none) {
  .featured-categories-inner .box:hover img {
    transform: scale(1);
  }
}

/* LOGIN ANNOUNCEMENT */
.announcement-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  transition: transform .3s ease, box-shadow .3s ease;
}

.announcement-box:hover {
  transform: translateY(-20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.announcement-icon {
  flex-shrink: 0;
}

.announcement-content h4 {
  margin: 0 0 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.announcement-content p {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.5;
}

.announcement-content .note {
  color: #6b7280;
  font-style: italic;
}

.announcement-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #333 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .announcement-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .announcement-icon {
    margin-bottom: 12px;
  }

  .announcement-content {
    text-align: center;
  }
}



