/* Sindh Artisan Connect – client website */
:root {
  --bg: #FBF7F1; --surface: #FFFFFF; --surface-2: #F4ECE0; --ink: #241513; --muted: #6E5A50; --line: #E8DCCB;
  --brand: #7A1F2B; --brand-deep: #4E1219; --brand-ink: #FFFFFF; --brand-soft: #F6E4E3;
  --gold: #B88A3B; --gold-soft: #F3E6CB; --indigo: #23325E; --wa: #1E8E4E;
  --ok: #1E7A46; --ok-bg: #E3F3E8; --warn: #9A6200; --warn-bg: #FBF0D9; --bad: #A12D2D; --bad-bg: #FBE5E3; --new: #23325E; --new-bg: #E5E9F5;
  --shadow: 0 1px 2px rgba(36,21,19,.06), 0 8px 24px rgba(36,21,19,.08);
  --shadow-lg: 0 24px 60px rgba(36,21,19,.22);
  --r: 14px; --r-sm: 10px;
  --display: "Fraunces", Georgia, serif; --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #150D0C; --surface: #1F1513; --surface-2: #2A1D1A; --ink: #F4EBDF; --muted: #C2B0A1; --line: #3B2B26;
    --brand: #B23A4B; --brand-deep: #2B0B10; --brand-soft: #3A1A1E; --gold: #D6AE62; --gold-soft: #3A2E1A; --indigo: #8EA2DA;
    --ok: #6CCB94; --ok-bg: #173225; --warn: #E9B95A; --warn-bg: #3A2C12; --bad: #F08A80; --bad-bg: #3D1A18; --new: #A9B8E6; --new-bg: #1E2640;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #150D0C; --surface: #1F1513; --surface-2: #2A1D1A; --ink: #F4EBDF; --muted: #C2B0A1; --line: #3B2B26;
  --brand: #B23A4B; --brand-deep: #2B0B10; --brand-soft: #3A1A1E; --gold: #D6AE62; --gold-soft: #3A2E1A; --indigo: #8EA2DA;
  --ok: #6CCB94; --ok-bg: #173225; --warn: #E9B95A; --warn-bg: #3A2C12; --bad: #F08A80; --bad-bg: #3D1A18; --new: #A9B8E6; --new-bg: #1E2640;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
.i { width: 20px; height: 20px; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px rgba(122,31,43,.25); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: #241513; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.95); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--surface-2); }
.badge-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--surface); }
.link { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.announce { background: var(--brand-deep); color: #F6E7D4; font-size: 13px; }
.announce .wrap { display: flex; justify-content: center; gap: 28px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; text-align: center; }
.announce a { color: #fff; font-weight: 600; text-decoration: none; }
@media (max-width: 760px) { .announce .hide-sm { display: none; } .announce .wrap { gap: 2px 16px; padding-top: 6px; padding-bottom: 6px; } }
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 56px; width: auto; }
:root[data-theme="dark"] .brand img { background: #fff; border-radius: 10px; padding: 3px 6px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { background: #fff; border-radius: 10px; padding: 3px 6px; } }
.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--ink); }
.main-nav a:hover { background: var(--surface-2); }
.hdr-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu-btn { display: none; }
@media (max-width: 1020px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--surface); flex-direction: column; padding: 84px 20px 20px; gap: 2px; margin: 0;
    transform: translateX(105%); transition: transform .3s; box-shadow: var(--shadow-lg); z-index: 60; }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 18px; padding: 12px 14px; border-radius: 10px; }
  .menu-btn { display: inline-grid; }
  .hdr { height: 68px; gap: 8px; }
  .brand img { height: 46px; }
}
.nav-close { display: none; }
@media (max-width: 1020px) { .nav-close { display: inline-grid; position: absolute; top: 16px; right: 16px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 96px; overflow: hidden; color: #FFF3DF; background: #2B1A12 url("../img/site/hero-ajrak.jpg") center / cover no-repeat; min-height: min(78vh, 720px); display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,10,16,.92) 0%, rgba(43,10,16,.78) 30%, rgba(43,10,16,.4) 60%, rgba(43,10,16,0) 100%); pointer-events: none; }
.hero .wrap { width: 100%; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 720px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero .eyebrow { color: #E7C680; }
.hero h1 { font-size: clamp(40px, 5.8vw, 76px); margin: 18px 0 20px; font-weight: 400; color: #FFF3DF; }
.hero h1 em { font-style: italic; color: #F1D9A6; }
.hero p.lead { font-size: 19px; color: rgba(255,243,223,.88); max-width: 52ch; margin: 0; }
.hero .btn-ghost { color: #FFF3DF; border-color: rgba(255,243,223,.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #FFF3DF; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; gap: 32px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(231,198,128,.35); flex-wrap: wrap; }
.hero-trust div { display: grid; }
.hero-trust b { font-family: var(--display); font-size: 28px; font-weight: 500; color: #E7C680; line-height: 1.1; }
.hero-trust span { font-size: 13.5px; color: rgba(255,243,223,.78); }
.mosaic { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; position: relative; }
.mosaic figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; left: -26px; bottom: 34px; background: var(--surface); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: 280px; }
.float-card .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.float-card b { display: block; font-size: 14.5px; }
.float-card span { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) {
  .hero { padding: 64px 0 56px; min-height: 0; background-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(43,10,16,.78), rgba(43,10,16,.9)); }
  .mosaic { height: 420px; }
  .float-card { left: 12px; bottom: 12px; }
}
@media (max-width: 560px) { .mosaic { height: 330px; gap: 8px; } .mosaic figure { border-radius: 14px; } .hero-trust { gap: 20px; } .hero-trust b { font-size: 23px; } }

/* ---------- Features strip ---------- */
.features { border-block: 1px solid var(--line); background: var(--surface); }
.features .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; gap: 14px; align-items: center; padding: 22px 18px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); flex: none; }
.feature b { display: block; font-size: 15px; }
.feature span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .features .wrap { grid-template-columns: 1fr 1fr; } .feature:nth-child(3) { border-left: 0; } .feature:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .features .wrap { grid-template-columns: 1fr; } .feature + .feature { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
@media (max-width: 700px) { section.block { padding: 60px 0; } }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 10px; }
.sec-head p { color: var(--muted); margin: 12px 0 0; max-width: 60ch; }
.tint { background: var(--surface-2); }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3.4; cursor: pointer; background: var(--surface-2); text-align: left; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(25,8,10,.82)); }
.cat-card .lbl { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.cat-card .lbl b { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.1; }
.cat-card .lbl span { font-size: 13px; opacity: .85; white-space: nowrap; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cat-card .lbl b { font-size: 18px; } }

/* ---------- Products ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
@media (max-width: 1100px) { .p-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .p-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card .media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; background: var(--surface-2); border: 0; padding: 0; cursor: pointer; width: 100%; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .media img { transform: scale(1.05); }
.card .quick { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255,255,255,.94); color: #241513; border-radius: 999px; padding: 9px; font-size: 13.5px; font-weight: 600; text-align: center;
  opacity: 0; transform: translateY(8px); transition: .25s; }
.card:hover .quick, .card .media:focus-visible .quick { opacity: 1; transform: none; }
@media (hover: none) { .card .quick { display: none; } }
.pill { position: absolute; top: 10px; left: 10px; background: var(--surface); color: var(--brand); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.card .body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card .cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.card .by { font-size: 13.5px; color: var(--muted); }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 700; font-size: 16.5px; color: var(--ink); }
.add { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; height: 38px; padding: 0 14px; font-weight: 600; font-size: 13.5px; cursor: pointer; transition: .2s; }
.add:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.add .i { width: 17px; height: 17px; }
@media (max-width: 420px) { .add span { display: none; } .add { width: 38px; padding: 0; justify-content: center; } .card h3 { font-size: 14.5px; } }

.shop-tools { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 16px 0 44px; }
.search input:focus { border-color: var(--brand); outline: none; }
select.sort { height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 18px; scrollbar-width: thin; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip small { opacity: .6; margin-left: 4px; }
.result-meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.result-meta button { border: 0; background: none; color: var(--brand); font-weight: 600; cursor: pointer; padding: 0; }
.more-row { display: flex; justify-content: center; margin-top: 40px; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--r); }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- Banner ---------- */
.banner { position: relative; border-radius: 24px; overflow: hidden; min-height: 440px; display: grid; align-items: end; color: #fff; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,8,12,.88), rgba(30,8,12,.35) 65%, transparent); z-index: 1; }
.banner .in { position: relative; z-index: 2; padding: 48px; max-width: 560px; }
.banner .eyebrow { color: #F1D9A6; }
.banner h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 14px 0; }
.banner p { color: rgba(255,255,255,.85); margin: 0 0 24px; font-size: 17px; }
@media (max-width: 640px) { .banner { min-height: 480px; } .banner::before { background: linear-gradient(0deg, rgba(30,8,12,.92) 30%, rgba(30,8,12,.2)); } .banner .in { padding: 28px 22px; } }

/* ---------- Artisans ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 40px; }
.story img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.story .txt { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.story blockquote { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; margin: 16px 0 18px; font-weight: 400; }
.story p { color: var(--muted); margin: 0 0 22px; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story img { min-height: 260px; max-height: 340px; } .story .txt { padding: 28px 22px; } }
.a-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .a-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .a-grid { grid-template-columns: 1fr; } }
.a-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.a-card .cover { height: 130px; position: relative; background: var(--surface-2); }
.a-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 26px; color: #fff; border: 4px solid var(--surface); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.a-card .avatar { position: absolute; left: 18px; bottom: -30px; }
.a-card .info { padding: 40px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.a-card h3 { font-size: 21px; }
.a-card .craft { color: var(--brand); font-weight: 600; font-size: 14px; }
.a-card .loc { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 5px; }
.a-card .loc .i { width: 15px; height: 15px; }
.a-card p { margin: 6px 0 14px; font-size: 14.5px; color: var(--muted); flex: 1; }

/* ---------- Custom order ---------- */
.custom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .custom-grid { grid-template-columns: 1fr; gap: 32px; } }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; }
.timeline li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.timeline li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--gold); color: var(--brand); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.timeline li::after { content: ""; position: absolute; left: 16.5px; top: 34px; bottom: 2px; width: 1.5px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-size: 15.5px; }
.timeline span { font-size: 14px; color: var(--muted); }
.form-card { background: var(--surface); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 560px) { .form-card { padding: 22px 18px; } }
.form-card h3 { font-size: 26px; margin-bottom: 6px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); font-weight: 400; font-size: 15px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field .hint { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.drop { display: flex; gap: 14px; align-items: center; border: 1.5px dashed var(--line); border-radius: var(--r-sm); padding: 14px; cursor: pointer; background: var(--bg); font-weight: 400; }
.drop:hover { border-color: var(--brand); }
.drop .thumb { width: 64px; height: 64px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--muted); }
.drop .thumb img { width: 100%; height: 100%; object-fit: cover; }
.msg { padding: 11px 14px; border-radius: var(--r-sm); font-size: 14.5px; }
.msg.err { background: var(--bad-bg); color: var(--bad); }
.msg.ok { background: var(--ok-bg); color: var(--ok); }
.msg.info { background: var(--new-bg); color: var(--new); }

/* ---------- Heritage ---------- */
.heritage { background: #1E0D10; color: #F4E7D6; position: relative; overflow: hidden; }
.heritage::before { content: ""; position: absolute; inset: 0; background: url("../img/site/ajrak-texture.jpg") center/420px; opacity: .08; }
.heritage .wrap { position: relative; }
.heritage .eyebrow { color: #E7C680; }
.heritage .sec-head p { color: rgba(244,231,214,.75); }
.h-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.h-grid figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; background: #2A1418; }
.h-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.h-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }
.h-a { grid-column: span 7; height: 380px; } .h-b { grid-column: span 5; height: 380px; } .h-c { grid-column: span 4; height: 280px; } .h-d { grid-column: span 4; height: 280px; } .h-e { grid-column: span 4; height: 280px; }
.h-a img, .h-b img { object-fit: contain; background: #F5F1EA; }
@media (max-width: 860px) { .h-grid > * { grid-column: span 12 !important; height: 260px !important; } }
.crafts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.crafts div { border: 1px solid rgba(231,198,128,.25); border-radius: var(--r); padding: 22px; }
.crafts h3 { color: #E7C680; font-size: 22px; margin-bottom: 8px; }
.crafts p { margin: 0; font-size: 14.5px; color: rgba(244,231,214,.8); }
@media (max-width: 760px) { .crafts { grid-template-columns: 1fr; } }

/* ---------- Info cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.info .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.info h3 { font-size: 22px; margin-bottom: 8px; }
.info p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.paylist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.paylist span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); }

/* ---------- About & Team ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.mv div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.mv b { font-family: var(--display); font-size: 19px; font-weight: 500; color: var(--brand); display: block; margin-bottom: 4px; }
.mv p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 520px) { .mv { grid-template-columns: 1fr; } }
.t-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .t-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .t-grid { grid-template-columns: 1fr; } }
.t-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.t-card .avatar { width: 72px; height: 72px; border: 3px solid var(--gold-soft); margin-bottom: 8px; font-size: 28px; }
.t-card h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.t-card .role { font-size: 13px; color: var(--brand); font-weight: 600; line-height: 1.35; }
.t-card .loc { font-size: 13px; color: var(--muted); }
.t-card .acts { display: flex; gap: 6px; margin-top: 12px; }
.t-card .acts a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); }
.t-card .acts a.w { background: var(--wa); border-color: var(--wa); color: #fff; }
.t-card .acts .i { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA & footer ---------- */
.cta-band { background: var(--brand); color: #fff; border-radius: 24px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.07); }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); }
.cta-band p { margin: 10px 0 0; color: rgba(255,255,255,.85); max-width: 52ch; }
@media (max-width: 560px) { .cta-band { padding: 32px 22px; } }
footer.site-footer { background: #170A0C; color: #E7D9C7; padding: 72px 0 28px; margin-top: 88px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr; } }
.f-grid h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #E7C680; font-weight: 700; margin-bottom: 16px; }
.f-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.f-grid a { color: #E7D9C7; text-decoration: none; }
.f-grid a:hover { color: #fff; text-decoration: underline; }
.f-brand img { height: 74px; background: #fff; border-radius: 12px; padding: 4px 8px; margin-bottom: 16px; }
.f-brand p { color: #BFAE9C; font-size: 14.5px; margin: 0 0 8px; }
.f-bottom { border-top: 1px solid rgba(231,217,199,.14); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #A8988A; }
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: #36BB22; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0,0,0,.28); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .i { width: 36px; height: 36px; }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20,8,10,.5); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--surface); z-index: 70; transform: translateX(105%); transition: transform .32s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.on { transform: none; }
.d-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); gap: 12px; }
.d-head h3 { font-size: 24px; }
.d-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.d-foot { border-top: 1px solid var(--line); padding: 18px 22px; display: grid; gap: 10px; background: var(--surface); }
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.on { display: flex; }
.modal .box { position: relative; background: var(--surface); border-radius: 22px; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.05fr 1fr; }
.modal .box > img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; background: var(--surface-2); }
.modal .det { padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.modal .det h2 { font-size: 32px; }
.modal .det .price { font-size: 24px; }
.modal .close { position: absolute; top: 12px; right: 12px; background: var(--surface); box-shadow: var(--shadow); z-index: 2; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 46px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty button .i { width: 16px; height: 16px; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.maker { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-sm); background: var(--surface-2); margin: 6px 0; }
.maker .avatar { width: 46px; height: 46px; font-size: 19px; border: 0; }
.maker b { display: block; font-size: 15px; }
.maker span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .modal { padding: 0; align-items: end; } .modal .box { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92vh; } .modal .box > img { max-height: 46vh; } .modal .det { padding: 24px 20px 28px; } .modal .det h2 { font-size: 26px; } }

/* cart */
.ci { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ci img { width: 76px; height: 92px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.ci b { font-size: 15px; display: block; line-height: 1.35; }
.ci .by { font-size: 13px; color: var(--muted); }
.ci .qty { height: 36px; margin-top: 8px; }
.ci .qty button { width: 34px; }
.ci .rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; }
.sumrow { display: flex; justify-content: space-between; font-size: 15px; }
.sumrow.total { font-weight: 700; font-size: 18px; }
.empty-state { text-align: center; padding: 50px 10px; color: var(--muted); display: grid; justify-items: center; gap: 12px; }
.empty-state .ico { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--brand); }
.empty-state .ico .i { width: 30px; height: 30px; }
.radio-row { display: grid; gap: 8px; }
.radio-row label { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; font-weight: 500; cursor: pointer; }
.radio-row label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-row input { accent-color: var(--brand); }

/* account */
.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 999px; margin-bottom: 18px; }
.tabs button { flex: 1; border: 0; background: none; height: 38px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.stack { display: grid; gap: 14px; }
.o-card { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.o-top { display: flex; gap: 12px; align-items: center; }
.o-top img { width: 56px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--surface-2); flex: none; }
.o-top b { display: block; font-size: 15px; line-height: 1.3; }
.o-top small { color: var(--muted); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.ok { background: var(--ok-bg); color: var(--ok); } .status.bad { background: var(--bad-bg); color: var(--bad); }
.status.new { background: var(--new-bg); color: var(--new); } .status.mid { background: var(--warn-bg); color: var(--warn); }
.progress { display: grid; grid-auto-flow: column; gap: 4px; }
.progress i { height: 5px; border-radius: 99px; background: var(--line); }
.progress i.on { background: var(--brand); }
.o-meta { font-size: 13.5px; color: var(--muted); display: grid; gap: 2px; }
.o-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.quote { background: var(--gold-soft); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14.5px; }
.chat-box { height: 340px; overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bub { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; display: grid; gap: 4px; }
.bub small { font-size: 11.5px; opacity: .7; }
.bub img { border-radius: 10px; max-height: 200px; object-fit: cover; }
.bub.me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.bub.them { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.composer { display: flex; gap: 8px; margin-top: 10px; }
.composer input[type=text] { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 16px; }
.qchips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.qchips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 13px; padding: 6px 12px; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 500; z-index: 100; opacity: 0; pointer-events: none; transition: .25s; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: var(--gold); }
body.lock { overflow: hidden; }
[hidden] { display: none !important; }
