/* Divina Wedding — Luxury Haute Couture Responsive Architecture */

/* ==========================================================================
   1. DESKTOP & WIDE DISPLAYS (1024px and up)
   ========================================================================== */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none !important;
  }
  
  .mobile-nav-drawer,
  .mobile-nav-overlay {
    display: none !important;
  }

  .desktop-nav {
    display: flex !important;
  }
}

/* ==========================================================================
   2. TABLET & SMALL LAPTOPS (max-width: 1023px)
   ========================================================================== */
@media (max-width: 1023px) {
  :root {
    --nav-height: 74px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
  }

  .desktop-nav {
    display: none !important;
  }

  .nav-toggle {
    display: flex !important;
  }

  .mobile-nav-drawer {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
  }

  .brand-name {
    font-size: 1.5rem;
    letter-spacing: 0.18em;
  }

  .brand-sub {
    font-size: 0.5rem;
    letter-spacing: 0.3em;
  }

  .header-wa-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.68rem;
  }

  /* Grid Reductions */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem;
  }

  .m2m-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-detail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2.5rem;
    width: 100%;
    max-width: 100%;
  }

  .product-gallery,
  .product-specs-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-media-column {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem 1.5rem;
  }
}

/* ==========================================================================
   3. MOBILE PHONES (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section-padding {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .page-banner {
    padding: 3rem 0 2rem;
  }

  .page-title {
    font-size: 1.75rem;
    letter-spacing: 0.06em;
  }

  /* Header on Mobile */
  .header-inner {
    padding: 0 1rem;
  }

  .brand-name {
    font-size: 1.35rem;
    letter-spacing: 0.16em;
  }

  .header-wa-btn {
    display: none; /* Emphasize floating WhatsApp button for best mobile UX */
  }

  /* Hero Section on Mobile */
  .hero-section {
    min-height: 82vh;
  }

  .hero-content-box {
    padding: 3rem 1.25rem;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1.4rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .btn-lg {
    padding: 0.95rem 1.4rem;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Grids on Mobile */
  .collections-category-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .wholesale-perks-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .m2m-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .protocol-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Catalog Controls on Mobile */
  .catalog-controls-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .category-filter-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scrollbar-width: none;
  }

  .category-filter-nav::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .catalog-search-box {
    width: 100%;
    min-width: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .floating-whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   4. ULTRA COMPACT MOBILE (max-width: 390px)
   ========================================================================== */
@media (max-width: 390px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-name {
    font-size: 1.22rem;
    letter-spacing: 0.14em;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .btn {
    padding: 0.85rem 1.4rem;
    font-size: 0.72rem;
  }

  .floating-whatsapp-btn {
    width: 48px;
    height: 48px;
    bottom: 1.2rem;
    right: 1.2rem;
    font-size: 1.3rem;
  }
}



/* --- DIVINA STORE IDENTITY & MOBILE REFINEMENTS --- */
@media (max-width: 1023px) {
  .product-header-mobile {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1.25rem !important;
  }
  .product-header-desktop {
    display: none !important;
  }
  .product-detail-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
  }
  .product-gallery, .product-media-column {
    order: 1 !important;
    width: 100% !important;
  }
  .product-specs-panel, .product-info-column {
    order: 2 !important;
    width: 100% !important;
  }
  .store-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 767px) {
  .brand-name {
    text-transform: none !important;
    font-variant: normal !important;
  }
  .brand-sub {
    text-transform: none !important;
  }
  .catalog-status-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid var(--color-champagne, #EDE5DA) !important;
  }
  .catalog-count-text {
    width: 100% !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--color-gold, #B8965A) !important;
  }
  .catalog-notice {
    width: 100% !important;
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    color: var(--color-mocha, #4A3E39) !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    text-align: left !important;
  }
  .category-filter-nav {
    display: flex !important;
    overflow-x: auto !important;
    gap: 0.5rem !important;
    padding-bottom: 0.6rem !important;
    padding-top: 0.2rem !important;
    padding-left: 2px !important;
    padding-right: 1.5rem !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--color-champagne, #EDE5DA) transparent !important;
  }
  .category-filter-nav::-webkit-scrollbar {
    display: block !important;
    height: 3px !important;
  }
  .category-filter-nav::-webkit-scrollbar-thumb {
    background: var(--color-champagne, #EDE5DA) !important;
    border-radius: 3px !important;
  }
  .catalog-search-box {
    width: 100% !important;
    min-width: 100% !important;
  }
  .product-header-mobile .product-page-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
    line-height: 1.25 !important;
    letter-spacing: 0.02em !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }
  .product-inquiry-actions {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .store-actions-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .store-actions-row .btn {
    width: 100% !important;
    text-align: center !important;
  }

  /* Luxury Store Map Responsive (< 768px) */
  .luxury-map-section {
    padding: 3rem 0 !important;
  }
  .luxury-map-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .luxury-map-container {
    min-height: 320px !important;
  }
  .luxury-map-frame,
  .luxury-map-frame iframe {
    min-height: 320px !important;
  }
  .luxury-map-pin-badge {
    top: 0.65rem !important;
    left: 0.65rem !important;
    padding: 0.55rem 0.85rem !important;
    max-width: calc(100% - 1.3rem) !important;
  }
  .luxury-map-pin-badge .badge-title {
    font-size: 1.05rem !important;
  }
  .luxury-map-pin-badge .badge-address {
    font-size: 0.74rem !important;
  }
  .luxury-map-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding: 0.75rem 1rem !important;
  }
  .luxury-map-bar-actions .btn-sm {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .luxury-store-panel {
    padding: 2rem 1.5rem !important;
  }
  .luxury-store-panel .store-brand-title {
    font-size: 1.85rem !important;
  }
  .luxury-store-actions {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

/* Tablet Media Query (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .luxury-map-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .luxury-store-panel {
    padding: 2.5rem 2rem !important;
  }
  .luxury-map-container,
  .luxury-map-frame,
  .luxury-map-frame iframe {
    min-height: 380px !important;
  }
}


/* ==========================================================================
   DIVINA WEDDING — MASTER MOBILE UX & RESPONSIVE PERFECTION (< 1024px & < 768px)
   WCAG 2.5.5 Compliant (>= 44x44px touch targets), Zero Horizontal Scroll
   ========================================================================== */

/* 1. Mobile Header & Hamburger Icon Perfection */
@media (max-width: 1023px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(253, 251, 248, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--color-champagne, #EDE5DA) !important;
  }

  .header-desktop-wrapper {
    display: none !important;
  }

  .header-mobile-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 70px !important;
    padding: 0 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .header-mobile-left,
  .header-mobile-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  /* Hamburger Toggle & Luxury 3-Line Icon */
  .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
  }

  .hamburger-box {
    width: 24px !important;
    height: 18px !important;
    display: inline-block !important;
    position: relative !important;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 24px !important;
    height: 2px !important;
    background-color: var(--color-espresso, #1A1412) !important;
    border-radius: 2px !important;
    position: absolute !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .hamburger-inner {
    top: 8px !important;
    display: block !important;
  }

  .hamburger-inner::before {
    content: '' !important;
    top: -7px !important;
    left: 0 !important;
  }

  .hamburger-inner::after {
    content: '' !important;
    bottom: -7px !important;
    left: 0 !important;
  }

  /* Animated X state when open */
  .nav-toggle[aria-expanded="true"] .hamburger-inner,
  .mobile-nav-drawer.is-open ~ .site-header .hamburger-inner,
  body.drawer-open .hamburger-inner {
    background-color: transparent !important;
  }

  .nav-toggle[aria-expanded="true"] .hamburger-inner::before,
  body.drawer-open .hamburger-inner::before {
    transform: translateY(7px) rotate(45deg) !important;
  }

  .nav-toggle[aria-expanded="true"] .hamburger-inner::after,
  body.drawer-open .hamburger-inner::after {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  /* Mobile Brand Logo */
  .header-mobile-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-mobile-center .brand-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    padding: 0 !important;
  }

  .header-mobile-center .brand-name {
    font-family: var(--font-serif, 'Cormorant Garamond', serif) !important;
    font-size: 1.45rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    color: var(--color-espresso, #1A1412) !important;
    line-height: 1 !important;
    text-transform: none !important;
    font-variant: normal !important;
  }

  .header-mobile-center .brand-sub {
    font-family: var(--font-sans, 'Manrope', sans-serif) !important;
    font-size: 0.5rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.32em !important;
    color: var(--color-gold, #B8965A) !important;
    margin-top: 3px !important;
    text-transform: none !important;
  }

  /* Mobile Action Icons (Share & Quote Basket) */
  .header-share-btn-mobile,
  .header-quote-icon-link {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: var(--color-espresso, #1A1412) !important;
    cursor: pointer !important;
    position: relative !important;
    padding: 0 !important;
  }

  .header-share-btn-mobile svg,
  .header-quote-icon-link svg {
    color: var(--color-gold, #B8965A) !important;
    width: 20px !important;
    height: 20px !important;
  }
}

/* 2. Full-Height Luxury Mobile Off-Canvas Drawer */
@media (max-width: 1023px) {
  .mobile-nav-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(18, 15, 13, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 1999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }

  .mobile-nav-overlay.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .mobile-nav-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 320px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #FFFFFF !important;
    z-index: 2000 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.22) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 1.5rem 1.35rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-drawer.is-open {
    transform: translateX(0) !important;
  }

  /* Drawer Header */
  .mobile-nav-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 1.15rem !important;
    margin-bottom: 1.15rem !important;
    border-bottom: 1px solid var(--color-champagne, #EDE5DA) !important;
    width: 100% !important;
  }

  .mobile-nav-header .brand-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-decoration: none !important;
  }

  .mobile-nav-close {
    background: transparent !important;
    border: none !important;
    font-size: 2.2rem !important;
    line-height: 1 !important;
    color: var(--color-espresso, #1A1412) !important;
    cursor: pointer !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  /* Drawer Navigation Menu Links */
  .mobile-nav-menu,
  .mobile-nav-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .mobile-nav-link,
  .mobile-nav-list .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    padding: 0.75rem 0.25rem !important;
    font-family: var(--font-sans, 'Manrope', sans-serif) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--color-espresso, #1A1412) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(234, 228, 221, 0.6) !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:active,
  .mobile-nav-link.active,
  .mobile-nav-list .nav-link:hover,
  .mobile-nav-list .nav-link.active {
    color: var(--color-gold, #B8965A) !important;
    padding-left: 6px !important;
  }

  /* Drawer Footer */
  .mobile-nav-footer,
  .mobile-drawer-footer {
    margin-top: auto !important;
    padding-top: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .header-drawer-share-btn,
  .mobile-nav-footer .btn {
    width: 100% !important;
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    padding: 0.75rem 1rem !important;
  }

  .mobile-nav-footer .lang-switcher {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 0.4rem 0 !important;
  }

  .mobile-nav-footer .lang-btn {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    background: transparent !important;
    border: 1px solid rgba(184, 150, 90, 0.4) !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    color: var(--color-espresso, #1A1412) !important;
  }

  .mobile-nav-footer .lang-btn.active {
    background: var(--color-espresso, #1A1412) !important;
    color: var(--color-gold-light, #DFC59E) !important;
    border-color: var(--color-gold, #B8965A) !important;
  }
}

/* 3. Hero Section Luxury Mobile Optimization (< 768px) */
@media (max-width: 767px) {
  .hero-section {
    min-height: 78vh !important;
    height: auto !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .hero-content-box {
    padding: 2.5rem 1.25rem 4.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.4rem) !important;
    line-height: 1.22 !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 1rem !important;
  }

  .hero-tagline {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.75rem !important;
  }

  .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .hero-cta-group .btn {
    width: 100% !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.14em !important;
  }

  /* Hero Navigation Arrows: Placed gracefully at bottom corners, never colliding with text */
  .hero-arrow {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    top: auto !important;
    bottom: 1rem !important;
    transform: none !important;
    z-index: 20 !important;
    background: rgba(26, 20, 18, 0.68) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(223, 197, 158, 0.6) !important;
    color: #DFC59E !important;
  }

  .hero-arrow:active {
    transform: scale(0.96) !important;
    background: #000000 !important;
  }

  .hero-arrow-prev {
    left: 1rem !important;
  }

  .hero-arrow-next {
    right: 1rem !important;
  }
}

/* 4. Product Detail Mobile Architecture (< 768px) */
@media (max-width: 767px) {
  .product-page-wrapper {
    padding-top: 1.25rem !important;
    padding-bottom: 3.5rem !important;
  }

  .product-detail-main-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.25rem !important;
    width: 100% !important;
  }

  /* Gallery Column */
  .product-gallery-col {
    width: 100% !important;
    gap: 0.85rem !important;
  }

  .product-gallery-primary-img {
    aspect-ratio: 3 / 4 !important;
    max-height: 72vh !important;
    object-fit: contain !important;
  }

  /* 2-Column Side-by-Side Gallery Thumbnails on Mobile */
  .product-gallery-angles {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .gallery-thumb-card {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.45rem !important;
    min-height: 58px !important;
    box-sizing: border-box !important;
  }

  .gallery-thumb-card .thumb-img-wrap {
    width: 44px !important;
    height: 58px !important;
    flex-shrink: 0 !important;
  }

  .gallery-thumb-card .thumb-badge {
    font-size: 0.58rem !important;
    padding: 2px 5px !important;
  }

  .gallery-thumb-card .thumb-caption {
    font-size: 0.7rem !important;
    white-space: nowrap !important;
  }

  /* Product Heading & Badges */
  .product-heading-section {
    margin-bottom: 1.25rem !important;
  }

  .product-model-name {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
    line-height: 1.15 !important;
    margin: 0.4rem 0 0.85rem !important;
  }

  .product-badge-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
    align-items: center !important;
  }

  .product-badge-bar span {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.65rem !important;
  }

  /* Technical Specifications Table */
  .product-specs-card {
    padding: 1.5rem 1.25rem !important;
    margin-bottom: 1.75rem !important;
    border-radius: 4px !important;
  }

  .specs-card-header {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.65rem !important;
  }

  .specs-grid-row {
    display: grid !important;
    grid-template-columns: 115px 1fr !important;
    gap: 0.75rem !important;
    padding: 0.8rem 0.25rem !important;
    align-items: start !important;
  }

  .specs-grid-row .spec-label {
    font-size: 0.78rem !important;
    white-space: normal !important;
    word-break: normal !important;
    line-height: 1.35 !important;
  }

  .specs-grid-row .spec-value {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  /* Action Buttons Duo (Full Width Stack on Mobile) */
  .primary-cta-duo {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .btn-luxury-primary,
  .btn-luxury-quote,
  .btn-luxury-whatsapp {
    width: 100% !important;
    min-height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.12em !important;
    padding: 0.85rem 1rem !important;
    box-sizing: border-box !important;
  }

  /* Store Assurance Card on Mobile */
  .specs-store-assurance-card {
    padding: 1.35rem 1.25rem !important;
    margin-top: 1.5rem !important;
  }
}

/* 5. Collections & Boutique Map Mobile Perfection (< 768px) */
@media (max-width: 767px) {
  /* Category Filter Navigation */
  .category-filter-nav {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.5rem !important;
    padding: 0.5rem 0.25rem 0.75rem !important;
    scrollbar-width: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .category-filter-nav::-webkit-scrollbar {
    display: none !important;
  }

  .filter-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    min-height: 44px !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.76rem !important;
  }

  /* Boutique Location Section */
  .luxury-store-panel {
    padding: 2rem 1.25rem !important;
  }

  .luxury-store-panel .store-brand-title {
    font-size: 1.75rem !important;
  }

  .luxury-store-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .luxury-store-actions a,
  .luxury-store-actions button {
    width: 100% !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}