/* Shree Collections — mobile-first styles */
:root {
  --brand: #7c2d5a; --brand-dark: #5e1f44; --brand-light: #fbeff5; --accent: #e8a33d;
  --ink: #1f1a1d; --muted: #6b6168; --line: #ece3e8; --bg: #fffaf8; --card: #ffffff;
  --ok: #1a8f4f; --danger: #c0392b; --radius: 14px; --shadow: 0 4px 18px rgba(60, 20, 45, .08);
  --nav-h: 60px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 16px; }
.muted { color: var(--muted); }
.hidden, [hidden] { display: none !important; }
.badge { display: inline-block; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--brand-light); color: var(--brand); letter-spacing: .02em; }
.badge.insta { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; }
.badge.meesho { background: #f3e6ff; color: #6b2fbf; }
.badge.out { background: #fdecea; color: var(--danger); }
.badge.ok { background: #e7f7ee; color: var(--ok); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 12px 20px; border-radius: 10px; background: var(--brand); color: #fff; transition: .15s; min-height: 44px; text-align: center; }
.btn:hover { background: var(--brand-dark); } .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--brand); border: 2px solid var(--brand); } .btn.secondary:hover { background: var(--brand-light); }
.btn.meesho { background: #6b2fbf; } .btn.meesho:hover { background: #55249a; }
.btn.whatsapp { background: #25d366; } .btn.whatsapp:hover { background: #1fb457; }
.btn.block { width: 100%; } .btn.sm { padding: 8px 14px; min-height: 36px; font-size: .85rem; border-radius: 8px; }
.icon-btn { background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; display: inline-flex; position: relative; border-radius: 8px; }
.icon-btn:hover { background: var(--brand-light); }

/* Header */
.announce { background: var(--brand); color: #fff; text-align: center; font-size: .78rem; padding: 6px 12px; font-weight: 500; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 8px; height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), #c2437f); color: #fff; display: inline-grid; place-items: center; font-size: 1.1rem; }
.search-form { flex: 1; display: none; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; margin-left: 12px; }
.search-form input { flex: 1; border: 0; background: none; font: inherit; outline: 0; min-width: 0; }
.search-form button { border: 0; background: var(--brand); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.header-row .cart-btn { margin-left: auto; }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.site-nav { display: none; gap: 4px; padding: 6px 16px 10px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { padding: 8px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; background: var(--bg); border: 1px solid var(--line); }
.site-nav a:hover { background: var(--brand-light); color: var(--brand); }
.site-nav.open { display: flex; flex-direction: column; white-space: normal; }
.mobile-search { padding: 8px 16px 10px; }
.mobile-search .search-form { display: flex; margin: 0; }

/* Hero */
.hero { background: linear-gradient(135deg, #fbeff5 0%, #fff6ea 100%); padding: 28px 0; }
.hero-inner { display: grid; gap: 18px; align-items: center; }
.hero h1 { font-size: 1.9rem; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero-art img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.hero-art img:nth-child(2) { transform: translateY(14px); }

/* Sections */
.section { padding: 26px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--brand); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-chip { flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .85rem; box-shadow: var(--shadow); }
.cat-chip.active, .cat-chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.card .media { position: relative; aspect-ratio: 1; background: #f4eef1; overflow: hidden; }
.card .media img, .card .media video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .media img { transform: scale(1.04); }
.card .media .badge { position: absolute; top: 8px; left: 8px; }
.card .media .play { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.card .body { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .name { font-weight: 500; font-size: .88rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .now { font-weight: 700; font-size: 1.05rem; } .price .mrp { text-decoration: line-through; color: var(--muted); font-size: .8rem; } .price .off { color: var(--ok); font-size: .75rem; font-weight: 600; }
.card .actions { display: grid; gap: 6px; margin-top: auto; }
.card .actions .btn { padding: 9px 8px; min-height: 38px; font-size: .8rem; }
.card.reel .media { aspect-ratio: 9/14; }

/* Product page */
.product-layout { display: grid; gap: 18px; padding: 16px 0 24px; }
.gallery .main { border-radius: var(--radius); overflow: hidden; background: #f4eef1; aspect-ratio: 1; box-shadow: var(--shadow); }
.gallery .main img, .gallery .main video, .gallery .main iframe { width: 100%; height: 100%; object-fit: contain; border: 0; background: #000; }
.gallery .main img { background: #fff; }
.gallery .thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; }
.gallery .thumbs button { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #eee; cursor: pointer; position: relative; }
.gallery .thumbs button.active { border-color: var(--brand); }
.gallery .thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs button .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.35); font-size: 1.2rem; }
.pinfo h1 { font-size: 1.35rem; }
.pinfo .price .now { font-size: 1.5rem; }
.pinfo .desc { white-space: pre-line; color: #3d353a; font-size: .92rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; font: inherit; font-weight: 600; }
.buy-row { display: grid; gap: 10px; margin: 16px 0; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.trust div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px; text-align: center; font-size: .72rem; font-weight: 500; }
.trust div b { display: block; font-size: 1.2rem; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: flex; gap: 10px; align-items: center; z-index: 40; box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
.sticky-buy .price { flex: 1; }

/* Cart & checkout */
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; background: #fff; border-radius: 12px; padding: 10px; box-shadow: var(--shadow); align-items: center; }
.cart-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; }
.cart-item .name { font-weight: 500; font-size: .9rem; }
.cart-item .remove { color: var(--danger); font-size: .8rem; background: none; border: 0; cursor: pointer; padding: 0; }
.summary { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; }
.summary .row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 1.05rem; }
.empty { text-align: center; padding: 40px 16px; }
.empty svg { width: 64px; height: 64px; color: #d8c8d0; margin-bottom: 10px; }
form .field { margin-bottom: 12px; }
form label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 4px; }
form input[type=text], form input[type=tel], form input[type=email], form input[type=number], form input[type=search], form input[type=password], form input[type=url], form select, form textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #d9cdd4; border-radius: 10px; background: #fff; min-height: 44px; }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-options { display: grid; gap: 8px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-light); }
.pay-option input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.pay-option b { display: block; } .pay-option small { color: var(--muted); }
.otp-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 10px; }
.otp-box input { letter-spacing: .3em; font-size: 1.2rem; text-align: center; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .88rem; margin: 10px 0; }
.alert.info { background: #eef4ff; color: #1d3f8a; } .alert.warn { background: #fff7e6; color: #8a5a00; } .alert.err { background: #fdecea; color: var(--danger); } .alert.ok { background: #e7f7ee; color: var(--ok); }
.upi-box { text-align: center; }
.upi-box canvas, .upi-box img { margin: 10px auto; }
.upi-id { font-family: monospace; background: #f4eef1; padding: 6px 10px; border-radius: 8px; display: inline-block; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 10px 0; text-align: left; }
.steps li { counter-increment: s; padding-left: 30px; position: relative; margin-bottom: 8px; font-size: .88rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 600; }

/* Order status */
.status-track { display: flex; justify-content: space-between; margin: 16px 0; position: relative; }
.status-track::before { content: ''; position: absolute; left: 12px; right: 12px; top: 12px; height: 3px; background: var(--line); }
.status-track div { position: relative; text-align: center; font-size: .68rem; flex: 1; }
.status-track div i { display: block; width: 24px; height: 24px; margin: 0 auto 4px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.status-track div.done i { background: var(--ok); border-color: var(--ok); }

/* Footer & bottom nav */
.site-footer { background: #2a1a24; color: #e9dce3; padding: 28px 0 90px; margin-top: 30px; font-size: .88rem; }
.footer-grid { display: grid; gap: 22px; }
.site-footer h4 { margin: 0 0 8px; color: #fff; }
.site-footer a { display: block; padding: 4px 0; color: #e9dce3; } .site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 8px; }
.site-footer .muted { color: #b9a6b2; }
.site-footer .copy { margin-top: 20px; font-size: .75rem; color: #b9a6b2; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); display: flex; z-index: 60; }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .68rem; color: var(--muted); font-weight: 500; }
.bottom-nav a svg { width: 22px; height: 22px; } .bottom-nav a:hover { color: var(--brand); }
.bottom-nav a b { color: var(--brand); }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px); transform: translateX(-50%) translateY(20px); background: #1f1a1d; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .85rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Reels section */
.reel-scroller { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reel-scroller::-webkit-scrollbar { display: none; }
.reel-scroller .card { flex: 0 0 62%; scroll-snap-align: start; }
.insta-embed { width: 100%; aspect-ratio: 9/16; max-height: 640px; border: 0; border-radius: 12px; background: #000; }
.page-content { max-width: 760px; padding: 20px 0; }
.page-content h2 { margin-top: 1.4em; }
table.simple { width: 100%; border-collapse: collapse; font-size: .88rem; } table.simple td, table.simple th { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; }

/* ≥ 640px : tablet */
@media (min-width: 640px) {
  body { font-size: 16px; padding-bottom: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .reel-scroller .card { flex-basis: 32%; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer { padding-bottom: 28px; }
  .bottom-nav { display: none; }
  .sticky-buy { display: none; }
  .toast { bottom: 30px; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .buy-row { grid-template-columns: 1fr 1fr; }
  .checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
  .summary.sticky { position: sticky; top: 90px; }
}
/* ≥ 960px : desktop */
@media (min-width: 960px) {
  .menu-btn { display: none; }
  .search-form { display: flex; }
  .mobile-search { display: none; }
  .site-nav { display: flex; justify-content: center; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .reel-scroller .card { flex-basis: 23%; }
  .hero { padding: 48px 0; }
  .card .actions { grid-template-columns: 1fr; }
}
