/* ================================================================
   LUCENVA — MOBILE OPTIMIZATION (PREMIUM UX REWRITE)
   File load SAU CÙNG — override style.css & cart-wishlist.css
   
   Breakpoints:
     768px  — tablet / phone landscape
     480px  — phone portrait
     375px  — small phone (iPhone SE, etc.)
   
   Principles:
     ✦ Touch targets ≥ 44px
     ✦ Font min 13px for body, 11px absolute minimum
     ✦ Smooth 60fps animations via transform/opacity
     ✦ Safe area support for notch devices
     ✦ Momentum scrolling (-webkit-overflow-scrolling)
     ✦ Reduced motion respected
   ================================================================ */

/* ================================================================
   0. GLOBAL RESET & FOUNDATION
   ================================================================ */
@media (max-width: 768px) {

  /* Prevent horizontal scroll globally */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    -webkit-text-size-adjust: 100% !important;
  }

  body {
    padding-top: 70px !important;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0)) !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Container breathable padding */
  .container {
    padding: 0 20px !important;
  }

  /* Global text wrap balance & pretty to avoid orphans and hidden text */
  h1, h2, h3, h4, h5, h6, .cat-name, .fp-title, .sp-title, .commit-label, .serif-heading {
    text-wrap: balance !important;
  }
  
  p, span, .cat-sub, .gift-desc, .fp-info p, .mh-text p, .decode-text p, .philosophy-box p, .about-card p {
    text-wrap: normal !important;
  }

  /* Responsive images */
  img {
    max-width: 100% !important;
  }

  /* Global section spacing — more breathing room */
  .section-pad {
    padding: 48px 0 !important;
  }

  /* Buttons — minimum touch target */
  .btn {
    min-height: 46px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    padding: 12px 28px !important;
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
  }

  /* Disable hover transforms on touch */
  @media (hover: none) {
    .gift-card:hover,
    .fp-card:hover,
    .cat-item:hover,
    .commit-item:hover {
      transform: none !important;
      box-shadow: none !important;
    }
  }
}

/* Reduced motion — respect user preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ================================================================
   1. HEADER — Clean 3-column layout
   ================================================================ */
@media (max-width: 768px) {

  header {
    position: fixed !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04) !important;
  }

  #main-header {
    z-index: 10010 !important;
  }

  .header-inner {
    padding: 0 16px !important;
  }

  .header-top { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 6px 10px !important; width: 100% !important; box-sizing: border-box !important; position: relative !important; }
.header-left-icons { z-index: 2 !important; }
.header-right-icons { z-index: 2 !important; }
/* Left icons */
  .header-left-icons {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    justify-content: flex-start !important;
  }

  .header-left-icons .icon-btn:not(.menu-toggle) {
    display: none !important;
  }

  .header-left-icons .menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
  }

  /* Right icons */
  .header-right-icons {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    justify-content: flex-end !important;
  }

  .header-left-icons .icon-btn,
  .header-right-icons .icon-btn {
    font-size: 19px !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hide user icon on mobile */
  .header-right-icons .icon-btn:nth-child(2) {
    display: none !important;
  }

  /* Logo */
  .logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .logo-img {
    height: 70px !important;
    object-fit: contain !important;
    pointer-events: none !important;
  }

  /* Cart badge positioning */
  .cart-count {
    top: 4px !important;
    right: 2px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 9px !important;
  }

  .wish-badge {
    top: 4px !important;
    right: 2px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 9px !important;
  }
}


/* ================================================================
   1b. SEARCH OVERLAY — Full-screen mobile search
   ================================================================ */
@media (max-width: 768px) {

  #search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10020 !important;
    background: #fff !important;
    padding: 12px 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
  }

  #search-overlay.active {
    display: flex !important;
    align-items: center !important;
  }

  #search-input {
    flex: 1 !important;
    height: 46px !important;
    font-size: 15px !important;
    padding: 0 16px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 24px !important;
    background: #f8f8f8 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  #search-input:focus {
    border-color: var(--gold) !important;
    background: #fff !important;
  }

  .close-search {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }
}


/* ================================================================
   1c. MOBILE MENU DRAWER — Smooth slide from left
   ================================================================ */
@media (max-width: 768px) {

  .header-bottom {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 82% !important;
    max-width: 340px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #fff !important;
    z-index: 10010 !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 8px 0 40px rgba(0,0,0,0.18) !important;
    transition: left 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    will-change: left !important;
  }

  .header-bottom.active {
    display: flex !important;
    left: 0 !important;
  }

  /* Menu close button area at top */
  .header-bottom::before {
    content: '' !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    height: env(safe-area-inset-top, 0) !important;
    background: #fff !important;
  }

  .nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 16px 0 !important;
  }

  .nav li {
    width: 100% !important;
    border-bottom: 1px solid #f5f5f5 !important;
    display: block !important;
    text-align: center !important;
  }

  .nav > li > a {
    padding: 16px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    width: 100% !important;
    justify-content: space-between !important;
    display: flex !important;
    align-items: center !important;
    min-height: 50px !important;
    color: #222 !important;
    letter-spacing: 1px !important;
  }

  /* Dropdown on mobile */
  .dropdown,
  .submenu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border-top: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #fafafa !important;
    display: none !important;
    border-radius: 0 !important;
    min-width: 100% !important;
    border: none !important;
  }

  .nav li.open > .dropdown,
  .nav li.open > .submenu {
    display: block !important;
    text-align: center !important;
  }

  .dropdown li a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 32px !important;
    font-size: 13px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    color: #555 !important;
    min-height: 46px !important;
    background: #fafafa !important;
  }

  .submenu li a {
    padding-left: 48px !important;
    background: #f3f3f3 !important;
    font-size: 12.5px !important;
    color: #666 !important;
  }

  /* Xoay mũi tên khi mở menu */
  .nav li > a i {
    transition: transform 0.3s ease !important;
  }
  
  /* Mặc định mũi tên trên mobile luôn trỏ XUỐNG */
  .nav li > a > i.fa-chevron-right {
    transform: rotate(90deg) !important;
  }
  .nav li > a > i.fa-chevron-down {
    transform: rotate(0deg) !important;
  }

  /* Khi mở menu, mũi tên trỏ LÊN */
  .nav li.open > a > i.fa-chevron-down {
    transform: rotate(180deg) !important;
  }
  .nav li.open > a > i.fa-chevron-right {
    transform: rotate(270deg) !important;
  }

  /* Overlay */
  .menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 10009 !important;
    display: none !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
  }

  .menu-overlay.active {
    display: block !important;
    text-align: center !important;
  }
}


/* ================================================================
   2. HERO SLIDER — Immersive mobile hero
   ================================================================ */
@media (max-width: 768px) {

  .main-hero-section {
    height: 75vw !important;
    min-height: 300px !important;
    max-height: 460px !important;
    position: relative !important;
  }

  .mh-slide {
    position: absolute !important;
    inset: 0 !important;
  }

  .mh-bg-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  /* Gradient overlay for text readability */
  .mh-slide::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60% !important;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%) !important;
    pointer-events: none !important;
    z-index: 5 !important;
  }

  .mh-content-wrap {
    position: relative !important;
    z-index: 10 !important;
    height: 100% !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 0 20px 36px !important;
    box-sizing: border-box !important;
  }

  .mh-text {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
    margin: 0 !important;
  }

  .mh-title-img {
    max-width: 160px !important;
    margin-bottom: 10px !important;
    filter: brightness(0) invert(1) !important;
  }

  .mh-text > p {
    font-size: 13px !important;
    margin-bottom: 16px !important;
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
    font-weight: 400 !important;
  }

  .mh-text .btn-outline {
    padding: 11px 26px !important;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    border-radius: 4px !important;
    background: rgba(255,255,255,0.92) !important;
    color: #1a1a1a !important;
    border-color: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    font-weight: 600 !important;
    min-height: 50px !important;
  }

  /* Dark text slide */
  .serif-heading {
    white-space: normal !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6) !important;
    margin-bottom: 12px !important;
  }

  .mh-text-dark p {
    font-size: 13px !important;
    color: #fff !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
  }

  /* Hero dots */
  .mh-dots {
    bottom: 14px !important;
    gap: 8px !important;
    z-index: 20 !important;
  }

  .mh-dots .mh-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 4px !important;
    transition: width 0.3s ease !important;
  }

  .mh-dots .mh-dot.active {
    width: 24px !important;
    background: #fff !important;
  }
}

@media (max-width: 480px) {
  .main-hero-section {
    height: 85vw !important;
    min-height: 260px !important;
    max-height: 400px !important;
  }

  .mh-title-img {
    max-width: 130px !important;
  }

  .serif-heading {
    font-size: 20px !important;
  }
}

@media (max-width: 375px) {
  .main-hero-section {
    max-height: 360px !important;
  }

  .mh-content-wrap {
    padding: 0 16px 30px !important;
  }
}


/* ================================================================
   3. COMMIT SECTION — Clean 2×2 grid
   ================================================================ */
@media (max-width: 768px) {

  .commit-section {
    padding: 44px 0 !important;
  }

  .commit-title {
    font-size: 20px !important;
    margin-bottom: 28px !important;
    letter-spacing: 0.5px !important;
    font-weight: 700 !important;
  }

  .commit-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px 16px !important;
  }

  .commit-item {
    width: calc(50% - 10px) !important;
    text-align: center !important;
  }

  .commit-icon-circle {
    width: 76px !important;
    height: 76px !important;
    margin: 0 auto 14px !important;
  }

  .commit-icon {
    font-size: 28px !important;
  }

  .commit-label,
  .commit-item p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    color: #444 !important;
  }
}


/* ================================================================
   4. PHILOSOPHY SECTION — Readable cards
   ================================================================ */
@media (max-width: 768px) {

  .philosophy-section {
    padding: 44px 0 !important;
  }

  .philosophy-header {
    margin-bottom: 28px !important;
    padding: 0 4px !important;
    text-align: center !important;
  }

  .philosophy-header h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .philosophy-header p {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .philosophy-grid,
  .philosophy-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .philosophy-box {
    padding: 24px 20px !important;
    border-radius: 12px !important;
    border: 1px solid #eee !important;
    background: #fff !important;
  }

  .philosophy-box h3 {
    font-size: 14px !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
  }

  .philosophy-box p {
    font-size: 13px !important;
    line-height: 1.7 !important;
    text-align: left !important;
  }
}


/* ================================================================
   5. CATEGORY SECTION — 2-col product grid
   ================================================================ */
@media (max-width: 768px) {

  .category-section {
    padding: 44px 0 24px !important;
  }

  .cat-title {
    font-size: 20px !important;
    margin-bottom: 24px !important;
    font-weight: 700 !important;
  }

  /* Override inline <style> grid */
  .cat-grid-4,
  .cat-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 0 !important;
  }

  .cat-grid-4 .cat-img-box,
  .cat-img-box {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    background: linear-gradient(180deg, #f5f6f8 0%, #eef0f3 100%) !important;
    padding: 16px !important;
  }

  .cat-grid-4 .cat-img-box img,
  .cat-img-box img {
    padding: 24px !important;
  }

  .cat-grid-4 .cat-name,
  .cat-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow: visible !important;
    display: block !important;
    text-align: center !important;
  }

  .cat-grid-4 .cat-sub,
  .cat-sublabel {
    font-size: 11px !important;
    line-height: 1.4 !important;
    min-height: auto !important;
    max-height: none !important;
    color: #888 !important;
    overflow: visible !important;
    display: block !important;
    text-align: center !important;
  }
}

@media (max-width: 375px) {
  .cat-grid-4,
  .cat-grid {
    gap: 12px !important;
  }
}


/* ================================================================
   6. PROMO BANNER SLIDER
   ================================================================ */
@media (max-width: 768px) {

  .promo-banner-section {
    margin: 0 !important;
  }

  .promo-slider {
    aspect-ratio: 16 / 9 !important;
  }

  .promo-dots {
    bottom: 16px !important;
    gap: 8px !important;
  }

  .promo-dot {
    width: 10px !important;
    height: 10px !important;
  }
}


/* ================================================================
   7. CLINICAL PROOF — Stacked layout
   ================================================================ */
@media (max-width: 768px) {

  .clinical-proof-section {
    padding: 48px 0 !important;
  }

  .cp-title {
    font-size: 20px !important;
    margin-bottom: 24px !important;
  }

  .cp-grid {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .cp-image-col {
    width: 100% !important;
  }

  .cp-image-col img {
    min-height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  .cp-content-col {
    width: 100% !important;
    padding: 20px 0 0 !important;
  }

  .cp-nav-next {
    display: none !important;
  }
}


/* ================================================================
   8. DECODE YOUR SKIN AGE — Stacked with polish
   ================================================================ */
@media (max-width: 768px) {

  .decode-section {
    padding: 48px 0 !important;
  }

  .decode-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .decode-left img {
    min-height: 280px !important;
    border-radius: 16px !important;
  }

  .decode-text {
    margin-top: 0 !important;
  }

  .decode-text h2 {
    font-size: 24px !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
  }

  .decode-text h3 {
    font-size: 13px !important;
    margin-bottom: 14px !important;
    line-height: 1.5 !important;
    color: #666 !important;
  }

  .decode-text p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
  }

  .decode-sub-imgs {
    gap: 12px !important;
  }

  .decode-sub-imgs img {
    border-radius: 14px !important;
    aspect-ratio: 4 / 5 !important;
  }
}


/* ================================================================
   9. FEATURED PRODUCTS — Premium 2-col cards
   ================================================================ */
@media (max-width: 768px) {

  .featured-products-section {
    padding: 48px 0 !important;
  }

  .fp-title {
    font-size: 20px !important;
    margin-bottom: 24px !important;
    font-weight: 700 !important;
  }

  .fp-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .fp-card {
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #f8f8fa !important;
  }

  .fp-img {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #f0f1f4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .fp-img img {
    width: 85% !important;
    height: 85% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
  }

  .fp-info {
    padding: 14px 12px 16px !important;
  }

  .fp-info h4 {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.3px !important;
    display: block !important;
    text-align: center !important;
    overflow: visible !important;
  }

  .fp-info p {
    font-size: 12px !important;
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
    color: #888 !important;
    display: block !important;
    text-align: center !important;
    overflow: visible !important;
  }

  .fp-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #1a1a1a !important;
  }

  .fp-btn {
    padding: 10px 8px !important;
    font-size: 10px !important;
    letter-spacing: 0.8px !important;
    border-radius: 6px !important;
    min-height: 38px !important;
    font-weight: 600 !important;
  }

  .fp-badge,
  .gift-badge {
    font-size: 10px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
  }
}


/* ================================================================
   10. SHOP PAGE — Sidebar drawer + 2-col grid
   ================================================================ */
@media (max-width: 768px) {

  .shop-layout {
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 0 !important;
  }

  /* Sidebar as drawer */
  .shop-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -105% !important;
    width: 82% !important;
    max-width: 320px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #fff !important;
    z-index: 10010 !important;
    padding: 20px 24px 40px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 6px 0 30px rgba(0,0,0,0.15) !important;
    transition: left 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    display: block !important;
    text-align: center !important;
    flex: none !important;
    will-change: left !important;
  }

  .shop-sidebar.active {
    left: 0 !important;
  }

  .shop-main {
    width: 100% !important;
  }

  /* Filter bar trigger */
  .mobile-filter-bar,
  .mobile-filter-bar-only {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px !important;
    background: #fff !important;
    border: 1.5px solid #1a1a1a !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    margin-bottom: 20px !important;
    min-height: 46px !important;
  }

  .filter-mobile-header,
  .menu-close-mobile,
  .filter-close {
    display: flex !important;
  }

  /* Shop product grid */
  .shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  /* Product cards in shop */
  .gift-card {
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    transition: box-shadow 0.2s ease !important;
  }

  .gift-img {
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f5f6f8 !important;
    border-radius: 14px 14px 0 0 !important;
    overflow: hidden !important;
  }

  .gift-img img {
    width: 85% !important;
    height: 85% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    padding: 0 !important;
  }

  .gift-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 12px 10px 4px !important;
    line-height: 1.4 !important;
    display: block !important;
    text-align: center !important;
    overflow: visible !important;
    letter-spacing: 0.2px !important;
  }

  .gift-desc {
    font-size: 12px !important;
    padding: 0 10px !important;
    line-height: 1.4 !important;
    color: #999 !important;
  }

  .gift-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 6px 10px 10px !important;
    color: #1a1a1a !important;
  }

  .gift-act {
    padding: 0 10px 12px !important;
  }

  .gift-act button {
    font-size: 10px !important;
    padding: 10px 8px !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    min-height: 38px !important;
    width: 100% !important;
  }

  /* Wishlist button on cards */
  .wish-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    top: 8px !important;
    right: 8px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }
}


/* ================================================================
   11. EXPERT FEEDBACK SLIDER — Card style on mobile
   ================================================================ */
@media (max-width: 768px) {

  .expert-feedback-section {
    padding: 48px 0 56px !important;
  }

  .expert-title {
    font-size: 20px !important;
    margin-bottom: 24px !important;
    font-weight: 700 !important;
  }

  .expert-slider-wrap {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .expert-slider {
    height: auto !important;
    min-height: auto !important;
    border-radius: 16px !important;
    background: transparent !important;
  }

  .expert-slide {
    position: relative !important;
    inset: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .expert-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }

  .expert-quote-box {
    width: 100% !important;
    padding: 28px 24px !important;
    border-radius: 16px !important;
    margin-bottom: 0 !important;
    background: #f8f8fa !important;
    box-shadow: none !important;
    border: 1px solid #eee !important;
  }

  .expert-quote-box i {
    font-size: 28px !important;
    margin-bottom: 12px !important;
    color: var(--gold, #c5a880) !important;
  }

  .expert-quote-box p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 16px !important;
    color: #333 !important;
  }

  .expert-author {
    font-size: 12px !important;
    text-align: right !important;
    color: var(--gold, #c5a880) !important;
    font-weight: 700 !important;
  }

  /* Expert image below quote */
  .expert-image {
    position: relative !important;
    width: 150px !important;
    height: 120px !important;
    margin: -20px auto 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 3px solid #fff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
    z-index: 2 !important;
  }

  .expert-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  /* Navigation buttons */
  .expert-nav {
    width: 40px !important;
    height: 50px !important;
    font-size: 14px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
  }

  .expert-nav.prev {
    left: -4px !important;
  }

  .expert-nav.next {
    right: -4px !important;
  }
}


/* ================================================================
   12. ABOUT / SUB-PAGES — Responsive content
   ================================================================ */
@media (max-width: 768px) {

  /* Page hero */
  .page-hero {
    height: 200px !important;
  }

  .page-hero-content h1 {
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
  }

  .page-hero-content .label {
    font-size: 10px !important;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
  }

  .breadcrumb {
    padding: 10px 0 !important;
  }

  .breadcrumb-inner {
    font-size: 11px !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
  }

  /* About page content */
  .about-page-content {
    padding: 40px 20px !important;
  }

  .about-main-title {
    font-size: 24px !important;
  }

  .about-subtitle {
    font-size: 14px !important;
    margin-bottom: 36px !important;
  }

  .about-split-section {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .about-card {
    padding: 28px 20px !important;
    border-radius: 14px !important;
    margin-bottom: 24px !important;
  }

  .about-card h2,
  .about-card-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
  }

  .about-card p,
  .about-card-text {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  .about-card ul,
  .about-card-list {
    font-size: 14px !important;
    margin-left: 16px !important;
  }

  .about-banner-img {
    border-radius: 12px !important;
    margin-bottom: 20px !important;
  }

  /* Mission page inline grids */
  .about-card [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  /* Team grid */
  .team-grid-cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .team-card-photo {
    height: 260px !important;
  }

  /* Certifications */
  .certif-grid,
  .certif-grid-custom {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .certif-item {
    padding: 24px 16px !important;
    border-radius: 12px !important;
  }

  .certif-item i,
  .certif-icon {
    font-size: 36px !important;
    margin-bottom: 12px !important;
  }

  .certif-item p,
  .certif-text {
    font-size: 11px !important;
  }
}


/* ================================================================
   13. SPA SECTIONS — Stacked layout
   ================================================================ */
@media (max-width: 768px) {

  .spa-intro-grid,
  .about-facility-grid,
  .about-team-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .spa-intro-grid > *,
  .about-facility-grid > *,
  .about-team-grid > * {
    width: 100% !important;
  }

  .pricing-table {
    font-size: 12px !important;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px 10px !important;
  }

  .ptab {
    font-size: 11px !important;
    padding: 10px 14px !important;
    min-height: 50px !important;
  }

  .commit-page-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}


/* ================================================================
   14. PRODUCT DETAIL PAGE — Polished mobile layout
   ================================================================ */
@media (max-width: 768px) {

  .single-product-section {
    padding: 0 0 100px !important;
  }

  .sp-new-layout {
    flex-direction: column !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
  }

  .sp-col-left {
    width: 100% !important;
    flex: none !important;
  }

  .sp-image-sticky {
    position: static !important;
  }

  /* Main product image */
  .sp-main-img-box {
    padding: 16px !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    margin-bottom: 0 !important;
    background: #fafafa !important;
  }

  .sp-main-img-box.full-frame {
    padding: 0 !important;
    background: #fff !important;
  }

  .sp-main-img-box img {
    max-width: 100% !important;
    max-height: 450px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  .sp-main-img-box.full-frame img {
    max-width: 100% !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    text-align: center !important;
  }

  /* Thumbnails with scroll snap */
  .sp-thumbs {
    padding: 12px 20px !important;
    gap: 10px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  .sp-thumbs::-webkit-scrollbar {
    display: none !important;
  }

  .sp-thumb-item {
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    border-radius: 8px !important;
  }

  /* Content column */
  .sp-col-right {
    padding: 24px 20px 20px !important;
  }

  .sp-title {
    font-size: 22px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .sp-sub-title {
    font-size: 14px !important;
    margin-bottom: 14px !important;
    color: #888 !important;
  }

  .sp-top-desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .sp-price {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
  }

  /* Action buttons */
  .sp-action-box {
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }

  .sp-qty {
    flex: 1 !important;
  }

  .sp-add-btn {
    flex: 1 1 100% !important;
    order: 3 !important;
    padding: 14px 12px !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    border-radius: 6px !important;
  }

  .sp-wish-btn {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
  }

  /* Quantity */
  .sp-qty {
    height: 48px !important;
    border-radius: 6px !important;
  }

  .sp-qty button {
    width: 40px !important;
    font-size: 18px !important;
    min-height: 48px !important;
  }

  .sp-qty input {
    width: 48px !important;
    font-size: 16px !important;
  }

  /* Tabs */
  .sp-tabs {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
    padding: 0 20px !important;
    gap: 0 !important;
  }

  .sp-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .sp-tab-btn {
    font-size: 11px !important;
    padding: 14px 16px !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    min-height: 44px !important;
  }

  .sp-tab-content {
    padding: 24px 20px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  /* Sticky buy bar */
  .sp-sticky-bar {
    position: fixed !important;
    bottom: calc(64px + env(safe-area-inset-bottom, 0)) !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1) !important;
    z-index: 999 !important;
    padding: 10px 20px !important;
    transform: translateY(100px) !important;
    transition: transform 0.35s ease !important;
    will-change: transform !important;
  }

  .sp-sticky-bar.show {
    transform: translateY(0) !important;
    top: auto !important;
  }

  .ssb-inner {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    justify-content: space-between !important;
  }

  .ssb-name {
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .ssb-btn {
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 12px 20px !important;
    min-height: 44px !important;
    border-radius: 6px !important;
  }

  /* Upsell grid */
  .sp-upsell-section .gift-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  /* Review box */
  .sp-review-box {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }

  /* Q&A */
  .sp-qa-inputs {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
}


/* ================================================================
   15. GIFT SETS / VOUCHER / B2B PAGES
   ================================================================ */
@media (max-width: 768px) {

  .gift-detail-grid,
  .b2b-section-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .gift-detail-grid > *,
  .b2b-section-grid > * {
    width: 100% !important;
  }

  .voucher-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .limited-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}


/* ================================================================
   16. FOOTER — Refined mobile layout
   ================================================================ */
@media (max-width: 768px) {

  footer {
    padding: 40px 0 24px !important;
    padding-bottom: calc(280px + env(safe-area-inset-bottom, 0)) !important;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px 20px !important;
    margin-bottom: 36px !important;
  }

  .footer-col h4 {
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    letter-spacing: 1px !important;
    color: #222 !important;
  }

  .footer-col ul li a {
    font-size: 13px !important;
    line-height: 2.2 !important;
    color: #666 !important;
  }

  .footer-divider {
    margin: 0 0 28px !important;
  }

  .footer-newsletter-wrap {
    text-align: center !important;
    margin-bottom: 28px !important;
  }

  .footer-newsletter-wrap h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
  }

  .footer-newsletter-wrap h3 br {
    display: none !important;
  }

  .newsletter-box {
    display: flex !important;
    flex-direction: row !important;
    max-width: 100% !important;
    gap: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #ddd !important;
  }

  .newsletter-box input {
    flex: 1 !important;
    font-size: 14px !important;
    padding: 14px 16px !important;
    border: none !important;
    min-height: 48px !important;
    background: #fafafa !important;
  }

  .newsletter-box button {
    min-width: 48px !important;
    min-height: 48px !important;
    border: none !important;
    background: #1a1a1a !important;
    color: #fff !important;
    font-size: 14px !important;
  }

  .footer-newsletter-wrap > p {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 12px !important;
    line-height: 1.5 !important;
  }

  .footer-newsletter-wrap > p br {
    display: none !important;
  }

  .footer-socials {
    margin-bottom: 28px !important;
  }

  .footer-socials a {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }

  .footer-bottom-wrap {
    padding: 0 !important;
    text-align: center !important;
  }

  .bct-logo {
    max-height: 48px !important;
    margin-bottom: 12px !important;
  }

  .copyright-text {
    font-size: 11px !important;
    line-height: 1.7 !important;
    color: #999 !important;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }
}


/* ================================================================
   17. FLOATING CONTACT — Above bottom nav
   ================================================================ */
@media (max-width: 768px) {

  .floating-contact {
    bottom: calc(80px + env(safe-area-inset-bottom, 0)) !important;
    right: 14px !important;
    gap: 14px !important;
    z-index: 1400 !important;
  }

  .fc-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
  }

  .fc-btn img {
    width: 24px !important;
    height: 24px !important;
  }

  .fc-phone {
    font-size: 17px !important;
  }

  /* Hide pulse effects on mobile to reduce visual noise */
  .fc-btn::before,
  .fc-btn::after {
    display: none !important;
  }
}


/* ================================================================
   18. MOBILE BOTTOM NAV — Premium tab bar
   ================================================================ */
.mobile-bottom-nav {
  display: none !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 64px !important;
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  z-index: 1500 !important;
  box-shadow: 0 -1px 12px rgba(0,0,0,0.06) !important;
  padding-bottom: env(safe-area-inset-bottom, 0) !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-around !important;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
  }
}

.mbn-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  color: #aaa !important;
  font-size: 9px !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  flex: 1 !important;
  padding: 6px 0 !important;
  transition: color 0.2s ease !important;
  position: relative !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  -webkit-tap-highlight-color: transparent !important;
}

.mbn-item i {
  font-size: 21px !important;
  transition: transform 0.2s ease !important;
}

.mbn-item:active i {
  transform: scale(0.88) !important;
}

.mbn-item.active {
  color: var(--gold, #c5a880) !important;
}

/* Active indicator dot */
.mbn-item.active::after {
  content: '' !important;
  position: absolute !important;
  top: 2px !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: var(--gold, #c5a880) !important;
}

.mbn-cart-badge {
  position: absolute !important;
  top: 4px !important;
  right: calc(50% - 20px) !important;
  background: var(--gold, #c5a880) !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ================================================================
   19. CART & WISHLIST DRAWER — Full-screen mobile
   ================================================================ */
@media (max-width: 768px) {

  .cart-overlay,
  .wishlist-overlay {
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
  }

  .cart-drawer,
  .wishlist-drawer {
    width: 85% !important;
    max-width: 400px !important;
    border-radius: 0 !important;
  }

  .cart-drawer-header,
  .wishlist-drawer-header {
    padding: 16px 20px !important;
    padding-top: calc(16px + env(safe-area-inset-top, 0)) !important;
  }

  .cart-drawer-header h3,
  .wishlist-drawer-header h3 {
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
  }

  .cart-drawer-close,
  .wishlist-drawer-close {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }

  .cart-items,
  .wishlist-items {
    padding: 8px 20px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ci-img {
    width: 72px !important;
    height: 72px !important;
    border-radius: 10px !important;
  }

  .ci-name {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .ci-price {
    font-size: 14px !important;
  }

  .ci-qty-btn {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
  }

  .cart-drawer-footer {
    padding: 16px 20px !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0)) !important;
  }

  .cart-total {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  .cart-checkout-btn {
    font-size: 12px !important;
    padding: 16px !important;
    border-radius: 8px !important;
    min-height: 50px !important;
    letter-spacing: 1.5px !important;
  }

  /* Empty states */
  .cart-empty,
  .wishlist-empty {
    padding: 60px 30px !important;
  }

  .cart-empty i,
  .wishlist-empty i {
    font-size: 48px !important;
  }

  .cart-empty p,
  .wishlist-empty p {
    font-size: 14px !important;
  }

  /* Wishlist item in drawer */
  .wi-img {
    width: 72px !important;
    height: 72px !important;
    border-radius: 10px !important;
  }
}


/* ================================================================
   20. TOAST NOTIFICATION
   ================================================================ */
@media (max-width: 768px) {
  #lucenva-toast {
    bottom: calc(80px + env(safe-area-inset-bottom, 0)) !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
  }
}


/* ================================================================
   21. ABOUT HOME SECTION — Clean stack
   ================================================================ */
@media (max-width: 768px) {

  .about-home {
    padding: 48px 0 !important;
  }

  .about-home-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .about-text {
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .about-text h2 {
    font-size: 22px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: center !important;
    margin-bottom: 16px !important;
  }

  .about-text p {
    font-size: 14px !important;
    text-align: left !important;
    line-height: 1.7 !important;
  }

  /* Image grid */
  .about-images-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 180px 180px !important;
    gap: 12px !important;
  }

  .about-images-grid img {
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
  }

  .about-images-grid img:first-child {
    grid-row: span 2 !important;
  }
}

@media (max-width: 480px) {
  .about-images-grid {
    grid-template-rows: 160px 160px !important;
  }
}

@media (max-width: 375px) {
  .about-images-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }

  .about-images-grid img:first-child {
    grid-row: span 1 !important;
    aspect-ratio: 16/9 !important;
  }

  .about-images-grid img:nth-child(2),
  .about-images-grid img:nth-child(3) {
    display: none !important;
  }
}


/* ================================================================
   22. SAFE AREA — iPhone notch / home indicator
   ================================================================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 768px) {

    .mobile-bottom-nav {
      height: calc(64px + env(safe-area-inset-bottom)) !important;
      padding-bottom: env(safe-area-inset-bottom) !important;
    }

    body {
      padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    }

    .sp-sticky-bar {
      bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    }
  }
}


/* ================================================================
   23. PERFORMANCE — GPU acceleration hints
   ================================================================ */
@media (max-width: 768px) {
  .header-bottom,
  .shop-sidebar,
  .cart-drawer,
  .wishlist-drawer {
    will-change: transform, left, right !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
  }

  /* Smooth scrolling containers */
  .cart-items,
  .wishlist-items,
  .sp-thumbs,
  .sp-tabs {
    -webkit-overflow-scrolling: touch !important;
  }
}


/* ================================================================
   24. INLINE STYLE OVERRIDES — Fix hardcoded inline grids
   ================================================================ */
@media (max-width: 768px) {

  /* Mission page inline grid cards */
  [style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  [style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
  }


}


/* Fix iOS click on overlay */
.cart-overlay, .wishlist-overlay {
    cursor: pointer !important;
}

/* Fix product image too small on mobile */
.cat-grid-4 .cat-img-box img,
.gift-img img,
.cat-img-box img {
    padding: 10px !important;
}

/* Fix close button size for easier tapping on mobile */
.cart-drawer-close, .wishlist-drawer-close {
    width: 44px !important;
    height: 44px !important;
    font-size: 24px !important;
}


/* Fix z-index for cart and wishlist so they cover main-header */
.cart-overlay, .wishlist-overlay {
    z-index: 20000 !important;
}
.cart-drawer, .wishlist-drawer {
    z-index: 20010 !important;
}




/* Make product buttons always visible on mobile ONLY */
@media (max-width: 900px) {
    .gift-act {
        display: none !important;
    }

    .gift-act button {
        width: 100% !important;
        padding: 10px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        background: #1a1a1a !important;
        color: #fff !important;
        border: none !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
    }
}


/* Mobile Static Button Styling (md-care style) */
@media (max-width: 900px) {
    .hide-on-mobile { display: none !important; }
    
    .gift-act-mobile {
        width: 100%;
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }
    
    .btn-mobile-outline {
        width: 100%;
        padding: 8px 12px;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        background: transparent !important;
        border: 1px solid #1a1a1a !important;
        border-radius: 4px !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    
    .btn-mobile-outline:active {
        background: #f5f5f5 !important;
    }
}
@media (min-width: 901px) {
    .hide-on-pc { display: none !important; }
}

.btn-added-to-cart { background: #1a1a1a !important; color: #fff !important; border: 1px solid #1a1a1a !important; }


/* Fix overlapping and size issues on mobile */
@media (max-width: 768px) {
    /* Make floating contacts smaller so they don\'t block text */
    .floating-contact {
        transform: scale(0.85);
        transform-origin: bottom right;
        bottom: 20px !important;
        right: 10px !important;
    }
    
    /* Move back-to-top to the right side, above the floating contacts */
    .back-to-top {
        left: auto !important;
        right: 20px !important;
        bottom: 220px !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }
    
    /* Fix product card text overlapping by reducing line height and font size slightly */
    .product-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }
    .product-subtitle {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    
    /* Make sure banner text is legible and has padding */
    .banner-content {
        padding: 0 15px !important;
    }
}

@media (max-width: 768px) {
    .ci-name, .wi-name {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 768px) {
    
    
}

@media (max-width: 768px) {
    /* Logo fix: ensure it fits exactly in the center and image scales properly */
    .header-top .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 150px !important;
        height: 50px !important;
        z-index: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .header-top .logo img {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    
    /* Product card text overlap fix: remove fixed heights so text flows naturally */
    .gift-name, .gift-desc, .product-title, .product-subtitle {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        text-wrap: normal !important; white-space: normal !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    .gift-desc {
        font-size: 12px !important;
    }
}
