/* =====================================================================
   COMMERCE: clean header, currency menu, shop filters, product page,
   cart, checkout, auth, profile. Loaded last, so it overrides earlier rules.
   ===================================================================== */

/* ---------- Announcement + header: solid, no gradient ---------- */
.announce { background: #0b0b0c; border-bottom: 0; }
.announce-item b { color: var(--gold-soft); background: none; -webkit-text-fill-color: currentColor; }

.header {
  background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.header.scrolled { background: #fff; box-shadow: 0 8px 24px -16px rgba(0,0,0,.22); }
.header-inner { height: 104px; justify-content: space-between; }
.logo img { height: 86px; }
.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn, a.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); position: relative; }
.icon-btn:hover { background: var(--paper-2); }
.cart-count { top: 2px; right: 0; }
.menu-btn { margin-left: 10px; }

/* Currency: single-row trigger + clean dropdown */
.cur-wrap { position: relative; }
.currency { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 800; letter-spacing: .06em; background: #fff; color: var(--ink); transition: border-color .3s, background .3s; }
.currency:hover, .currency[aria-expanded="true"] { border-color: var(--ink); background: var(--paper-2); }
.cur-flag { font-size: 16px; line-height: 1; }
.cur-chev { transition: transform .3s; }
.currency[aria-expanded="true"] .cur-chev { transform: rotate(180deg); }
.cur-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lift); padding: 10px; z-index: 70; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.cur-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.cur-menu p { margin: 6px 10px 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cur-opt { width: 100%; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-align: left; transition: background .25s; }
.cur-opt:hover { background: var(--paper-2); }
.cur-opt.on { background: #fdf3f3; }
.cur-opt-flag { font-size: 20px; }
.cur-opt-body b { display: block; font-size: 14px; font-weight: 700; }
.cur-opt-body small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.cur-opt i { font-style: normal; color: var(--red-600); font-weight: 900; }

@media (max-width: 640px) {
  .header-inner { height: 84px; }
  .logo img { height: 66px; }
  .currency .cur-text { display: none; }
  .currency { padding: 0 10px; }
  .header-tools { gap: 2px; }
  .icon-btn, a.icon-btn { width: 38px; height: 38px; }
  .cur-menu { right: -60px; width: 240px; }
  .menu-btn { margin-left: 4px; }
}

/* ---------- Menu panel: solid, clean ---------- */
.menu-panel { background: #0b0b0c; }
.menu-logo { height: 80px; }

/* ---------- Shared commerce bits ---------- */
.page-head { padding: 150px 0 40px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-title-s { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 6vw, 84px); line-height: .92; letter-spacing: -.03em; margin: 18px 0 0; }
.dark-crumbs { color: var(--muted); }
.dark-crumbs a { color: var(--muted); transition: color .3s; }
.dark-crumbs a:hover { color: var(--red-600); }
.dark-crumbs b { color: var(--ink); }
.dark-crumbs span { color: #b8b8be; }
.muted-l { color: var(--muted); margin: 14px 0 0; }
.muted-s { color: var(--muted); font-size: 13px; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.fine.top { margin-bottom: 4px; }
.full { width: 100%; justify-content: center; }
.link-btn { font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; padding: 0; cursor: pointer; }
.link-btn:hover { color: var(--red-600); }
.link-btn.danger { color: var(--red-600); }
.empty-box { text-align: center; padding: 70px 30px; border: 1px dashed rgba(10,10,12,.2); border-radius: 24px; background: #fff; }
.empty-box.big { padding: 100px 30px; }
.empty-box h2, .empty-box h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; margin: 0 0 10px; font-size: 34px; }
.empty-box p { color: var(--muted); margin: 0 0 26px; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.form-err { color: var(--red-700); font-weight: 700; background: #fdf0f0; padding: 12px 16px; border-radius: 12px; margin: 0; }
.status { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--paper-2); }
.status.ok { background: #e7f6ec; color: #0f6b2f; }
.stat-grid, .activity { }
.price small { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.btn-sm { padding: 11px 16px; font-size: 12px; }
.btn-ghost:hover { color: #fff; }
.section-head-s { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head-s h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); margin: 0; letter-spacing: -.02em; }
.red { color: var(--red-600); }

/* ---------- Shop with filters ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.filters { position: sticky; top: 120px; display: grid; gap: 26px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 18px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.filters legend { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red-600); margin: 0; cursor: pointer; }
.check.radio input { border-radius: 50%; }
.shop-main { min-width: 0; }
.shop-tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.shop-search { flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; height: 52px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.shop-search:focus-within { border-color: var(--red-600); box-shadow: 0 0 0 5px rgba(194,1,22,.1); }
.shop-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.shop-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; min-width: 0; }
.shop-search button { font-size: 22px; line-height: 1; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 10px; height: 52px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 8px 0 18px; background: #fff; }
.sort span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sort select { border: 0; outline: 0; font: inherit; font-weight: 700; font-size: 14px; background: transparent; cursor: pointer; padding-right: 8px; }
.shop-status { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.shop-status b { color: var(--ink); }
.shop-grid { grid-template-columns: repeat(3, 1fr); }
.shop-grid.three { grid-template-columns: repeat(3, 1fr); }
.shop-card { border-radius: 22px; }
.shop-media { display: grid; place-items: center; text-decoration: none; }
.shop-media img { width: 70%; }
.shop-body h3 { margin: 8px 0 6px; }
.shop-body h3 a { color: inherit; }
.shop-meta { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.shop-card p { min-height: 0; }
.shop-foot .price { font-size: 20px; }

/* ---------- Product page ---------- */
.pdp { padding: 150px 0 110px; }
.pdp .crumbs { margin-bottom: 36px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
.pdp-gallery { position: sticky; top: 130px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.pdp-main { position: relative; aspect-ratio: 1 / 1.05; border-radius: 30px; background: radial-gradient(circle at 50% 40%, #fff, #ebe8e3); display: grid; place-items: center; overflow: hidden; }
.pdp-main img { width: 74%; animation: pageIn .7s var(--ease) backwards; }
.pdp-main .shop-badge { top: 20px; left: 20px; }
.pdp-thumbs { display: flex; gap: 12px; }
.thumb { width: 84px; height: 84px; border-radius: 16px; background: #f3f1ee; display: grid; place-items: center; border: 2px solid transparent; transition: border-color .3s; }
.thumb img { width: 70%; }
.thumb.on { border-color: var(--red-600); }
.pdp-info .eyebrow { margin-bottom: 14px; }
.pdp-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 5.6vw, 76px); line-height: .92; letter-spacing: -.03em; margin: 0 0 14px; }
.pdp-lead { font-size: 18px; color: var(--graphite); margin: 0 0 26px; font-weight: 600; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.pdp-price > span, .pdp-price > b { font-family: var(--display); font-weight: 900; font-size: 40px; }
.pdp-price .strike { text-decoration: line-through; color: var(--muted); font-size: 26px; }
.pdp-price b { color: var(--red-600); }
.pdp-price small { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec > div { padding: 16px 0; }
.spec > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.spec dt { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.spec dd { margin: 0; font-weight: 700; font-size: 15px; }
.meter { display: inline-flex; gap: 4px; }
.meter i { width: 14px; height: 8px; border-radius: 3px; background: #e5e2dd; }
.meter i.on { background: var(--red-600); }
.opt-group { margin-bottom: 24px; }
.opt-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-btn { padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; background: #fff; transition: border-color .3s, background .3s, color .3s; }
.pill-btn.wide { flex: 1; min-width: 200px; }
.pill-btn:hover { border-color: var(--ink); }
.pill-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.buy-row .btn { flex: 1; min-width: 150px; justify-content: center; }
.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 54px; padding: 0 6px; }
.qty-box button { width: 40px; height: 40px; border-radius: 50%; font-size: 20px; font-weight: 700; }
.qty-box button:hover { background: var(--paper-2); }
.qty-box span { min-width: 36px; text-align: center; font-weight: 800; }
.qty-box.sm { height: 44px; }
.qty-box.sm button { width: 32px; height: 32px; }
.added-note { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: #e7f6ec; color: #0f6b2f; font-weight: 700; font-size: 14px; opacity: 0; transform: translateY(-6px); max-height: 0; overflow: hidden; transition: all .5s var(--ease); }
.added-note.show { opacity: 1; transform: none; max-height: 80px; }
.added-note a { text-decoration: underline; }
.total-line { margin: 18px 0 0; font-size: 15px; font-weight: 700; }
.total-line span { color: var(--muted); font-weight: 500; font-size: 13px; }
.pdp-tabs { margin-top: 90px; border-top: 1px solid var(--line); padding-top: 40px; }
.tab-row { display: flex; gap: 30px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab { padding: 0 0 16px; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.on { color: var(--ink); border-color: var(--red-600); }
.tab-body { padding: 30px 0 0; max-width: 760px; }
.tab-body p { font-size: 17px; color: var(--graphite); margin: 0; }
.notes-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.notes-list li { font-size: 17px; font-weight: 700; padding-left: 26px; position: relative; }
.notes-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--red-600); }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.cart-table { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cart-head, .cart-row { display: grid; grid-template-columns: 1fr 160px 140px; gap: 20px; align-items: center; padding: 22px 28px; }
.cart-head { background: var(--paper-2); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 28px; }
.cart-row { border-top: 1px solid var(--line); }
.cart-prod { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.cart-thumb { width: 96px; height: 96px; border-radius: 18px; background: #f3f1ee; display: grid; place-items: center; }
.cart-thumb img { width: 76%; }
.cart-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 17px; display: block; margin-bottom: 4px; }
.cart-prod small { display: block; color: var(--muted); font-size: 13px; }
.cart-prod .link-btn { margin-top: 8px; font-size: 13px; }
.cart-line-total { font-family: var(--display); font-weight: 800; font-size: 20px; text-align: right; }
.cart-foot { display: flex; justify-content: space-between; padding: 22px 28px; border-top: 1px solid var(--line); }
.summary { position: sticky; top: 130px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 14px; }
.summary h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; }
.sum-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; }
.sum-row.note { font-size: 13px; color: #0f6b2f; font-weight: 700; background: #e7f6ec; padding: 10px 14px; border-radius: 12px; }
.sum-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; font-family: var(--display); font-weight: 900; font-size: 22px; }
.summary .btn { margin-top: 6px; }
.summary .fine { text-align: center; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.mini-line img { width: 56px; height: 56px; object-fit: contain; background: #f3f1ee; border-radius: 12px; }
.mini-line b { display: block; font-size: 14px; }
.mini-line small { color: var(--muted); font-size: 12px; }

/* ---------- Checkout ---------- */
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 14px 26px; }
.steps li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a4a4ab; }
.steps li span { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 12px; }
.steps li.on { color: var(--ink); }
.steps li.on span { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.steps li.done { color: var(--ink); }
.steps li.done span { background: var(--ink); border-color: var(--ink); color: #fff; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.checkout-main { display: grid; gap: 20px; }
.form-h { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; margin: 0; }
.option { display: grid; grid-template-columns: 22px 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color .3s, background .3s; }
.option:hover { border-color: var(--ink); }
.option.on { border-color: var(--red-600); background: #fff8f8; }
.option input { accent-color: var(--red-600); width: 18px; height: 18px; margin: 0; }
.opt-body b { display: block; font-size: 16px; }
.opt-body small { color: var(--muted); font-size: 14px; }
.opt-price { font-weight: 800; }
.review { display: grid; gap: 18px; }
.review > div { padding: 18px 20px; background: var(--paper-2); border-radius: 16px; display: grid; gap: 4px; }
.review span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.review small { color: var(--muted); }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.confirm { max-width: 760px; text-align: left; }
.confirm .lead { margin: 18px 0 30px; }
.track { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 0; border-left: 2px solid var(--line); }
.track li { position: relative; padding: 0 0 26px 30px; }
.track li::before { content: ''; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.track li.on::before { background: var(--red-600); border-color: var(--red-600); }
.track b { display: block; font-size: 17px; }
.track span { color: var(--muted); font-size: 14px; }
.confirm-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; padding-top: 0; }
.auth-art { position: relative; overflow: hidden; background: #0b0b0c; color: #fff; display: flex; align-items: flex-end; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.4); }
.auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0b0b0c 0%, rgba(11,11,12,.2) 70%); }
.auth-art-txt { position: relative; z-index: 2; padding: 60px; max-width: 560px; }
.auth-art-txt h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 68px); line-height: .92; letter-spacing: -.03em; margin: 16px 0 16px; }
.auth-art-txt p { color: #cfcfd5; font-size: 17px; margin: 0; }
.auth-form-wrap { display: grid; place-items: center; padding: 140px 40px 60px; background: #fff; }
.auth-form { width: min(440px, 100%); display: grid; gap: 20px; }
.auth-form h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 56px; line-height: .95; letter-spacing: -.03em; margin: 0; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.auth-alt { margin: 0; color: var(--muted); }
.auth-alt a { color: var(--red-600); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.pw-row { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; background: var(--paper-2); }
.pw-row input { flex: 1; border: 0; background: transparent; padding: 16px 4px; font: inherit; font-size: 16px; outline: 0; min-width: 0; }
.pw-row:focus-within { border-color: var(--red-600); background: #fff; }
.auth-form .field input { background: var(--paper-2); }
.auth-form .btn-primary { margin-top: 4px; }

/* ---------- Profile ---------- */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.profile-layout { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.pf-nav { display: grid; gap: 6px; position: sticky; top: 130px; }
.pf-tab { text-align: left; padding: 14px 18px; border-radius: 14px; font-weight: 700; font-size: 15px; transition: background .3s; }
.pf-tab:hover { background: var(--paper-2); }
.pf-tab.on { background: var(--ink); color: #fff; }
.pf-body { min-width: 0; display: grid; gap: 24px; }
.pf-h { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; margin: 10px 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 8px; }
.stat span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat b { font-family: var(--display); font-weight: 900; font-size: 40px; }
.activity { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.activity li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; align-items: center; }
.activity span { color: var(--muted); font-size: 14px; }
.activity small { color: var(--muted); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
table.orders { width: 100%; border-collapse: collapse; font-size: 15px; }
table.orders th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 20px; background: var(--paper-2); }
table.orders td { padding: 18px 20px; border-top: 1px solid var(--line); }
.sub-card { display: grid; grid-template-columns: 150px 1fr auto; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; align-items: center; }
.sub-img { background: #f3f1ee; border-radius: 18px; display: grid; place-items: center; aspect-ratio: 1; }
.sub-img img { width: 78%; }
.sub-body h3 { margin: 10px 0 6px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; }
.sub-body p { margin: 0 0 4px; font-size: 15px; }
.sub-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.sub-price { font-family: var(--display); font-weight: 900; font-size: 30px; text-align: right; }
.sub-price small { display: block; font-family: inherit; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.addr-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 8px; text-align: left; align-content: start; }
.addr-card b { font-size: 17px; }
.addr-card p { margin: 0; color: var(--muted); }
.addr-card.add { border-style: dashed; color: var(--muted); font-weight: 700; place-items: center; min-height: 160px; }
.addr-card.add:hover { color: var(--ink); border-color: var(--ink); }
.saved-note { color: #0f6b2f; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .shop-grid, .shop-grid.three { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { gap: 50px; }
}
@media (max-width: 1040px) {
  .shop-layout, .cart-layout, .checkout-layout, .pdp-grid, .profile-layout, .auth { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pdp-gallery { position: static; }
  .summary { position: static; }
  .pf-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .auth-art { min-height: 300px; }
  .auth-form-wrap { padding: 50px 24px 80px; }
}
@media (max-width: 640px) {
  .shop-grid, .shop-grid.three { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cart-head { display: none; }
  .cart-row { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .cart-line-total { text-align: left; }
  .spec { grid-template-columns: 1fr 1fr 1fr; }
  .spec > div { padding: 12px 0; }
  .spec > div + div { padding-left: 10px; }
  .stat-grid, .addr-grid { grid-template-columns: 1fr; }
  .sub-card { grid-template-columns: 1fr; }
  .sub-price { text-align: left; }
  .activity li { grid-template-columns: 1fr; }
  .pf-nav { grid-template-columns: 1fr 1fr; }
  .page-head { padding-top: 120px; }
  .pdp { padding-top: 120px; }
  .shop-tools { gap: 10px; }
  .sort { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .auth-form h1 { font-size: 44px; }
}

/* Bigger visible logo: the PNG has transparent padding, so scale it up */
.header-inner { height: 124px; }
.logo img { height: 118px; }
@media (max-width: 1040px) { .header-inner { height: 100px; } .logo img { height: 92px; } }
@media (max-width: 640px) { .header-inner { height: 86px; } .logo img { height: 72px; } }

/* ---------- Header hover: soft grey, slight nudge right, no two-state text/icon swap ---------- */
.header { transition: background-color .6s var(--ease), box-shadow .6s var(--ease); }
.header-inner { transition: transform .7s var(--ease); }
.header:hover { background: #f2f2f3; }
.header.scrolled:hover { background: #f2f2f3; }
.header:hover .header-inner { transform: translateX(12px); }
.menu-btn:hover { background: var(--ink); box-shadow: none; transform: none; }
.menu-btn:hover b:first-child, .menu-btn:hover b:last-child { transform: none; }

/* ---------- Brand film (videos from gennarocoffeeco.com) ---------- */
.film { padding: 110px 0; background: #0b0b0c; color: #fff; position: relative; overflow: hidden; }
.film-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.film-head .section-title { color: #fff; margin: 14px 0 0; }
.film-head p { max-width: 420px; color: rgba(255,255,255,.7); line-height: 1.7; margin: 0; }
.film-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.film-card { position: relative; border-radius: 26px; overflow: hidden; background: #000; aspect-ratio: 16 / 10; isolation: isolate; }
.film-card.tall { aspect-ratio: auto; }
.film-card video { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transform: scale(1.001); transition: filter 1.2s var(--ease), transform 1.2s var(--ease); }
.film-card:hover video { filter: grayscale(0) contrast(1.05); transform: scale(1.06); }
.film-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 28px 24px; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); z-index: 2; pointer-events: none; }
.film-cap small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.film-cap b { display: block; font-family: var(--display, inherit); font-size: 26px; line-height: 1.1; transform: translateY(14px); opacity: .9; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.film-card:hover .film-cap b { transform: none; opacity: 1; }
.film-cap span { display: block; margin-top: 6px; color: rgba(255,255,255,.75); font-size: 14px; }
.film-card.tall .film-cap b { font-size: 22px; }
.film-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; z-index: 3; transition: box-shadow .6s var(--ease); }
.film-card:hover::after { box-shadow: inset 0 0 0 1px rgba(194,1,22,.9), 0 30px 60px -30px rgba(194,1,22,.6); }
@media (max-width: 900px) { .film { padding: 80px 0; } .film-grid { grid-template-columns: 1fr; } .film-card, .film-card.tall { aspect-ratio: 16 / 10; } }

/* ---------- Cart drawer: right sidebar, opened from the header bag ---------- */
body.cart-lock { overflow: hidden; }
.cart-scrim { position: fixed; inset: 0; background: rgba(10,0,2,.55); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); z-index: 158; }
.cart-scrim.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); z-index: 160;
  background: #fff; color: var(--ink); display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -30px rgba(0,0,0,.45);
  transform: translateX(100%); visibility: hidden; transition: transform .7s var(--ease), visibility .7s;
}
.cart-drawer.open { transform: none; visibility: visible; }
.cd-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.cd-head h2 { font-family: var(--display); font-size: 30px; text-transform: uppercase; margin: 6px 0 0; line-height: 1; }
.cd-head h2 small { font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-left: 8px; text-transform: none; }
.cd-close { width: 44px; height: 44px; border-radius: 50%; position: relative; transition: background .3s; }
.cd-close:hover { background: var(--paper-2); }
.cd-close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: var(--ink); transition: transform .5s var(--ease); }
.cd-close span:first-child { transform: rotate(45deg); }
.cd-close span:last-child { transform: rotate(-45deg); }
.cd-close:hover span:first-child { transform: rotate(135deg); }
.cd-close:hover span:last-child { transform: rotate(45deg); }
.cd-body { flex: 1; overflow-y: auto; padding: 8px 28px; overscroll-behavior: contain; }
.cd-empty { text-align: center; padding: 60px 0; color: var(--muted); display: grid; gap: 22px; justify-items: center; }
.cd-lines { list-style: none; margin: 0; padding: 0; }
.cd-line { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cd-line:last-child { border-bottom: 0; }
.cd-thumb { width: 92px; height: 92px; border-radius: 16px; overflow: hidden; background: var(--paper-2); display: block; }
.cd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cd-info { display: grid; gap: 6px; align-content: start; }
.cd-name { font-weight: 800; font-size: 16px; color: var(--ink); }
.cd-info small { color: var(--muted); font-size: 13px; }
.cd-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.cd-row b { font-size: 16px; }
.cd-info .link-btn { justify-self: start; font-size: 13px; }
.cd-foot { padding: 22px 28px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: #fff; }
.cd-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.cd-sub b { font-size: 22px; font-family: var(--display); text-transform: uppercase; }
.cd-foot .fine { margin: 0; }
@media (max-width: 480px) { .cd-head, .cd-foot, .cd-body { padding-left: 20px; padding-right: 20px; } }

/* ---------- Product image: cursor-follow zoom ---------- */
.pdp-zoom { cursor: zoom-in; --zx: 50%; --zy: 50%; }
.pdp-zoom img { transform-origin: var(--zx) var(--zy); transition: transform .6s var(--ease); will-change: transform; }
.pdp-zoom:hover img { transform: scale(2.4); transition: transform .35s var(--ease); }
.pdp-zoom .zoom-hint {
  position: absolute; right: 18px; bottom: 18px; z-index: 3; padding: 8px 14px; border-radius: 999px;
  background: rgba(11,11,12,.82); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none; opacity: 1; transition: opacity .4s;
}
.pdp-zoom:hover .zoom-hint { opacity: 0; }
@media (hover: none) { .pdp-zoom { cursor: default; } .pdp-zoom .zoom-hint { display: none; } }
