/* ============================================================
   SURPRYZ CO. — Main Stylesheet  (public/css/style.css)
   ============================================================ */

:root {
  --teal: #1a6674;
  --teal-dark: #0f4550;
  --teal-mid: #2a7f8f;
  --teal-light: #e8f4f7;
  --gold: #c9a227;
  --gold-dark: #a8841a;
  --gold-light: #fdf8ec;
  --white: #ffffff;
  --off: #f9fafb;
  --black: #1a1a1a;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --r: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito', sans-serif; background: var(--white); color: var(--black); line-height: 1.6; font-size: 15px; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── ANNOUNCEMENT BAR ─────────────────────────────────────── */
.ann-bar { background: var(--teal); color: #fff; text-align: center; padding: 9px 16px; font-size: 13px; letter-spacing: .4px; }
.ann-bar a { color: var(--gold); text-decoration: underline; margin-left: 4px; }

/* ── HEADER ───────────────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
/* Fix 4+5: Cart always on left extreme; no horizontal padding for logo/cart zones */
.h-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0;           /* Fix 5: zero padding so logo/cart sit at true edges */
  height: 50px; display: flex; align-items: center; gap: 0;
}

/* Logo group — sits right after cart */
.h-inner > div:first-child { flex-shrink: 0; padding-left: 0; }

/* Logo */
.logo { display: flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.logo img { max-height: 100px; width: auto; object-fit: contain; }
.logo-fallback { display: none; flex-direction: column; line-height: 1; }
.logo-fallback .brand { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--teal); letter-spacing: 2px; }
.logo-fallback .tag { font-size: 9.5px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-top: 2px; }

/* Search */
.search-wrap { flex: 1; max-width: 340px; margin: 0 auto; position: relative; padding: 0 8px; }
.search-wrap input { width: 100%; padding: 9px 36px 9px 16px; border: 1px solid var(--border); border-radius: 24px; font-size: 13px; outline: none; font-family: inherit; transition: border-color .2s, box-shadow .2s; background: var(--off); }
.search-wrap input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,102,116,.1); background: #fff; }
.search-icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gray-light); pointer-events: none; }

/* Header actions — Fix 5: no right padding so cart/icons sit at edge */
.h-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; padding-right: 0; }
.icon-btn { background: none; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal-dark); transition: background .2s; position: relative; }
.icon-btn:hover { background: var(--teal-light); }
.cart-badge { position: absolute; top: 4px; right: 4px; background: var(--gold); color: #fff; font-size: 9px; font-weight: 700; width: 15px; height: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.btn-bulk { background: var(--gold); color: #fff; border: none; padding: 8px 18px; border-radius: 24px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; transition: background .2s; }
.btn-bulk:hover { background: var(--gold-dark); }

/* ── NAV ──────────────────────────────────────────────────── */
nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 850; }
.nav-inner { max-width: 1400px; margin: 0 auto; padding: 0 14px; display: flex; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-tab { padding: 10px 20px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--gray); cursor: pointer; border: none; border-bottom: 2px solid transparent; white-space: nowrap; background: none; transition: all .2s; flex-shrink: 0; }
.nav-tab:hover { color: var(--teal); }
.nav-tab.active { color: var(--teal); border-bottom-color: var(--teal); }

/* ── PAGES ────────────────────────────────────────────────── */
.page { display: none; min-height: 60vh; }
.page.active { display: block; }

/* ── HERO ─────────────────────────────────────────────────── */
/* Fix 6: Maintain 1440×560 (18:7) aspect ratio on all devices.
   aspect-ratio lets the hero shrink naturally as viewport narrows,
   while object-fit:contain on the image shows full image with no cropping. */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Aspect ratio 1440:560 = 18:7 — hero height auto-scales with width */
  aspect-ratio: 1440 / 560;
  width: 100%;
  /* Fix 3: flex so hero-content always vertically centered & fully visible */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before { content: ''; position: absolute; top: -100px; right: -80px; width: 400px; height: 400px; background: rgba(201,162,39,.08); border-radius: 50%; pointer-events: none; }
.hero::after  { content: ''; position: absolute; bottom: -80px; left: -60px; width: 280px; height: 280px; background: rgba(255,255,255,.04); border-radius: 50%; pointer-events: none; }

/* Fix 3: hero-content always visible, centered, no overflow clipping */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 100%;
  padding: 20px 16px;
  box-sizing: border-box;
}
.hero-content-m {
  position: relative;
  z-index: 2;
  max-width: 600px;
  width: 100%;
  padding: 20px 16px;
  box-sizing: border-box;
}


/* Fix 2: default (dark background) — white text */
.hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 4vw, 50px); color: #fff; line-height: 1.15; margin-bottom: 12px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { font-size: clamp(13px, 1.5vw, 16px); color: rgba(255,255,255,.85); margin-bottom: 20px; max-width: 440px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Fix 2: Light image variant — dark text for readability */
.hero.hero-light-bg .hero-eyebrow { color: var(--teal-dark); }
.hero.hero-light-bg .hero h1,
.hero.hero-light-bg h1 { color: var(--teal-dark); text-shadow: 0 1px 3px rgba(255,255,255,.6); }
.hero.hero-light-bg h1 em { color: var(--gold-dark); }
.hero.hero-light-bg .hero p,
.hero.hero-light-bg p { color: rgba(20,40,50,.85); }
.hero.hero-light-bg .btn-outline-w {
  color: var(--teal-dark);
  border-color: rgba(15,69,80,.5);
}
.hero.hero-light-bg .btn-outline-w:hover {
  border-color: var(--teal-dark);
  background: rgba(15,69,80,.1);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary { background: var(--gold); color: #fff; padding: 11px 26px; border: none; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(201,162,39,.35); }
.btn-outline-w { background: transparent; color: #fff; padding: 11px 26px; border: 2px solid rgba(255,255,255,.5); border-radius: 4px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.btn-outline-w:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── TRUST STRIP ──────────────────────────────────────────── */
.trust-strip { background: var(--teal-light); border-top: 1px solid #c5dde3; border-bottom: 1px solid #c5dde3; }
.trust-inner { max-width: 1400px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--teal-dark); }

/* ── SECTION ──────────────────────────────────────────────── */
.section { max-width: 1400px; margin: 0 auto; padding: 56px 24px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.sec-title { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--teal-dark); line-height: 1.2; }
.sec-title span { color: var(--gold); }
.sec-link { font-size: 13px; font-weight: 700; color: var(--teal); cursor: pointer; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.sec-link:hover { color: var(--teal-dark); }

/* ── CATEGORY CARDS ───────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.cat-card { background: var(--off); border: 1px solid var(--border); border-radius: var(--r); padding: 22px 14px; text-align: center; cursor: pointer; transition: all .2s; }
.cat-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,102,116,.12); }
.cat-card .icon { font-size: 32px; margin-bottom: 8px; display: block; }
.cat-card .name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--teal-dark); }

/* ── SHOP CONTROLS ────────────────────────────────────────── */
.shop-controls { max-width: 1400px; margin: 0 auto; padding: 16px 24px 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.filter-label { font-size: 11.5px; font-weight: 700; color: var(--gray-light); text-transform: uppercase; letter-spacing: .8px; white-space: nowrap; }
.filter-select { padding: 7px 12px; border: 1.5px solid var(--border); border-radius: 6px; font-size: 12.5px; outline: none; background: #fff; cursor: pointer; font-family: inherit; color: var(--black); transition: border-color .2s; min-width: 160px; }
.filter-select:focus { border-color: var(--teal); }
.filter-select.active-filter { border-color: var(--teal); color: var(--teal); background: var(--teal-light); font-weight: 700; }
.chip { padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 12.5px; cursor: pointer; transition: all .15s; background: #fff; color: var(--black); white-space: nowrap; font-weight: 600; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.sort-sel { margin-left: auto; padding: 7px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 12.5px; outline: none; background: #fff; cursor: pointer; font-family: inherit; color: var(--black); }
.results-count { font-size: 12px; color: var(--gray-light); white-space: nowrap; }
.controls-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }

/* ── PRODUCTS GRID ────────────────────────────────────────── */
.products-grid { max-width: 1400px; margin: 0 auto; padding: 20px 24px 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.prod-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: all .2s; cursor: pointer; }
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prod-img { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, #e8f4f7, #cde8ed); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img .ph { text-align: center; color: var(--teal); opacity: .45; }
.prod-img .ph svg { display: block; margin: 0 auto 6px; }
.prod-img .ph span { font-size: 10px; display: block; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.prod-badge { position: absolute; top: 10px; right: 10px; background: var(--gold); color: #fff; font-size: 9.5px; font-weight: 700; padding: 3px 9px; border-radius: 2px; text-transform: uppercase; letter-spacing: .5px; }
.prod-info { padding: 16px; }
.prod-name { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--black); margin-bottom: 5px; line-height: 1.3; }
.prod-desc { font-size: 12px; color: var(--gray); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.prod-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.prod-price { font-size: 21px; font-weight: 700; color: var(--teal); line-height: 1; }
.prod-price .rs { font-size: 13px; font-weight: 600; }
.prod-min { font-size: 10.5px; color: var(--gray-light); margin-top: 2px; }
.btn-cart { width: 100%; margin-top: 12px; padding: 10px; background: var(--teal); color: #fff; border: none; border-radius: 4px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .2s; letter-spacing: .5px; text-transform: uppercase; }
.btn-cart:hover { background: var(--teal-dark); }
.no-products { grid-column: 1 / -1; text-align: center; padding: 80px 24px; color: var(--gray); }
.no-products svg { color: #ddd; margin: 0 auto 16px; display: block; }

/* ── LIVE EXP PAGE ────────────────────────────────────────── */
.live-hero { background: linear-gradient(135deg, #0f1c2e, #1a2e45); padding: 64px 24px; text-align: center; color: #fff; }
.live-hero h1 { font-family: 'Playfair Display', serif; font-size: 42px; margin-bottom: 10px; line-height: 1.2; }
.live-hero h1 em { color: var(--gold); }
.live-hero p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 520px; margin: 0 auto; }
.live-sub-nav { display: flex; justify-content: center; gap: 10px; padding: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.live-sub { padding: 10px 24px; border: 2px solid var(--teal); color: var(--teal); background: #fff; border-radius: 30px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s; letter-spacing: .3px; }
.live-sub:hover, .live-sub.active { background: var(--teal); color: #fff; }
.live-content { max-width: 1400px; margin: 0 auto; padding: 40px 24px; }
.live-content h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--teal-dark); margin-bottom: 8px; }
.live-content .sub-desc { color: var(--gray); font-size: 14px; margin-bottom: 28px; max-width: 600px; }
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.live-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all .2s; }
.live-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.live-card-img { width: 100%; height: 190px; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.live-card-body { padding: 20px; }
.live-card-body h3 { font-family: 'Playfair Display', serif; font-size: 18px; margin-bottom: 6px; color: var(--teal-dark); }
.live-card-body p { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.live-card-price { font-size: 14px; font-weight: 700; color: var(--gold); }
.btn-enquire { background: var(--teal); color: #fff; border: none; padding: 10px 20px; border-radius: 4px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .2s; text-transform: uppercase; letter-spacing: .5px; margin-top: 10px; width: 100%; }
.btn-enquire:hover { background: var(--teal-dark); }

/* ── PAGE BAR ─────────────────────────────────────────────── */
.page-bar { background: var(--teal-light); padding: 32px 24px; border-bottom: 1px solid #c5dde3; }
.page-bar-inner { max-width: 1400px; margin: 0 auto; }
.page-bar h1 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--teal-dark); }
.page-bar p { color: var(--gray); font-size: 13.5px; margin-top: 4px; }

/* ── BLOG ─────────────────────────────────────────────────── */
.blog-grid { max-width: 1400px; margin: 0 auto; padding: 36px 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: all .2s; cursor: pointer; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-img { width: 100%; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-tag { display: inline-block; background: var(--gold-light); color: var(--gold-dark); font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.blog-card-body h3 { font-family: 'Playfair Display', serif; font-size: 19px; margin-bottom: 6px; color: var(--black); line-height: 1.3; }
.blog-card-body p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.blog-meta { margin-top: 12px; font-size: 11.5px; color: #aaa; display: flex; gap: 12px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-wrap { max-width: 780px; margin: 0 auto; padding: 56px 24px; }
.faq-wrap h1 { font-family: 'Playfair Display', serif; font-size: 34px; text-align: center; color: var(--teal-dark); margin-bottom: 6px; }
.faq-wrap .sub { text-align: center; color: var(--gray); margin-bottom: 40px; font-size: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 18px 22px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--teal-dark); transition: background .15s; font-size: 14.5px; gap: 16px; }
.faq-q:hover, .faq-q.open { background: var(--teal-light); }
.chevron { transition: transform .3s; flex-shrink: 0; color: var(--teal); }
.faq-q.open .chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a.open { max-height: 400px; }
.faq-a-inner { padding: 16px 22px; font-size: 13.5px; color: var(--gray); line-height: 1.75; border-top: 1px solid var(--border); }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-wrap { max-width: 1000px; margin: 0 auto; padding: 56px 24px; }
.contact-wrap h1 { font-family: 'Playfair Display', serif; font-size: 34px; text-align: center; color: var(--teal-dark); margin-bottom: 6px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; margin-top: 44px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 22px; color: var(--teal-dark); }
.c-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.c-icon { width: 42px; height: 42px; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-text h4 { font-size: 13px; font-weight: 700; color: var(--black); }
.c-text p, .c-text a { font-size: 13px; color: var(--gray); text-decoration: none; }
.c-text a:hover { color: var(--teal); }
.social-row { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.soc-btn { display: flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1.5px solid var(--border); border-radius: 4px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s; text-decoration: none; color: var(--black); background: #fff; }
.soc-btn:hover { border-color: var(--teal); color: var(--teal); }

/* ── FORMS ────────────────────────────────────────────────── */
.bulk-wrap { max-width: 680px; margin: 0 auto; padding: 56px 24px; }
.bulk-wrap h1 { font-family: 'Playfair Display', serif; font-size: 34px; text-align: center; color: var(--teal-dark); margin-bottom: 6px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: var(--black); }
.form-group label .req { color: var(--gold); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 5px; font-size: 14px; outline: none; transition: border-color .2s; font-family: inherit; background: #fff; color: var(--black); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,102,116,.08); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── CART DRAWER ──────────────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1800; display: none; backdrop-filter: blur(2px); }
.cart-overlay.open { display: block; }
.cart-drawer { position: fixed; top: 0; right: -440px; width: 420px; max-width: 100vw; height: 100vh; background: #fff; z-index: 1900; display: flex; flex-direction: column; transition: right .3s cubic-bezier(.4,0,.2,1); box-shadow: -6px 0 30px rgba(0,0,0,.12); }
.cart-drawer.open { right: 0; }
.cart-head { padding: 20px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-head h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--teal-dark); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 22px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ci-img { width: 68px; height: 68px; border-radius: 6px; background: var(--teal-light); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-details { flex: 1; min-width: 0; }
.ci-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; line-height: 1.3; }
.ci-price { font-size: 17px; font-weight: 700; color: var(--teal); }
.ci-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; border: 1px solid var(--border); background: none; border-radius: 4px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all .15s; line-height: 1; }
.qty-btn:hover { background: var(--teal-light); border-color: var(--teal); }
.qty-num { font-size: 14px; font-weight: 700; min-width: 22px; text-align: center; }
.ci-remove { margin-left: auto; background: none; border: none; cursor: pointer; color: #ccc; padding: 4px; font-size: 18px; transition: color .2s; }
.ci-remove:hover { color: #e53e3e; }
.cart-foot { padding: 18px 22px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--teal-dark); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--gray); }
.cart-disc { font-size: 10.5px; color: var(--gray-light); text-align: center; margin-top: 8px; line-height: 1.6; }

/* ── MODALS ───────────────────────────────────────────────── */
.modal-ov { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2800; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(3px); }
.modal-ov.open { display: flex; }
.modal { background: #fff; border-radius: 12px; max-width: 500px; width: 100%; max-height: 92vh; overflow-y: auto; animation: mIn .25s ease; }
@keyframes mIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.modal-head { padding: 22px 22px 16px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { font-family: 'Playfair Display', serif; font-size: 21px; color: var(--teal-dark); }
.modal-body { padding: 22px; }
.modal-body-wide { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pincode-row { display: flex; gap: 10px; margin-bottom: 14px; }
.pincode-row input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 5px; font-size: 16px; outline: none; letter-spacing: 2px; font-family: inherit; }
.pincode-row input:focus { border-color: var(--teal); }
.pin-result { padding: 12px 16px; border-radius: 6px; font-size: 13px; margin-bottom: 14px; display: none; }
.pin-result.show { display: block; }
.pin-ok { background: #f0fff4; border: 1.5px solid #9ae6b4; color: #276749; }
.pin-no { background: #fff5f5; border: 1.5px solid #fed7d7; color: #9b2c2c; }
.order-summary { background: var(--off); border-radius: 6px; padding: 14px; margin-bottom: 16px; font-size: 13px; }
.order-summary h4 { font-weight: 700; margin-bottom: 8px; color: var(--teal-dark); font-size: 14px; }
.os-item { display: flex; justify-content: space-between; margin-bottom: 4px; color: var(--gray); }
.os-total { font-weight: 700; color: var(--teal-dark); border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; display: flex; justify-content: space-between; font-size: 15px; }

/* ── PAYMENT ──────────────────────────────────────────────── */
.payment-wrap { max-width: 560px; margin: 0 auto; padding: 56px 24px; text-align: center; }
.payment-wrap h1 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--teal-dark); margin-bottom: 6px; }
.pay-card { background: var(--off); border: 1px solid var(--border); border-radius: 12px; padding: 32px; margin-top: 28px; }
.pay-amount { font-size: 42px; font-weight: 700; color: var(--teal-dark); margin: 16px 0; }
.pay-amount span { font-size: 22px; }
.upi-id-box { background: var(--teal-light); border-radius: 8px; padding: 16px 22px; font-size: 18px; font-weight: 700; color: var(--teal-dark); letter-spacing: 1px; margin: 20px 0; display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; }
.upi-id-box:hover { background: #d0e9ee; }
.pay-apps { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.pay-app { background: #fff; border: 2px solid var(--border); border-radius: 8px; padding: 12px 18px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; text-decoration: none; color: var(--black); display: inline-flex; align-items: center; gap: 8px; }
.pay-app:hover { border-color: var(--teal); color: var(--teal); }
.pay-note { font-size: 12px; color: var(--gray); margin-top: 12px; line-height: 1.6; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background: var(--teal-dark); color: rgba(255,255,255,.8); padding: 52px 24px 24px; margin-top: 64px; }
.foot-inner { max-width: 1400px; margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand .bname { font-family: 'Playfair Display', serif; font-size: 24px; color: #fff; letter-spacing: 2px; margin-bottom: 8px; }
.foot-brand p { font-size: 13px; line-height: 1.8; max-width: 260px; }
.foot-col h4 { color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.foot-col a { display: block; color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 8px; cursor: pointer; transition: color .2s; text-decoration: none; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 14px; }
.foot-soc { display: flex; gap: 10px; }
.foot-soc a { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: background .2s; font-size: 16px; }
.foot-soc a:hover { background: var(--gold); }

/* ── SEARCH RESULTS ───────────────────────────────────────── */
.search-header { max-width: 1400px; margin: 0 auto; padding: 28px 24px 0; }
.search-header h2 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--teal-dark); }

/* ── TOAST ────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--teal-dark); color: #fff; padding: 13px 24px; border-radius: 25px; font-size: 13.5px; font-weight: 700; z-index: 9999; transition: transform .3s; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(37,211,102,.45); cursor: pointer; z-index: 800; transition: transform .2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.1); }

/* ── LOADING SPINNER ──────────────────────────────────────── */
.loading { display: flex; align-items: center; justify-content: center; padding: 60px; color: var(--gray); gap: 12px; font-size: 14px; }
.spinner { width: 22px; height: 22px; border: 2.5px solid var(--border); border-top-color: var(--teal); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .foot-grid { grid-template-columns: 1fr; }
  .search-wrap { max-width: 180px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body-wide { grid-template-columns: 1fr; }
  .shop-controls { gap: 8px; }
  .filter-select { min-width: 130px; }
}
@media (max-width: 440px) {
  .search-wrap { display: none; }
  .cart-drawer { width: 100vw; }
  .btn-bulk { display: none; }
}
/* ═══════════════════════════════════════════════════════════
   PERSONALIZATION & UPLOAD — additions
   ═══════════════════════════════════════════════════════════ */
.personalize-section { background: var(--teal-light, #e8f4f7); border-radius: 10px; padding: 16px; margin: 16px 0; }
.section-label { font-size: 14px; font-weight: 700; color: var(--teal-dark, #1a6b5f); margin-bottom: 12px; }

.upload-zone { border: 2px dashed var(--teal, #2a9d8f); border-radius: 8px; padding: 24px 16px; text-align: center; cursor: pointer; transition: background .2s; background: #fff; }
.upload-zone:hover { background: var(--teal-light, #e8f4f7); }
.upload-zone p { margin: 8px 0 0; font-size: 13px; color: var(--gray, #666); }

.uploaded-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.preview-thumb { position: relative; width: 72px; height: 72px; border-radius: 6px; overflow: hidden; border: 2px solid var(--teal, #2a9d8f); }
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.preview-thumb button { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,.6); color: #fff; border: none; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

.upload-status { font-size: 12px; margin-top: 6px; min-height: 18px; }

.field-hint { font-size: 11px; color: var(--gray-light, #aaa); margin-top: 3px; display: block; }

/* Gift wrap toggle */
.gift-wrap-toggle { border: 2px solid #e8e8e8; border-radius: 8px; margin-top: 12px; transition: border-color .2s, background .2s; }
.gift-wrap-toggle.active { border-color: var(--teal, #2a9d8f); background: var(--teal-light, #e8f4f7); }
.gw-label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.gw-icon { font-size: 24px; }
.gw-label div:nth-child(2) { flex: 1; }
.gw-label strong { font-size: 13px; display: block; }
.gw-label span { font-size: 11px; color: var(--gray, #666); }
.gw-cost { font-size: 13px; font-weight: 700; color: var(--teal, #2a9d8f); white-space: nowrap; }
.gw-check { width: 20px; height: 20px; background: var(--teal, #2a9d8f); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700; align-items: center; justify-content: center; display: none; }

/* Product modal gallery */
.pm-gallery { width: 90%; height: 100%; background: var(--teal-light, #e8f4f7);display: flex; flex-direction: column;padding: 12px; }
.pm-main-img { width: 100%; height: calc(100% - 80px); border-radius: 10px; overflow: hidden; background: var(--teal-light, #e8f4f7);display: flex;align-items: center;justify-content: center; }
.pm-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--teal, #2a9d8f); opacity: .4; width: 100%; }
.pm-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; min-height: 70px;}
.pm-thumb { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.pm-thumb.active { border-color: var(--teal, #2a9d8f); }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-details { width: 90%; height: 100% ; padding: 24px; overflow-y: auto; }

/* Qty picker in modal */
.qty-picker { display: flex; align-items: center; gap: 8px; margin-top: 6px; }

/* Coupon row */
.coupon-row { display: flex; gap: 8px; margin-bottom: 4px; }
.coupon-row input { flex: 1; }
.btn-outline { padding: 9px 16px; background: transparent; border: 2px solid var(--teal, #2a9d8f); color: var(--teal, #2a9d8f); border-radius: 4px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .2s; }
.btn-outline:hover { background: var(--teal, #2a9d8f); color: #fff; }
.coupon-msg { font-size: 12px; min-height: 16px; margin-bottom: 12px; }
.coupon-msg.success { color: green; }
.coupon-msg.error   { color: #c53030; }

/* Cart item meta */
.ci-meta { font-size: 11px; color: var(--gray, #666); margin-bottom: 2px; }

/* Payment wrap */
.payment-wrap { max-width: 500px; margin: 40px auto; padding: 0 16px 60px; }


/* ═══════════════════════════════════════════════════════════
   ADDITIONAL RESPONSIVE & UTILITY — final additions
   ═══════════════════════════════════════════════════════════ */

/* Loading spinner */
.loading { text-align: center; padding: 60px 20px; color: var(--gray); display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--teal-light); border-top-color: var(--teal); border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Product card enhancements */
.prod-card { position: relative; }
.prod-img  { position: relative; }
.ph { width: 100%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--teal); opacity: .35; background: var(--teal-light); }

/* Cart drawer polish */
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }

/* Bulk page */
.bulk-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bulk-grid .span2 { grid-column: span 2; }
@media(max-width:600px) { .bulk-grid { grid-template-columns: 1fr; } .bulk-grid .span2 { grid-column: span 1; } }

/* Order history list */
.oh-list { list-style: none; }
.oh-item { padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; gap: 14px; align-items: flex-start; }
.oh-code { font-family: monospace; font-weight: 700; color: var(--teal); font-size: 15px; }
.oh-meta { font-size: 12px; color: var(--gray-light); margin-top: 3px; }

/* Admin message containers */
#ordersMsg, #productMsg, #couponMsg { min-height: 0; }

/* Chip filters */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.chip  { padding: 6px 14px; border-radius: 20px; border: 1.5px solid var(--border); background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .15s; color: var(--gray); }
.chip.active, .chip:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal-dark); }

/* Mobile nav fixes */
@media(max-width:480px) {
  .pm-gallery .pm-main-img { aspect-ratio: auto; min-height: 220px; }
  .pay-card { padding: 20px 16px; }
  .pay-amount { font-size: 32px; }
  .upi-id-box { font-size: 14px; padding: 12px 14px; }
}

/* ── Feedback page ──────────────────────────────────────────── */
.star {
  display: inline-block;
  cursor: pointer;
  user-select: none;
  transition: transform .1s, opacity .15s;
}
.star:hover { transform: scale(1.2); }

/* ── Address select dropdowns ───────────────────────────────── */
#oState,
#oCity {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  background: #fff;
  outline: none;
  transition: border-color .2s;
  appearance: auto;
}
#oState:focus,
#oCity:focus { border-color: var(--teal); }
#oCity:disabled { background: #f5f5f5; color: #9ca3af; cursor: not-allowed; }

/* ── Personalize section ────────────────────────────────────── */
.personalize-section {
  background: var(--teal-light, #e8f5f3);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1.5px solid #c6e8e3;
}
.personalize-section .section-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark, #1e5c56);
  margin-bottom: 14px;
}

/* ── Upload zone ────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed #a7d8d0;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: #f0fbf9;
  transition: border-color .2s, background .2s;
}
.upload-zone:hover { border-color: var(--teal); background: #e4f7f4; }
.upload-zone p { font-size: 13px; color: var(--gray, #6b7280); margin-top: 10px; }

.uploaded-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.preview-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid #d1d5db;
}
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.preview-thumb button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(220,38,38,.85);
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

/* ── Bulk enquiry page ──────────────────────────────────────── */
.bulk-wrap { max-width: 680px; margin: 0 auto; padding: 40px 20px; }
.bulk-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--teal-dark, #1e5c56);
  text-align: center;
  margin-bottom: 8px;
}

/* ── Feedback page wrapper ──────────────────────────────────── */
#page-feedback .faq-wrap { max-width: 560px; }

/* ── Order modal address fields ─────────────────────────────── */
.modal-body .form-row {
  display: flex;
  gap: 12px;
}
.modal-body .form-row .form-group {
  flex: 1;
  min-width: 0;
}

/* ── Req asterisk ───────────────────────────────────────────── */
.req { color: #dc2626; margin-left: 2px; }

/* ── Field hint ─────────────────────────────────────────────── */
.field-hint {
  font-size: 11px;
  color: var(--gray-light, #9ca3af);
  display: block;
  margin-top: 4px;
}

/* ── Coupon msg ─────────────────────────────────────────────── */
.coupon-msg { font-size: 13px; margin-top: 6px; }
.coupon-msg.success { color: #16a34a; }
.coupon-msg.error   { color: #dc2626; }

/* ── Loading spinner ────────────────────────────────────────── */
.loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px;
  color: var(--gray, #6b7280);
  font-size: 14px;
  justify-content: center;
}
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--teal, #2c7873);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════
   SALE PRICE DISPLAY
   ════════════════════════════════════════════════════ */
.sale-new   { font-size: 20px; font-weight: 800; color: #dc2626; }
.sale-orig  { font-size: 13px; color: var(--gray-light); text-decoration: line-through; margin-left: 6px; }
.sale-pct   { font-size: 11px; font-weight: 700; background: #fee2e2; color: #dc2626; padding: 2px 6px; border-radius: 20px; margin-left: 6px; white-space: nowrap; }

/* Sale badge variant */
.prod-badge.badge-sale { background: #dc2626; }

/* Product modal sale price */
.pm-price-row   { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pm-sale-new    { font-size: 32px; font-weight: 800; color: #dc2626; }
.pm-sale-orig   { font-size: 16px; color: var(--gray-light); text-decoration: line-through; }
.pm-sale-pct    { font-size: 12px; font-weight: 700; background: #fee2e2; color: #dc2626; padding: 3px 10px; border-radius: 20px; }

/* ════════════════════════════════════════════════════
   KNOW MORE LINK IN PRODUCT MODAL
   ════════════════════════════════════════════════════ */
.pm-know-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.pm-know-more:hover { background: var(--teal); color: #fff; }

/* ════════════════════════════════════════════════════
   PRODUCT DETAIL MODAL — floating/centered overlay
   ════════════════════════════════════════════════════ */
/* Ensure productModal overlay is always centered */
#productModal { align-items: center; justify-content: center; padding: 20px; }
#productModal .modal { max-height: 90vh; overflow-y: auto; }

/* Modal body wide: side-by-side on desktop */
.modal-body-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px;
}
@media(max-width: 640px) {
  .modal-body-wide { grid-template-columns: 1fr; }
}