/* SHI Store — gold & charcoal, matched to the SHI STORE logo */
:root {
  --ink: #26292C;
  --ink-2: #4A4F55;
  --muted: #6E737A;
  --gold: #B8975A;
  --gold-2: #C9B07E;
  --gold-soft: #F3ECDD;
  --paper: #FBF9F5;
  --card: #FFFFFF;
  --line: #E6E0D4;
  --err: #A63A2B;
  --ok: #2E6B3F;
  --radius: 10px;
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; }

/* header */
.strip { background: var(--ink); color: var(--gold-2); text-align: center; font-size: .82rem; letter-spacing: .04em; padding: 7px 16px; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(16px, 4vw, 48px); background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 28px; color: var(--gold); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .b1 { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .12em; }
.brand-word .b2 { font-size: .62rem; letter-spacing: .5em; color: var(--gold); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 28px); font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--gold); }
.cart-link { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ink); border-radius: 999px; padding: 5px 12px; }
.cart-count { background: var(--ink); color: #fff; border-radius: 999px; min-width: 1.5em; text-align: center; font-size: .78rem; padding: 0 5px; }
@media (max-width: 560px) { .nav a:not(.cart-link) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 24px; font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }

/* hero with curtains hanging on a steel rod */
.hero { padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 48px) 24px; display: grid; gap: 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--gold); margin-bottom: .6em; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.rail-wrap { position: relative; overflow-x: auto; padding: 0 4px 10px; -webkit-overflow-scrolling: touch; }
.rod { position: absolute; left: 0; right: 0; top: 10px; height: 6px; border-radius: 3px; background: linear-gradient(#E9ECEF, #9BA1A8 55%, #C9CED3); box-shadow: 0 2px 3px rgba(0,0,0,.15); min-width: 760px; }
.finial { position: absolute; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F5F6F7, #8E949B); }
.finial.l { left: -2px; } .finial.r { right: -2px; }
.rail { display: grid; grid-template-columns: repeat(7, minmax(96px, 1fr)); gap: 8px; min-width: 760px; position: relative; }
.rail-item { text-decoration: none; display: flex; flex-direction: column; align-items: stretch; }
.ring-row { display: flex; justify-content: space-around; height: 24px; padding: 0 6px; }
.ring-row i { width: 14px; height: 14px; border: 3px solid #A9AFB5; border-radius: 50%; margin-top: 5px; }
.rail-item .drape { height: clamp(200px, 30vw, 300px); border-radius: 2px 2px 6px 6px; transition: transform .25s; transform-origin: top center; }
.rail-item:hover .drape { transform: scaleX(.94); }
.rail-label { text-align: center; font-size: .85rem; margin-top: 8px; color: var(--ink-2); }

/* fabric folds (for shades without a photo) */
.drape { background-color: var(--c, #ccc); background-size: cover; background-position: center; box-shadow: 0 6px 16px rgba(38,41,44,.12); }
.drape.fabric { background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0, rgba(255,255,255,.10) 9%, rgba(0,0,0,.06) 17%, rgba(255,255,255,.14) 25%, rgba(0,0,0,.16) 33.3%); }
.drape.fabric.light { background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.10) 0, rgba(255,255,255,.25) 9%, rgba(0,0,0,.04) 17%, rgba(255,255,255,.3) 25%, rgba(0,0,0,.10) 33.3%); }

/* sections */
.section { padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 48px); }
.section.narrow { max-width: 980px; margin: 0 auto; }
.section-head { max-width: 60ch; margin-bottom: 24px; }
.section-head p { color: var(--ink-2); }
.band { background: var(--gold-soft); }
.two { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1100px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 24px rgba(38,41,44,.12); transform: translateY(-2px); }
.card-img { display: block; aspect-ratio: 4 / 5; border-radius: 0; box-shadow: none; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.card-title { font-family: var(--serif); font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.card-meta { color: var(--muted); font-size: .88rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; display: inline-block; }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(s); font-family: var(--serif); color: var(--gold); font-size: 1.6rem; line-height: 1; }
.steps span { color: var(--ink-2); font-size: .95rem; }

/* product */
.product { display: grid; gap: clamp(20px, 4vw, 48px); padding: clamp(20px, 4vw, 48px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-width: 1200px; margin: 0 auto; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 10px; align-content: start; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.gallery .drape.big { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.photo-note { color: var(--muted); font-size: .92rem; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.price { font-family: var(--serif); font-size: 1.6rem; margin-bottom: .4em; }
.price span { font-family: var(--sans); font-size: .95rem; color: var(--muted); }
.buy-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.buy-form legend { font-weight: 600; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-block; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; }
.opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.custom { margin-top: 12px; background: var(--gold-soft); border-radius: var(--radius); padding: 12px 14px; }
.custom-row { display: flex; gap: 12px; flex-wrap: wrap; }
.custom-row label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
select, input, textarea { font: inherit; color: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; width: 100%; }
select { min-width: 110px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold-2); border-color: var(--gold); }
.hang-notes { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .9rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { background: none; border: 0; width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty input { width: 56px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hint { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }
.line-total { font-size: 1.1rem; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.added { color: var(--ok); margin-top: 10px; }
.or-wa { margin-top: 18px; color: var(--muted); }
.err { color: var(--err); font-size: .92rem; margin: 8px 0; }
.small-h { font-size: 1.3rem; }
.minis { display: flex; flex-wrap: wrap; gap: 8px; }
.mini { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; text-decoration: none; font-size: .92rem; }

/* cart & checkout */
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { width: 72px; aspect-ratio: 4 / 5; border-radius: 6px; }
.cart-line .t { font-weight: 500; }
.cart-line .m { color: var(--muted); font-size: .9rem; }
.cart-line .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line .qty button { width: 34px; height: 34px; font-size: 1.1rem; }
.cart-line .qty input { width: 40px; }
.totals { margin: 18px 0; display: grid; gap: 4px; max-width: 360px; margin-left: auto; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.15rem; font-weight: 600; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.free-note { color: var(--ok); font-size: .9rem; text-align: right; }
.cart-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.empty { text-align: center; padding: 30px 0; color: var(--ink-2); }
.checkout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 760px) { .checkout { grid-template-columns: 1fr; } .summary { order: -1; } }
.co-form { display: grid; gap: 14px; }
.co-form label { display: grid; gap: 6px; font-weight: 500; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.summary .s-line { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.summary .totals { max-width: none; }
.done { text-align: center; max-width: 560px; margin: 0 auto; }
.done .big-id { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); letter-spacing: .04em; }
.done .summary { text-align: left; margin: 20px 0; }

/* footer */
.site-foot { background: var(--ink); color: #D9DCDF; padding: 40px clamp(16px, 4vw, 48px) 90px; margin-top: 40px; }
.site-foot .brand { color: #fff; }
.site-foot a { color: var(--gold-2); text-decoration: none; }
.site-foot h3 { color: #fff; font-size: 1.05rem; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.brand-foot { margin-bottom: 12px; }
.fine { font-size: .8rem; color: #9BA1A8; margin-top: 24px; }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 30; }
.wa-float .ico { width: 30px; height: 30px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
