
                /* ============================================================
   AMOON PERFUMES — Mobile Responsive CSS (Fully Optimised)
   Breakpoints:
     Tablet landscape : max-width 1024px
     Tablet portrait  : max-width 768px
     Mobile large     : max-width 576px
     Mobile small     : max-width 414px
     Mobile tiny      : max-width 360px
   DESKTOP CODE IS UNTOUCHED — this file only adds overrides
   ============================================================ */

/* ============================================================ GLOBAL ============================================================ */
:root {
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; touch-action: pan-y; }
body, html { max-width: 100vw; overflow-x: hidden; }
button, a, input, select, .nav-icons a, .prod-wish, .bv-wish, .qty-btn, .cat-chip, .pg-btn { min-height: 44px; min-width: 44px; }
input, select, textarea { font-size: 16px !important; }
img { max-width: 100%; height: auto; }

/* Hero logo for mobile */
.hero-logo-mobile { display: none; }

/* ============================================================ 1024px ============================================================ */
@media (max-width: 1024px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .nav-top { padding: 12px 0 10px; }
  .nav-links a { padding: 12px 12px; font-size: 10.5px; }
  .nav-search { width: 180px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-banner { padding: 48px 0 40px; }
  .hero-title { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
  .pdp-gallery-wrap { position: static; top: auto; }
  .footer-main .row > [class*="col-lg"] { flex: 0 0 50%; max-width: 50%; margin-bottom: 28px; }
}

/* ============================================================ 768px ============================================================ */
@media (max-width: 768px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .ann-bar { font-size: 10.5px; padding: 7px 0; }
  #mainNav { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .nav-top { padding: 10px 0 8px; gap: 10px; }
  .nav-search { display: none !important; }
  .nav-toggle { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; font-size: 22px; border-radius: 4px; background: none; border: none; }
   .nav-logo a { font-size: 25px; padding-top: 8px; }
  .nav-side-logo, .nav-side-logo-img { width: 42px; height: 42px; }
  .nav-icons { gap: 2px; display: flex !important; align-items: center; margin-left: auto; }
  .nav-icons a { width: 38px; height: 38px; font-size: 17px; display: flex !important; align-items: center; justify-content: center; }
  .nav-links { display: none; flex-direction: column; align-items: flex-start; position: absolute; left: 0; right: 0; top: 100%; background: white; border-top: 1px solid var(--border); box-shadow: 0 12px 40px rgba(26,24,20,.15); z-index: 999; max-height: 70vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 12px; letter-spacing: .08em; min-height: 50px; display: flex; align-items: center; }
  .nav-links a::before { display: none; }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-dropdown { width: 100%; }
  .nav-links .nav-dropdown-menu { position: static; box-shadow: none; border: none; background: var(--cream); padding: 0; display: block; border-top: none; }
  .nav-links .nav-dropdown-menu a { padding: 12px 28px; font-size: 12px; border-bottom: 1px solid var(--border); min-height: 46px; }
  .search-box { margin: 0; border-left: none; border-right: none; border-top: none; max-width: 100%; border-radius: 0; }
  .search-box-inner { padding: 14px 16px; }
  .search-box-inner input { font-size: 16px; }
  #searchResults { max-height: calc(100vh - 100px); }
  .search-result-item { padding: 12px 16px; }

  /* Hero — mobile logo above title */
  .hero-logo-mobile { display: flex; justify-content: center; margin-bottom: 18px; }
  .hero-logo-mobile img { width: 88px; height: 88px; object-fit: contain; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 4px 20px rgba(200,96,42,.15); }
  .hero-logo-mobile .hero-logo-fallback { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; background: #fff8f3; border: 2px solid rgba(200,96,42,.2); font-family: var(--font2, 'Cormorant Garamond', serif); font-size: 20px; font-weight: 700; letter-spacing: 3px; color: var(--orange, #c8602a); }

  .hero-banner { padding: 32px 0 28px; text-align: center; }
  .hero-banner .row { flex-direction: column; }
  .hero-banner .col-lg-6, .hero-banner .col-md-6 { flex: 0 0 100%; max-width: 100%; }
  .hero-img { display: none; }
  .hero-eyebrow { display: inline-flex; justify-content: center; padding-left: 24px; }
  .hero-title { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 12px; }
  .hero-sub { font-size: 14px; margin: 0 auto 22px; max-width: 100%; }
  .hero-banner .d-flex.gap-3 { justify-content: center; flex-wrap: wrap; gap: 10px !important; }
  .hero-badges { justify-content: center; flex-wrap: wrap; }

  .usp-inner { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .usp-item { min-width: 140px; scroll-snap-align: start; flex-shrink: 0; padding: 16px 12px; }
  .usp-item .usp-title { font-size: 10.5px; }
  .sec { padding: 32px 0; }
  .sec-sm { padding: 22px 0; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-actions { transform: translateY(0) !important; position: relative !important; bottom: auto !important; left: auto !important; right: auto !important; height: auto !important; border-top: 1px solid var(--border); }
  .btn-add-cart { padding: 12px 10px; font-size: 10.5px; letter-spacing: .08em; }
  .prod-wish { opacity: 1; visibility: visible; }
  .prod-card { transform: none !important; transform-style: flat; }
  .bv-add-btn { padding: 11px 10px; font-size: 11px; letter-spacing: .1em; }
  .filter-bar { flex-wrap: wrap; gap: 10px; padding-bottom: 14px; margin-bottom: 20px; }
  .filter-sort-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cat-strip { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .cat-strip::-webkit-scrollbar { display: none; }
  .cat-chip { scroll-snap-align: start; flex-shrink: 0; white-space: nowrap; min-height: 36px; min-width: auto; }
  .sort-btn, .sort-select, .filter-btn { font-size: 10.5px; padding: 8px 14px; min-height: 38px; min-width: auto; }
  .product-count { font-size: 11.5px; }
  .cart-table-head { display: none; }
  .cart-row { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 10px; border-top: 1px solid var(--border) !important; }
  .cart-row-img { width: 80px; height: 80px; }
  .cart-item-top { display: flex; gap: 12px; align-items: flex-start; }
  .qty-wrap { width: fit-content; }
  .qty-btn { width: 38px; height: 38px; font-size: 18px; }
  .qty-inp { width: 42px; height: 38px; font-size: 14px !important; }
  .summary-box { padding: 16px; margin-top: 16px; }
  .coupon-row { flex-direction: row; }
  .coupon-inp { min-height: 44px; }
  .checkout-card { padding: 16px; margin-bottom: 12px; }
  .checkout-card h4 { font-size: 1rem; }
  .finput { min-height: 44px; font-size: 16px !important; padding: 10px 12px; }
  .finput:focus { font-size: 16px !important; }
  .pay-opt { padding: 12px 14px; min-height: 56px; }
  .pdp-section { padding: 24px 0 0; }
  .pdp-gallery-wrap { position: static; top: auto; margin-bottom: 20px; }
  .pdp-main-img { height: 320px; }
  .pdp-thumb { width: 60px; height: 60px; min-width: 60px; min-height: 44px; }
  .pdp-thumbs-row { overflow-x: auto; -webkit-overflow-scrolling: touch; display: flex; flex-wrap: nowrap; gap: 8px; padding-bottom: 4px; }
  .pdp-thumbs-row::-webkit-scrollbar { display: none; }
  .pdp-main-img { cursor: default; }
  .pdp-cta-wrap { flex-direction: row; gap: 10px; flex-wrap: wrap; }
  .pdp-add-btn, .pdp-buy-btn { flex: 1; min-width: 140px; padding: 14px 10px; font-size: 12px; min-height: 50px; }
  .pdp-trust-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pdp-notes-grid { grid-template-columns: 1fr; gap: 10px; }
  .pdp-tab-btn { padding: 12px 14px; font-size: 11px; min-height: 44px; }
  .promo-band { padding: 36px 0; }
  .promo-band-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .promo-band-text { font-size: 13.5px; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  
  /* Footer USP strip */
  .footer-usp-inner { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; gap: 0; }
  .footer-usp-item { flex-shrink: 0; min-width: 160px; }
  .footer-main { padding: 36px 0 0; }

  /* Footer layout: Quick Links + Collections side-by-side */
  .footer-col-brand { flex: 0 0 100% !important; max-width: 100% !important; margin-bottom: 28px; }
  .footer-col-links { flex: 0 0 50% !important; max-width: 50% !important; margin-bottom: 24px; }
  .footer-col-collections { flex: 0 0 50% !important; max-width: 50% !important; margin-bottom: 24px; }
  .footer-col-contact { flex: 0 0 100% !important; max-width: 100% !important; margin-bottom: 20px; }

  /* Override Bootstrap col classes in footer */
  .footer-main .row > div:nth-child(1) { flex: 0 0 100% !important; max-width: 100% !important; margin-bottom: 28px; }
  .footer-main .row > div:nth-child(2) { flex: 0 0 50% !important; max-width: 50% !important; margin-bottom: 24px; }
  .footer-main .row > div:nth-child(3) { flex: 0 0 50% !important; max-width: 50% !important; margin-bottom: 24px; }
  .footer-main .row > div:nth-child(4) { flex: 0 0 100% !important; max-width: 100% !important; margin-bottom: 20px; }

  .footer-desc { max-width: 100%; }
  .footer-newsletter { flex-direction: row; }
  .footer-newsletter input { min-height: 44px; font-size: 13px !important; }
  .footer-newsletter button { min-height: 44px; padding: 10px 14px; white-space: nowrap; font-size: 11px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; padding: 16px 0; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .toast-container { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 12px; left: 12px; }
  .toast-item { max-width: 100%; font-size: 13px; }
  .breadcrumb-bar { padding: 8px 0; }
  .bc-list, .breadcrumb-list { flex-wrap: wrap; gap: 4px; }
  .page-title-bar { padding: 16px 0; }
  .page-title-bar h1 { font-size: 1.6rem; }
  .pagination { margin-top: 28px; gap: 4px; }
  .pg-btn { width: 36px; height: 36px; font-size: 12px; }
  .auth-card { padding: 24px 16px; margin: 0 4px; border-radius: 4px; }
  .auth-card h2 { font-size: 1.6rem; }
  .about-stats-grid, [style*="grid-template-columns:1fr 1fr"] { gap: 10px !important; }
  .order-card-head { flex-direction: column; gap: 8px; padding: 12px 14px; }
  .order-card-body { padding: 12px 14px; }
  .cursor-ring, #cursorGlow, #cursorRing { display: none !important; }
  #scrollBar { height: 2px; }
}

/* ============================================================ 576px ============================================================ */
@media (max-width: 576px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .nav-top { padding: 8px 0; }
  .nav-logo a { font-size: 25px; padding-top: 8px; }
  .nav-side-logo, .nav-side-logo-img { width: 36px; height: 36px; }
  .nav-icons a { width: 36px; height: 36px; font-size: 16px; }
  .hero-banner { padding: 24px 0 22px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-sub { font-size: 13.5px; margin-bottom: 18px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: .2em; }
  .hero-banner .btn-orange, .hero-banner .btn-outline { width: 100%; justify-content: center; max-width: 280px; margin: 0 auto; }
  .hero-banner .d-flex.gap-3 { flex-direction: column; align-items: center; }
  .sec { padding: 26px 0; }
  .sec-head h2 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  .sec-head p { font-size: 13px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-name { font-size: 12.5px; }
  .prod-price .now, .bv-now { font-size: 14px; }
  .badge-bestseller, .badge-new, .badge-off, .badge-featured, .bv-badge, .bv-badge-off { font-size: 8px; padding: 3px 7px; }
  .btn-add-cart { font-size: 9.5px; padding: 11px 6px; letter-spacing: .05em; }
  .usp-item { min-width: 120px; padding: 14px 10px; }
  .usp-item i { font-size: 20px; }
  .usp-item .usp-title { font-size: 10px; }
  .usp-item .usp-sub { font-size: 10px; }
  .filter-bar { gap: 8px; }
  .sort-btn, .sort-select, .filter-btn { font-size: 10px; padding: 7px 12px; }
  .btn-orange, .btn-outline, .btn-outline-orange { padding: 12px 20px; font-size: 11.5px; }
  .pdp-main-img { height: 280px; }
  .pdp-add-btn, .pdp-buy-btn { padding: 13px 8px; font-size: 11.5px; letter-spacing: .08em; }
  .cart-row-img { width: 68px; height: 68px; }
  .cart-row-name { font-size: 13px; }
  .auth-card { padding: 20px 14px; }
  .footer-usp-item { min-width: 140px; padding: 6px 14px; font-size: 10.5px; }
  .footer-brand-name { font-size: 20px; }
  .footer-social a { width: 36px; height: 36px; font-size: 13px; }
  .toast-container { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); right: 8px; left: 8px; }
  .toast-item { padding: 10px 14px; font-size: 12.5px; }
  .loader-logo { font-size: 22px; }
  .promo-band { padding: 28px 0; }
  .promo-band-title { font-size: clamp(1.4rem, 6vw, 2rem); margin-bottom: 10px; }
  .tracking-timeline { padding-left: 20px; }
  .tracking-dot { width: 12px; height: 12px; left: -20px; }
  #pincodeForm { flex-direction: row; gap: 8px; }
  #pincodeInput { flex: 1; min-height: 44px; }
}

/* ============================================================ 414px ============================================================ */
@media (max-width: 414px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .ann-bar { font-size: 10px; }
  .nav-logo a { font-size: 25px; padding-top: 8px;  margin-left: 75px;}
  .nav-toggle { font-size: 21px; width: 40px; height: 40px; }
  .hero-logo-mobile img, .hero-logo-mobile .hero-logo-fallback { width: 72px; height: 72px; }
  .hero-title { font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .bv-card-body { padding: 10px 10px 8px; gap: 3px; }
  .bv-cat { font-size: 9px; letter-spacing: .12em; }
  .bv-name { font-size: 12.5px; line-height: 1.3; }
  .bv-now { font-size: 13.5px; }
  .bv-was { font-size: 11.5px; }
  .bv-add-btn { padding: 10px 8px; font-size: 10px; letter-spacing: .08em; }
  .prod-body { padding: 10px 10px 8px; }
  .prod-name { font-size: 12px; }
  .pdp-main-img { height: 260px; }
  .sec-head h2 { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .footer-newsletter { flex-direction: column; }
  .footer-newsletter input, .footer-newsletter button { border-radius: 0; }
  .footer-newsletter button { text-align: center; justify-content: center; }
  .pdp-cta-wrap { flex-direction: column; }
  .pdp-add-btn, .pdp-buy-btn { width: 100%; min-width: unset; }
}

/* ============================================================ 360px ============================================================ */
@media (max-width: 360px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
   .nav-logo a { font-size: 25px; padding-top: 8px; }
  .nav-side-logo, .nav-side-logo-img { width: 32px; height: 32px; }
  .nav-icons a { width: 34px; height: 34px; font-size: 15px; }
  .hero-title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-sub { font-size: 13px; }
  .btn-orange, .btn-outline { padding: 11px 16px; font-size: 11px; letter-spacing: .1em; }
  .auth-card { padding: 18px 12px; }
  .auth-card h2 { font-size: 1.4rem; }
  .usp-item { min-width: 110px; padding: 12px 8px; }
}

/* ============================================================ Landscape ============================================================ */
@media (max-width: 1024px) and (orientation: landscape) and (hover: none) {
  .hero-img { display: block; }
  .hero-img img { max-height: 280px; }
  .hero-banner { padding: 24px 0 20px; }
  .hero-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  .hero-logo-mobile { display: none; }
  .pdp-gallery-wrap { position: static; }
  .pdp-main-img { height: 320px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

/* ============================================================ iOS Safari ============================================================ */
@supports (-webkit-touch-callout: none) {
  .search-overlay { height: -webkit-fill-available; }
  .nav-links { max-height: -webkit-fill-available; }
  .nav-links, .search-overlay, #searchResults { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  #mainNav { -webkit-sticky: sticky; }
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], textarea, select { -webkit-appearance: none; appearance: none; border-radius: 2px; }
  button, input[type="submit"], input[type="button"] { -webkit-appearance: none; appearance: none; }
  body { padding-top: env(safe-area-inset-top, 0px); }
  ::-webkit-scrollbar { display: none; }
  .footer-bottom { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================ Android Chrome ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .prod-card:hover { transform: none; box-shadow: var(--shadow); }
  .bv-card:hover { transform: none; }
  .btn-orange:hover, .btn-outline:hover { transform: none; }
  .prod-actions { transform: translateY(0) !important; position: relative !important; bottom: auto !important; left: auto !important; right: auto !important; }
  .nav-links .nav-dropdown-menu { display: block; }
  .btn-orange, .btn-outline { transition: background .25s, box-shadow .25s !important; }
  .pdp-main-img { cursor: default; }
  .prod-card { transform-style: flat !important; }
  .usp-inner { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .footer-links a { display: inline-block; padding: 4px 0; min-height: 36px; line-height: 28px; }
}

/* ============================================================ Retina ============================================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .prod-card, .bv-card, .checkout-card, .summary-box, .order-card { border-width: 0.5px; }
  ::-webkit-scrollbar { width: 4px; }
}

/* ============================================================ Print ============================================================ */
@media print {
  .ann-bar, #mainNav, .footer-usp, .footer-main, .footer-bottom, .toast-container, .search-overlay, .page-loader, #scrollBar, .cursor-ring, .prod-actions, .bv-add-row, .btn-orange, .btn-outline { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .container { max-width: 100%; padding: 0; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
          