/* Amiriat Menswear — storefront styles
   রং: কালো (#0E0E0E), গোল্ড (#C9A24D), অফ-হোয়াইট (#F7F5F0) */
:root {
  --ink: #0e0e0e;
  --char: #1c1c1c;
  --gold: #c9a24d;
  --gold-dark: #8a6a22; /* সাদার উপর লেখার জন্য (পড়তে সহজ) */
  --ivory: #f7f5f0;
  --sand: #efebe3;
  --line: #e6e1d8;
  --text: #2a2a2a;
  --muted: #5e5952;
  --soft: #8a847a;
  --ok: #1f7a4a;
  --err: #b3261e;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --wrap: 1320px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--gold); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--gold); font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 0; transition: background .15s, color .15s; }
.btn:hover { background: #2b2b2b; color: var(--gold); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8b466; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--gold); }
.btn-light { background: transparent; border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link { border-bottom: 1px solid currentColor; font-weight: 600; font-size: 13px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); position: relative; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: var(--gold); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.badge-count:empty, .badge-count[data-n="0"] { display: none; }

/* ---------- header ---------- */
.announce { background: var(--ink); color: var(--gold); font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; text-align: center; }
.utility { border-bottom: 1px solid #eeeae2; font-size: 12px; color: var(--muted); }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 7px; padding-bottom: 7px; }
.utility nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #eeeae2; }
.head-main { display: flex; align-items: center; gap: 14px 28px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 40px; width: auto; }
.search { flex: 1 1 380px; display: flex; height: 46px; border: 1px solid #d9d4ca; min-width: 0; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; background: transparent; font-size: 14px; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--ink); }
.search button { flex: 0 0 52px; border: 0; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.call { display: flex; align-items: center; gap: 10px; line-height: 1.25; white-space: nowrap; }
.call small { display: block; font-size: 11px; color: var(--muted); }
.call strong { font-size: 14px; color: var(--ink); }
.head-icons { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu-toggle { display: none; }
.mainnav { border-top: 1px solid #eeeae2; }
.mainnav > .wrap > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 32px; }
.mainnav .top { display: flex; align-items: center; gap: 6px; min-height: 48px; font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid transparent; }
.mainnav li:hover > .top, .mainnav .top.active { border-bottom-color: var(--gold); color: var(--ink); }
.mainnav .sale { color: var(--gold-dark); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #eeeae2; border-bottom: 2px solid var(--gold); box-shadow: 0 18px 30px rgba(14,14,14,.08); visibility: hidden; opacity: 0; transition: opacity .15s; z-index: 30; }
.mainnav li:hover > .mega, .mainnav li:focus-within > .mega { visibility: visible; opacity: 1; }
.mega .wrap { display: flex; gap: 32px; padding-top: 26px; padding-bottom: 30px; }
.mega-img { flex: 0 0 200px; aspect-ratio: 4/5; background: var(--sand); object-fit: cover; }
.mega-links { flex: 1; columns: 3 170px; column-gap: 28px; }
.mega-links h4 { font-size: 12px; letter-spacing: .12em; margin-bottom: 10px; break-after: avoid; }
.mega-links a { display: block; padding: 5px 0; font-size: 14px; color: #3d3935; break-inside: avoid; }
.mega-links a:hover { color: var(--gold-dark); }
.mega-links .all { font-weight: 600; color: var(--gold-dark); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer .shade { position: absolute; inset: 0; background: rgba(14,14,14,.45); }
.drawer .panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.drawer.left .panel { left: 0; }
.drawer.right .panel { right: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.panel-body { flex: 1; overflow-y: auto; padding: 8px 16px 24px; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav > a { display: flex; justify-content: space-between; align-items: center; min-height: 50px; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; list-style: none; cursor: pointer; border-bottom: 1px solid var(--line); }
.mnav details summary { border-bottom: 0; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details a { display: block; padding: 9px 0 9px 12px; font-size: 15px; }
.mnav .mfoot { padding-top: 18px; display: grid; gap: 10px; font-size: 14px; }

/* ---------- hero ----------
   পুরো চওড়া ব্যাকগ্রাউন্ড ছবি (admin থেকে), বাঁ দিকে লোগো, লেখা, আইকন আর বাটন।
   ছবির সাইজ: 1920 × 1080, বাঁ দিকের ৪৫% ফাঁকা/অন্ধকার রাখো, প্রোডাক্ট ডান দিকে। */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 0; transition: opacity 1s; }
.hero-slides img.on { opacity: 1; }
.hero-slides::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-light .hero-slides::after { background: linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.28) 38%, rgba(10,10,10,0) 62%); }
.hero-strong .hero-slides::after { background: linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.62) 42%, rgba(10,10,10,.08) 72%); }
/* ছবি না থাকলে: কালো ব্যাকগ্রাউন্ড, কোণে গোল্ড দাগ */
.hero-plain { background: radial-gradient(ellipse at 78% 45%, #2b2620 0%, #151413 45%, var(--ink) 75%); }
.hero-plain::before, .hero-plain::after { content: ''; position: absolute; width: 150px; height: 150px; pointer-events: none;
  background: linear-gradient(135deg, transparent 0 34%, var(--gold) 34% 40%, transparent 40% 50%, rgba(201,162,77,.55) 50% 54%, transparent 54%); }
.hero-plain::before { top: 0; left: 0; transform: rotate(180deg); }
.hero-plain::after { right: 0; bottom: 0; }
.hero-inner { position: relative; z-index: 2; min-height: clamp(520px, 49vw, 760px); display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero-copy { width: min(580px, 46%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-logo { position: relative; width: min(390px, 76%); margin-bottom: 10px; }
.hero-logo img { width: 100%; height: auto; }
/* MENSWEAR-এর দুই পাশে সরু দাগ */
.hero-logo::before, .hero-logo::after { content: ''; position: absolute; top: 83%; width: 21%; height: 1.5px; background: rgba(255,255,255,.85); }
.hero-logo::before { left: -11%; }
.hero-logo::after { left: 90%; }
.hero .eyebrow { margin-bottom: -8px; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(40px, 4.7vw, 80px); font-weight: 800; line-height: 1.06; letter-spacing: -.01em; }
.hero h1 span { display: block; color: var(--gold); background: linear-gradient(180deg, #f5dd9c 0%, #dcb563 45%, #b08a3a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.sub { margin: 0; max-width: 540px; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.45; color: #ece6da; }
.hero-feats { list-style: none; width: 100%; margin: 12px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.hero-feats li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 4px 10px; font-family: var(--head); font-size: 12.5px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.hero-feats li + li { border-left: 1px solid rgba(201,162,77,.8); }
.hero .ctas { align-self: stretch; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; padding-left: 10px; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 60px; padding: 0 38px; border-radius: 999px;
  background: linear-gradient(180deg, #e8ca80 0%, #c9a24d 60%, #b08a3a 100%); color: #111; font-family: var(--head); font-size: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(201,162,77,.22); transition: transform .15s, filter .15s, background .15s, color .15s; }
.hero-btn:hover { color: #111; filter: brightness(1.07); transform: translateY(-1px); }
.hero-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-btn-line { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85); box-shadow: none; }
.hero-btn-line:hover { background: #fff; color: #111; filter: none; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.35); }
.hero-dots button.on { background: var(--gold); }
/* ট্যাবলেট আর ফোন: ছবি উপরে (প্রোডাক্ট দেখা যায়), লেখা নিচে কালো ব্যাকগ্রাউন্ডে */
@media (max-width: 900px) {
  .hero-slides { position: relative; aspect-ratio: 4 / 3; }
  .hero-slides img { object-position: 78% center; }
  .hero-slides::after, .hero-light .hero-slides::after, .hero-strong .hero-slides::after { background: linear-gradient(180deg, rgba(14,14,14,0) 55%, var(--ink) 100%); }
  .hero-inner { min-height: 0; padding-top: 8px; padding-bottom: 44px; }
  .hero-plain .hero-inner { padding-top: 56px; }
  .hero-copy { width: 100%; max-width: 560px; margin: 0 auto; gap: 18px; }
  .hero-logo { width: min(300px, 68%); }
  .hero .ctas { justify-content: center; padding-left: 0; }
  .hero-dots { top: calc(100vw * .75 - 28px); bottom: auto; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 38px; }
  .hero-feats li { padding: 2px 4px; gap: 8px; font-size: 10.5px; letter-spacing: .02em; }
  .hero-feats svg { width: 28px; height: 28px; }
  .hero-btn { width: 100%; min-height: 56px; }
  .hero-plain::before, .hero-plain::after { width: 90px; height: 90px; }
}

/* ---------- trust strip ---------- */
/* hero-র নিচে একটু ফাঁকা রেখে আলাদা একটা বক্স */
.trust { padding-top: 36px; }
.trust-box { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ivory); border: 1px solid var(--line); }
.trust-box > * { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 14px; font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-align: left; }
.trust-box > * + * { border-left: 1px solid var(--line); }
.trust-box a:hover { color: var(--gold-dark); }
.trust svg { flex: 0 0 auto; color: var(--gold-dark); }

/* ---------- sections ---------- */
.section { padding: 64px 0 8px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2, .h2 { font-size: clamp(24px, 2.7vw, 34px); font-weight: 800; }
.rule { width: 56px; height: 2px; background: var(--gold); margin-top: 10px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tiles .tile { aspect-ratio: 4/5; }
.tile { position: relative; display: block; aspect-ratio: 3/4; background: var(--sand); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #fff; padding: 10px 8px; text-align: center; font-family: var(--head); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill { min-height: 40px; padding: 0 20px; border-radius: 20px; border: 1px solid #c9c3b8; background: #fff; color: var(--ink); font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pill[aria-selected="true"], .pill.on { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; background: var(--ink); padding: 44px clamp(24px, 5vw, 64px); color: #fff; }
.promo strong { display: block; font-family: var(--head); font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; line-height: 1.08; color: #fff; margin-top: 8px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.split a { position: relative; min-height: 420px; background: var(--char); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 30px; overflow: hidden; color: #fff; }
.split img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .4s; }
.split a:hover img { transform: scale(1.03); }
.split a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,14,14,.8), rgba(14,14,14,0) 60%); }
.split a > * { position: relative; z-index: 1; }
.split strong { font-family: var(--head); font-size: 26px; font-weight: 800; }
.split em { font-style: normal; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 16px; }
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card .ph { position: relative; display: block; aspect-ratio: 3/4; background: var(--sand); overflow: hidden; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.card .ph .alt { opacity: 0; }
.card:hover .ph .alt { opacity: 1; }
.card:hover .ph img:first-child:not(:only-of-type) { opacity: 0; }
.card .noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--head); color: #b4ad9f; font-size: 13px; letter-spacing: .14em; }
.tag { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--ink); color: var(--gold); font-family: var(--head); font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 6px 9px; }
.tag.soldout { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.wish { position: absolute; top: 4px; right: 4px; z-index: 1; width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.wish.on svg { fill: var(--ink); }
.card h3 { font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.price { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 14px; }
.price b { color: var(--ink); font-weight: 700; }
.price s { color: var(--soft); }
.price small { color: var(--muted); }
.stars { color: var(--gold-dark); font-size: 12px; letter-spacing: 1px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, calc((100% - 64px) / 5)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* ---------- shop ---------- */
.page-title { background: var(--ivory); border-bottom: 1px solid var(--line); }
.page-title .wrap { padding-top: 26px; padding-bottom: 26px; }
.page-title h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid #c9c3b8; font-size: 13px; font-weight: 500; background: #fff; }
.chips a.on, .chips a:hover { border-color: var(--ink); background: var(--ink); color: var(--gold); }
.shop { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 28px; padding-bottom: 64px; }
.filters { flex: 0 0 250px; }
.shop-main { flex: 999 1 560px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.toolbar select { height: 42px; border: 1px solid #d9d4ca; padding: 0 10px; background: #fff; }
.fbox { border-bottom: 1px solid var(--line); }
.fbox summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; list-style: none; }
.fbox summary::-webkit-details-marker { display: none; }
.fbox summary::after { content: '+'; font-size: 18px; font-weight: 400; }
.fbox[open] summary::after { content: '–'; }
.fbox .opts { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; max-height: 240px; overflow-y: auto; }
.fbox label { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 14px; cursor: pointer; }
.fbox input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); }
.fbox .sizes { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.fbox .sizes label { min-width: 46px; min-height: 40px; justify-content: center; border: 1px solid #c9c3b8; padding: 0 10px; font-size: 13px; font-weight: 600; }
.fbox .sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fbox .sizes label:has(input:checked) { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.fbox .range { display: flex; gap: 8px; align-items: center; padding-bottom: 14px; }
.fbox .range input { width: 100%; height: 40px; border: 1px solid #d9d4ca; padding: 0 8px; }
.filter-actions { display: flex; gap: 10px; padding-top: 16px; }
.filter-actions .btn { flex: 1; min-height: 44px; padding: 0 12px; }
.filters-toggle { display: none; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d9d4ca; font-weight: 600; font-size: 14px; }
.pager .on { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h2 { font-size: 22px; margin-bottom: 10px; }
.cat-intro { max-width: 820px; margin: 48px auto 0; color: var(--muted); font-size: 15px; }
.cat-intro h2 { font-size: 20px; margin: 18px 0 8px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; padding-top: 24px; padding-bottom: 48px; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; }
.thumbs button { padding: 0; border: 1px solid transparent; background: var(--sand); aspect-ratio: 3/4; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { position: relative; background: var(--sand); aspect-ratio: 3/4; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.main-img video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.pinfo { display: flex; flex-direction: column; gap: 16px; }
.pinfo h1 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
.pinfo .sku { font-size: 12px; color: var(--soft); letter-spacing: .06em; }
.pprice { display: flex; align-items: baseline; gap: 12px; font-size: 24px; font-weight: 700; color: var(--ink); }
.pprice s { font-size: 17px; color: var(--soft); font-weight: 500; }
.pprice .off { font-size: 13px; font-weight: 700; background: var(--ink); color: var(--gold); padding: 4px 8px; letter-spacing: .06em; }
.opt-label { font-size: 13px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; }
.opt-label button { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; font-size: 13px; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-list button { min-width: 50px; min-height: 44px; padding: 0 12px; border: 1px solid #c9c3b8; background: #fff; font-weight: 600; font-size: 14px; }
.size-list button.on { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.size-list button[disabled] { color: #b4ad9f; background: #faf9f6; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid #c9c3b8; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 18px; }
.qty input { width: 44px; text-align: center; border: 0; height: 100%; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.buy .btn { flex: 1 1 160px; }
.buy .wish-big { width: 48px; height: 48px; border: 1px solid #c9c3b8; background: #fff; display: flex; align-items: center; justify-content: center; }
.buy .wish-big.on svg { fill: var(--ink); }
.notice { font-size: 13px; padding: 10px 12px; background: var(--ivory); border-left: 3px solid var(--gold); }
.chat-order { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); align-items: center; }
.chat-order a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 18px; font-weight: 400; }
.acc details[open] summary::after { content: '–'; }
.acc .inner { padding-bottom: 16px; font-size: 14px; color: var(--text); }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th { text-align: left; font-weight: 600; color: var(--muted); width: 38%; padding: 6px 0; vertical-align: top; }
.specs td { padding: 6px 0; }
.prose { font-size: 15px; line-height: 1.75; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose h3 { font-size: 18px; margin: 22px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose a { color: var(--gold-dark); text-decoration: underline; }
.prose blockquote { margin: 18px 0; padding: 10px 16px; border-left: 3px solid var(--gold); background: var(--ivory); }
.prose img { margin: 18px 0; }
.reviews { display: grid; gap: 16px; }
.review { border-bottom: 1px solid var(--line); padding-bottom: 14px; font-size: 14px; }
.review .who { font-weight: 600; color: var(--ink); }
.review .reply { margin-top: 8px; padding: 8px 12px; background: var(--ivory); font-size: 13px; }
.sticky-buy { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(14,14,14,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; cursor: zoom-in; }
.lightbox img.zoom { transform: scale(2); cursor: zoom-out; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); background: rgba(14,14,14,.5); color: #fff; display: flex; align-items: center; justify-content: center; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* ---------- cart / checkout / forms ---------- */
.narrow { max-width: 1100px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 28px; padding-bottom: 64px; }
.box { border: 1px solid var(--line); padding: 22px; background: #fff; }
.box h2 { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.summary { background: var(--ivory); border-color: var(--line); position: sticky; top: 140px; }
.line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item img, .line-item .noimg { width: 72px; aspect-ratio: 3/4; object-fit: cover; background: var(--sand); }
.line-item .nm { font-weight: 600; color: var(--ink); font-size: 14px; }
.line-item .meta { font-size: 13px; color: var(--muted); }
.line-item .rm { border: 0; background: none; padding: 4px 0; color: var(--muted); font-size: 12px; text-decoration: underline; }
.line-item .qty { height: 38px; margin-top: 8px; }
.line-item .qty button { width: 36px; }
.line-item .qty input { width: 36px; }
.totals { display: grid; gap: 8px; font-size: 14px; margin: 14px 0; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .grand { border-top: 1px solid var(--ink); padding-top: 10px; font-weight: 700; font-size: 16px; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid #cfc9be; padding: 10px 12px; background: #fff; border-radius: 0; width: 100%; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { display: grid; gap: 10px; margin-bottom: 16px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #cfc9be; padding: 14px; cursor: pointer; background: #fff; }
.choice label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); }
.choice strong { display: block; color: var(--ink); font-size: 14px; }
.choice small { color: var(--muted); font-size: 13px; }
.bkash-box { border: 1px dashed var(--gold-dark); background: #fffdf7; padding: 16px; margin-bottom: 16px; font-size: 14px; }
.bkash-box .num { font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .04em; }
.bkash-box ol { margin: 10px 0; padding-left: 20px; }
.bkash-box img { width: 160px; margin-top: 10px; }
.copy { border: 1px solid var(--ink); background: #fff; padding: 4px 10px; font-size: 12px; font-weight: 600; margin-left: 8px; }
.msg { padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.msg.err { background: #fbeceb; color: var(--err); border-left: 3px solid var(--err); }
.msg.ok { background: #eaf5ef; color: var(--ok); border-left: 3px solid var(--ok); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); }
.status-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.status-steps span { flex: 1 1 100px; text-align: center; padding: 8px 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sand); color: var(--muted); }
.status-steps span.done { background: var(--ink); color: var(--gold); }
.tabbar { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabbar button { border: 0; background: none; min-height: 46px; padding: 0 16px; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabbar button.on { color: var(--ink); border-bottom-color: var(--gold); }
.order-card { border: 1px solid var(--line); padding: 16px; margin-bottom: 14px; font-size: 14px; }
.order-card header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.status { display: inline-block; padding: 3px 9px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sand); color: var(--ink); }
.status.Delivered, .status.Ready { background: #e3f1e8; color: var(--ok); }
.status.Cancelled, .status.Returned { background: #fbeceb; color: var(--err); }
.rate { display: inline-flex; gap: 2px; }
.rate button { border: 0; background: none; font-size: 22px; color: #cfc9be; padding: 0 2px; }
.rate button.on { color: var(--gold-dark); }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.post-card .cover { aspect-ratio: 16/10; background: var(--sand); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .txt { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-card .tg { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.post-card h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }
.article { max-width: 760px; margin: 0 auto; padding: 32px 24px 64px; }
.article h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 10px 0 12px; }
.article .cover { margin: 22px 0 28px; aspect-ratio: 16/9; background: var(--sand); }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #bdb6a8; margin-top: 72px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 60px; padding-bottom: 36px; }
.site-footer .brand { flex: 1.6 1 280px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.site-footer .brand img { height: 46px; width: auto; align-self: flex-start; }
.site-footer .col { flex: 1 1 150px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer h3 { font-family: var(--head); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border: 1px solid #3a3222; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.newsletter { display: flex; max-width: 360px; height: 48px; border: 1px solid #3a3222; }
.newsletter input { flex: 1; min-width: 0; border: 0; padding: 0 14px; background: transparent; color: #fff; }
.newsletter input:focus { outline: none; }
.newsletter button { border: 0; padding: 0 18px; background: var(--gold); color: var(--ink); font-family: var(--head); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.foot-bottom { border-top: 1px solid #2a2418; }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #a8a193; }

/* floating chat */
.float-help { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.float-help span { background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; padding: 5px 10px; }
.float-help div { display: flex; gap: 8px; }
.float-help a { width: 50px; height: 50px; border-radius: 25px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.float-help .wa { background: #1f8a4c; }
.float-help .ms { background: #1f5fd1; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); z-index: 95; background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px; display: flex; gap: 10px; align-items: center; opacity: 0; transition: .2s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast b { color: var(--gold); }

/* landing */
.lp-bar { background: var(--gold); color: var(--ink); text-align: center; font-weight: 700; padding: 10px 16px; font-size: 14px; }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.lp-hero img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--sand); }
.lp-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.lp-item { border: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.lp-item.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.lp-item img { aspect-ratio: 3/4; width: 100%; object-fit: cover; background: var(--sand); }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 600; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid.five { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .call { display: none; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .utility { display: none; }
  .mainnav { display: none; }
  .menu-toggle { display: inline-flex; }
  .head-main { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .logo { order: 1; flex: 1; display: flex; justify-content: center; }
  .logo img { height: 32px; }
  .menu-toggle { order: 0; }
  .head-icons { order: 2; margin-left: 0; }
  .search { order: 3; flex: 1 1 100%; height: 42px; }
  .trust { padding-top: 24px; }
  .trust-box { grid-template-columns: repeat(2, 1fr); }
  .trust-box > :nth-child(3) { border-left: 0; }
  .trust-box > :nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-box > * { justify-content: flex-start; padding: 16px 12px; font-size: 11px; letter-spacing: .08em; }
  .grid, .grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .rail { grid-auto-columns: 46%; }
  .pdp, .two-col, .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; }
  .thumbs button { flex: 0 0 64px; }
  .summary { position: static; }
  .filters { flex: 1 1 100%; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .shop { gap: 16px; }
  .section { padding-top: 44px; }
  .split a { min-height: 320px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 10px; align-items: center; }
  .sticky-buy .btn { flex: 1; min-height: 46px; }
  body.has-sticky .float-help { bottom: 80px; }
  body.has-sticky .site-footer { padding-bottom: 70px; }
}
@media (max-width: 480px) {
  .row2 { grid-template-columns: 1fr; }
  .card h3 { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- লগইন / নতুন অ্যাকাউন্ট (My account) ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1000px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--line); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth-tabs button { min-height: 56px; border: 0; border-bottom: 2px solid transparent; background: var(--ivory); color: var(--muted); font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.auth-tabs button.on { background: #fff; color: var(--ink); border-bottom-color: var(--gold); }
.auth-body { padding: 28px 28px 26px; }
.auth-title { font-size: 22px; margin: 0 0 8px; }
.g-wrap { display: flex; justify-content: center; min-height: 44px; }
.g-fallback { width: 100%; min-height: 44px; border: 1px solid #dadce0; background: #fff; color: var(--muted); font-size: 14px; }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--gold-dark); }
.pass { position: relative; }
.field .pass input { padding-right: 50px; }
.pass-eye { position: absolute; z-index: 2; top: 0; right: 0; width: 48px; height: 100%; display: flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--muted); cursor: pointer; }
.pass-eye svg { pointer-events: none; }
/* Edge/IE-এর নিজের "চোখ" বাটন লুকানো, যাতে দুটো চোখ না দেখায় */
.pass input::-ms-reveal, .pass input::-ms-clear { display: none; }
.pass-eye[aria-pressed="true"] { color: var(--ink); }
.auth-switch { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.auth-legal { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.auth-more { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.auth-more summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.auth-side { padding-top: 24px; }
.auth-side h2 { font-size: 20px; margin: 0 0 22px; }
.auth-side ul { list-style: none; margin: 0; padding: 0; }
.auth-side li { position: relative; padding-left: 38px; margin-bottom: 20px; }
.auth-side li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold); font-size: 12px; font-weight: 700; }
.auth-side strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.auth-side span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.signin-methods { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding: 10px 12px; background: var(--ivory); font-size: 13px; color: var(--muted); }
.signin-methods strong { color: var(--ink); font-weight: 600; }
.form-sub { margin: 20px 0 12px; font-size: 14px; letter-spacing: .04em; }
.form-sub .muted { font-weight: 400; font-size: 13px; }
.pw-box { margin-bottom: 16px; }
.pw-box summary { cursor: pointer; font-weight: 600; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; gap: 28px; max-width: 520px; }
  .auth-side { padding-top: 0; }
}
@media (max-width: 480px) {
  .auth-body { padding: 22px 16px; }
}
.field input:disabled, .field input[readonly] { background: var(--ivory); color: var(--muted); }

/* ---------- admin লগইন থাকলে ওয়েবসাইটের একদম উপরে admin বার ---------- */
.admin-bar { background: #1d1d1d; color: #d9d4c9; font-size: 13px; border-bottom: 1px solid #333; }
.admin-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.admin-bar .who { display: inline-flex; align-items: center; gap: 8px; }
.admin-bar .who::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3ecf6e; }
.admin-bar nav { display: flex; align-items: center; gap: 18px; }
.admin-bar a, .admin-bar button { color: var(--gold); font-weight: 600; background: none; border: 0; padding: 0; font-size: 13px; cursor: pointer; }
.admin-bar a:hover, .admin-bar button:hover { color: #fff; }
.admin-bar button { color: #b9b3a7; font-weight: 500; }
@media (max-width: 600px) { .admin-bar .who span { display: none; } .admin-bar nav { gap: 14px; } }
