/* ============ Liquid Luck — design tokens ============ */
:root {
  --paper: #f6efe1;
  --paper-2: #efe4cc;
  --card: #fbf7ee;
  --ink: #241b12;
  --ink-2: #5d4c39;
  --muted: #7d6b56;
  --line: rgba(36, 27, 18, .13);
  --gold: #b8862b;
  --gold-2: #d9ae52;
  --gold-deep: #8a6216;
  --foil: linear-gradient(135deg, #8a6216 0%, #d9ae52 38%, #f1d78f 50%, #c1913a 64%, #8a6216 100%);
  --indigo: #1b2440;
  --indigo-2: #253058;
  --madder: #9b2f1f;
  --ok: #3f6b3a;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;

  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(36, 27, 18, .06), 0 10px 30px -12px rgba(36, 27, 18, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);

  --ajrak: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='26' viewBox='0 0 48 26'%3E%3Crect width='48' height='26' fill='%231b2440'/%3E%3Cpath d='M0 3.5h48M0 22.5h48' stroke='%23e9dcc0' stroke-width='1' stroke-dasharray='2 2'/%3E%3Cpath d='M24 5.5l7.5 7.5-7.5 7.5-7.5-7.5z' fill='%239b2f1f'/%3E%3Cpath d='M24 9l4 4-4 4-4-4z' fill='%23e9dcc0'/%3E%3Ccircle cx='24' cy='13' r='1.4' fill='%231b2440'/%3E%3Ccircle cx='0' cy='13' r='2.4' fill='%23e9dcc0'/%3E%3Ccircle cx='48' cy='13' r='2.4' fill='%23e9dcc0'/%3E%3Cpath d='M6 13h5M37 13h5' stroke='%239b2f1f' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23b8862b' stroke-width='.9'%3E%3Crect x='23' y='23' width='26' height='26'/%3E%3Crect x='23' y='23' width='26' height='26' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3Cpath d='M0 0l17.6 17.6M72 0L54.4 17.6M0 72l17.6-17.6M72 72L54.4 54.4M36 0v17.6M36 72V54.4M0 36h17.6M72 36H54.4'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 450; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .4em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
p { margin: 0 0 1em; }
.ur { font-family: var(--urdu); direction: rtl; unicode-bidi: isolate; line-height: 2.1; font-weight: 400; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.center-text { text-align: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-2); color: var(--ink); }

/* ============ announce + header ============ */
.announce { background: var(--indigo); color: #ecdfc3; font-size: .82rem; letter-spacing: .02em; }
.announce p { margin: 0; display: flex; gap: 14px; justify-content: center; align-items: center; padding: 6px 16px; flex-wrap: wrap; min-height: 38px; }
.announce .dot { color: var(--gold-2); font-size: .7em; }
.announce .ur { font-size: .9rem; line-height: 1.6; }
@media (max-width: 640px) { .announce p > :nth-child(n+2) { display: none; } .announce p { font-size: .76rem; } }

.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -.01em; }
.logo span { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { width: 28px; height: 28px; color: var(--gold); transition: transform 1.2s var(--ease); }
.logo:hover .logo-mark { transform: rotate(45deg); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.cart-btn { position: relative; border: 1px solid var(--line); background: var(--card); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: transform .2s, border-color .2s; }
.cart-btn:hover { border-color: var(--gold); }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.15); } }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--madder); color: #fff; font-size: .72rem; font-weight: 600; display: grid; place-items: center; }
@media (max-width: 820px) {
  .nav { gap: 18px; }
  .nav a:nth-child(n+2) { display: none; }
  .header-inner { height: 64px; }
  .logo { font-size: 1.35rem; }
}

/* ============ buttons ============ */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; background: var(--bg); color: var(--fg); font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .3s, background .3s, opacity .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(36, 27, 18, .45); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-dark { --bg: var(--ink); --fg: #f6efe1; }
.btn-gold { --fg: #2a1d0a; background: var(--foil); background-size: 200% 100%; background-position: 0 0; border-color: rgba(138, 98, 22, .4); }
.btn-gold:hover { background-position: 100% 0; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(36, 27, 18, .3); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.btn.block { width: 100%; }
.btn.lg { min-height: 58px; font-size: 1.05rem; }
.btn.grow { flex: 1; }
.btn-sub { font-weight: 400; opacity: .78; font-size: .88em; }
.btn.loading { pointer-events: none; opacity: .7; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.link-btn { background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.icon-btn { background: none; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--paper-2); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep); }
.pill-red { background: #f4dcd6; color: var(--madder); }

/* ============ shared ============ */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 110px); }
.kicker, .eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kicker .ur { letter-spacing: 0; text-transform: none; font-size: 1rem; line-height: 1.6; color: var(--muted); font-weight: 400; }
.eyebrow i { font-style: normal; color: var(--gold); font-size: .7em; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .kicker { justify-content: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .kicker { justify-content: flex-start; }
.section-ur { font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--gold-deep); margin: -.2em 0 .5em; line-height: 2; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.price { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fbf7ee' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain; }
.jaali { position: absolute; inset: 0; background: var(--jaali); opacity: .22; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); pointer-events: none; }
.ajrak-band { height: 26px; background: var(--ajrak) repeat-x center / auto 26px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .ribbon-track, .seal svg { animation: none !important; }
}

/* ============ hero ============ */
.hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 900px; height: 900px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(217, 174, 82, .32), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .1em; }
.hero h1 em { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-ur { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold-deep); margin: 0 0 .5em; text-align: left; }
.hero .cta-row { margin: 28px 0 40px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; max-width: 520px; }
.hero-facts li { flex: 1; display: flex; flex-direction: column; padding: 0 18px; border-left: 1px solid var(--line); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.1; }
.hero-facts span { font-size: .84rem; color: var(--muted); }
.hero-art { position: relative; justify-self: center; width: min(100%, 460px); }
.arch-frame { position: relative; aspect-ratio: 560 / 738; }
.arch-photo { position: absolute; inset: 0; clip-path: url(#arch); background: var(--paper-2); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 2.4s var(--ease); }
.hero-art.in .arch-photo img { transform: scale(1); }
.arch-line { position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 16px); fill: none; stroke: var(--gold); stroke-width: 1.2; pointer-events: none; }
.seal { position: absolute; left: -46px; bottom: 44px; width: 132px; height: 132px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; }
.seal svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal text { font: 600 12px var(--sans); letter-spacing: .08em; fill: var(--gold-deep); }
.seal-star { width: 38px; height: 38px; color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(62vw, 320px); margin-top: 18px; }
  .seal { left: -18px; width: 104px; height: 104px; bottom: 26px; }
  .seal-star { width: 30px; height: 30px; }
  .hero-facts li { padding: 0 12px; }
  .hero-facts strong { font-size: 1.3rem; }
}

/* ribbon marquee */
.ribbon { background: var(--indigo); color: #ecdfc3; overflow: hidden; border-block: 1px solid rgba(217, 174, 82, .35); }
.ribbon-track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 16px 0; animation: marquee 42s linear infinite; font-family: var(--serif); font-size: 1.15rem; font-style: italic; white-space: nowrap; }
.ribbon-track .ur { font-style: normal; font-size: 1.15rem; line-height: 1.4; color: var(--gold-2); }
.ribbon-track i { font-style: normal; color: var(--gold-2); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* feature */
.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-media { margin: 0; position: relative; }
.feature-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 1408 / 768; object-fit: cover; }
.feature-media figcaption { font-size: .82rem; color: var(--muted); margin-top: 12px; letter-spacing: .03em; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 22px; }
.price-line .price { font-size: 2.1rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* craft steps */
.craft { background: var(--card); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 64px; border-top: 1.5px dashed rgba(184, 134, 43, .5); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-no { display: block; font-size: .74rem; letter-spacing: .2em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.step-ur { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 1px solid rgba(184, 134, 43, .45); font-size: 1.7rem; color: var(--gold-deep); position: relative; line-height: 1; padding-bottom: 6px; transition: transform .5s var(--ease), background .4s; }
.step:hover .step-ur { transform: translateY(-4px); background: #fff8e6; }
.step h3 { font-size: 1.35rem; margin-bottom: .3em; }
.step p { font-size: .93rem; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .steps::before { left: 47px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 1.5px dashed rgba(184, 134, 43, .5); }
  .step { display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; text-align: left; padding: 10px 0; align-items: center; }
  .step-ur { grid-row: 1 / span 3; margin: 0; }
  .step-no { grid-column: 2; }
  .step h3, .step p { grid-column: 2; }
}

/* grain */
.grain { padding-block: clamp(56px, 8vw, 100px); }
.grain-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.grain-strip { border-radius: 999px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--card); }
.grain-strip img { width: 100%; aspect-ratio: 920 / 180; object-fit: cover; }
@media (max-width: 860px) { .grain-grid { grid-template-columns: 1fr; } }

/* kitchen */
.kitchen { background: linear-gradient(var(--paper), var(--paper-2)); }
.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dish { background: var(--card); border: 1px solid var(--line); border-radius: 160px 160px var(--r) var(--r); padding: 48px 26px 30px; text-align: center; transition: transform .5s var(--ease), box-shadow .5s; }
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dish-ur { display: block; font-size: 2.2rem; color: var(--gold-deep); line-height: 1.8; margin-bottom: 4px; }
.dish h3 { font-size: 1.4rem; }
.dish p { font-size: .94rem; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .dishes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dishes { grid-template-columns: 1fr; } .dish { border-radius: 120px 120px var(--r) var(--r); } }

/* dairy */
.dairy { background: var(--indigo); color: #ecdfc3; padding-top: 0; }
.dairy .ajrak-band { margin-bottom: clamp(64px, 9vw, 110px); }
.dairy h2 em { color: var(--gold-2); }
.dairy .kicker { color: var(--gold-2); }
.dairy .section-ur { color: var(--gold-2); }
.dairy-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 48px; }
.dairy-card { border: 1px solid rgba(217, 174, 82, .4); border-radius: 120px 120px 12px 12px; padding: 38px 16px 24px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent); }
.dairy-card .ur { display: block; font-size: 1.9rem; color: var(--gold-2); line-height: 1.9; }
.dairy-card h3 { font-size: 1.2rem; color: #f6efe1; margin-bottom: .2em; }
.dairy-card p { font-size: .86rem; opacity: .75; margin: 0; }
.waitlist { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.waitlist input { flex: 1; min-width: 200px; height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(217, 174, 82, .5); background: rgba(255, 255, 255, .06); color: #f6efe1; }
.waitlist input::placeholder { color: rgba(236, 223, 195, .55); }
.waitlist .form-msg { flex-basis: 100%; text-align: center; }
@media (max-width: 1000px) { .dairy-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .dairy-grid { grid-template-columns: repeat(2, 1fr); } }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-list details, .pdp-acc details { border-bottom: 1px solid var(--line); }
.faq-list summary, .pdp-acc summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: 1.2rem; }
.faq-list summary::-webkit-details-marker, .pdp-acc summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .pdp-acc summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--gold-deep), var(--gold-deep)) center/100% 1.5px no-repeat, linear-gradient(var(--gold-deep), var(--gold-deep)) center/1.5px 100% no-repeat; transition: transform .35s var(--ease); }
details[open] > summary::after { transform: rotate(45deg); }
.faq-list details > div, .pdp-acc details > div { padding: 0 0 20px; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: #1a130c; color: #d9cdb4; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-ur { color: var(--gold-2); font-size: 1.2rem; margin: 10px 0 4px; text-align: left; }
.site-footer .muted { color: #9d8f76; }
.site-footer h3 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-2); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(217, 205, 180, .14); padding-top: 20px; padding-bottom: 28px; font-size: .85rem; }
.footer-base p { margin: 0; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ============ shop ============ */
.page-head { position: relative; padding: clamp(40px, 6vw, 72px) 0 12px; text-align: center; overflow: hidden; }
.page-head .kicker { justify-content: center; }
.cat-block + .cat-block { margin-top: 64px; }
.cat-title { font-size: 1.6rem; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 26px; }
.cat-title .ur { font-size: 1.1rem; color: var(--gold-deep); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard-media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.soon-media { display: grid; place-items: center; background: var(--indigo) var(--jaali); background-size: 54px; }
.soon-media .ur { font-size: 2.6rem; color: var(--gold-2); background: var(--indigo); padding: 0 18px; border-radius: 12px; }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 1.25rem; margin-bottom: .2em; }
.pcard-body h3 a { text-decoration: none; }
.pcard-body .muted { font-size: .9rem; }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-foot .price { font-size: 1.3rem; }
.pcard.soon .pill { align-self: flex-start; margin-top: auto; }

/* ============ product ============ */
.pdp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp-gallery { position: sticky; top: 96px; }
.pdp-main { border-radius: 260px 260px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.pdp-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; margin-top: 12px; }
.pdp-thumbs img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--r); }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.pdp-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: .05em; }
.pdp-ur { font-size: 1.6rem; color: var(--gold-deep); margin: 0; text-align: left; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 24px; }
.pdp-price .price { font-size: 2.2rem; }
.variants { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.variants legend, .co-form legend { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.variant, .pay { display: block; cursor: pointer; }
.variant input, .pay input { position: absolute; opacity: 0; pointer-events: none; }
.variant > span, .pay > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--card); transition: border-color .2s, background .2s, box-shadow .2s; }
.variant small, .pay small { color: var(--muted); font-size: .88rem; }
.variant input:checked + span, .pay input:checked + span { border-color: var(--gold); background: #fff9ea; box-shadow: 0 0 0 3px rgba(217, 174, 82, .22); }
.variant input:focus-visible + span, .pay input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.variant.oos > span { opacity: .5; cursor: not-allowed; }
.buy-row { display: flex; gap: 12px; margin-bottom: 12px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty input { width: 40px; text-align: center; border: 0; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.assure { list-style: none; padding: 18px 0; margin: 22px 0 6px; border-block: 1px solid var(--line); display: grid; gap: 6px; font-size: .93rem; }
.assure span { color: var(--gold); margin-right: 10px; font-size: .75rem; }
.pdp-acc summary { font-size: 1.1rem; padding-block: 18px; }
@media (max-width: 900px) { .pdp-grid { grid-template-columns: 1fr; } .pdp-gallery { position: static; } }

/* ============ cart drawer ============ */
.scrim { position: fixed; inset: 0; background: rgba(26, 19, 12, .45); z-index: 60; opacity: 0; transition: opacity .3s; }
.scrim.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 60px -20px rgba(26, 19, 12, .35); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; display: flex; align-items: baseline; gap: 12px; }
.drawer-head .ur { font-size: 1rem; color: var(--gold-deep); line-height: 1.6; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--card); }
.drawer-foot:empty { display: none; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.line h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.25; }
.line small { color: var(--muted); display: block; }
.line .qty { height: 34px; margin-top: 8px; width: max-content; }
.line .qty button { width: 32px; font-size: 1rem; }
.line .qty span { min-width: 22px; text-align: center; font-size: .92rem; }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line-right .link-btn { font-size: .8rem; color: var(--muted); }
.empty-cart { text-align: center; padding: 60px 10px; }
.empty-cart .ur { font-size: 1.6rem; color: var(--gold-deep); display: block; }
.ship-meter { font-size: .86rem; margin-bottom: 14px; }
.ship-meter .bar { height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; margin-top: 6px; }
.ship-meter .bar i { display: block; height: 100%; background: var(--foil); border-radius: 3px; transition: width .5s var(--ease); }
.totals { display: grid; gap: 4px; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--serif); font-size: 1.3rem; padding-top: 6px; }
body.lock { overflow: hidden; }

/* ============ checkout ============ */
.checkout-head { margin-bottom: 28px; }
.checkout-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0; }
.checkout-head .section-ur { text-align: left; }
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.co-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.co-form .pay + .pay { margin-top: 10px; }
.pay > span { flex-direction: column; align-items: flex-start; gap: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 500; font-size: .94rem; }
.field label small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.field input, .field textarea, .field select, .admin input[type=number], .admin input:not([type]), .admin select { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .admin input:focus, .admin select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 174, 82, .22); }
.field.invalid input, .field.invalid textarea { border-color: var(--madder); }
.field .err { color: var(--madder); font-size: .85rem; }
.form-msg { font-size: .92rem; min-height: 1.2em; margin: 6px 0 10px; }
.form-msg.error { color: var(--madder); }
.form-msg.ok { color: var(--gold-2); }
.fine { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.co-summary { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.co-summary h2 { font-size: 1.4rem; }
.co-summary .line { grid-template-columns: 56px 1fr auto; }
.co-summary .line img { width: 56px; height: 56px; }
.co-summary .totals { margin: 16px 0 0; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } .co-summary { position: static; order: -1; } }

/* ============ order / track ============ */
.order-done { position: relative; overflow: hidden; }
.done-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 52px); text-align: center; box-shadow: var(--shadow); }
.done-card.slim { text-align: left; margin-top: 28px; }
.done-star { width: 52px; height: 52px; color: var(--gold); margin: 0 auto 10px; animation: spin 18s linear infinite; }
.done-ur { font-size: 2.2rem; color: var(--gold-deep); margin: 0; line-height: 1.8; }
.done-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.done-card .lede { margin: 0 auto 18px; }
.order-code { font-size: .95rem; color: var(--muted); }
.order-code b { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; letter-spacing: .04em; margin-left: 6px; }
.timeline { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; text-align: center; }
.timeline::before { content: ''; position: absolute; top: 9px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; font-size: .85rem; }
.timeline .tl-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); margin-bottom: 8px; position: relative; z-index: 1; }
.timeline li.done .tl-dot { background: var(--gold); border-color: var(--gold); }
.timeline li.now .tl-dot { box-shadow: 0 0 0 6px rgba(217, 174, 82, .25); }
.timeline .ur { font-size: .82rem; color: var(--muted); line-height: 1.8; }
.items { width: 100%; border-collapse: collapse; text-align: left; margin: 10px 0 24px; }
.items td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.items td:last-child { text-align: right; white-space: nowrap; }
.items small { display: block; color: var(--muted); }
.items tfoot td { border: 0; padding: 4px 0; color: var(--ink-2); }
.items tfoot .grand td { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); padding-top: 10px; }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; margin: 0 0 28px; }
.meta dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.meta dd { margin: 4px 0 0; font-size: .94rem; }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.track-form .field { margin: 0; }
@media (max-width: 640px) {
  .meta { grid-template-columns: 1fr; }
  .track-form { grid-template-columns: 1fr; }
  .timeline li b { font-size: .76rem; font-weight: 600; }
}

/* ============ admin ============ */
.admin { background: #f4efe4; font-size: 15px; }
.admin-bar { background: var(--card); border-bottom: 1px solid var(--line); }
.admin-bar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.admin-bar .logo { font-size: 1.25rem; }
.admin-bar nav { display: flex; gap: 6px; margin-right: auto; }
.admin-bar nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.admin-bar nav a.on { background: var(--ink); color: var(--paper); }
.admin-main { padding-top: 32px; padding-bottom: 80px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-head h1 { font-size: 2rem; margin: 0; display: flex; align-items: center; gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.stat span { font-size: .8rem; color: var(--muted); display: block; }
.stat b { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.stat small { display: block; color: var(--muted); font-size: .75rem; }
.filters { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg a, .seg.radio span { text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; display: inline-block; cursor: pointer; }
.seg a i { font-style: normal; background: var(--madder); color: #fff; border-radius: 9px; padding: 0 6px; font-size: .72rem; margin-left: 2px; }
.seg a.on, .seg.radio input:checked + span { background: var(--ink); color: var(--paper); }
.seg.radio { border-radius: var(--r); margin-bottom: 14px; }
.seg.radio input { position: absolute; opacity: 0; }
.search input { min-width: 260px; border-radius: 999px !important; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tr[data-href] { cursor: pointer; }
.admin-table tr[data-href]:hover { background: #fff9ea; }
.admin-table small { display: block; color: var(--muted); font-size: .8rem; }
.admin-table .num { text-align: right; white-space: nowrap; }
.admin-table .empty { text-align: center; padding: 40px; color: var(--muted); }
.admin-table.compact input { padding: 8px 10px; }
.admin-table input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--gold-deep); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; font-family: var(--sans); letter-spacing: .02em; white-space: nowrap; }
.s-new { background: #f8e3b3; color: #6f4b05; }
.s-confirmed { background: #dbe4f3; color: #263f74; }
.s-dispatched { background: #e6dcf2; color: #4f2f7c; }
.s-delivered { background: #d9ecd4; color: #2f5a28; }
.s-cancelled { background: #f1d6cf; color: #8a2b1c; }
.order-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 14px; }
.panel h2:not(:first-child) { margin-top: 24px; }
.kv { display: grid; grid-template-columns: 90px 1fr; gap: 8px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: .85rem; }
.kv dd { margin: 0; }
.pre { white-space: pre-wrap; }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.history p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.back { text-decoration: none; color: var(--muted); }
.login-card { max-width: 380px; margin: 10vh auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; text-align: center; box-shadow: var(--shadow); }
.login-card h1 { font-size: 1.6rem; margin-bottom: 20px; }
.login-card .field { text-align: left; }
.prod-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.prod-head h2 { margin: 0; }
.inline { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.inline select { width: auto; padding: 8px 12px; }
.prod .admin-table { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 10px; }
.toast { background: #d9ecd4; color: #2f5a28; padding: 10px 16px; border-radius: 10px; display: inline-block; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .order-grid { grid-template-columns: 1fr; } .search input { min-width: 0; } }
@media print {
  .admin-bar, .status-form, .history, .back, .admin-head .btn, .order-grid > .panel:last-child { display: none !important; }
  .admin, .panel { background: #fff; border: 0; }
}
