/* Shobdo theme styles. Ported from the Shobdo source storefront (public/css/site.css).
   Order: fonts, tokens, base, layout, components, pages, then WordPress and WooCommerce specifics. */

/* ---------------------------------------------------------------- Fonts (self-hosted, OFL) */
@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/gloock-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/gloock-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/instrument-sans-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/instrument-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2-variations'), url(../fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* The Taka sign (U+09F3) only, so prices render consistently without loading a full Bengali font. */
@font-face { font-family: 'Taka'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/taka-sign.woff2) format('woff2'); unicode-range: U+09F3; }
@font-face { font-family: 'Noto Naskh Arabic'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/noto-naskh-arabic-arabic-500-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Noto Serif Bengali'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/noto-serif-bengali-bengali-500-normal.woff2) format('woff2');
  unicode-range: U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+25CC,U+A8F1; }

/* ---------------------------------------------------------------- Tokens (derived from the Shobdo logo) */
:root {
  --paper: #FFF9EF;      /* page */
  --paper-2: #F6ECDD;    /* quiet panels */
  --ink: #2B1609;        /* text */
  --walnut: #4E270B;     /* primary, logo brown */
  --leaf: #895F3C;       /* secondary, logo leaf */
  --sand: #D9B98F;       /* accents on walnut */
  --cream: #F3E3C8;      /* text on walnut */
  --line: #E3D3BC;       /* decorative rules */
  --field: #A88763;      /* input borders (3:1 on paper) */
  --muted: #6E5644;
  --ok: #3D6B3F;  --ok-bg: #E5EFE2;
  --warn: #8A5A00; --warn-bg: #F8ECD2;
  --err: #A3372B; --err-bg: #FBE8E4;
  --focus: var(--walnut);

  --display: 'Gloock', 'Taka', Georgia, 'Times New Roman', serif;
  --body: 'Instrument Sans', 'Taka', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
  --arabic: 'Noto Naskh Arabic', 'Geeza Pro', 'Traditional Arabic', serif;
  --bengali: 'Noto Serif Bengali', 'Kohinoor Bangla', 'Noto Sans Bengali', serif;

  --r: 4px;
  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 64px;
  --section: clamp(52px, 7vw, 96px);
}
@media (min-width: 700px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1rem; line-height: 1.6; font-weight: 400;
  font-feature-settings: 'kern'; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
a { color: var(--walnut); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong { font-weight: 650; }
code { font-size: .9em; background: var(--paper-2); padding: 1px 5px; border-radius: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--sand); color: var(--ink); }
.num, .buy-price, .pcard-price, .totals dd, .oi-t, .r-price, .vopt-price { font-variant-numeric: tabular-nums lining-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.wrap.narrow-wide { max-width: calc(1100px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.muted { color: var(--muted); }
.fine { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--walnut); color: var(--paper); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 10px; color: var(--paper); }
main:focus { outline: none; }
.plain { list-style: none; padding: 0; margin: 0 0 1em; }
.js .js-hide { display: none !important; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1.5px solid transparent;
  font: 600 .97rem/1.2 var(--body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.icon { flex: none; }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--walnut); color: var(--paper); }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-quiet { background: transparent; color: var(--walnut); border-color: var(--walnut); }
.btn-quiet:hover { background: var(--paper-2); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--walnut); }
.btn-light:hover { background: var(--cream); color: var(--ink); }
.btn-danger { background: var(--err); color: #fff; }
.btn-danger:hover { background: #7f2a20; color: #fff; }
.btn-small { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.btn-wide { width: 100%; }
.btn-big { min-height: 56px; font-size: 1.05rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.text-link { font-weight: 600; color: var(--walnut); text-decoration: underline; text-underline-offset: 4px; }
.text-link.light { color: var(--cream); }
.text-link.light:hover { color: var(--paper); }

/* ---------------------------------------------------------------- Header */
.announce { background: var(--walnut); color: var(--cream); font-size: .85rem; text-align: center; }
.announce p { margin: 0; padding: 7px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { width: auto; height: 34px; }
.main-nav { display: none; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.tool-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--r); }
.cart-link { position: relative; }
.tool-link:hover { background: var(--paper-2); color: var(--ink); }
/* Hidden visually on small phones but still read out, so the cart link always has a name. */
.cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--walnut); color: var(--paper); font-size: .78rem; line-height: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-count:empty { display: none; }
.hsearch { display: none; }

.mnav { order: -1; }
.mnav > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 6px; cursor: pointer; border-radius: var(--r); font-weight: 600; font-size: .95rem; }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav-label { display: none; }
.mnav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px -18px rgba(43, 22, 9, .45); max-height: calc(100dvh - var(--header-h) - 20px); overflow-y: auto; padding: 8px var(--gutter) 20px; }
.mnav-panel ul { list-style: none; margin: 0; padding: 0; }
.mnav-panel > ul > li { border-bottom: 1px solid var(--line); }
.mnav-panel a { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.mnav-panel a[aria-current="page"] { color: var(--walnut); text-decoration: underline; text-underline-offset: 5px; }
.mnav-panel li ul { padding: 0 0 8px 14px; }
.mnav-panel li ul a { min-height: 40px; font-weight: 400; font-size: 1rem; color: var(--muted); }
.mnav-contact { margin: 16px 0 0; }
.mnav-contact a { color: var(--walnut); }

@media (min-width: 420px) { .mnav-label { display: inline; } .cart-word { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
@media (min-width: 1180px) {
  .mnav { display: none; }
  .logo img { height: 40px; }
  .main-nav { display: block; margin-left: 20px; }
  .main-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .main-list > li { position: relative; }
  .main-list > li > a { display: flex; align-items: center; min-height: var(--header-h); padding: 0 9px; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; }
  .main-list > li > a:hover, .main-list > li > a[aria-current="page"], .main-list > .current-menu-ancestor > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; color: var(--walnut); }
  .main-list .sub-menu { display: none; position: absolute; top: calc(100% - 6px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 16px 30px -16px rgba(43, 22, 9, .35); }
  .main-list > li:hover > .sub-menu, .main-list > li:focus-within > .sub-menu { display: block; }
  .main-list .sub-menu a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: 3px; font-size: .95rem; }
  .main-list .sub-menu a:hover { background: var(--paper-2); }
}
@media (min-width: 1440px) {
  .msearch { display: none; }
  .hsearch { display: flex; align-items: center; border: 1.5px solid var(--field); border-radius: var(--r); background: #fff; margin-right: 6px; }
  .hsearch input { border: 0; background: transparent; padding: 0 10px; height: 40px; width: 150px; font: inherit; font-size: .95rem; color: var(--ink); }
  .hsearch input:focus { outline: none; }
  .hsearch:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
  .hsearch button { border: 0; background: transparent; height: 40px; width: 40px; display: grid; place-items: center; cursor: pointer; color: var(--walnut); }
}

/* ---------------------------------------------------------------- Product cards and grids */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1100px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard-link { display: block; color: var(--ink); text-decoration: none; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-radius: 2px; }
.pcard-media picture, .pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) { .pcard-link:hover .pcard-alt { opacity: 1; } }
.pcard-name { display: block; margin-top: 10px; font-weight: 550; font-size: .95rem; line-height: 1.35; }
.pcard-link:hover .pcard-name { text-decoration: underline; text-underline-offset: 3px; }
.pcard-price { display: block; margin-top: 3px; font-weight: 650; color: var(--walnut); font-size: .95rem; }
.pcard-note { font-weight: 400; color: var(--muted); margin-left: 4px; }

/* ---------------------------------------------------------------- Home: hero */
.hero { padding-block: 28px 56px; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { font-size: clamp(2.75rem, 7vw + .5rem, 5.4rem); line-height: .98; letter-spacing: -0.015em; margin-bottom: 20px; max-width: 11ch; }
.hero-lede { font-size: 1.1rem; max-width: 36ch; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 22px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--muted); font-size: .95rem; }
.hero-facts li { padding-left: 16px; position: relative; }
.hero-facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.hero-mosaic { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 6 / 5; }
.hm { position: relative; display: block; overflow: hidden; background: var(--paper-2); border-radius: 2px; min-height: 0; }
.hm-a { grid-row: 1 / span 2; }
.hm picture { position: absolute; inset: 0; }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-cap { position: absolute; left: 8px; bottom: 8px; right: 8px; width: fit-content; background: rgba(255, 249, 239, .94); color: var(--ink); font-size: .8rem; font-weight: 600; padding: 4px 8px; border-radius: 3px; line-height: 1.3; }
.hm:hover .hm-cap { text-decoration: underline; }
@media (max-width: 699px) { .hm-cap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); } }
@media (min-width: 900px) {
  .hero { padding-block: 48px 88px; }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
  .hm-cap { font-size: .85rem; left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hm { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hm-a { animation-delay: .12s; } .hm-b { animation-delay: .22s; } .hm-c { animation-delay: .32s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- Home: collection index (the big typographic moment) */
.cindex { padding-block: 8px 0; }
.cindex-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.cindex-row { display: grid; gap: 14px; padding: 26px 0 30px; border-top: 1px solid var(--line); }
.cindex-word { font-family: var(--display); font-size: clamp(3.4rem, 15vw, 7rem); line-height: .86; letter-spacing: -0.03em; color: var(--walnut); text-decoration: none; }
.cindex-word span { display: inline-block; }
.cindex-word:hover { color: var(--leaf); }
.cindex-meta p { margin: 0 0 6px; color: var(--muted); max-width: 46ch; }
.cindex-meta .cindex-title { font-weight: 650; font-size: 1.05rem; color: var(--ink); }
.cindex-title a { color: inherit; text-decoration: none; }
.cindex-title a:hover { text-decoration: underline; }
.cindex-meta .cindex-count { color: var(--ink); font-variant-numeric: tabular-nums; }
.cindex-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.cindex-thumbs a { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-radius: 2px; }
.cindex-thumbs picture, .cindex-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .cindex-row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; padding: 30px 0 34px; }
  .cindex-word { font-size: clamp(4rem, 7.6vw, 7rem); }
  .cindex-thumbs { max-width: none; }
}

/* ---------------------------------------------------------------- Bands */
.band { padding-block: var(--section); }
.band-oat { background: var(--paper-2); }
.band-walnut { background: var(--walnut); color: var(--cream); --focus: var(--sand); }
.band-walnut h2, .band-walnut h3 { color: var(--paper); }
.band-walnut a:not(.btn) { color: var(--cream); }
.band-walnut strong { color: var(--paper); }
.band-walnut .pcard-name { color: var(--paper); }
.band-walnut .pcard-price { color: var(--sand); }
.band-walnut .pcard-note { color: var(--cream); }
.band-walnut .pcard-media { background: rgba(255, 249, 239, .08); }

.cal-grid { display: grid; gap: 40px; }
.cal-intro p { max-width: 40ch; }
@media (min-width: 1000px) { .cal-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; } }
.tablist { display: none; gap: 4px; margin-bottom: 22px; border-bottom: 1px solid rgba(243, 227, 200, .25); flex-wrap: wrap; }
.js .tablist { display: flex; }
.tablist [role="tab"] { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--cream); font: 600 1rem var(--body); padding: 12px 12px 10px; min-height: 48px; cursor: pointer; }
.tablist [role="tab"]:hover { color: var(--paper); }
.tablist [role="tab"][aria-selected="true"] { color: var(--paper); border-bottom-color: var(--sand); }
.tab-n { font-weight: 400; opacity: .8; margin-left: 2px; }
.tabpanel + .tabpanel { margin-top: 40px; }
.js .tabpanel + .tabpanel { margin-top: 0; }
.js [data-hidden-by-js] { display: none; }
.js .tabpanel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tabpanel .text-link { display: inline-block; margin-top: 24px; }
@media (min-width: 1000px) { .tabpanel .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; } }

/* Size diagram (to scale). Colours come from custom properties so it works on light and walnut backgrounds. */
.size-diagram { margin: 22px 0 26px; --sd-ink: var(--walnut); --sd-sofa: #E7D6BD; --sd-floor: var(--line); max-width: 360px; }
.band-walnut .size-diagram { --sd-ink: var(--paper); --sd-sofa: rgba(255, 249, 239, .2); --sd-floor: rgba(255, 249, 239, .14); }
.size-diagram svg { width: 100%; height: auto; overflow: visible; }
.sd-floor { fill: var(--sd-floor); }
.sd-sofa rect { fill: var(--sd-sofa); }
.sd-panel rect { fill: transparent; stroke: var(--sd-ink); stroke-width: 2; }
.sd-panel.is-on rect { fill: var(--sd-ink); fill-opacity: .16; stroke-width: 3.5; }
.sd-panel text { fill: var(--sd-ink); font: 600 12px var(--body); }
.size-diagram figcaption { font-size: .85rem; opacity: .85; margin-top: 6px; }

/* ---------------------------------------------------------------- Home: look closer, gifts, steps, FAQ, contact */
.look-list, .gift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 800px) { .look-list, .gift-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .look-list li > a { aspect-ratio: 1 / 1; } }
.look-list li > a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border-radius: 2px; }
.look-list picture, .look-list img { width: 100%; height: 100%; object-fit: cover; }
.look-list p { margin-top: 12px; max-width: 38ch; }
.look-list p a { font-weight: 600; }
.gift-list a { display: block; color: var(--ink); text-decoration: none; }
.gift-list picture { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border-radius: 2px; }
.gift-list img { width: 100%; height: 100%; object-fit: cover; }
.gift-label { display: block; font-family: var(--display); font-size: 1.7rem; margin-top: 12px; line-height: 1.1; }
.gift-list a:hover .gift-label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.gift-n { display: block; color: var(--muted); font-size: .95rem; }

.how-steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 640px) { .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .how-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.how-steps li { counter-increment: step; border-top: 2px solid var(--walnut); padding-top: 14px; }
.how-steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--leaf); margin-bottom: 10px; }
.how-steps h3 { margin-bottom: 6px; }
.how-steps p { margin: 0; color: var(--ink); }

.faq { padding-block: var(--section) 48px; }
.faq-list { max-width: 820px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary, .pdp-sections summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 650; font-size: 1.05rem; min-height: 48px; }
.faq summary::-webkit-details-marker, .pdp-sections summary::-webkit-details-marker { display: none; }
.faq summary::after, .pdp-sections summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--walnut); border-bottom: 2px solid var(--walnut); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] > summary::after, .pdp-sections details[open] > summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-a { padding: 0 0 18px; max-width: 70ch; }

.contact-strip { padding-block: var(--section); border-top: 1px solid var(--line); }
.contact-strip p { color: var(--muted); max-width: 46ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------------------------------------------------------------- Listing pages */
.crumbs { font-size: .875rem; color: var(--muted); padding-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: var(--field); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.list-head { margin: 14px 0 18px; }
.list-head h1 { margin-bottom: 10px; }
.list-head p { max-width: 62ch; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--field); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 550; background: transparent; }
.chip:hover { border-color: var(--walnut); color: var(--ink); background: var(--paper-2); }
.chip[aria-current="true"] { background: var(--walnut); border-color: var(--walnut); color: var(--paper); }
.filters { display: grid; gap: 12px; margin: 6px 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 4px; }
.sort label { font-weight: 600; font-size: .9rem; }
.sort select { width: auto; min-height: 40px; padding: 6px 34px 6px 10px; font-size: .95rem; }
.result-n { margin: 0 auto 0 0; color: var(--muted); font-size: .95rem; }
.size-note { background: var(--paper-2); padding: 12px 16px; border-radius: var(--r); margin: 0 0 16px; }
.size-note p { margin: 0; }
.empty { padding: 32px 0 48px; }
.empty p { font-size: 1.05rem; max-width: 52ch; }
.empty .chips { margin-bottom: 14px; }
.big-search { display: flex; gap: 8px; max-width: 560px; margin: 8px 0 18px; }
.big-search input { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- Forms */
input, select, textarea { font: inherit; color: var(--ink); }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font-size: 1rem; line-height: 1.4;
  border: 1.5px solid var(--field); border-radius: var(--r); background: #fff;
}
textarea { min-height: 88px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--walnut) 50%), linear-gradient(135deg, var(--walnut) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--walnut); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--err); background: #FFF6F4; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--walnut); flex: none; margin: 0; }
.field { margin-bottom: 18px; }
.field > label, .field > .label { display: block; font-weight: 650; margin-bottom: 6px; }
.field-hint { font-size: .875rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--err); font-size: .9rem; font-weight: 550; margin: 6px 0 0; }
.field-error:empty { display: none; }
fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
legend { font-family: var(--display); font-size: 1.55rem; padding: 0; margin-bottom: 14px; }
.radio, .pay-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: var(--r); margin-bottom: 8px; cursor: pointer; background: #fff; }
.radio:has(input:checked), .pay-opt:has(input:checked) { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); background: var(--paper-2); }
.r-price { margin-left: auto; font-weight: 650; }
.pay-opt { align-items: flex-start; }
.pay-opt input { margin-top: 3px; }
.pay-opt .muted { font-size: .9rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 3px; }
.form-error { background: var(--err-bg); border-left: 4px solid var(--err); padding: 12px 14px; margin-bottom: 20px; border-radius: 0 var(--r) var(--r) 0; }
.form-error p { margin: 0; }

/* ---------------------------------------------------------------- Product page */
.pdp { display: grid; gap: 28px; margin-top: 14px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 52px; align-items: start; } .buy { position: sticky; top: calc(var(--header-h) + 20px); } }
.gallery { min-width: 0; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 2px; background: var(--paper-2); overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.gallery-slide picture, .gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 8px; }
.gallery-thumbs a { display: block; width: 64px; aspect-ratio: 4 / 5; overflow: hidden; border: 2px solid transparent; border-radius: 3px; opacity: .75; }
.gallery-thumbs a[aria-current="true"] { border-color: var(--walnut); opacity: 1; }
.gallery-thumbs a:hover { opacity: 1; }
.gallery-thumbs picture, .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-note { font-size: .85rem; color: var(--muted); margin-top: 10px; max-width: 64ch; }
@media (min-width: 960px) { .gallery-thumbs a { width: 76px; } }

.buy h1 { font-size: clamp(2rem, 2.2vw + 1.2rem, 2.9rem); margin-bottom: 10px; }
.buy-price { font-size: 1.6rem; font-weight: 650; color: var(--walnut); margin: 0 0 12px; }
.buy-price .unit { font-size: 1rem; font-weight: 400; color: var(--muted); }
.buy-short { font-size: 1.05rem; }
.lettering { background: var(--paper-2); border-radius: var(--r); padding: 16px 18px; margin: 0 0 20px; }
.lettering-text { font-size: 1.7rem; line-height: 1.5; margin: 0 0 4px; color: var(--ink); }
.lettering-text[lang="ar"] { font-family: var(--arabic); font-weight: 500; line-height: 1.9; }
.lettering-text[lang="bn"] { font-family: var(--bengali); font-weight: 500; }
.lettering-text[lang="en"] { font-family: var(--display); }
.lettering-meaning { margin: 0; color: var(--muted); }
.variants { margin-bottom: 4px; }
.variants legend { font-family: var(--body); font-size: 1rem; font-weight: 650; margin-bottom: 8px; }
.variant-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.vopt { position: relative; display: block; cursor: pointer; }
.vopt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vopt-body { display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: var(--r); background: #fff; height: 100%; }
.vopt input:checked + .vopt-body { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); background: var(--paper-2); }
.vopt input:focus-visible + .vopt-body { outline: 3px solid var(--focus); outline-offset: 2px; }
.vopt-label { font-weight: 650; }
.vopt-dims { font-size: .9rem; line-height: 1.35; }
.vopt-price { font-weight: 650; color: var(--walnut); margin-top: 4px; }
.buy .size-diagram { margin: 16px 0 6px; max-width: 300px; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 18px 0 16px; }
.qty-row label { font-weight: 650; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--field); border-radius: var(--r); background: #fff; }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--walnut); cursor: pointer; }
.qty button:hover { background: var(--paper-2); }
.qty button .icon { width: 18px; height: 18px; }
.qty input[type="number"] { width: 52px; min-height: 44px; border: 0; text-align: center; padding: 0; background: transparent; font-weight: 650; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-form .btn-wide + .btn-wide, .buy-form .added + .btn-wide { margin-top: 10px; }
.added { margin-top: 12px; padding: 10px 14px; background: var(--ok-bg); border-radius: var(--r); color: var(--ink); }
.added:empty { display: none; }
.added p { margin: 0 0 4px; }
.added a { font-weight: 650; margin-right: 12px; }
.avail { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.pdp-sections { margin-top: 26px; border-bottom: 1px solid var(--line); }
.pdp-sections details { border-top: 1px solid var(--line); }
.pdp-sections details > div { padding-bottom: 18px; }
.features { padding-left: 1.2em; margin: 0; }
.features li { margin: 4px 0; }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.related { padding-bottom: var(--section); }

/* ---------------------------------------------------------------- Cart and checkout */
.page-title { margin: 26px 0 22px; }
.cart-layout { display: grid; gap: 32px; padding-bottom: var(--section); }
@media (min-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; } .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary { background: var(--paper-2); padding: 22px; border-radius: var(--r); }
.summary h2 { font-size: 1.6rem; }
.summary .btn-wide { margin-top: 10px; }
.zone-pick legend { font-family: var(--body); font-size: 1rem; font-weight: 650; margin-bottom: 8px; }
.zone-pick { margin-bottom: 14px; }
.totals { margin: 0 0 12px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; }
.totals .grand { border-top: 1px solid var(--field); margin-top: 8px; padding-top: 12px; font-size: 1.2rem; }
.totals .grand dt { color: var(--ink); font-weight: 650; }
.totals .grand dd { font-weight: 750; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-radius: 2px; }
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-weight: 650; color: var(--ink); text-decoration: none; display: inline-block; line-height: 1.35; }
.cart-line-name:hover { text-decoration: underline; }
.cart-line-meta { color: var(--muted); font-size: .9rem; margin: 2px 0 10px; }
.cart-line-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cart-line-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.link-btn { background: none; border: 0; padding: 8px 4px; color: var(--walnut); font: 600 .9rem var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 40px; }
.link-btn:hover { color: var(--err); }
.notice { padding: 12px 16px; border-radius: var(--r); margin: 14px 0; background: var(--paper-2); }
.notice-ok { background: var(--ok-bg); border-left: 4px solid var(--ok); }
.notice-bad { background: var(--err-bg); border-left: 4px solid var(--err); }
.loading { color: var(--muted); }
.mini-lines { list-style: none; margin: 0 0 16px; padding: 0; }
.mini-lines li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mini-lines img { width: 52px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.mini-lines .muted { font-size: .85rem; }
.checkout-form { min-width: 0; }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 14px; margin: 0 0 14px; }
.pay-total strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Order page */
.order-head { margin: 28px 0 20px; }
.order-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 650; margin-bottom: 8px; }
.order-kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.order-id { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.order-status { display: grid; gap: 8px; margin-bottom: 28px; }
.order-status > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; background: var(--paper-2); padding: 12px 14px; border-radius: var(--r); }
@media (min-width: 640px) { .order-status { grid-template-columns: repeat(3, minmax(0, 1fr)); } .order-status > div { flex-direction: column; align-items: flex-start; justify-content: flex-start; } }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .85rem; font-weight: 650; line-height: 1.5; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-wait { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--err-bg); color: var(--err); }
.badge-neutral { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.next { margin-bottom: 32px; }
.pay-box { border: 2px solid var(--walnut); border-radius: 6px; padding: 4px 16px; margin: 18px 0; background: #fff; }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 0; }
.pay-row + .pay-row { border-top: 1px solid var(--line); }
.pay-row .muted { flex: 1 0 100%; font-size: .9rem; }
.pay-big { flex: 1 1 auto; font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
@media (min-width: 640px) { .pay-row { flex-wrap: nowrap; } .pay-row .muted { flex: 0 0 170px; } }
.steps-list { padding-left: 1.4em; margin: 0 0 16px; }
.steps-list li { margin: 8px 0; padding-left: 4px; }
.safety { background: var(--warn-bg); border-left: 4px solid var(--warn); padding: 12px 14px; font-weight: 600; border-radius: 0 var(--r) var(--r) 0; }
.order-items { margin-bottom: 32px; }
.oi-list { list-style: none; margin: 0 0 14px; padding: 0; }
.oi-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.oi-q { color: var(--muted); }
.oi-t { font-weight: 650; min-width: 72px; text-align: right; }
.order-help { padding: 24px 0 var(--section); border-top: 1px solid var(--line); }
.order-help p { font-weight: 650; margin-bottom: 4px; }

/* ---------------------------------------------------------------- Content pages */
.prose { padding-bottom: var(--section); }
.prose h1 { margin: 18px 0 18px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose .crumbs ol { padding-left: 0; }
.prose .crumbs li { margin: 0; }
.prose p, .prose li { max-width: 68ch; }
.lede { font-size: 1.15rem; max-width: 56ch; }
.contact-cards { list-style: none; margin: 18px 0 36px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 800px) { .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-cards li { border: 1.5px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; }
.contact-cards h2 { font-family: var(--body); font-size: 1rem; font-weight: 650; margin-bottom: 4px; }
.big-num { font-family: var(--display); font-size: 1.85rem; color: var(--walnut); margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.big-num.small { font-size: 1.15rem; font-family: var(--body); font-weight: 600; overflow-wrap: anywhere; }
.empty-page { padding-block: 48px var(--section); }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--walnut); color: var(--cream); --focus: var(--sand); padding-top: 56px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer h2 { font-family: var(--body); font-size: 1rem; font-weight: 650; color: var(--paper); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 4px; }
.site-footer li a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.footer-grid > * { min-width: 0; }
.footer-contact a span { overflow-wrap: anywhere; }
.site-footer .icon { width: 18px; height: 18px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-family: var(--display); font-size: 1.6rem; color: var(--paper); line-height: 1.15; margin-bottom: 8px; }
.footer-meaning { max-width: 34ch; }
.footer-pay { margin-top: 14px; font-size: .95rem; }
.footer-base { border-top: 1px solid rgba(243, 227, 200, .22); padding-block: 18px 22px; font-size: .875rem; }
.footer-base p { margin: 0; }

/* ---------------------------------------------------------------- WhatsApp button and toast */
.wa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 56px; height: 56px; padding: 0 16px; border-radius: 28px; background: var(--walnut); color: var(--paper); text-decoration: none; font-weight: 650; border: 2px solid var(--paper); box-shadow: 0 8px 22px -6px rgba(43, 22, 9, .45); }
.wa-fab:hover { background: var(--ink); color: var(--paper); }
.wa-fab .icon { width: 24px; height: 24px; }
.wa-fab span { display: none; }
@media (min-width: 700px) { .wa-fab span { display: inline; } .wa-fab { right: 24px; bottom: 24px; } }
/* Keep the floating button from ever sitting on top of the last controls on the page. */
body:has(.wa-fab) .site-footer { padding-bottom: 76px; }
@media (min-width: 700px) { body:has(.wa-fab) .site-footer { padding-bottom: 84px; } }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r); font-weight: 600; max-width: calc(100vw - 32px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------- Motion and print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .announce, .site-header, .site-footer, .wa-fab, .order-help, .drawer, .sticky-buy { display: none !important; }
  body { background: #fff; }
}

/* ================================================================ WordPress additions */

/* Mobile search (icon opens a panel under the header) */
.msearch > summary { list-style: none; cursor: pointer; }
.msearch > summary::-webkit-details-marker { display: none; }
.msearch-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter); box-shadow: 0 14px 24px -18px rgba(43, 22, 9, .45); }
.msearch-panel .big-search { margin: 0; max-width: none; }
.logo-img { width: auto; height: 34px; }
@media (min-width: 1180px) { .logo-img { height: 40px; } }

/* Mobile menu lists (WordPress menu markup) */
.mnav-list, .mnav-list .sub-menu { list-style: none; margin: 0; padding: 0; }
.mnav-list > li { border-bottom: 1px solid var(--line); }
.mnav-list .sub-menu { padding: 0 0 8px 14px; }
.mnav-list .sub-menu a { min-height: 40px; font-weight: 400; font-size: 1rem; color: var(--muted); }
.mnav-list a[aria-current="page"] { color: var(--walnut); text-decoration: underline; text-underline-offset: 5px; }
.main-list .sub-menu { list-style: none; }

/* Footer menus */
.footer-list { list-style: none; margin: 0; padding: 0; }

/* Page content from the block editor */
.entry-content > * { max-width: 68ch; }
.entry-content > .alignwide, .entry-content > .alignfull, .entry-content > figure, .entry-content > .wp-block-image { max-width: none; }
.entry-content img { border-radius: 2px; }
.entry-content .wp-block-details, .faq-list .wp-block-details { border-top: 1px solid var(--line); max-width: none; margin: 0; }
.wp-block-details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 650; font-size: 1.05rem; min-height: 48px; }
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--walnut); border-bottom: 2px solid var(--walnut); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.wp-block-details[open] > summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.wp-block-details > :not(summary) { margin-bottom: 18px; max-width: 70ch; }
.faq-list > .wp-block-details:last-child { border-bottom: 0; }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--r); background: var(--walnut); color: var(--paper); font-weight: 600; text-decoration: none; }
.page-head { margin: 14px 0 6px; }
.posts-list { list-style: none; margin: 0 0 var(--section); padding: 0; }
.posts-list li { border-top: 1px solid var(--line); padding: 18px 0; }
.posts-list h2 { font-size: 1.4rem; margin-bottom: 4px; }
.pagination, .woocommerce-pagination { margin: 28px 0 0; }
.pagination .nav-links, .woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--field); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 600; }
.page-numbers.current { background: var(--walnut); border-color: var(--walnut); color: var(--paper); }
.woocommerce-pagination ul.page-numbers { min-width: 0; min-height: 0; border: 0; border-radius: 0; font-weight: inherit; justify-content: flex-start; }
.woocommerce-pagination ul.page-numbers li { margin: 0; display: flex; }
.page-numbers.next, .page-numbers.prev { font-size: 1.05rem; line-height: 1; }
.woocommerce-pagination ul.page-numbers li .page-numbers { display: inline-flex; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.gallery-caption, .bypostauthor { font-size: inherit; }
.wp-caption-text, .entry-content figcaption { font-size: .9rem; color: var(--muted); }

/* ================================================================ WooCommerce */

.section-spacer { height: var(--section); }
.img-missing { display: block; width: 100%; height: 100%; background: var(--paper-2); }
.wc-page { padding-bottom: var(--section); }
.wc-page.is-thankyou { max-width: calc(760px + 2 * var(--gutter)); }
.legend { font-family: var(--display); font-size: 1.55rem; font-weight: 400; margin: 0 0 14px; }
.is-hidden { display: none !important; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  list-style: none; margin: 14px 0; padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; background: var(--paper-2); border-left: 4px solid var(--leaf);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
}
.woocommerce-message { background: var(--ok-bg); border-left-color: var(--ok); }
.woocommerce-error { background: var(--err-bg); border-left-color: var(--err); display: block; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-error li + li { margin-top: 6px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; }
.woocommerce-message a:not(.button), .woocommerce-error a { font-weight: 600; }
.woocommerce-store-notice, p.demo_store { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; margin: 0; padding: 10px var(--gutter); background: var(--ink); color: var(--paper); font-size: .9rem; }
.woocommerce-store-notice a { color: var(--sand); }

/* Generic WooCommerce buttons look like theme buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce .button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--r); border: 1.5px solid var(--walnut); background: var(--walnut); color: var(--paper);
  font: 600 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.woocommerce-message .button, .woocommerce-info .button { background: transparent; color: var(--walnut); min-height: 40px; }
.woocommerce-message .button:hover, .woocommerce-info .button:hover { background: var(--paper); color: var(--ink); }

/* Form rows */
.form-row { margin: 0 0 18px; padding: 0; }
.form-row label { display: block; font-weight: 650; margin-bottom: 6px; }
.form-row label .optional { font-weight: 400; color: var(--muted); }
.form-row .required { color: var(--err); text-decoration: none; border: 0; margin-left: 2px; }
.form-row .description, .form-row .woocommerce-input-wrapper + .description { display: block; font-size: .875rem; color: var(--muted); margin: 6px 0 0; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select, .form-row.woocommerce-invalid textarea { border-color: var(--err); background: #FFF6F4; }
.form-row.woocommerce-validated input.input-text { border-color: var(--field); }
.checkout-inline-error-message { color: var(--err); font-size: .9rem; font-weight: 550; margin: 6px 0 0; }
.form-row .woocommerce-input-wrapper strong { font-weight: 600; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 640px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); display: inline-block; vertical-align: top; } .woocommerce form .form-row-first { margin-right: 12px; } }
.check, .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.woocommerce form .password-input { display: flex; gap: 6px; }
.show-password-input { border: 1.5px solid var(--field); background: #fff; border-radius: var(--r); min-width: 48px; cursor: pointer; }
.show-password-input { color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.show-password-input::after { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input.display-password::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); }

/* Product page extras */
.qty-row { flex-wrap: wrap; }
.qty-label { font-weight: 650; }
.quantity.is-fixed .qty { display: none; }
.qty input.qty { width: 52px; min-height: 44px; border: 0; text-align: center; padding: 0; background: transparent; font-weight: 650; -moz-appearance: textfield; appearance: textfield; }
.qty input.qty::-webkit-outer-spin-button, .qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-short p { margin: 0 0 1em; }
.buy-price.price { display: block; }
.buy .notice { margin-top: 6px; }
.vopt input:disabled + .vopt-body { opacity: .5; cursor: not-allowed; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-sections .entry-content ul { padding-left: 1.2em; }
.pdp-sections .entry-content li { margin: 4px 0; }
.pdp-sections .entry-content > * { max-width: none; }
bdi[lang="ar"] { font-family: var(--arabic); }
bdi[lang="bn"] { font-family: var(--bengali); }

/* Sticky add-to-cart bar (phones) */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(43, 22, 9, .5); }
.sticky-buy-info { flex: 1; min-width: 0; display: grid; }
.sticky-buy-name { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
.sticky-buy-meta { color: var(--walnut); font-weight: 650; font-size: .95rem; font-variant-numeric: tabular-nums; }
.sticky-buy .btn { flex: none; }
@media (min-width: 960px) { .sticky-buy { display: none !important; } }
@media (max-width: 959px) { .single-product .site-footer { padding-bottom: 84px; } }

/* Cart page */
.cart-list .cart-line:first-child { padding-top: 0; }
.cart-line-meta .woocommerce-Price-amount { font-weight: 600; color: var(--ink); }
.cart-lines .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 14px; }
.cart-lines .actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cart-lines .actions .coupon input { width: auto; min-height: 40px; }
.product-remove .link-btn { display: inline-flex; align-items: center; }
.cart_totals h2, .checkout-summary h2 { font-size: 1.6rem; }
.totals > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 6px 0; }
.totals .t-label { color: var(--muted); }
.totals .t-value { text-align: right; font-weight: 600; }
.totals .grand { border-top: 1px solid var(--field); margin-top: 8px; padding-top: 12px; font-size: 1.2rem; }
.totals .grand .t-label { color: var(--ink); font-weight: 650; }
.totals .grand .t-value { font-weight: 750; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; text-align: right; }
.woocommerce-shipping-methods li { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin: 2px 0; }
.woocommerce-shipping-methods label { font-weight: 500; }
.woocommerce-shipping-destination { margin: 6px 0 0; font-size: .85rem; font-weight: 400; color: var(--muted); }
.woocommerce-shipping-totals .t-value { display: block; }
.shipping-calculator-button { font-size: .85rem; font-weight: 600; }
.woocommerce-shipping-calculator { text-align: left; font-weight: 400; }
.shipping-calculator-form { margin-top: 10px; }
.shipping-calculator-form .button { margin-top: 4px; }
.wc-proceed-to-checkout { margin-top: 14px; display: grid; gap: 10px; }
.cart-collaterals { min-width: 0; }
.cart-empty.woocommerce-info, .wc-empty-cart-message .cart-empty { font-size: 1.05rem; }

/* Checkout */
.checkout-form #customer_details { margin-bottom: 26px; }
.checkout-payment { margin-top: 6px; }
.wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.wc_payment_method { padding: 12px 14px; border: 1.5px solid var(--field); border-radius: var(--r); margin-bottom: 10px; background: #fff; }
.wc_payment_method:has(input:checked) { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); background: var(--paper-2); }
.wc_payment_method > label { display: inline; font-weight: 650; margin-left: 8px; cursor: pointer; }
.wc_payment_method input.input-radio { vertical-align: -4px; }
.wc_payment_method:only-child input.input-radio { display: none; }
.wc_payment_method:only-child > label { margin-left: 0; }
.payment_box { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.payment_box p { margin: 0; }
.place-order .pay-total { margin-top: 4px; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; }
#place_order { margin-top: 4px; }
.checkout-summary .mini-lines img { width: 52px; height: 65px; object-fit: cover; border-radius: 2px; }
.checkout-summary .text-link { display: inline-block; margin-top: 6px; }
.blockUI.blockOverlay { background: rgba(255, 249, 239, .6) !important; }

/* Mini-cart drawer */
body.drawer-open { overflow: hidden; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(43, 22, 9, .45); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 92vw); background: var(--paper); display: flex; flex-direction: column; box-shadow: -20px 0 40px -20px rgba(43, 22, 9, .5); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; margin: 0; }
.drawer-close { border: 0; background: transparent; min-width: 44px; min-height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--ink); border-radius: var(--r); }
.drawer-close:hover { background: var(--paper-2); }
.drawer .widget_shopping_cart_content { flex: 1; overflow-y: auto; padding: 8px 18px 22px; }
.mini-cart:focus { outline: none; }
.mini-cart[aria-busy="true"] { opacity: .6; pointer-events: none; }
.mini-line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-img img { width: 64px; height: 80px; object-fit: cover; border-radius: 2px; }
.mini-body { display: grid; gap: 2px; min-width: 0; }
.mini-name { font-weight: 650; color: var(--ink); text-decoration: none; line-height: 1.35; }
.mini-name:hover { text-decoration: underline; }
.mini-var { font-size: .88rem; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.mini-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.mini-remove { justify-self: start; min-height: 36px; padding: 4px 0; font-size: .85rem; }
.qty-small button { width: 38px; height: 38px; }
.qty-small input { width: 40px !important; min-height: 38px !important; }
.mini-subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; margin: 16px 0 0; }
.mini-buttons { display: grid; gap: 10px; margin-top: 14px; }
.mini-empty { padding: 24px 0; }
.mini-empty p { font-size: 1.05rem; }

/* Thank-you page */
.order-page .order-status > div .badge { white-space: nowrap; }
.order-page .totals { margin-bottom: 16px; }
.order-items h3 { font-size: 1.05rem; margin-top: 18px; }

/* My account */
.woocommerce-account .wc-page .woocommerce { display: grid; gap: 28px; }
@media (min-width: 900px) { .woocommerce-account .wc-page .woocommerce { grid-template-columns: 220px minmax(0, 1fr); align-items: start; } }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a { display: flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--walnut); text-decoration: underline; text-underline-offset: 5px; }
.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register, .woocommerce-ResetPassword { max-width: 440px; }
.woocommerce-form-login__rememberme { margin: 0 0 12px; }
.woocommerce-LostPassword { margin-top: 10px; }
.woocommerce table.shop_table, .woocommerce-table, .woocommerce-orders-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 20px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td, .woocommerce-table th, .woocommerce-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.woocommerce-orders-table .button { min-height: 36px; padding: 0 12px; font-size: .88rem; }
@media (max-width: 700px) {
  .woocommerce-orders-table thead { display: none; }
  .woocommerce-orders-table tr { display: grid; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .woocommerce-orders-table td { border: 0; padding: 4px 0; }
  .woocommerce-orders-table td::before { content: attr(data-title) ': '; font-weight: 650; }
}
.woocommerce-customer-details address { font-style: normal; line-height: 1.6; }
.woocommerce-Addresses { display: grid; gap: 20px; }
