/* =========================================================
   BB Apron — inner pages (uses tokens from style.css)
   ========================================================= */

/* ---------- Shared bits ---------- */
.nav-item.is-current > .nav-link { background: var(--ink); color: #fff; }
.muted { color: var(--muted); }
.pad { padding: 24px; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-sub { color: var(--muted); margin-top: 12px; max-width: 520px; }
.section-head.center .section-sub { margin-inline: auto; }
.btn-block { width: 100%; }
.text-btn { background: none; border: 0; padding: 0; font-weight: 700; font-size: 14px; color: var(--terra); }
.text-btn:hover { text-decoration: underline; }
.text-btn.danger { color: #b3261e; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.icon-btn:hover { background: #b3261e; border-color: #b3261e; color: #fff; }
button.link-arrow { background: none; border: 0; padding: 0; }

.product-media-link { position: absolute; inset: 0; display: grid; place-items: center; }
.product-media-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-media-link svg { width: 46%; color: var(--ink); opacity: .82; transition: transform .7s var(--ease); }
.product-card:hover .product-media-link img, .product-card:hover .product-media-link svg { transform: scale(1.06); }

/* ---------- Buy box (quick view + product page) ---------- */
.buy-box .qv-label, .pd-buy .qv-label { margin: 22px 0 10px; }
.bb-row .size-toggle { margin-bottom: 14px; }
.bb-single .size-chips { margin-bottom: 4px; }
.size-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 4px; }
.size-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.size-row .qty button { width: 34px; height: 34px; font-size: 17px; }
.size-row .qty input { width: 40px; }
.bb-total { margin-top: 12px; font-size: 14px; color: var(--muted); }
.bb-total strong { color: var(--ink); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--ink);
  padding: clamp(70px, 10vw, 130px) 0 clamp(54px, 7vw, 90px);
  overflow: hidden; isolation: isolate;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img, none) center/cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,24,33,.9), rgba(16,24,33,.55) 60%, rgba(16,24,33,.25)); }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); max-width: 760px; }
.page-hero h1 em { color: #f0b48f; }
.page-hero p { color: rgba(255,255,255,.8); margin-top: 16px; font-size: 18px; max-width: 560px; }
.page-hero .hero-btns { margin-top: 30px; }
.page-hero--tall { min-height: min(78vh, 680px); display: flex; align-items: center; }
.page-hero--plain { background: var(--linen-2); color: var(--ink); padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 5vw, 60px); }
.page-hero--plain::after, .page-hero--plain::before { display: none; }
.page-hero--plain h1 em { color: var(--terra); }
.page-hero--plain p { color: var(--muted); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 20px; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; }
.crumbs b { color: #fff; font-weight: 600; }
.crumbs span { opacity: .5; }
.page-hero--plain .crumbs, .crumbs--dark { color: var(--muted); }
.page-hero--plain .crumbs b, .crumbs--dark b { color: var(--ink); }
.page-hero--plain .crumbs a:hover, .crumbs--dark a:hover { color: var(--terra); }

/* ---------- Workwear ---------- */
.cat-bar { position: sticky; top: 80px; z-index: 30; background: rgba(255,253,249,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-bar-inner { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-bar .chip { white-space: nowrap; }
.section--cat { padding: clamp(48px, 6vw, 80px) 0; }
.section--cat.is-alt { background: var(--paper); }
.section--cat h2 a:hover { color: var(--terra); }

/* ---------- Category / shop ---------- */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-height: calc(100vh - 120px); overflow-y: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h3 { font-size: 24px; }
.filters-close { display: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--linen); font-size: 22px; }
.f-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.f-group h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.f-hint { font-size: 12px; color: var(--muted); margin-top: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--terra); flex: none; }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.check.is-invalid span { color: #b3261e; }
.range input { width: 100%; accent-color: var(--terra); }
.range-vals { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.swatches input:checked + span { outline-color: var(--terra); }
.swatches input:focus-visible + span { outline-color: var(--ink); }
.f-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 20px; }

.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-toggle { display: none; }
.toolbar-count { color: var(--muted); font-size: 14px; margin-right: auto; }
.toolbar-count b { color: var(--ink); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
select, .field input, .field textarea, .field select {
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.sort select { width: auto; padding: 10px 36px 10px 14px; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316202b' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(192,85,47,.12); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.empty-state { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); display: grid; justify-items: center; gap: 12px; }
.empty-state svg { color: var(--brass); }
.empty-state h3 { font-size: 26px; }
.empty-state p { color: var(--muted); max-width: 380px; margin-bottom: 8px; }
.drawer-backdrop { display: none; }

/* ---------- Product detail ---------- */
.product-page { padding-top: clamp(14px, 1.6vw, 24px); }
.product-page .crumbs { margin-bottom: 18px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.product-page > .container { width: min(1400px, 100% - 64px); }
.pd-gallery { min-width: 0; }
.pd-info { position: sticky; top: 96px; }
.pd-stage { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: start; }
.pd-main { position: relative; height: clamp(460px, 68vh, 820px); border-radius: 24px; overflow: hidden; background: var(--tint, var(--linen-2)); cursor: zoom-in; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pd-main.is-zoomed { cursor: grab; touch-action: none; }
.pd-main.is-dragging { cursor: grabbing; }
.pd-main-media { position: absolute; inset: 0; display: grid; place-items: center; }
.pd-main-media img { width: 100%; height: 100%; object-fit: contain; transform-origin: 0 0; will-change: transform; image-rendering: -webkit-optimize-contrast; pointer-events: none; -webkit-user-drag: none; }
.pd-main-media svg { width: 42%; color: var(--ink); opacity: .85; }
.pd-nav, .pd-tools button { border: 0; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); font-size: 20px; font-weight: 700; line-height: 1; transition: transform .2s, background .2s; }
.pd-nav:hover, .pd-tools button:hover { background: #fff; transform: scale(1.06); }
.pd-tools button:disabled { opacity: .4; pointer-events: none; }
.pd-nav { position: absolute; z-index: 2; top: 50%; margin-top: -22px; }
.pd-prev { left: 14px; }
.pd-next { right: 14px; }
.pd-nav[hidden] { display: none; }
.pd-tools { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; gap: 10px; }
.pd-count { position: absolute; z-index: 2; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(15,23,31,.7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.pd-count:empty { display: none; }
.pd-hint { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(15,23,31,.72); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s; }
.pd-main.is-zoomed .pd-hint { opacity: 1; }
.pd-main.is-zoomed .pd-count { display: none; }
.pd-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 100%; }
.pd-thumbs button { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--linen-2); opacity: .7; transition: opacity .2s, border-color .2s; }
.pd-thumbs button:hover { opacity: 1; }
.pd-thumbs button.is-active { border-color: var(--terra); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.pd-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 12px 0 16px; font-size: 14px; color: var(--muted); }
.pd-meta b { color: var(--ink); letter-spacing: .04em; }
.like--inline { position: static; border: 1px solid var(--line); background: var(--paper); padding: 8px 14px; }
.pd-color { margin: 0 0 16px; }
.pd-color-label { display: block; font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.pd-color-label b { color: var(--ink); }
.pd-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-swatch { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.22), 0 0 0 3px var(--paper); transition: box-shadow .2s, transform .2s; }
.pd-swatch:hover { transform: scale(1.08); }
.pd-swatch.is-active { box-shadow: inset 0 0 0 1px rgba(0,0,0,.22), 0 0 0 3px var(--paper), 0 0 0 5px var(--terra); }
.pd-rating { display: none; align-items: center; gap: 8px; margin: -8px 0 16px; font-size: 14px; color: var(--muted); }
.pd-rating.is-show { display: inline-flex; }
.pd-rating:hover { color: var(--terra); }
.delivery-msg { display: flex; align-items: center; gap: 12px; padding: 13px 16px; margin-bottom: 4px; border-radius: 14px; border-left: 4px solid #2f9e5b; background: #e4f3e9; color: #1d5e37; font-size: 15px; }
.delivery-msg svg { flex: none; }
.pd-buy { margin-top: 6px; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 16px; }
.pd-assure { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.pd-assure li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); font-size: 14px; }
.pd-assure svg { flex: none; width: 22px; height: 22px; color: var(--terra); margin-top: 2px; }
.pd-assure b { display: block; font-size: 14px; }
.pd-assure span { color: var(--muted); }
.pd-assure a { color: var(--terra); font-weight: 600; }
.pd-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 0; font-size: 13px; color: var(--muted); }
.pd-share a, .pd-share button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
.pd-share a:hover, .pd-share button:hover { border-color: var(--terra); color: var(--terra); }
.pd-sticky { display: none; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; text-align: left; background: none; border: 0; padding: 18px 0; font-family: var(--serif); font-size: 20px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.acc-btn::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--terra); transition: transform .3s; }
.acc-item.is-open .acc-btn::after { transform: rotate(45deg); }
.acc-body { display: none; padding: 0 0 20px; color: var(--ink-2); }
.acc-item.is-open .acc-body { display: block; }
.care { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.care li::marker { color: var(--terra); }

/* ---------- Lightbox ---------- */
.lightbox-inner { position: relative; width: min(1000px, 100%); max-height: calc(100vh - 40px); display: grid; place-items: center; }
.lightbox-media { border-radius: 18px; overflow: hidden; background: var(--paper); display: grid; place-items: center; min-height: 300px; min-width: min(500px, 90vw); }
.lightbox-media img { max-height: calc(100vh - 120px); width: auto; max-width: 100%; object-fit: contain; }
.lightbox-media svg { width: 220px; padding: 40px; color: var(--ink); }
.lightbox .modal-close { top: -14px; right: -6px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.lb-prev { left: -8px; } .lb-next { right: -8px; }
.lb-caption { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }

/* ---------- Cart & checkout ---------- */
.checkout-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 24px 0 0; font-weight: 600; font-size: 14px; color: var(--muted); }
.checkout-steps li { display: flex; align-items: center; gap: 10px; }
.checkout-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-size: 13px; }
.checkout-steps .is-active { color: var(--ink); }
.checkout-steps .is-active span { background: var(--terra); border-color: var(--terra); color: #fff; }
.checkout-steps .is-done span { background: var(--ink); border-color: var(--ink); color: #fff; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-layout[hidden] { display: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.cart-head b { color: var(--ink); }
.cart-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 1.4fr 1fr 70px; gap: 20px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--line); }
.cart-row--head { border-top: 0; background: var(--linen); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 24px; }
.cart-row--head span:last-child, .cart-act { text-align: right; }
.cart-act { display: flex; justify-content: flex-end; }
.cart-prod { display: flex; gap: 16px; align-items: center; }
.cart-prod small { display: block; color: var(--brass); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cart-prod b { display: block; font-size: 16px; }
.cart-prod a:hover b { color: var(--terra); }
.cart-prod .muted { font-size: 12px; letter-spacing: .04em; }
.cart-thumb { flex: none; width: 84px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--tint); display: grid; place-items: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb svg { width: 56%; color: var(--ink); }
.cart-sizes { display: grid; gap: 8px; }
.cart-sizes .muted { font-size: 13px; }
.size-line { display: flex; align-items: center; gap: 12px; }
.size-line b { width: 34px; font-size: 13px; }
.size-line .qty button { width: 32px; height: 32px; font-size: 16px; }
.size-line .qty input { width: 38px; }

.summary-card { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.summary-card h3 { font-size: 26px; }
.summary-card .link-arrow { color: #f0b48f; justify-self: center; }
.summary-list { margin: 0; display: grid; }
.summary-list > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.summary-list dt { color: rgba(255,255,255,.65); }
.summary-list dd { margin: 0; font-weight: 700; }
.summary-note { font-size: 13px; color: rgba(255,255,255,.65); background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px 14px; }

.mini-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 320px; overflow-y: auto; }
.mini-items li { display: flex; align-items: center; gap: 12px; }
.mini-items li > div { flex: 1; min-width: 0; }
.mini-items b { display: block; font-size: 14px; line-height: 1.3; }
.mini-items small { font-size: 12px; opacity: .7; }
.mini-items em { font-style: normal; font-weight: 700; font-size: 13px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 2px 10px; }
.mini-items a { color: #f0b48f; text-decoration: underline; }
.mini-thumb { flex: none; width: 48px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--tint); display: grid; place-items: center; }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-thumb svg { width: 60%; color: var(--ink); }

.checkout-form { display: grid; gap: 20px; }
.notice { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.notice a { color: var(--terra); font-weight: 700; }
.notice[hidden] { display: none; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); margin: 0; display: grid; gap: 16px; min-width: 0; }
.form-card legend { float: left; width: 100%; padding: 0; font-family: var(--serif); font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.form-card legend + * { clear: both; }
.legend-no { width: 32px; height: 32px; border-radius: 50%; background: var(--linen-2); color: var(--terra); font-family: var(--sans); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field--full { grid-column: 1 / -1; }
.field textarea { resize: vertical; min-height: 100px; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #b3261e; background: #fff6f4; }
.field.is-invalid > span:first-child { color: #b3261e; }
.option-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.option-cards--3 { grid-template-columns: repeat(3, 1fr); }
.option-card { position: relative; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; }
.option-card > span { display: grid; gap: 2px; height: 100%; padding: 14px 16px 14px 44px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .2s, background .2s; }
.option-card > span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--muted); transition: all .2s; }
.option-card input:checked + span { border-color: var(--terra); background: rgba(192,85,47,.05); }
.option-card input:checked + span::before { border: 5px solid var(--terra); }
.option-card input:focus-visible + span { box-shadow: 0 0 0 3px rgba(192,85,47,.25); }
.option-card b { font-size: 15px; }
.option-card small { color: var(--muted); font-size: 13px; }
.file-drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed var(--brass); border-radius: 14px; cursor: pointer; background: var(--linen); }
.file-drop[hidden] { display: none; }
.file-drop input { max-width: 110px; font-size: 12px; }
.file-drop span { display: grid; }
.file-drop small { color: var(--muted); }
.check--terms { align-items: flex-start; }
.check--terms a { color: var(--terra); text-decoration: underline; }

/* Confirm / small modals */
.confirm-box { position: relative; width: min(440px, 100%); background: var(--paper); border-radius: 22px; padding: 32px; text-align: center; transform: translateY(16px); transition: transform .35s var(--ease); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal.is-open .confirm-box { transform: none; }
.confirm-box p { font-size: 17px; }
.confirm-box h3 { font-size: 28px; margin-bottom: 10px; }
.confirm-actions { display: flex; gap: 10px; margin-top: 24px; }
.confirm-actions .btn { flex: 1; }
.confirm-box--success p { color: var(--muted); font-size: 15px; }
.confirm-box--success b { color: var(--ink); }
.success-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e3f3e8; color: #23824a; font-size: 30px; display: grid; place-items: center; }
.confirm-box--form { text-align: left; width: min(520px, 100%); display: grid; gap: 14px; }
.confirm-box--form .confirm-actions { margin-top: 6px; }

/* ---------- Event ---------- */
.gallery-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.gallery-intro h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 32px; }
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.icon-tile { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 12px; text-align: center; display: grid; justify-items: center; gap: 12px; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.icon-tile:hover { transform: translateY(-4px); border-color: var(--terra); box-shadow: var(--shadow); }
.icon-tile img { width: 48px; height: 48px; object-fit: contain; }
.icon-tile h3 { font-family: var(--sans); font-size: 14px; font-weight: 700; }
.tall-figure { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--linen-2); }
.tall-figure > img { width: 100%; height: 100%; object-fit: cover; }
.tall-figure figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); border-radius: 14px; padding: 10px 14px; }
.tall-figure figcaption img { height: 34px; width: auto; }

.feature-rows { background: var(--paper); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; padding: clamp(24px, 4vw, 48px) 0; scroll-margin-top: 110px; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row--flip .feature-media { order: 2; }
.feature-media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--linen-2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-row:hover .feature-media img { transform: scale(1.04); }
.feature-no { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--linen-2); -webkit-text-stroke: 1px var(--brass); }
.feature-copy h2 { font-size: clamp(32px, 4vw, 50px); margin: 10px 0 16px; }
.feature-copy p { color: var(--muted); font-size: 17px; margin-bottom: 20px; max-width: 480px; }

.cta-band { background: var(--terra); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h3 { font-size: clamp(30px, 4vw, 46px); }
.cta-band h3 em { font-style: italic; font-weight: 400; }
.cta-band p { opacity: .9; margin-top: 6px; font-size: 17px; }
.cta-band .btn-primary { background: var(--ink); }
.cta-band .btn-primary:hover { background: #0b1117; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trio-card { background: var(--paper); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); padding-bottom: 24px; }
.trio-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen-2); margin-bottom: 20px; }
.trio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trio-card:hover .trio-media img { transform: scale(1.06); }
.trio-card h3 { font-size: 24px; padding: 0 24px 8px; }
.trio-card p { color: var(--muted); padding: 0 24px; font-size: 15px; }

.works { background: var(--ink); color: #fff; }
.works .section-head h2 em { color: #f0b48f; }
.works .section-sub { color: rgba(255,255,255,.65); }
.chips--flat { flex-wrap: wrap; margin: 0; overflow: visible; }
.works .chip { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.2); }
.works .chip:hover { border-color: #fff; color: #fff; }
.works .chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--ink-2); cursor: zoom-in; animation: fadeUp .5s var(--ease) both; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s var(--ease); }
.work-alt { opacity: 0; }
.work.has-alt:hover .work-alt { opacity: 1; }
.work:hover img { transform: scale(1.05); }
.work-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: left; color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(transparent, rgba(10,15,20,.85)); display: grid; }
.work-cap small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #f0b48f; }
.banner-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); }
.banner-strip img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Development ---------- */
.dev-hero { background: var(--linen-2); padding: clamp(48px, 7vw, 90px) 0; overflow: hidden; }
.dev-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.dev-hero h1 { font-size: clamp(38px, 5.4vw, 68px); }
.dev-hero p { font-size: 18px; color: var(--muted); margin-top: 18px; max-width: 520px; }
.dev-hero .hero-btns { margin-top: 30px; }
.dev-hero-media { border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.dev-hero-media img { width: 100%; height: auto; }

.process { background: var(--paper); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--brass), var(--terra)); transform: translateX(-50%); opacity: .35; }
.tl-item { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.tl-item::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--terra); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--terra); transform: translate(-50%, -50%); }
.tl-item:nth-child(even) .tl-media { order: 2; }
.tl-media { border-radius: 20px; overflow: hidden; background: var(--linen); aspect-ratio: 16 / 10; }
.tl-media img { width: 100%; height: 100%; object-fit: cover; }
.tl-no { font-family: var(--serif); font-size: 48px; color: var(--terra); line-height: 1; }
.tl-copy h3 { font-size: 26px; margin: 10px 0 10px; }
.tl-copy p { color: var(--muted); font-size: 16px; max-width: 420px; }

.why { background: var(--ink); color: #fff; }
.why .section-head h2 em { color: #f0b48f; }
.why .section-sub { color: rgba(255,255,255,.65); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-grid--5 { grid-template-columns: repeat(5, 1fr); }
.why-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 28px 22px; display: grid; gap: 14px; align-content: start; transition: transform .35s var(--ease); }
.why-card:hover { transform: translateY(-5px); }
.why-card img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px; }
.why-card h3 { font-size: 20px; }
.why-card p { color: rgba(255,255,255,.65); font-size: 15px; }
.why--light { background: var(--paper); color: var(--ink); }
.why--light .section-head h2 em { color: var(--terra); }
.why--light .why-card { background: var(--linen); border-color: var(--line); }
.why--light .why-card p { color: var(--muted); }
.why--light .why-card img { background: var(--paper); }

/* ---------- About ---------- */
.about-hero { background: var(--linen-2); padding: clamp(56px, 8vw, 100px) 0 0; }
.about-hero-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: end; }
.about-hero h1 { font-size: clamp(44px, 7vw, 92px); }
.about-intro { display: grid; gap: 14px; color: var(--ink-2); }
.lead-lg { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.about-stats > div { padding: 26px 0; display: grid; }
.about-stats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.about-stats b { font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); color: var(--terra); line-height: 1; }
.about-stats span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.story { background: var(--linen); }
.story-track { list-style: none; margin: 0; padding: 30px 0 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; position: relative; scrollbar-width: none; }
.story-track::-webkit-scrollbar { display: none; }
.story-track li { position: relative; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 24px; }
.story-track li::before { content: ""; position: absolute; top: -18px; left: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 5px var(--linen); }
.story-track li::after { content: ""; position: absolute; top: -13px; left: 34px; right: -20px; height: 2px; background: var(--line); }
.story-track li:last-child::after { display: none; }
.story-track b { font-family: var(--serif); font-size: 32px; display: block; margin-bottom: 8px; }
.story-track p { color: var(--muted); font-size: 15px; }
.story-track .is-now { background: var(--ink); color: #fff; border-color: var(--ink); }
.story-track .is-now::before { background: var(--terra); }
.story-track .is-now b { color: #f0b48f; }
.story-track .is-now p { color: rgba(255,255,255,.75); }

.mv { background: var(--paper); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { border-radius: 24px; padding: clamp(28px, 4vw, 48px); background: var(--linen); border: 1px solid var(--line); }
.mv-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.25; }
.mv-card--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.who { background: var(--linen); }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.who-card { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); border-top: 4px solid var(--terra); }
.who-card span { font-family: var(--serif); color: var(--brass); font-size: 22px; }
.who-card h3 { font-size: 22px; margin: 14px 0 8px; }
.who-card p { color: var(--muted); font-size: 15px; }
.made { background: var(--paper); }
.made-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.made-grid h2 { font-size: clamp(32px, 4.2vw, 52px); }
.made-grid .lead { margin-bottom: 28px; }
.made-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.made-steps li { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: var(--linen); border-radius: 16px; }
.made-steps span { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 20px; display: grid; place-items: center; }
.made-steps h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; }
.made-steps p { color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.contact-form h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 4px; }
.contact-form h2 em { color: var(--terra); font-style: italic; font-weight: 400; }
.captcha { grid-template-columns: auto 120px; align-items: center; gap: 12px; }
.captcha span { font-size: 16px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .form-msg { flex: 1; flex-basis: auto; }
.contact-side { display: grid; gap: 12px; }
.contact-side h3 { font-size: 26px; margin-bottom: 4px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, transform .3s var(--ease); }
.info-card:hover { border-color: var(--terra); transform: translateX(4px); }
.info-card > span:last-child { display: grid; font-weight: 600; }
.info-card small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.info-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--linen-2); color: var(--terra); display: grid; place-items: center; }
.appt-card { background: var(--ink); color: #fff; border-radius: 16px; padding: 22px; display: grid; gap: 8px; }
.appt-card h4 { font-size: 22px; }
.appt-card p { color: rgba(255,255,255,.7); font-size: 15px; }
.appt-card .link-arrow { color: #f0b48f; }
.map-wrap { height: 420px; filter: grayscale(.4) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Login ---------- */
.auth { padding: clamp(32px, 6vw, 72px) 0; }
.auth-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 600px; }
.auth-art { position: relative; color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; background: var(--ink); }
.auth-art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center/cover; }
.auth-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,24,33,.55), rgba(16,24,33,.92)); }
.auth-logo { width: 110px; filter: brightness(0) invert(1); }
.auth-art h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 20px; }
.auth-art h2 em { color: #f0b48f; }
.auth-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.auth-perks li { display: flex; gap: 10px; color: rgba(255,255,255,.85); }
.auth-perks li::before { content: "✓"; color: #f0b48f; font-weight: 700; }
.auth-forms { padding: clamp(28px, 5vw, 56px); display: grid; align-content: center; }
.auth-view { display: none; gap: 16px; }
.auth-view.is-active { display: grid; animation: fadeUp .4s var(--ease); }
.auth-view h1 { font-size: clamp(32px, 3.4vw, 42px); }
.auth-view > .muted { margin-top: -8px; margin-bottom: 8px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--linen); border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 700; }
.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.auth-row a, .auth-switch a { color: var(--terra); font-weight: 700; }
.auth-switch { text-align: center; font-size: 14px; color: var(--muted); }
.auth .form-msg { min-height: 0; text-align: center; }
.form-msg { margin: 0; font-size: 14px; }
.form-msg.ok { color: #23824a; }
.form-msg.err { color: #b3261e; }

/* ---------- Dashboard ---------- */
.account { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 90px); }
.account-grid { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.acc-side { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: 22px; padding: 22px; display: grid; gap: 18px; }
.acc-user { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); min-width: 0; }
.acc-user > div { display: grid; min-width: 0; }
.acc-user small { color: rgba(255,255,255,.6); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-user b { text-transform: capitalize; }
.acc-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; }
.acc-nav { display: grid; gap: 4px; }
.acc-nav button, .acc-logout { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 0; background: transparent; color: rgba(255,255,255,.72); font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.acc-nav svg, .acc-logout svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.acc-nav button:hover, .acc-logout:hover { background: rgba(255,255,255,.06); color: #fff; }
.acc-nav button.is-active { background: #fff; color: var(--ink); }
.acc-badge { margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12px; display: grid; place-items: center; }
.acc-nav .is-active .acc-badge { background: var(--terra); color: #fff; }
.acc-logout { border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 0 12px 12px; padding-top: 16px; color: #ffb4a0; }
.acc-panel { display: none; animation: fadeUp .4s var(--ease); }
.acc-panel.is-active { display: grid; gap: 22px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.acc-head h1 { font-size: clamp(32px, 3.6vw, 46px); }
.acc-head h1 em { color: var(--terra); font-style: italic; font-weight: 400; }
.acc-head .eyebrow { margin-bottom: 8px; }
.acc-head .muted { margin-top: 6px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 6px; }
.kpi small { color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi b { font-family: var(--serif); font-size: 38px; line-height: 1; }
.kpi:first-child { background: var(--terra); color: #fff; border-color: var(--terra); }
.kpi:first-child small { color: rgba(255,255,255,.85); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.card--flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-head h3 { font-size: 22px; }
.card-head small { display: block; font-size: 12px; }
.acc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.acc-two--wide { grid-template-columns: 1.15fr 1fr; align-items: start; }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--linen-2); color: var(--ink-2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--under-review, .status--requested { background: #fdf1dc; color: #9a6400; }
.status--in-production { background: #e5eefb; color: #24589f; }
.status--shipped { background: #efe6f8; color: #6b3fa0; }
.status--delivered, .status--confirmed { background: #e3f3e8; color: #23824a; }

.tracker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: s; }
.tracker li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 12px; color: var(--muted); }
.tracker li::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.tracker li:first-child::before { display: none; }
.tracker li span { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
.tracker li.is-done::before, .tracker li.is-current::before { background: var(--terra); }
.tracker li.is-done span { background: var(--terra); border-color: var(--terra); }
.tracker li.is-done span::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; height: 100%; }
.tracker li.is-current span { border-color: var(--terra); box-shadow: 0 0 0 5px rgba(192,85,47,.18); }
.tracker li.is-done b, .tracker li.is-current b { color: var(--ink); }
.tracker b { font-weight: 600; }
.track-card .link-arrow { justify-self: start; }
.tracker--vertical { grid-template-columns: 1fr; gap: 14px; margin: 18px 0 8px; }
.tracker--vertical li { grid-template-columns: 22px 1fr; justify-items: start; text-align: left; font-size: 14px; }
.tracker--vertical li::before { top: -14px; bottom: auto; left: 10px; right: auto; width: 3px; height: 14px; }

.order-list { display: grid; gap: 8px; }
.order-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--linen); text-align: left; color: var(--ink); transition: border-color .2s; }
.order-line:hover { border-color: var(--terra); }
.order-line span:first-child { display: grid; }
.order-line small { color: var(--muted); font-size: 12px; }
.quick-actions { display: grid; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.qa { display: grid; text-align: left; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--ink); transition: background .2s, border-color .2s; position: relative; }
.qa::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--terra); font-weight: 700; }
.qa:hover { background: var(--linen); border-color: var(--terra); }
.qa small { color: var(--muted); font-size: 13px; }

.o-row { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr 1fr 80px; gap: 12px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.o-row--head { border-top: 0; background: var(--linen); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.o-row span:last-child { text-align: right; }

.appt-list { display: grid; gap: 10px; }
.appt { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--linen); }
.appt > div:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.appt small { color: var(--muted); font-size: 13px; }
.appt-date { flex: none; width: 54px; height: 58px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; align-content: center; line-height: 1.1; }
.appt-date b { font-family: var(--serif); font-size: 22px; }
.appt-date small { color: #f0b48f; text-transform: uppercase; font-size: 11px; font-weight: 700; }

.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.addr { position: relative; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; }
.addr.is-default { border-color: var(--terra); }
.addr h4 { font-size: 20px; }
.addr p { color: var(--muted); font-size: 15px; }
.addr-tag { position: absolute; top: 16px; right: 16px; background: var(--terra); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.addr-actions { display: flex; gap: 16px; padding-top: 8px; }

.switch { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line); transition: background .2s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--terra); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(192,85,47,.3); }

/* Drawer */
.drawer { place-items: stretch end; padding: 0; }
.drawer-panel { position: relative; width: min(460px, 100%); height: 100%; background: var(--paper); padding: 34px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); display: grid; align-content: start; gap: 8px; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel h3 { font-size: 30px; }
.drawer-panel h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-top: 18px; }
.drawer-panel .status { justify-self: start; }
.drawer-panel .mini-items em { background: var(--linen-2); }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .why-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .o-row { grid-template-columns: 1fr 1fr 1fr 90px; }
  .o-row > span:nth-child(3) { display: none; }
}

@media (max-width: 960px) {
  .cat-bar { top: 68px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 90; width: min(340px, 88vw);
    max-height: none; border-radius: 0; transform: translateX(-100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-close { display: grid; place-items: center; }
  .filter-toggle { display: inline-flex; }
  .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(15,23,31,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .drawer-backdrop.is-open { opacity: 1; visibility: visible; }

  .pd-grid, .gallery-intro, .dev-hero-inner, .about-hero-inner, .made-grid, .contact-grid, .auth-card, .cart-layout, .account-grid, .acc-two, .acc-two--wide { grid-template-columns: 1fr; }
  .pd-gallery, .summary-card, .acc-side { position: static; }
  .pd-gallery { display: contents; }
  .pd-main { height: auto; aspect-ratio: 1 / 1.05; }
  .pd-main-media img { object-fit: cover; }
  .pd-stage { order: 1; }
  .pd-info { order: 2; position: static; }
  .pd-tabs { order: 3; margin-top: 8px; }
  .pd-stage { grid-template-columns: 1fr; }
  .pd-thumbs { flex-direction: row; overflow-x: auto; order: 2; scrollbar-width: none; }
  .pd-thumbs button { flex: none; width: 72px; height: 72px; }
  .pd-hint { display: none; }
  .pd-sticky {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.35);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .pd-sticky.is-show { transform: none; }
  .pd-sticky div { display: grid; min-width: 0; }
  .pd-sticky b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
  .pd-sticky small { color: var(--muted); font-size: 12px; }
  .pd-sticky .btn { flex: none; padding: 11px 22px; }
  .feature-row, .feature-row--flip { grid-template-columns: 1fr; gap: 24px; }
  .feature-row--flip .feature-media { order: 0; }
  .trio, .mv-grid { grid-template-columns: 1fr; }
  .who-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 18px; }
  .tl-item { grid-template-columns: 1fr; gap: 16px; padding-left: 48px; }
  .tl-item::after { left: 18px; top: 26px; }
  .tl-item:nth-child(even) .tl-media { order: 0; }
  .auth-art { min-height: 260px; }
  .acc-side { gap: 12px; }
  .acc-nav { grid-template-columns: 1fr 1fr; }
  .acc-nav button { font-size: 14px; padding: 10px 12px; }
  .acc-logout { padding: 12px 12px 0; }
  .tl-copy p { max-width: none; }
}

@media (max-width: 640px) {
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .product-info h3 { font-size: 14px; }
  .quick-btn { display: none; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .banner-strip { grid-template-columns: 1fr; }
  .why-grid, .why-grid--5, .who-grid { grid-template-columns: 1fr; }
  .form-grid, .option-cards, .option-cards--3 { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 1fr auto; padding: 18px; }
  .cart-row--head { display: none; }
  .cart-prod { grid-column: 1 / -1; }
  .cart-sizes { grid-column: 1; }
  .cart-act { grid-column: 2; grid-row: 2; align-self: start; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pd-actions, .size-grid { grid-template-columns: 1fr; }
  .kpi b { font-size: 30px; }
  .tracker { grid-template-columns: 1fr; gap: 12px; }
  .tracker li { grid-template-columns: 22px 1fr; justify-items: start; text-align: left; font-size: 14px; }
  .tracker li::before { top: -12px; bottom: auto; left: 10px; right: auto; width: 3px; height: 12px; }
  .appt { flex-wrap: wrap; }
  .appt > .status { margin-left: 68px; }
  .o-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .o-row--head { display: none; }
  .o-row > span:nth-child(2) { grid-row: 2; color: var(--muted); font-size: 13px; }
  .o-row > span:nth-child(4) { grid-row: 1; grid-column: 2; text-align: right; }
  .o-row > span:nth-child(5) { grid-row: 2; grid-column: 2; }
  .map-wrap { height: 320px; }
  .lb-prev { left: 4px; } .lb-next { right: 4px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .captcha { grid-template-columns: auto 1fr; }
}

/* ---------- Appointment ---------- */
.appt-hero { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 100px) 0 clamp(44px, 6vw, 72px); background-image: radial-gradient(circle at 90% 10%, rgba(192,85,47,.4), transparent 45%); }
.appt-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.appt-hero h1 { font-size: clamp(36px, 5.4vw, 66px); max-width: 720px; }
.appt-hero h1 em { color: #f0b48f; }
.appt-hero p { color: rgba(255,255,255,.78); font-size: 18px; margin-top: 18px; max-width: 560px; }
.appt-steps-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.appt-steps-nav li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; font-weight: 600; background: rgba(255,255,255,.04); }
.appt-steps-nav span { width: 30px; height: 30px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; font-size: 13px; }

.pill-options { display: flex; flex-wrap: wrap; gap: 8px; font-weight: 600; }
.pill-options label { cursor: pointer; }
.pill-options input { position: absolute; opacity: 0; }
.pill-options span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14px; color: var(--ink); transition: all .2s; }
.pill-options input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-options input:focus-visible + span { box-shadow: 0 0 0 3px rgba(192,85,47,.3); }
#qtyField.is-invalid .pill-options span { border-color: #f0b4a8; }
.option-cards--1 { grid-template-columns: 1fr; }

.slot-picker { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; border-radius: 16px; }
.slot-picker.is-invalid { box-shadow: 0 0 0 2px #f0b4a8; padding: 10px; }
.cal { background: var(--linen); border-radius: 16px; padding: 16px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-head b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.cal-head .round-btn { width: 36px; height: 36px; }
.cal-head .round-btn:disabled { opacity: .35; pointer-events: none; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--paper); font-weight: 700; font-size: 14px; color: var(--ink); transition: background .2s, color .2s; }
.cal-grid button:hover:not(:disabled) { background: var(--linen-2); }
.cal-grid button:disabled { background: transparent; color: rgba(22,32,43,.25); font-weight: 500; cursor: not-allowed; }
.cal-grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--brass); }
.cal-grid button.is-selected { background: var(--terra); color: #fff; box-shadow: none; }
.slots { display: grid; gap: 14px; align-content: start; }
.slots-title { font-weight: 700; font-size: 15px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-grid:empty { display: none; }
.slot-grid button { padding: 11px 0; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: 14px; color: var(--ink); }
.slot-grid button:hover:not(:disabled) { border-color: var(--terra); }
.slot-grid button:disabled { text-decoration: line-through; color: rgba(22,32,43,.3); background: transparent; cursor: not-allowed; }
.slot-grid button.is-selected { background: var(--terra); border-color: var(--terra); color: #fff; }
.summary-contact { display: grid; gap: 2px; text-align: center; font-size: 14px; color: rgba(255,255,255,.75); }
.summary-contact small { color: #f0b48f; font-weight: 700; }
.summary-contact a:hover { color: #fff; }

@media (max-width: 960px) {
  .appt-hero-inner { grid-template-columns: 1fr; }
  .appt-steps-nav { grid-auto-flow: column; overflow-x: auto; }
  .appt-steps-nav li { white-space: nowrap; }
}
@media (max-width: 640px) {
  .slot-picker { grid-template-columns: 1fr; }
  .appt-steps-nav { display: none; }
}
.pill-options label, .size-toggle label, .swatches label, .switch { position: relative; }
.pill-options input, .size-toggle input, .swatches input, .switch input { left: 0; top: 0; width: 1px; height: 1px; }
.file-drop { position: relative; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; max-width: none; }
.file-drop::before { content: "↑"; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--terra); font-weight: 700; display: grid; place-items: center; border: 1px solid var(--line); }


/* ---------- Product tabs + reviews ---------- */
.pd-tabs { margin-top: 28px; border-top: 1px solid var(--line); }
.tab-bar { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tab-bar button { flex: none; background: none; border: 0; padding: 18px 22px; font-family: var(--serif); font-size: 20px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; transition: color .2s; }
.tab-bar button:hover { color: var(--ink); }
.tab-bar button.is-active { color: var(--ink); border-bottom-color: var(--terra); }
.tab-count { display: inline-block; min-width: 24px; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--linen); font-family: var(--sans); font-size: 12px; font-weight: 700; text-align: center; vertical-align: 2px; }
.ptab { display: none; padding: 30px 0 8px; max-width: 980px; color: var(--ink-2); line-height: 1.75; animation: fadeUp .35s var(--ease); }
.ptab.is-active { display: block; }
.ptab p { margin: 0 0 14px; }
.ptab--wide, .ptab[data-pane="reviews"] { max-width: none; }

.rev-layout { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.rev-summary { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); text-align: center; }
.rev-avg { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--ink); }
.rev-summary .stars { display: block; margin: 8px 0 4px; font-size: 20px; }
.rev-summary small { color: var(--muted); }
.rev-bars { margin-top: 18px; display: grid; gap: 8px; text-align: left; font-size: 13px; }
.rev-bar { display: grid; grid-template-columns: 26px 1fr 22px; gap: 10px; align-items: center; color: var(--muted); }
.rev-bar i { height: 7px; border-radius: 99px; background: var(--linen); overflow: hidden; }
.rev-bar i b { display: block; height: 100%; background: var(--brass); border-radius: inherit; }
.rev-list { display: grid; gap: 14px; margin-bottom: 30px; }
.rev-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.rev-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.rev-head b { color: var(--ink); }
.rev-head time { font-size: 13px; color: var(--muted); }
.rev-card h5 { margin: 6px 0 4px; font-size: 16px; color: var(--ink); }
.rev-card p { margin: 0; white-space: pre-line; }
.rev-empty { padding: 26px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; color: var(--muted); }
.rev-form { display: grid; gap: 14px; padding: 26px; border-radius: 20px; background: var(--linen); }
.rev-form h4 { margin: 0; font-family: var(--serif); font-size: 22px; color: var(--ink); }
.rev-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.rev-form input, .rev-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); resize: vertical; }
.rev-form input:focus, .rev-form textarea:focus { outline: none; border-color: var(--terra); }
.rev-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rev-stars-input { display: flex; gap: 4px; }
.rev-stars-input button { background: none; border: 0; padding: 0 2px; font-size: 32px; line-height: 1; color: #cfc6b8; cursor: pointer; transition: color .15s, transform .15s; }
.rev-stars-input button.is-on { color: var(--brass); }
.rev-stars-input button:hover { transform: scale(1.12); }
.rev-err { margin: 0; min-height: 18px; font-size: 13px; color: #b3341a; }
.rev-form .btn { justify-self: start; }
@media (max-width: 960px) {
  .rev-layout { grid-template-columns: 1fr; }
  .rev-summary { position: static; }
  .tab-bar button { padding: 14px 16px; font-size: 17px; }
}
@media (max-width: 560px) { .rev-fields { grid-template-columns: 1fr; } }


/* ---------- Price + live total ---------- */
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 16px; }
.pd-price[hidden] { display: none; }
.pd-price-now { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); line-height: 1; color: var(--ink); }
.pd-price-was { font-size: 18px; color: var(--muted); }
.pd-price-save { padding: 4px 11px; border-radius: 999px; background: #e4f3e9; color: #1d5e37; font-size: 13px; font-weight: 700; }
.pd-price small { color: var(--muted); font-size: 13px; }
.pd-total { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: var(--linen); border: 1px solid var(--line); }
.pd-total[hidden] { display: none; }
.pd-total-calc { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.pd-total-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--ink); }
.pd-total-sum strong { font-family: var(--serif); font-size: 30px; font-weight: 600; transition: transform .25s; }
.pd-total-sum strong.is-bump { transform: scale(1.06); }
.pd-total small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
