/*
Theme Name: 3Star Bookstore & Stationers
Theme URI: https://3starbookstore.pk
Author: 3Star Technical Team
Author URI: https://3starbookstore.pk
Description: Fast, modern, SEO-optimized e-commerce theme for 3Star Bookstore & Stationers Hyderabad. Built with native WooCommerce integration, rich carousels, customizer-managed posters, and optimized for mobile performance.
Version: 1.1.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3star-theme
Tags: e-commerce, grid-layout, one-column, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready

(C) 3Star Bookstore Hyderabad, Pakistan.
*/

@import url('assets/css/theme.css');

/* ==========================================================================
   WORDPRESS HEADER & LOGO CONSTRAINTS (PREVENT OVERSIZED IMAGES)
   ========================================================================== */
.brand-logo-wrap, .brand-logo-wrap .custom-logo-link, .brand-logo-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  max-height: 56px !important;
  height: 56px !important;
}

.brand-logo-wrap img,
.custom-logo,
.brand-logo,
.brand-logo-link img,
.brand-logo-img {
  max-height: 50px !important;
  height: 50px !important;
  width: auto !important;
  max-width: 65px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.brand-text-block {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  line-height: 1.15 !important;
}

.brand-name-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.18rem !important;
  font-weight: 900 !important;
  color: #0B192E !important;
  text-transform: capitalize !important;
  letter-spacing: -0.3px !important;
  white-space: nowrap !important;
}

.brand-tagline-sub {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: #D32F2F !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
}

.brand-logo-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}

/* Ensure Shopping Cart Button Displays With Full Styling */
.header-actions .btn-header-bag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #0B192E !important;
  color: #FFFFFF !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.header-actions .btn-header-bag:hover {
  background: #1e293b !important;
  transform: translateY(-1px) !important;
}

.header-actions .bag-icon-box {
  position: relative !important;
  font-size: 1.25rem !important;
}

.header-actions .bag-pill {
  position: absolute !important;
  top: -8px !important;
  right: -10px !important;
  background: #D32F2F !important;
  color: #FFFFFF !important;
  font-size: 0.7rem !important;
  font-weight: 900 !important;
  min-width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  border: 2px solid #0B192E !important;
}

.header-actions .bag-meta {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  line-height: 1.15 !important;
}

.header-actions .bag-title {
  font-size: 0.72rem !important;
  opacity: 0.85 !important;
  text-transform: uppercase !important;
  color: #e2e8f0 !important;
}

.header-actions .bag-price {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #FFD54F !important;
}

/* WordPress Admin Bar Header Offset */
.admin-bar .site-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px !important;
  }
}

/* ==========================================================================
   DESKTOP NATIVE WORDPRESS HORIZONTAL MENU (VISIBLE ONLY ON DESKTOP)
   ========================================================================== */
.primary-nav-bar {
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  position: relative !important;
  z-index: 100 !important;
  display: block !important;
}

.primary-nav-bar .nav-container {
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.primary-nav-bar ul.nav-menu-list,
.primary-nav-bar ul.menu {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  list-style: none !important;
  list-style-type: none !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
}

.primary-nav-bar ul.nav-menu-list > li,
.primary-nav-bar ul.menu > li {
  position: relative !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.primary-nav-bar ul.nav-menu-list > li > a,
.primary-nav-bar ul.menu > li > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 11px 15px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.90rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.primary-nav-bar ul.nav-menu-list > li > a:hover,
.primary-nav-bar ul.menu > li > a:hover {
  color: #D32F2F !important;
}

.primary-nav-bar li.menu-item-has-children > a::after {
  content: '▾' !important;
  font-size: 0.82rem !important;
  margin-left: 2px !important;
  opacity: 0.7 !important;
}

/* Floating Submenus Dropdown Card (Absolute, Never Leaks in Flow) */
.primary-nav-bar ul.sub-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: #FFFFFF !important;
  min-width: 250px !important;
  max-width: 340px !important;
  list-style: none !important;
  list-style-type: none !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.18) !important;
  border: 1px solid #E2E8F0 !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  z-index: 99999 !important;
}

.primary-nav-bar li:hover > ul.sub-menu,
.primary-nav-bar li.menu-item-has-children:hover > ul.sub-menu {
  display: block !important;
}

.primary-nav-bar ul.sub-menu li {
  display: block !important;
  width: 100% !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

.primary-nav-bar ul.sub-menu li a {
  display: block !important;
  padding: 10px 18px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
  white-space: normal !important;
  line-height: 1.3 !important;
  transition: all 0.2s ease !important;
  border-bottom: 1px solid #F8FAFC !important;
}

.primary-nav-bar ul.sub-menu li:last-child a {
  border-bottom: none !important;
}

.primary-nav-bar ul.sub-menu li a:hover {
  background: #FEF2F2 !important;
  color: #D32F2F !important;
  padding-left: 22px !important;
}

.primary-nav-bar ul.sub-menu ul.sub-menu {
  top: 0 !important;
  left: 100% !important;
}

/* ==========================================================================
   HAMBURGER BUTTON & MOBILE DRAWER (STRICTLY HIDDEN ON DESKTOP >= 769px)
   ========================================================================== */
.mobile-menu-toggle {
  display: none !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 8px !important;
  border-radius: 8px !important;
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.mobile-menu-toggle:hover {
  background: #E2E8F0 !important;
}

.mobile-menu-toggle span {
  display: block !important;
  width: 20px !important;
  height: 2.5px !important;
  background: #0F172A !important;
  border-radius: 2px !important;
  transition: all 0.2s ease !important;
}

/* Strictly Hide Drawer, Toggle & Backdrop on Desktop */
@media screen and (min-width: 769px) {
  .mobile-menu-toggle,
  .mobile-nav-backdrop,
  .mobile-nav-drawer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.mobile-nav-backdrop {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(11, 25, 46, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.mobile-nav-backdrop.open,
.mobile-nav-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-nav-drawer {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 300px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #FFFFFF !important;
  z-index: 99999 !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3) !important;
  transform: translate3d(100%, 0, 0) !important;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-nav-drawer.open,
.mobile-nav-drawer.active {
  transform: translate3d(0, 0, 0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-nav-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid #E2E8F0 !important;
  background: #0B192E !important;
  color: #FFFFFF !important;
}

.mobile-nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  color: #FFFFFF !important;
}

.mobile-nav-brand .brand-logo {
  height: 32px !important;
  width: auto !important;
  filter: brightness(0) invert(1) !important;
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  color: #FFFFFF !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 1.1rem !important;
}

.mobile-nav-body {
  padding: 12px 0 30px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.mobile-nav-links, .mobile-nav-links ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mobile-nav-links li {
  list-style: none !important;
  list-style-type: none !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

.mobile-nav-links li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 20px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.mobile-nav-links li a:hover {
  background: #F8FAFC !important;
  color: #D32F2F !important;
  padding-left: 24px !important;
}

.mobile-nav-links ul.sub-menu {
  background: #F8FAFC !important;
  padding: 4px 0 6px 14px !important;
  border-left: 3px solid #D32F2F !important;
  margin: 0 !important;
}

.mobile-nav-links ul.sub-menu li {
  border-bottom: none !important;
}

.mobile-nav-links ul.sub-menu li a {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  padding: 7px 16px !important;
}

.mobile-nav-contact {
  margin-top: auto !important;
  padding: 20px !important;
}

.mobile-wa-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #25D366 !important;
  color: #FFFFFF !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  margin-bottom: 14px !important;
}

.mobile-timings-note {
  font-size: 0.78rem !important;
  color: #64748B !important;
  line-height: 1.5 !important;
}

/* ==========================================================================
   RESPONSIVE CATEGORY CIRCLES (BIGGER ON DESKTOP, SMALLER ON PHONES)
   ========================================================================== */
/* Desktop Default (>= 1024px): Big Icons, Spacious Grid */
.category-circles-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 28px 24px !important;
  padding: 20px 0 30px !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

.category-circle-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  min-width: 0 !important;
  transition: all 0.25s ease !important;
}

.circle-image-holder {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 12px !important;
  transition: all 0.25s ease !important;
}

.circle-image-holder img,
.circle-image-holder .circle-svg-icon {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.category-circle-item:hover .circle-image-holder {
  transform: translateY(-4px) scale(1.06) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
}

/* Beautiful Pill-Shaped Titles */
.circle-item-title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
  max-width: 100% !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.category-circle-item:hover .circle-item-title {
  background: #D32F2F !important;
  color: #FFFFFF !important;
  border-color: #D32F2F !important;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.28) !important;
  transform: translateY(-1px) !important;
}

/* Tablets (769px - 1023px) */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  .circle-image-holder {
    width: 92px !important;
    height: 92px !important;
  }
  .category-circles-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px 14px !important;
    max-width: 800px !important;
  }
  .circle-item-title {
    font-size: 0.74rem !important;
    padding: 5px 10px !important;
  }
}

/* Phone Screens (<= 768px): Header Grid, Navigation & Categories */
@media screen and (max-width: 768px) {
  /* Remove top announcement bar on phone screens */
  .top-announcement-bar {
    display: none !important;
  }

  /* Header Grid: Row 1 = Brand (80%) + Menu (20%), Row 2 = Search (80%) + Cart (20%) */
  .site-header .header-main-row {
    display: grid !important;
    grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "brand toggle"
      "search cart" !important;
    align-items: center !important;
    padding: 8px 12px !important;
    gap: 8px 8px !important;
  }

  /* Row 1 Left: Brand Logo & Name */
  .brand-logo-wrap {
    grid-area: brand !important;
    min-width: 0 !important;
    max-height: 44px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .brand-logo-wrap img, .custom-logo, .brand-logo, .brand-logo-link img, .brand-logo-img {
    max-height: 38px !important;
    height: 38px !important;
    width: auto !important;
    max-width: 46px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }
  .brand-text-block {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.15 !important;
    overflow: hidden !important;
    min-width: 0 !important;
  }
  .brand-name-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #0B192E !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }
  .brand-tagline-sub {
    font-size: 0.54rem !important;
    font-weight: 700 !important;
    color: #D32F2F !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
  }

  /* Row 1 Right: Off-Canvas Menu Toggle Icon */
  .mobile-menu-toggle {
    grid-area: toggle !important;
    justify-self: end !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 7px !important;
    border-radius: 8px !important;
    background: #0B192E !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(11, 25, 46, 0.15) !important;
  }
  .mobile-menu-toggle span {
    display: block !important;
    width: 19px !important;
    height: 2.5px !important;
    background: #FFFFFF !important;
    border-radius: 2px !important;
  }

  /* Row 2 Left (80%): Search Bar */
  .search-bar-wrap {
    grid-area: search !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .search-input-box-red {
    display: flex !important;
    align-items: center !important;
    height: 42px !important;
    padding: 0 10px !important;
    border: 2px solid #D32F2F !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.08) !important;
  }
  .search-input-box-red .search-icon {
    font-size: 1rem !important;
    color: #64748B !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
  }
  .search-input-box-red input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    font-size: 0.84rem !important;
    color: #0F172A !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .search-input-box-red input::placeholder {
    color: #8E9AAF !important;
    font-size: 0.80rem !important;
  }
  .search-input-box-red .search-submit-btn {
    display: none !important;
  }

  /* Row 2 Right (20%): Shopping Cart Icon Button */
  .header-actions,
  .header-cart-wrap {
    grid-area: cart !important;
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
  .header-actions .btn-header-bag,
  .header-cart-wrap .btn-header-bag {
    width: 100% !important;
    height: 42px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0B192E !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    position: relative !important;
    box-shadow: 0 2px 6px rgba(11, 25, 46, 0.15) !important;
    transition: all 0.2s ease !important;
  }
  .header-actions .btn-header-bag:hover,
  .header-actions .btn-header-bag:active,
  .header-cart-wrap .btn-header-bag:hover,
  .header-cart-wrap .btn-header-bag:active {
    background: #D32F2F !important;
  }
  .header-actions .btn-header-bag .bag-meta,
  .header-cart-wrap .btn-header-bag .bag-meta {
    display: none !important;
  }
  .header-actions .btn-header-bag .bag-icon-box,
  .header-cart-wrap .btn-header-bag .bag-icon-box {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .header-actions .btn-header-bag .bag-icon-box i,
  .header-cart-wrap .btn-header-bag .bag-icon-box i {
    font-size: 1.25rem !important;
    color: #FFFFFF !important;
  }
  .header-actions .btn-header-bag .bag-pill,
  .header-cart-wrap .btn-header-bag .bag-pill {
    position: absolute !important;
    top: -8px !important;
    right: -10px !important;
    background: #D32F2F !important;
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 3px !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  }
  .primary-nav-bar {
    display: none !important;
  }
  .category-circles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px 6px !important;
    padding: 14px 0 20px !important;
    max-width: 100% !important;
  }
  .circle-image-holder {
    width: 68px !important;
    height: 68px !important;
    margin-bottom: 6px !important;
    padding: 3px !important;
  }
  .circle-item-title {
    font-size: 0.65rem !important;
    padding: 3px 6px !important;
    letter-spacing: 0 !important;
    line-height: 1.15 !important;
    max-width: 98% !important;
  }
}

@media screen and (max-width: 420px) {
  .circle-image-holder {
    width: 62px !important;
    height: 62px !important;
  }
  .circle-item-title {
    font-size: 0.58rem !important;
    padding: 2px 5px !important;
  }
}

/* ==========================================================================
   FLOATING BUTTONS: WHATSAPP (ALWAYS FIXED) & CART (MOBILE ONLY)
   ========================================================================== */
.floating-wa-btn {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
  border: 2.5px solid #FFFFFF !important;
}

.floating-wa-btn:hover {
  background: #20BA56 !important;
  color: #FFFFFF !important;
  transform: scale(1.08) !important;
}

.floating-wa-btn i,
.floating-wa-btn .fa-brands {
  font-size: 30px !important;
  line-height: 1 !important;
  color: #FFFFFF !important;
}

.floating-wa-btn span,
.floating-wa-btn .floating-wa-tooltip {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  font-size: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  clip: rect(0,0,0,0) !important;
}

/* Floating Round Cart Button (Mobile Screens Only <= 768px) */
.floating-cart-btn {
  display: none;
  position: fixed !important;
  bottom: 92px !important;
  right: 24px !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #0B192E !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(11, 25, 46, 0.35) !important;
  z-index: 9998 !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 1.3rem !important;
  transition: all 0.25s ease !important;
  border: 2.5px solid #FFFFFF !important;
}

.floating-cart-btn:hover,
.floating-cart-btn:active {
  background: #D32F2F !important;
  color: #FFFFFF !important;
  transform: scale(1.08) !important;
}

.floating-cart-btn .floating-cart-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  background: #D32F2F !important;
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.70rem !important;
  font-weight: 800 !important;
  min-width: 20px !important;
  height: 20px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

@media screen and (max-width: 768px) {
  .floating-cart-btn {
    display: flex !important;
  }
}

/* ==========================================================================
   PRODUCT CARD BUTTONS: CART ICON + WHATSAPP ICON
   ========================================================================== */
.card-actions-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  margin-top: 10px !important;
  align-items: center !important;
}

.btn-card-add-bag {
  background: #0B192E !important;
  color: #FFFFFF !important;
  height: 36px !important;
  width: 100% !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: 0 2px 6px rgba(11, 25, 46, 0.15) !important;
}

.btn-card-add-bag:hover {
  background: #D32F2F !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

.btn-card-wa {
  background: #E8F5E9 !important;
  color: #2E7D32 !important;
  height: 36px !important;
  width: 100% !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border: 1px solid #C8E6C9 !important;
  padding: 0 !important;
}

.btn-card-wa:hover {
  background: #25D366 !important;
  color: #FFFFFF !important;
  border-color: #25D366 !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   RESPONSIVE PRODUCT CARD & ADAPTIVE FLUID PRICING (NEVER HIDE/OVERFLOW)
   ========================================================================== */
.product-shelf-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #FFFFFF !important;
  border-radius: 10px !important;
  border: 1px solid #E2E8F0 !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.25s ease !important;
  position: relative !important;
}
.products-shelf-track .product-shelf-card,
.shelf-carousel-track .product-shelf-card {
  flex: 0 0 clamp(160px, 46vw, 250px) !important;
  width: clamp(160px, 46vw, 250px) !important;
}
@media screen and (min-width: 1024px) {
  .products-shelf-track .product-shelf-card,
  .shelf-carousel-track .product-shelf-card {
    flex: 0 0 245px !important;
    width: 245px !important;
  }
}
@media screen and (max-width: 768px) {
  .products-shelf-track .product-shelf-card,
  .shelf-carousel-track .product-shelf-card {
    flex: 0 0 clamp(155px, 44vw, 195px) !important;
    width: clamp(155px, 44vw, 195px) !important;
  }
}
@media screen and (max-width: 380px) {
  .products-shelf-track .product-shelf-card,
  .shelf-carousel-track .product-shelf-card {
    flex: 0 0 clamp(140px, 44vw, 160px) !important;
    width: clamp(140px, 44vw, 160px) !important;
  }
}

/* In grids (shop, category, related products): cards fill column without stretching */
ul.products li.product .product-shelf-card,
.related.products ul.products li.product .product-shelf-card {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

/* Card Image Holder: 1:1 Aspect Ratio so images scale fluidly on every screen */
.card-img-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  max-height: clamp(140px, 42vw, 220px) !important;
  background: #F8FAFC !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.card-thumb-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: clamp(6px, 1.8vw, 12px) !important;
  transition: transform 0.35s ease !important;
}
.product-shelf-card:hover .card-thumb-img {
  transform: scale(1.05) !important;
}

/* Card Body */
.card-body {
  padding: clamp(8px, 2vw, 14px) !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}
.card-rating-row {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-bottom: 4px !important;
}
.stars-gold {
  color: #F59E0B !important;
  font-size: clamp(0.68rem, 1.8vw, 0.78rem) !important;
  letter-spacing: 1px !important;
}
.reviews-count {
  color: #64748B !important;
  font-size: clamp(0.60rem, 1.6vw, 0.70rem) !important;
  font-weight: 600 !important;
}

/* Card Title: Clamped height so cards always align */
.product-shelf-card .card-title,
.product-shelf-card .card-title a,
.card-title,
.card-title a {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(0.74rem, 2.2vw, 0.88rem) !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  line-height: 1.25 !important;
  min-height: 2.5em !important;
  max-height: 2.5em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: clamp(4px, 1vw, 8px) !important;
  text-decoration: none !important;
}
.product-shelf-card .card-title a:hover {
  color: #D32F2F !important;
}

/* FLUID, NEVER-CLIPPED PRICING ROW */
.card-pricing-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 2px 6px !important;
  width: 100% !important;
  min-height: 22px !important;
  margin-top: auto !important;
  margin-bottom: clamp(6px, 1.5vw, 10px) !important;
  line-height: 1.25 !important;
  overflow: visible !important;
}
/* Current/Sale Price (ins) - prominent bold red, order: 1 */
.card-pricing-row ins {
  order: 1 !important;
  color: #D32F2F !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(0.86rem, 2.6vw, 1.08rem) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
/* Original Price (del) - muted strikethrough, order: 2 */
.card-pricing-row del {
  order: 2 !important;
  color: #94A3B8 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(0.70rem, 2vw, 0.82rem) !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
  opacity: 0.85 !important;
  white-space: nowrap !important;
}
/* Regular Price (no sale) */
.card-pricing-row > .amount,
.card-pricing-row > .woocommerce-Price-amount,
.card-pricing-row > bdi,
.card-pricing-row span.amount {
  color: #0B192E !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(0.88rem, 2.6vw, 1.08rem) !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
.card-pricing-row ins span.amount,
.card-pricing-row ins .woocommerce-Price-amount {
  color: #D32F2F !important;
}
.card-pricing-row del span.amount,
.card-pricing-row del .woocommerce-Price-amount {
  color: #94A3B8 !important;
}
.card-pricing-row .woocommerce-Price-currencySymbol {
  font-size: 0.82em !important;
  margin-right: 2px !important;
}

/* Action Buttons: Fluid Height & Icons */
.card-actions-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(4px, 1.2vw, 8px) !important;
  margin-top: auto !important;
  align-items: center !important;
}
.btn-card-add-bag,
.btn-card-wa {
  height: clamp(32px, 7.5vw, 38px) !important;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem) !important;
  border-radius: clamp(6px, 1.5vw, 8px) !important;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE & RELATED PRODUCTS (RICH MODERN DESIGN)
   ========================================================================== */
/* ==========================================================================
   WOOCOMMERCE PAGE WRAPPER & CONTAINER RESPONSIVENESS
   ========================================================================== */
.woocommerce-page-wrapper {
  background: #F8FAFC !important;
  padding: 24px 0 60px !important;
  min-height: 60vh !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woo-container {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woo-breadcrumbs-wrap {
  margin-bottom: 16px !important;
  font-size: 0.88rem !important;
  color: #64748B !important;
}

.woo-breadcrumbs-wrap a {
  color: #0B192E !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.woo-breadcrumbs-wrap a:hover {
  color: #D32F2F !important;
}

.woo-main-content {
  background: #FFFFFF !important;
  border-radius: 16px !important;
  padding: 28px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
  border: 1px solid #E2E8F0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

@media screen and (max-width: 768px) {
  .woocommerce-page-wrapper {
    padding: 10px 0 120px !important;
  }
  .woo-container {
    padding: 0 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .woo-breadcrumbs-wrap {
    margin-bottom: 10px !important;
    font-size: 0.75rem !important;
    padding: 0 2px !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .woo-main-content {
    padding: 12px 8px !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #E2E8F0 !important;
  }
}

/* ==========================================================================
   SINGLE PRODUCT PAGE & RELATED PRODUCTS (RICH MODERN DESIGN)
   ========================================================================== */
.woocommerce div.product {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
  gap: 32px !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Centered Gallery Card & Image Reset */
.woocommerce div.product .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  float: none !important;
  background: #F8FAFC !important;
  border-radius: 14px !important;
  border: 1px solid #E2E8F0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  position: relative !important;
  text-align: center !important;
  overflow: hidden !important;
}

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery * {
  box-sizing: border-box !important;
}

.woocommerce div.product .woocommerce-product-gallery .flex-viewport,
.woocommerce div.product .woocommerce-product-gallery figure,
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  overflow: hidden !important;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce div.product .wp-post-image {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  max-height: 320px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}

/* Modern Red Sale Badge */
.woocommerce span.onsale,
.woocommerce div.product span.onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1 !important;
  padding: 5px 10px !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #FFFFFF !important;
  background: #D32F2F !important;
  border-radius: 6px !important;
  box-shadow: 0 3px 8px rgba(211, 47, 47, 0.3) !important;
  z-index: 10 !important;
}

/* Summary Column */
.woocommerce div.product .summary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.woocommerce div.product .product_title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(1.1rem, 2.8vw, 1.55rem) !important;
  font-weight: 800 !important;
  color: #0B192E !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
  letter-spacing: -0.2px !important;
  word-break: break-word !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem) !important;
  font-weight: 800 !important;
  color: #D32F2F !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none !important;
}

.woocommerce div.product p.stock {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #059669 !important;
  margin-bottom: 12px !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 0.90rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  padding-bottom: 14px !important;
}

/* Variations Table */
.woocommerce div.product form.cart .variations {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 16px !important;
  border: none !important;
}

.woocommerce div.product form.cart .variations tr {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  margin-bottom: 12px !important;
  border: none !important;
  width: 100% !important;
}

.woocommerce div.product form.cart .variations td.label {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  color: #0B192E !important;
  padding: 0 !important;
}

.woocommerce div.product form.cart .variations td.value {
  padding: 0 !important;
  width: 100% !important;
}

.woocommerce div.product form.cart .variations select {
  width: 100% !important;
  max-width: 280px !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  border: 1.5px solid #CBD5E1 !important;
  font-family: inherit !important;
  font-size: 0.90rem !important;
  font-weight: 600 !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  outline: none !important;
}

.woocommerce div.product form.cart .variations ul,
.woocommerce div.product form.cart .variations .variable-items-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Quantity & Add to Cart Action Row */
.woocommerce div.product form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin: 14px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce div.product form.cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  height: 44px !important;
  background: #FFFFFF !important;
}

.woocommerce div.product form.cart .quantity input.qty {
  width: 48px !important;
  height: 40px !important;
  border: none !important;
  text-align: center !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  background: transparent !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  height: 44px !important;
  background: #0B192E !important;
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  padding: 0 22px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 3px 10px rgba(11, 25, 46, 0.18) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: #D32F2F !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.28) !important;
}

.woocommerce div.product .product_meta {
  border-top: 1px solid #F1F5F9 !important;
  padding-top: 14px !important;
  font-size: 0.82rem !important;
  color: #64748B !important;
  line-height: 1.8 !important;
}

.woocommerce div.product .product_meta span.sku_wrapper,
.woocommerce div.product .product_meta span.posted_in,
.woocommerce div.product .product_meta span.tagged_as {
  display: block !important;
}

.woocommerce div.product .product_meta a {
  color: #0B192E !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.woocommerce div.product .product_meta a:hover {
  color: #D32F2F !important;
}

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  margin-top: 24px !important;
  border-top: 1px solid #E2E8F0 !important;
  padding-top: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* RELATED PRODUCTS SECTION & GRID */
.woocommerce .related.products,
.related.products,
.upsells.products {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 30px !important;
  padding-top: 22px !important;
  border-top: 2px solid #F1F5F9 !important;
  clear: both !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.woocommerce .related.products h2,
.related.products h2,
.upsells.products h2 {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(1.10rem, 2.8vw, 1.40rem) !important;
  font-weight: 800 !important;
  color: #0B192E !important;
  margin-bottom: 18px !important;
  position: relative !important;
  padding-bottom: 8px !important;
}

.woocommerce .related.products h2::after,
.related.products h2::after,
.upsells.products h2::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 32px !important;
  height: 3px !important;
  background: #D32F2F !important;
  border-radius: 2px !important;
}

.woocommerce .related.products ul.products,
.related.products ul.products,
.woocommerce .related ul.products {
  display: grid !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce .related.products ul.products::before,
.woocommerce .related.products ul.products::after {
  display: none !important;
}

.woocommerce .related.products ul.products li.product,
.related.products ul.products li.product,
.woocommerce .related ul.products li.product {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  list-style: none !important;
  box-sizing: border-box !important;
  display: flex !important;
}

.related.products ul.products li.product .product-shelf-card,
.woocommerce .related ul.products li.product .product-shelf-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
  height: 100% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Desktop: 1 Single Row of 4 Products */
@media screen and (min-width: 769px) {
  .woocommerce .related.products ul.products,
  .related.products ul.products,
  .woocommerce .related ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* Phone Screens: 2 Products Per Row Grid & Single Column Product Page */
@media screen and (max-width: 768px) {
  .woocommerce div.product {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .woocommerce div.product .woocommerce-product-gallery {
    max-width: 100% !important;
    padding: 10px !important;
    border-radius: 10px !important;
  }
  .woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
  .woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
  .woocommerce div.product .wp-post-image {
    max-height: 240px !important;
  }
  .woocommerce .related.products ul.products,
  .related.products ul.products,
  .woocommerce .related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .related.products ul.products li.product .product-shelf-card .card-img-wrap {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 135px !important;
  }
  .related.products ul.products li.product .product-shelf-card .card-thumb-img {
    padding: 6px !important;
    object-fit: contain !important;
  }
  .related.products ul.products li.product .product-shelf-card .card-body {
    padding: 8px 6px !important;
  }
  .related.products ul.products li.product .product-shelf-card .card-title,
  .related.products ul.products li.product .product-shelf-card .card-title a {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    min-height: 2.4em !important;
    max-height: 2.4em !important;
    margin-bottom: 4px !important;
  }
  .related.products ul.products li.product .product-shelf-card .card-pricing-row {
    gap: 2px 4px !important;
    margin-bottom: 6px !important;
    min-height: 18px !important;
  }
  .related.products ul.products li.product .product-shelf-card .card-pricing-row ins,
  .related.products ul.products li.product .product-shelf-card .card-pricing-row .amount {
    font-size: 0.78rem !important;
  }
  .related.products ul.products li.product .product-shelf-card .card-pricing-row del,
  .related.products ul.products li.product .product-shelf-card .card-pricing-row del .amount {
    font-size: 0.65rem !important;
  }
  .related.products ul.products li.product .product-shelf-card .card-actions-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
    margin-top: auto !important;
    width: 100% !important;
  }
  .related.products ul.products li.product .product-shelf-card .btn-card-add-bag,
  .related.products ul.products li.product .product-shelf-card .btn-card-wa {
    height: 30px !important;
    font-size: 0.85rem !important;
    border-radius: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* FOOTER BRAND LOGO & GRID INTEGRITY */
.site-footer {
  background: #0B192E !important;
  color: #FFFFFF !important;
  position: relative !important;
  clear: both !important;
  overflow: hidden !important;
}

.site-footer .footer-container {
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 50px 24px 30px !important;
  display: grid !important;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr !important;
  gap: 36px 30px !important;
}

.site-footer .footer-col {
  min-width: 0 !important;
}

.site-footer .footer-logo-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.site-footer .footer-logo,
.footer-logo-row img {
  max-height: 44px !important;
  height: 44px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
  filter: brightness(0) invert(1) !important;
}

.site-footer .footer-heading {
  color: #FFFFFF !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin-bottom: 14px !important;
  position: relative !important;
  padding-bottom: 8px !important;
}

.site-footer .footer-heading::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 32px !important;
  height: 2.5px !important;
  background: #D32F2F !important;
  border-radius: 2px !important;
}

.site-footer .footer-links-list li a {
  color: #94A3B8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.site-footer .footer-links-list li a:hover {
  color: #FFFFFF !important;
  padding-left: 4px !important;
}

@media screen and (max-width: 768px) {
  .site-footer .footer-container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 36px 16px 24px !important;
  }
}
