/* ══════════════════════════════════════════════════════════════════════════
   ALAYA'S FABRICS — COMPREHENSIVE RESPONSIVE STYLESHEET (responsive.css)
   Fixes Mobile Navbar Icon Overlap, Product Card Overflows & Viewport Scaling
   ══════════════════════════════════════════════════════════════════════════ */

/* Global Reset & Body Overflow Protection */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ── 1. TABLET & MEDIUM SCREENS (<= 992px) ── */
@media (max-width: 992px) {
  /* Container & Spacing */
  .container {
    padding: 0 1rem !important;
  }

  /* Header & Logo Section */
  .sh-logo-section {
    padding: 0.6rem 1rem !important;
  }

  .sh-logo-link {
    gap: 0.75rem !important;
  }

  .sh-logo-img {
    width: 60px !important;
    height: 60px !important;
    max-height: 60px !important;
  }

  .sh-logo-name {
    font-size: 1.4rem !important;
    letter-spacing: 0.08em !important;
  }

  .sh-logo-by {
    font-size: 0.52rem !important;
    letter-spacing: 0.2em !important;
  }

  /* Sticky Social Bar & Navbar */
  .sh-social-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 550 !important;
    height: 28px !important;
    background: #fff !important;
  }

  .sh-navbar {
    position: sticky !important;
    top: 28px !important;
    z-index: 540 !important;
    height: 44px !important;
  }

  .sh-nav-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 1rem !important;
    position: relative !important;
  }

  .sh-nav-links {
    display: none !important; /* Hide desktop inline links */
  }

  /* Hamburger Toggle (Far Left Position) */
  .sh-hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 26px !important;
    height: 18px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    left: 0 !important;
    top: auto !important;
    transform: none !important;
    z-index: 10 !important;
  }

  .sh-hamburger span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
  }

  /* Cart Icon Button (Far Right Position) */
  .nav-cart-btn {
    position: relative !important;
    right: 0 !important;
    top: auto !important;
    transform: none !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    padding: 0.3rem 0.5rem !important;
    z-index: 10 !important;
  }

  .nav-cart-btn:hover {
    transform: scale(1.05) !important;
  }

  /* Hero Slider Adjustments */
  .hero-slider,
  .home-hero-carousel {
    min-height: 360px !important;
    height: 50vh !important;
    max-height: 450px !important;
  }

  .hero-content {
    max-width: 90% !important;
    padding: 1.2rem !important;
    text-align: center !important;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 0.75rem !important;
  }

  /* Category Cards Grid */
  .cat-grid,
  .cats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* Product Cards & Grid Layout */
  .full-product-grid,
  .products-grid,
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Product Card Styling & Text Overflow Fix */
  .product-card {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: #fff !important;
    border-radius: 8px !important;
    border: 1px solid var(--border) !important;
    display: flex;
    flex-direction: column !important;
  }

  .product-card.filter-hidden,
  .product-card[data-category-hidden="true"],
  .product-card[style*="display: none"],
  .product-card[style*="display:none"] {
    display: none !important;
  }

  .product-card .product-img-wrap {
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .product-card .product-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .product-card .product-info {
    padding: 0.75rem 0.6rem 0.5rem !important;
    flex: 1 !important;
  }

  .product-card .product-info h3,
  .product-info h3 {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--ink) !important;
    margin-bottom: 0.2rem !important;
    font-family: var(--font-body) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-card .product-card-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.72rem !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    margin: 2px 0 4px 0 !important;
  }

  .product-card .product-info .lbl {
    font-size: 0.58rem !important;
    margin-bottom: 0.25rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-card .price-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    flex-wrap: wrap !important;
  }

  .product-card .price {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
  }

  .product-card .price-old {
    font-size: 0.75rem !important;
  }

  .product-card .product-wa-wrap {
    padding: 0.5rem 0.6rem 0.75rem !important;
  }

  .product-card .btn-add-cart,
  .product-card .btn-wa-card {
    padding: 0.55rem 0.5rem !important;
    font-size: 0.7rem !important;
    width: 100% !important;
    justify-content: center !important;
    border-radius: 4px !important;
  }

  /* Catalog Filter Bar Wrapping */
  .catalog-toolbar,
  .filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .filter-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .filter-select,
  .search-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ── 2. MOBILE PHONES (<= 768px) ── */
@media (max-width: 768px) {
  /* Header & Logo */
  .sh-logo-section {
    padding: 0.5rem 0.75rem !important;
  }

  .sh-logo-img {
    width: 50px !important;
    height: 50px !important;
    max-height: 50px !important;
  }

  .sh-logo-name {
    font-size: 1.15rem !important;
    letter-spacing: 0.06em !important;
  }

  .sh-logo-by {
    font-size: 0.48rem !important;
    letter-spacing: 0.15em !important;
  }

  .sh-logo-line {
    min-width: 25px !important;
  }

  /* Hero Slider */
  .hero-slider,
  .home-hero-carousel {
    min-height: 260px !important;
    height: 44vh !important;
    max-height: 380px !important;
  }

  .hero-title {
    font-size: 1.55rem !important;
  }

  .hero-subtitle {
    font-size: 0.8rem !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  .btn-gold,
  .btn-outline {
    width: 100% !important;
    max-width: 240px !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.78rem !important;
    justify-content: center !important;
  }

  /* Page Banners */
  .page-banner {
    padding: 2rem 1rem !important;
    min-height: auto !important;
  }

  .page-banner-title {
    font-size: 1.75rem !important;
  }

  .page-banner-sub {
    font-size: 0.85rem !important;
  }

  /* ── Shop by Category: Mobile Circular Category Items (<= 768px) ── */
  .cats-sec {
    padding: 1.5rem 0 !important;
  }

  .cats-sec .sec-head {
    margin-bottom: 1.25rem !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cats-sec .sec-head-l {
    text-align: center !important;
    width: 100% !important;
  }

  .cats-sec .sec-head-l h2 {
    font-size: 1.55rem !important;
    letter-spacing: -0.01em !important;
  }

  .cats-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 0 0.5rem !important;
    box-sizing: border-box !important;
  }

  .cat-card {
    aspect-ratio: auto !important;
    position: relative !important;
    overflow: visible !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
    flex: 1 1 0 !important;
    max-width: 110px !important;
  }

  .cat-card-inner {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    transform: none !important;
  }

  .cat-card:hover .cat-card-inner {
    transform: none !important;
  }

  .cat-img {
    width: 78px !important;
    height: 78px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2.5px solid #c9a84c !important;
    box-shadow: 0 4px 14px rgba(28, 23, 18, 0.12) !important;
    margin: 0 auto 0.5rem auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    background: #fdfaf5 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  }

  .cat-card:active .cat-img,
  .cat-card:hover .cat-img {
    transform: scale(1.06) !important;
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.35) !important;
  }

  .cat-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
  }

  .cat-overlay {
    display: none !important;
  }

  .cat-body {
    position: static !important;
    padding: 0 !important;
    color: #1c1712 !important;
    text-align: center !important;
    width: 100% !important;
  }

  .cat-body .lbl-gold,
  .cat-body p,
  .cat-body .btn-link {
    display: none !important;
  }

  .cat-body h3 {
    font-family: 'Jost', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #1c1712 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    display: block !important;
  }

  /* ── Featured Arrivals Filter Tabs (<= 768px: 1 Single Row) ── */
  .tab-label-short {
    display: inline !important;
  }
  .tab-label-full {
    display: none !important;
  }

  .featured-tabs-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.5rem auto 1.25rem !important;
    padding: 6px 4px 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 25 !important;
  }
  .featured-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }

  .ft-tab-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 8px 14px !important;
    min-height: 38px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    position: relative !important;
    z-index: 26 !important;
  }

  /* ── Category / Season Filter Bar Tabs (<= 768px Mobile) ── */
  .filter-bar {
    width: 100% !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    margin-bottom: 0.75rem !important;
  }

  .filter-row-1 .filter-inner,
  .filter-row-2 .filter-inner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0.65rem 0.5rem !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .filter-row-1 .filter-inner::-webkit-scrollbar,
  .filter-row-2 .filter-inner::-webkit-scrollbar {
    display: none !important;
  }

  .season-btn,
  .filter-btn {
    flex-shrink: 0 !important;
    padding: 6px 14px !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.06em !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    transition: all 0.2s !important;
  }

  .results-count {
    flex-shrink: 0 !important;
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-radius: 12px !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }

  /* ── Price Filter & Sorting Toolbar (<= 768px Mobile) ── */
  .catalog-toolbar {
    background: #ffffff !important;
    border: 1px solid #ebdcc5 !important;
    border-radius: 8px !important;
    padding: 0.65rem 0.85rem !important;
    margin: 0.4rem 0 1.1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  }

  .price-filter-group {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 0.55rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: center !important;
    padding-bottom: 0.85rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .price-filter-group label {
    grid-column: 1 / -1 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #1c1712 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin: 0 0 0.15rem 0 !important;
  }

  .price-filter-group .price-input {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.5rem 0.65rem !important;
    font-size: 0.82rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    text-align: center !important;
    outline: none !important;
  }

  .price-filter-group .price-input:first-of-type {
    grid-column: 1 !important;
  }

  .price-filter-group span {
    grid-column: 2 !important;
    text-align: center !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    padding: 0 4px !important;
  }

  .price-filter-group .price-input:last-of-type {
    grid-column: 3 !important;
  }

  .price-filter-group .btn-filter-apply {
    grid-column: 1 !important;
    width: 100% !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    background: var(--gold, #b8963e) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .price-filter-group .btn-filter-reset {
    grid-column: 3 !important;
    width: 100% !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    border: 1px solid #cbd5e1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .sort-group {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .toolbar-right-group {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.65rem !important;
    flex-wrap: nowrap !important;
  }

  .toolbar-right-group .sort-group {
    flex: 1 !important;
    width: auto !important;
  }

  .grid-layout-switcher {
    flex-shrink: 0 !important;
  }

  .sort-group label {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #1c1712 !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  .sort-select {
    flex: 1 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0.5rem 1.8rem 0.5rem 0.85rem !important;
    font-size: 0.82rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    color: #1c1712 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  /* Product Card Grid & Layout (Respect Layout Switcher on Mobile) */
  .full-product-grid:not(.layout-grid-2):not(.layout-grid-list),
  .full-product-grid.layout-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem 0.5rem !important;
  }

  .full-product-grid.layout-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .products-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem 0.5rem !important;
  }

  .product-card {
    max-width: none !important;
    margin: 0 !important;
    width: 100% !important;
  }

  /* Large View (1 Column Mode) on Mobile */
  .full-product-grid.layout-grid-2 .product-card {
    max-width: 480px !important;
    margin: 0 auto !important;
  }
  .full-product-grid.layout-grid-2 .product-card .product-info {
    padding: 0.75rem 0.85rem 0.4rem !important;
  }
  .full-product-grid.layout-grid-2 .product-card .product-info h3 {
    font-size: 0.95rem !important;
  }
  .full-product-grid.layout-grid-2 .product-card .price {
    font-size: 1rem !important;
  }
  .full-product-grid.layout-grid-2 .product-card .btn-add-cart,
  .full-product-grid.layout-grid-2 .product-card .btn-wa-card {
    font-size: 0.78rem !important;
    padding: 0.55rem 1rem !important;
  }

  .product-stock-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .stock-badge {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
  }

  .product-badge:not(.product-stitch-badge):not(.product-badge-stitch) {
    top: 0.65rem !important;
    left: 0.65rem !important;
    font-size: 0.62rem !important;
    padding: 0.3rem 0.65rem !important;
  }

  .product-stitch-badge,
  .product-badge-stitch {
    position: absolute !important;
    top: auto !important;
    bottom: 10px !important;
    left: 10px !important;
    right: auto !important;
    height: auto !important;
    width: auto !important;
    max-width: fit-content !important;
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    background: #1c1712 !important;
    color: #ffffff !important;
    border: 1px solid #c9a84c !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    z-index: 3 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    line-height: normal !important;
  }

  /* Cart Table to Card Stack */
  .cart-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .cart-table, 
  .cart-table tbody, 
  .cart-table tr, 
  .cart-table td {
    display: block !important;
    width: 100% !important;
  }

  .cart-table thead {
    display: none !important;
  }

  .cart-table tr {
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    padding: 0.85rem !important;
    margin-bottom: 0.85rem !important;
    background: #fff !important;
  }

  .cart-table td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.4rem 0 !important;
    border: none !important;
  }

  .cart-table td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--ink3);
  }

  /* Mobile Drawer Overlay */
  .sh-mobile-overlay {
    width: 82vw !important;
    max-width: 320px !important;
    padding: 0 !important;
    z-index: 9999 !important;
  }

  /* Footer — Left Aligned */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    text-align: left !important;
  }

  .footer-brand-col {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-logo-wrap {
    justify-content: flex-start !important;
  }
}

/* Global Footer Left-Alignment (Desktop & Mobile) */
.site-footer,
.footer-top,
.footer-grid,
.footer-brand-col,
.footer-col-title,
.footer-links,
.footer-links li,
.footer-links a,
.footer-contact-list,
.footer-contact-item,
.footer-bottom,
.footer-bottom-inner,
.footer-copy-text {
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.footer-col-title::after {
  left: 0 !important;
  right: auto !important;
  transform: none !important;
}

/* Footer Social Icons Row */
.footer-social-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  margin-top: 0.5rem !important;
}

.footer-social-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
}

.footer-social-icon:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* WhatsApp Direct Order Card & Button (Matches Screenshot Exactly) */
.footer-wa-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  text-align: left !important;
}

.footer-wa-card h4 {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.footer-wa-card p {
  font-size: 0.82rem !important;
  color: #a1a1aa !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.btn-footer-wa {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  width: 100% !important;
  background: #22c55e !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.btn-footer-wa:hover {
  background: #16a34a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5) !important;
}

.footer-trust-badge {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  background: rgba(201, 168, 76, 0.08) !important;
  border: 1px solid rgba(201, 168, 76, 0.2) !important;
  border-radius: 8px !important;
  padding: 0.55rem 0.85rem !important;
  color: #c9a84c !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}

/* ── 3. EXTRA SMALL PHONES (<= 480px) ── */
@media (max-width: 480px) {
  /* Respect Layout Switcher on mobile phones */
  .full-product-grid:not(.layout-grid-2):not(.layout-grid-list),
  .full-product-grid.layout-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem 0.45rem !important;
  }

  .full-product-grid.layout-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .products-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem 0.45rem !important;
  }

  .product-card {
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Single Column (1 Card per row) mode on small mobile */
  .full-product-grid.layout-grid-2 .product-card {
    max-width: 100% !important;
  }
  .full-product-grid.layout-grid-2 .product-card .product-info {
    padding: 0.7rem 0.75rem 0.4rem !important;
  }
  .full-product-grid.layout-grid-2 .product-card .product-info h3 {
    font-size: 0.92rem !important;
  }
  .full-product-grid.layout-grid-2 .product-card .btn-add-cart,
  .full-product-grid.layout-grid-2 .product-card .btn-wa-card {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.85rem !important;
    height: 36px !important;
  }

  .modal-cart-btn {
    font-size: 0.75rem !important;
    padding: 9px 10px !important;
    white-space: nowrap !important;
  }

  /* Hero Slider Compact Height */
  .hero-slider,
  .home-hero-carousel {
    min-height: 240px !important;
    height: 40vh !important;
    max-height: 330px !important;
  }

  /* Small phones circular category cards & tabs */
  .cat-img {
    width: 72px !important;
    height: 72px !important;
  }

  .cats-grid {
    gap: 0.85rem !important;
  }

  .cat-body h3 {
    font-size: 0.74rem !important;
  }

  .featured-tabs-bar {
    gap: 5px !important;
  }

  .ft-tab-btn {
    font-size: 0.74rem !important;
    padding: 5px 9px !important;
  }
}

@media (max-width: 360px) {
  .cat-img {
    width: 62px !important;
    height: 62px !important;
  }
  .cats-grid {
    gap: 0.5rem !important;
  }
  .cat-body h3 {
    font-size: 0.68rem !important;
  }
  .featured-tabs-bar {
    gap: 4px !important;
    justify-content: flex-start !important;
  }
  .ft-tab-btn {
    font-size: 0.7rem !important;
    padding: 5px 7px !important;
  }
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  .modal-gallery-col {
    order: -1;
    position: relative !important;
    min-height: 280px !important;
  }
  .modal-gallery-col .lightbox-img-wrap {
    min-height: 260px !important;
    max-height: 340px !important;
    position: relative !important;
  }
  .modal-details-col {
    padding: 1.2rem !important;
  }
  .modal-title {
    font-size: 1.4rem !important;
  }
  .modal-actions-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .modal-cart-btn {
    font-size: 0.8rem !important;
    padding: 10px 14px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }
  .modal-cart-btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
  }
  .lb-nav-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    z-index: 30 !important;
  }
  .lb-prev {
    left: 8px !important;
  }
  .lb-next {
    right: 8px !important;
  }
  .lb-info-bar {
    bottom: 8px !important;
    z-index: 25 !important;
  }
  .lightbox-close {
    top: 8px !important;
    right: 8px !important;
    z-index: 40 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
