@font-face {
  font-family: Store Bangla;
  src: url(assets/bangla.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: Store Bangla Serif;
  src: url(assets/bangla-serif.woff) format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #f8f4ea;
  --paper: #fffdf7;
  --forest: #182e25;
  --deep: #142820;
  --ink: #21372b;
  --muted: #586255;
  --line: #dcd5c4;
  --gold: #e2c58b;
  --gold-dark: #745622;
  --serif: "Store Bangla Serif", Georgia, serif;
  --sans: "Store Bangla", "Noto Sans Bengali", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 1rem/1.65 var(--sans); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #a97a37; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, p { margin: 0; }
section[id] { scroll-margin-top: 1.3rem; }

.page-width { width: min(calc(100% - 100px), 1320px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 4; top: .5rem; left: .5rem; background: var(--paper); padding: .5rem 1rem; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.announcement { padding: 8px 16px; text-align: center; background: var(--deep); color: #f2e3c3; font-size: .875rem; }
.site-header { background: var(--paper); }
.header-inner { min-height: 77px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { justify-self: start; display: inline-flex; align-items: center; font: 700 1.65rem/1 Georgia, serif; letter-spacing: .13em; }
.brand img { width: 132px; height: 60px; object-fit: contain; }
.header-inner nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); }
.header-inner nav a { color: #39483c; font-size: .9375rem; white-space: nowrap; }
.header-inner nav a:hover, .text-link:hover { color: var(--gold-dark); }
.header-cta { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 23px; border: 1px solid transparent; width: fit-content; border-radius: 2px; font-size: .9375rem; font-weight: 700; transition: background .18s, color .18s, border-color .18s; }
.button-outline { border-color: #a29b84; min-height: 42px; }
.button-outline:hover { border-color: var(--forest); background: var(--forest); color: var(--paper); }
.button-gold { background: var(--gold); color: var(--deep); }
.button-gold:hover { background: #f2d8a4; }
.button-dark { background: var(--forest); color: var(--paper); }
.button-dark:hover { background: #314b3a; }

.hero { display: grid; grid-template-columns: 1fr 1.08fr; min-height: min(600px, 72vh); background: var(--forest); color: var(--ivory); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(48px, 6.5vw, 110px) clamp(36px, 5.2vw, 96px); padding-left: max(50px, calc((100vw - 1320px) / 2)); }
.eyebrow { color: var(--gold-dark); font: 700 .875rem/1.35 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow, .order .eyebrow { color: var(--gold); }
.hero h1 { margin: 20px 0 21px; font-family: var(--serif); font-size: clamp(2.45rem, 5vw, 5.15rem); font-weight: 700; line-height: 1.27; letter-spacing: -.048em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-description { max-width: 405px; color: #eee9da; font-size: 1.0625rem; }
.hero-offer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin: 29px 0 20px; }
.hero-offer strong { font-size: 1.85rem; line-height: 1; }
.hero-offer > span { color: #f0deba; font-size: .9375rem; }
.hero-media { position: relative; min-height: 100%; overflow: hidden; background: #5b402d; }
.hero-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 59%; }

.collection { padding-block: 72px 65px; }
.section-intro { margin-bottom: 32px; }
.section-intro h2, .kitchen h2 { margin: 10px 0 9px; font: 700 clamp(1.85rem, 3.3vw, 3.1rem)/1.32 var(--serif); letter-spacing: -.025em; }
.section-intro > p:last-child, .kitchen-copy > p, .photo-note { color: var(--muted); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.product { min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.product-button { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.product-media { display: block; width: 100%; background: #e9dcc1; }
.product-media img { aspect-ratio: 354 / 495; object-fit: contain; }
.product-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; width: 100%; flex: 1; padding: 13px 14px; }
.product-name { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.weight { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.product-plus { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; font: 400 1.25rem/1 Arial, sans-serif; }
.product-button:hover .product-plus { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.photo-note { margin-top: 13px; font-size: .875rem; }

.kitchen { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 73px; background: #ede7d8; align-items: stretch; }
.kitchen img { height: 100%; min-height: 280px; max-height: 430px; object-fit: cover; object-position: center; }
.kitchen-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 4.5vw, 65px); }
.kitchen h2 { margin-top: 0; }
.text-link { width: fit-content; text-decoration: underline; text-underline-offset: .25em; }
.kitchen .text-link { margin-top: 16px; font-weight: 700; }

.order { background: var(--forest); color: var(--paper); padding: 65px 0; }
.order-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 7vw, 100px); align-items: center; }
.order-copy h2 { font: 400 clamp(2.4rem, 5vw, 4.75rem)/1.05 Georgia, serif; margin: 14px 0; }
.combo-contents-title { margin: 24px 0 6px; font-size: 1.125rem; color: var(--gold); }
.combo-contents { max-width: 415px; margin: 0; padding: 0; list-style: none; }
.combo-contents li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f8f4ea30; }
.combo-contents li > span:last-child { color: #ebe3d2; white-space: nowrap; }
.combo-summary { margin-top: 13px; color: #ebe3d2; }
.order-card { padding: clamp(18px, 3vw, 34px); background: var(--paper); color: var(--ink); }
.order-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; padding-block: 5px; }
.delivery-line { border-bottom: 1px solid var(--line); }
.total-line output { font-size: 1.65rem; font-weight: 700; }
.order-status { font-size: .875rem; color: var(--muted); margin-top: 9px; }
.stepper { display: grid; grid-template-columns: repeat(3, 42px); align-items: center; min-height: 42px; border: 1px solid var(--line); text-align: center; }
.stepper button { min-height: 40px; border: 0; background: transparent; font: 1.25rem/1 Arial, sans-serif; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: #ede7d8; }
.stepper button:disabled { color: #878980; cursor: default; }

.site-footer { background: var(--deep); color: var(--ivory); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
.footer-inner .brand { font-size: 1.15rem; color: var(--gold); }
.footer-inner p { color: #e5d7b6; font: italic 1rem/1.4 Georgia, serif; }
.footer-inner .text-link { font-size: .875rem; }
.footer-inner .text-link:hover { color: var(--gold); }

dialog { width: min(650px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #142820b5; }
.dialog-inner { position: relative; display: grid; grid-template-columns: .85fr 1fr; }
.dialog-close { position: absolute; z-index: 1; top: 12px; right: 12px; }
.dialog-close button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; font: 1.4rem/1 Arial, sans-serif; }
.dialog-media { display: grid; place-items: center; background: #e9dcc1; }
.dialog-media img { max-height: min(60vh, 405px); object-fit: contain; }
.dialog-copy { padding: 52px 26px 24px; }
.dialog-copy h2 { margin: 10px 0 4px; font: 700 1.7rem/1.3 var(--serif); }
.dialog-weight { color: var(--muted); margin-bottom: 12px; }
.dialog-copy .button { margin-top: 20px; }

@media (max-width: 900px) {
  .page-width { width: calc(100% - 54px); }
  .hero-copy { padding-inline: 27px; }
  .hero h1 { font-size: clamp(2.25rem, 5.25vw, 3.85rem); }
  .product-row { padding-inline: 10px; }
  .product-plus { flex-basis: 27px; width: 27px; height: 27px; }
}

@media (max-width: 650px) {
  .page-width { width: calc(100% - 32px); }
  .header-inner { min-height: 65px; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 9px; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; gap: 4px clamp(10px, 4vw, 28px); padding: 6px 0 7px; }
  .brand { font-size: 1.35rem; }
  .header-cta { padding: 5px 12px; min-height: 39px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 39px 20px 36px; }
  .hero h1 { font-size: clamp(2.25rem, 9.4vw, 3.65rem); margin-block: 13px; }
  .hero-offer { margin: 22px 0 15px; }
  .hero-media { min-height: min(84vw, 365px); }
  .hero-media img { object-position: 50% 60%; }
  .collection { padding-block: 45px 39px; }
  .section-intro { margin-bottom: 21px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kitchen { grid-template-columns: 1fr; margin-bottom: 41px; }
  .kitchen img { min-height: 0; height: auto; aspect-ratio: 1.6; }
  .kitchen-copy { padding: 23px 20px 25px; }
  .order { padding: 40px 0; }
  .order-inner { grid-template-columns: 1fr; }
  .dialog-inner { grid-template-columns: 1fr; }
  .dialog-media img { max-height: min(50vh, 290px); }
  .dialog-copy { padding: 21px 19px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.order-fields { display: grid; gap: 5px; margin-top: 13px; }
.order-fields label { font-weight: 700; margin-top: 8px; }
.order-fields input, .order-fields textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #918d7c; border-radius: 2px; background: white; color: var(--ink); font: inherit; }
.order-fields input:focus, .order-fields textarea:focus { outline: 2px solid var(--gold-dark); outline-offset: 1px; }
.order-fields textarea { resize: vertical; }
.order-submit { width: 100%; margin-top: 13px; cursor: pointer; }
.order-submit:disabled { opacity: .65; cursor: default; }
.order-error { color: #a0271b; margin-top: 10px; }
.order-success h3 { font-size: 1.45rem; margin: 0 0 12px; }
.order-success .button { margin-top: 16px; cursor: pointer; }

.admin { padding-block: 34px 55px; }
.admin h1 { font: 700 2rem/1.4 var(--serif); margin: 18px 0; }
.admin-table { overflow-x: auto; margin-bottom: 22px; }
.admin table { width: 100%; min-width: 820px; border-collapse: collapse; background: var(--paper); }
.admin th, .admin td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin th { background: var(--forest); color: var(--paper); }
.admin td .date { display: block; color: var(--muted); font-size: .875rem; }
.admin td.address { min-width: 210px; overflow-wrap: anywhere; white-space: pre-line; }
.admin td.money { white-space: nowrap; }
