/* Product detail gallery */
.site-brand {
  display: inline-block;
  color: #fff !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand:hover,
.site-brand:focus {
  color: #ffbb00 !important;
  text-decoration: none;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.footer-brand:hover,
.footer-brand:focus {
  color: #ffbb00;
  text-decoration: none;
}

nav.navbar-fixed .navigation-top > ul > li > a,
nav.navbar-fixed .navigation-main .floating-menu > ul > li > a,
nav.navbar-fixed .navigation-main .open-menu,
nav.navbar-fixed .navigation-main .open-cart,
nav.navbar-fixed .navigation-main .open-login,
nav.navbar-fixed .navigation-main .open-search {
  color: #fff;
}

nav.navbar-fixed .navigation-top > ul > li > a:hover,
nav.navbar-fixed .navigation-main .floating-menu > ul > li > a:hover,
nav.navbar-fixed .navigation-main .open-menu:hover,
nav.navbar-fixed .navigation-main .open-cart:hover,
nav.navbar-fixed .navigation-main .open-login:hover,
nav.navbar-fixed .navigation-main .open-search:hover {
  color: #ffbb00;
}

.product-flex-gallery .owl-product-gallery {
  min-height: 420px;
}

.home-product-banner {
  padding: 55px 0;
  background: #f7f7f5;
}

.home-product-slider .item {
  position: relative;
  background-position: center;
  background-size: cover;
}

.home-product-slider .item:before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.38);
}

.home-product-slider .box {
  position: relative;
  z-index: 2;
}

.home-slider-product-link {
  display: inline-block;
  max-width: 650px;
  color: #fff;
}

.home-slider-product-link:hover,
.home-slider-product-link:focus {
  color: #fff;
  text-decoration: none;
}

.home-slider-product-link p {
  max-width: 560px;
  color: #fff;
}

.home-slider-product-link strong {
  display: block;
  margin-top: 10px;
  color: #ffbb00;
  font-size: 24px;
}

.home-slider-actions {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.home-slider-actions .whatsapp-order,
.home-slider-actions .add-to-cart {
  position: static;
  width: auto;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  line-height: 24px;
}

.home-slider-actions .whatsapp-order {
  background: #25d366;
}

.home-slider-actions .add-to-cart {
  background: #ffbb00;
}

.home-slider-image-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-product-banner header {
  margin-bottom: 25px;
}

.home-product-carousel {
  position: relative;
}

.home-product-slide {
  margin: 0 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.home-product-slide-image {
  display: block;
  height: 270px;
  overflow: hidden;
}

.home-product-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-product-slide-content {
  padding: 18px;
}

.home-product-slide-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.home-product-slide-content h3 a {
  color: #3a3d45;
}

.home-product-slide-content h3 a:hover {
  color: #ffbb00;
}

.home-product-slide-content p {
  min-height: 42px;
  margin-bottom: 10px;
  color: #777;
  font-size: 13px;
}

.home-product-slide-content strong {
  display: block;
  margin-bottom: 14px;
  color: #3a3d45;
  font-size: 18px;
}

.home-product-slide-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.home-product-slide-actions .whatsapp-order,
.home-product-slide-actions .add-to-cart {
  position: static;
  width: auto;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
}

.home-product-slide-actions .whatsapp-order {
  background: #25d366;
}

.home-product-slide-actions .whatsapp-order:hover {
  background: #128c7e;
}

.home-product-slide-actions .add-to-cart {
  background: #ffbb00;
}

.home-product-slide-actions .add-to-cart:hover {
  background: #e1a500;
}

/* Product card action buttons (shop grid + popular products): consistent flat
   WhatsApp + Add to Cart buttons on all screen sizes. Overrides the theme's
   sliding corner-triangle .btn-add and absolute WhatsApp button. */
.products article .product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.products article .product-card-actions .btn {
  position: static;
  transform: none;
  flex: 1 1 130px;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 3px;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.products article .product-card-actions .whatsapp-order {
  background: #25d366;
}

.products article .product-card-actions .whatsapp-order:hover,
.products article .product-card-actions .whatsapp-order:focus {
  background: #128c7e;
  color: #fff;
}

.products article .product-card-actions .add-to-cart {
  background: #ffbb00;
}

.products article .product-card-actions .add-to-cart:hover,
.products article .product-card-actions .add-to-cart:focus {
  background: #e1a500;
  color: #fff;
}

.products article .product-card-actions .add-to-cart:before {
  display: none;
}

.products article .product-card-actions .add-to-cart .icon {
  position: static;
  bottom: auto;
  right: auto;
}

/* Desktop: the theme overlays the card text on top of the image. Keep the card
   in natural flow (image, then title / price / buttons) so the action buttons
   sit cleanly below the content on large screens too, matching mobile. */
@media (min-width: 768px) {
  .products .responsive-product-grid article .figure-grid .text {
    position: static;
    top: auto;
    padding: 20px;
  }
}

.product-order-actions {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.product-order-actions .whatsapp-order,
.product-order-actions .add-to-cart {
  position: static !important;
  width: auto !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 16px;
  border: 0;
  border-radius: 3px;
  line-height: 46px !important;
  font-size: 13px;
}

.product-order-actions .whatsapp-order {
  background: #25d366 !important;
  color: #fff !important;
}

.product-order-actions .add-to-cart {
  background: #ffbb00 !important;
  color: #fff !important;
}

.product-flex-gallery .owl-product-gallery .item,
.product-flex-gallery .owl-product-gallery > a {
  display: block;
  text-align: center;
}

.product-flex-gallery .owl-product-gallery img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: contain;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.product-gallery-thumbnail {
  flex: 0 0 76px;
  height: 64px;
  padding: 3px;
  border: 1px solid #d7d7d7;
  background: #fff;
  cursor: pointer;
}

.product-gallery-thumbnail.active {
  border-color: #fbb700;
}

.product-gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .product-flex-gallery .owl-product-gallery img {
    height: 360px;
  }
}
/* custom overrides for site-specific tweaks */

/* Header / navigation icons - use a strong selector and !important to override theme defaults */
nav .navigation-top ul li a i,
nav .navigation-main .open-menu .icon,
nav .navigation-main .floating-menu i,
nav .open-login .icon,
nav .open-search .icon,
nav .open-cart .icon,
nav .categories figure .f-icon,
nav .categories figure .f-icon:before,
.icon:before,
.f-icon:before {
  color: #ff0000 !important; /* change this color to whatever you want */
}

/* Example: make only social icons blue
nav .navigation-top ul li a .fa { color: #1da1f2 !important; }
*/

/* Keep checkout navigation visible below the order and delivery form. */
.checkout .checkout-step-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}
.checkout .checkout-step-actions .checkout-next {
    margin-left: auto;
    white-space: normal;
}
@media (max-width: 767px) {
    .checkout .checkout-step-actions .btn {
        width: 100%;
        margin-left: 0;
    }
}

.product-search-form { 
  margin-bottom: 24px;
  @media (max-width: 479px) {
    display: none;
  }
 }

.staff-orders .order-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}
.staff-orders .table td { vertical-align: top; }
.staff-orders .order-followup { min-width: 220px; padding: 16px 0; }
.staff-orders .order-followup button { margin-bottom: 8px; }

/* Live quantity badge on the navigation cart icon. */
nav .navigation-top > ul > li > a.header-cart-link { position: relative; overflow: visible; }
nav .navigation-top .header-cart-link .cart-count-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ffbb00;
  color: #222;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 2px solid #fff;
  pointer-events: none;
}
nav .navigation-top .header-cart-link .cart-count-badge[hidden] { display: none; }

nav .navigation-top > ul > li > a > i {
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  vertical-align: middle;
}

.social-tiktok-icon { display: inline-block; vertical-align: middle; }
nav .navigation-top .social-tiktok-icon { color: #ff0000; }

/* Staff-only catalogue and order tools. */
nav .staff-navigation-menu { position: relative; }
nav .staff-navigation-menu > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 20px 9px; cursor: pointer; list-style: none; color: inherit; font-size: 12px; }
nav .staff-navigation-menu > summary::-webkit-details-marker { display: none; }
nav .staff-navigation-options { position: absolute; right: 0; top: 100%; z-index: 120; min-width: 200px; padding: 8px; border: 1px solid #e5dfd4; border-radius: 8px; background: white; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
nav .staff-navigation-options > a, nav .staff-navigation-options button { display: block; width: 100%; min-height: 44px; padding: 12px; border: 0; background: transparent; color: #213d37; text-align: left; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
nav .staff-navigation-options form { margin: 0; }
nav .staff-navigation-options > a:hover, nav .staff-navigation-options button:hover { background: #f8f5ef; }
nav .staff-navigation-menu summary:focus-visible, nav .staff-navigation-options button:focus-visible { outline: 2px solid #b89458; outline-offset: 2px; }
@media (max-width: 991px) {
    nav .staff-navigation-menu > summary { padding: 16px 0; font-family: Georgia, serif; font-weight: 600; }
    nav .staff-navigation-options { position: static; margin: 0 16px 12px; box-shadow: none; }
}
