/* Veloria London shop pages: product list, product page, bag, checkout.
   Loaded after storefront.css, which holds the header, footer and the base look. */

.wrap-wide { width: min(1200px, 100% - 48px); margin-inline: auto; }
.btn-dark.small { margin-top: 12px; padding: 10px 18px; }

/* ---------- buttons shared by the shop pages ---------- */
.btn-buy, .btn-add, .btn-light { display: inline-flex; align-items: center; justify-content: center; text-align: center; height: 50px; padding: 0 22px; font-size: 16px; text-transform: uppercase; letter-spacing: .01em; border: 0; border-radius: 0; transition: background .2s, color .2s, opacity .2s; }
.btn-buy { background: var(--pink); color: #fff; }
.btn-buy:hover { background: #ee5088; }
.btn-add { background: #000; color: #fff; }
.btn-add:hover { background: #222; }
.btn-light { background: #fff; color: #111; border: 1px solid #111; height: 44px; font-size: 13px; }
.btn-light:hover { background: #111; color: #fff; }
.btn-buy[disabled], .btn-add[disabled] { opacity: .4; cursor: not-allowed; }
.btn-buy.block { display: flex; width: 100%; margin-top: 18px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: #444; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--pink); }
.fine { font-size: 12px; color: #666; }
.fine.center { text-align: center; margin-top: 12px; }

/* ---------- product list ---------- */
.shop-hero { position: relative; isolation: isolate; display: grid; place-content: center; text-align: center; min-height: clamp(180px, 21.3vw, 307px); padding: 24px; color: #fff; background: var(--shop-hero, none) center 37% / cover no-repeat, #7a1f43; }
.shop-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .1); }
.shop-hero h1 { font-size: clamp(30px, 3.75vw, 54px); text-transform: uppercase; letter-spacing: .01em; }
.shop-hero p { margin-top: 10px; font-size: 16px; }

.shop { padding: 30px 0 90px; }
.shop .coll-chips { margin: 0 0 6px; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; font-size: 13px; min-height: 30px; margin-bottom: 14px; }
.shop-tools { display: flex; align-items: center; gap: 30px; flex: 1 1 auto; }
.shop-count { margin: 0 auto 0 0; color: #777; }
.has-filters .shop-tools { flex: 0 0 auto; margin-left: auto; }
.has-filters .shop-count { margin-right: 0; }
.dd { position: relative; }
.dd summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; color: #111; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary svg { width: 15px; height: 15px; transition: transform .2s; }
.dd[open] summary svg { transform: rotate(180deg); }
.dd ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 190px; background: #fff; border: 1px solid #eee; box-shadow: 0 14px 30px rgba(0, 0, 0, .12); padding: 6px 0; }
.dd ul a { display: block; padding: 9px 18px; white-space: nowrap; }
.dd ul a:hover { background: #f6f3f1; }
.dd ul a.is-active { font-weight: 600; }

/* ---------- filters: the bar above the products and the panel that slides in from the right ---------- */
.fby { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.fby::-webkit-scrollbar { display: none; }
.fby-label { font-size: 14px; font-weight: 600; margin-right: 2px; white-space: nowrap; color: var(--ink); }
.fby-all, .fchip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; flex: none; transition: background .15s, color .15s; }
.fchip { padding: 0 16px; }
.fby-all { width: 46px; }
.fby-all svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fby-all:hover, .fchip:hover { background: var(--blush); }
.fby-all.is-on, .fchip.is-on { background: var(--ink); color: #fff; }
.fby-all em, .fchip em { font-style: normal; font-size: 11px; line-height: 1; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fby-all:focus-visible, .fchip:focus-visible, .fd-close:focus-visible, .fd-apply:focus-visible, .fd-clear:focus-visible, .fsec > summary:focus-visible, .fband > summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.fover { position: fixed; inset: 0; z-index: 130; background: rgba(17, 17, 17, .5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.fover.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
body.fd-open { overflow: hidden; }

.fdrawer { background: #fff; border: 1px solid #eee; margin-bottom: 22px; }
.js .fdrawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 140; width: min(440px, 100vw); margin: 0; border: 0; box-shadow: -18px 0 40px rgba(0, 0, 0, .18); transform: translateX(104%); visibility: hidden; transition: transform .28s ease, visibility 0s .28s; }
.js .fdrawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.fdrawer:focus { outline: none; }
.fdrawer form { display: flex; flex-direction: column; height: 100%; min-height: 0; }
html:not(.js) .fby, html:not(.js) .fover, html:not(.js) .fd-close { display: none; }

.fd-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 30px; border-bottom: 1px solid #eee; flex: none; }
.fd-head h2 { margin: 0; font: 700 26px/1.1 var(--sans); color: var(--ink); }
.fd-close { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.fd-close svg { width: 28px; height: 28px; }
.fd-body { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
html:not(.js) .fd-body { max-height: 520px; }

.fsec { border-bottom: 1px solid #eee; }
.fsec > summary, .fband > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; user-select: none; }
.fsec > summary::-webkit-details-marker, .fband > summary::-webkit-details-marker { display: none; }
.fsec > summary { min-height: 64px; padding: 0 30px; font: 700 13px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.fsec > summary .fsec-name { flex: 1; }
.fsec > summary::after, .fband > summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; letter-spacing: 0; }
.fsec[open] > summary::after, .fband[open] > summary::after { content: "\2212"; }
.fsec-picked { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fsec-picked[hidden] { display: none; }
.fsec-body { background: #f8f4f6; padding: 4px 0 8px; }

.fband { border-bottom: 1px solid #ece4e8; }
.fband:last-child { border-bottom: 0; }
.fband > summary { min-height: 56px; padding: 0 30px; font: 700 14px var(--sans); letter-spacing: .16em; }
.fband > summary .fband-name { flex: 1; }
.fband > summary .fcount { font: 400 12px var(--sans); letter-spacing: 0; }
.fband.is-zero > summary { opacity: .45; }
.fband.has-picked > summary .fband-name::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--pink); vertical-align: middle; }

.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; padding: 6px 30px 18px; }
.fcheck { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 15px; color: var(--text); }
.fcheck input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid #333; background: #fff; display: grid; place-content: center; cursor: pointer; }
.fcheck input::after { content: ""; width: 11px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.fcheck input:checked { background: var(--ink); border-color: var(--ink); }
.fcheck input:checked::after { opacity: 1; }
.fcheck input:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.fcheck .dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }
.fcheck .fname { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fcount { margin-left: auto; color: #8a6b78; font-size: 12px; }
.fcheck.is-zero { opacity: .4; cursor: not-allowed; }
.fcheck.is-zero input { cursor: not-allowed; }

.fd-foot { flex: none; padding: 16px 30px 18px; border-top: 1px solid #eee; background: #fff; }
.fd-status { margin: 0 0 12px; font-size: 14px; color: var(--text); }
.fd-apply { display: block; width: 100%; height: 52px; border: 0; background: var(--pink); color: #fff; font: 700 14px var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .15s, opacity .15s; }
.fd-apply:hover { background: #e84f86; }
.fd-apply:disabled { background: var(--blush); color: #fff; cursor: not-allowed; }
.fd-apply.is-loading { opacity: .7; }
.fd-clear { display: block; width: max-content; margin: 14px auto 0; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); background: none; border: 0; cursor: pointer; }
.fd-clear:hover { color: var(--pink); }

@media (max-width: 560px) {
    .js .fdrawer { width: 100vw; }
    .fd-head, .fd-foot { padding-left: 20px; padding-right: 20px; }
    .fd-head h2 { font-size: 22px; }
    .fsec > summary, .fband > summary { padding: 0 20px; }
    .fgrid { padding: 6px 20px 16px; column-gap: 12px; }
    .shop-bar { gap: 10px 16px; }
    .fby { flex: 1 1 100%; order: 3; }
    .has-filters .shop-tools { flex: 1 1 100%; order: 1; margin-left: 0; justify-content: space-between; }
    .has-filters .shop-count { margin-right: auto; }
}

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 19px; }
.scard .card-media { aspect-ratio: 286 / 335; }
.scard-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.scard-title { font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.2; }
.scard-title a:hover { color: var(--pink); }
.scard-price { font-family: var(--display); font-size: 17px; white-space: nowrap; }
.scard-price s { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.scard-line { font-size: 12.5px; color: #222; margin-top: 4px; }
.scard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; min-height: 36px; }
.scard .dots { margin-top: 0; gap: 7px; }
.scard .dot { width: 16px; height: 16px; }
.quick-add { margin: 0; }
.cart-btn { display: grid; place-items: center; width: 35px; height: 35px; border: 0; border-radius: 9px; background: var(--pink); color: #fff; padding: 0; transition: background .2s, transform .2s; }
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn:hover { background: #ee5088; transform: translateY(-1px); }
.cart-btn.is-off { opacity: .35; cursor: not-allowed; }
.cart-btn.is-off:hover { background: var(--pink); transform: none; }

/* ---------- product page ---------- */
.preview-bar { background: #fff6d6; color: #5a4600; text-align: center; font-size: 13px; padding: 9px 12px; border-bottom: 1px solid #f0e2a0; }
.pdp { padding: 48px 0 30px; }
.pdp-grid { display: grid; grid-template-columns: 172px minmax(0, 1fr) minmax(0, 1.04fr); gap: 0 12px; align-items: start; }
.pdp-grid.no-thumbs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.pdp-grid.no-thumbs .pdp-main { aspect-ratio: 3 / 4; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 6px; max-height: 760px; overflow-y: auto; scrollbar-width: none; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb { padding: 0; border: 2px solid transparent; background: #f4f1ee; flex: none; aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer; }
.pdp-thumb[hidden], .pdp-thumbs[hidden] { display: none; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.is-active { border-color: #000; }
.pdp-main { aspect-ratio: 2 / 3; background: #f4f1ee; overflow: hidden; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-noimg { height: 100%; display: grid; place-items: center; color: #999; }

.pdp-panel { background: #ededed; padding: 22px 22px 24px 28px; min-height: 100%; }
.pdp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.pdp-name { flex: 1; min-width: 0; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.12; }
.pdp-price { font-size: clamp(22px, 2.3vw, 31px); white-space: nowrap; }
.pdp-price s { font-size: .55em; color: #777; margin-right: 4px; }
.pdp-code { font-size: 12.5px; margin: 8px 0 26px; }
.pdp-code b { font-weight: 700; }

.opt-group { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.opt-group legend { font-size: 20px; padding: 0; margin-bottom: 12px; }
.opt-group legend b { font-weight: 400; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt, .swatch { position: relative; cursor: pointer; }
.opt input, .swatch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 40px; background: #fff; border: 2px solid #fff; font-size: 15px; transition: border-color .15s; }
.opt input:checked + span { border-color: #000; }
.opt input:focus-visible + span, .swatch input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.opt.is-out span { color: #b4b4b4; text-decoration: line-through; }
.swatch span { display: block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.swatch input:checked + span { box-shadow: 0 0 0 2px #000; }
.swatch.is-out span { opacity: .35; }

.pdp-buy { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px 14px; margin-top: 30px; }
.pdp-buy .btn-buy { grid-column: 1 / -1; }
.qty { display: flex; align-items: center; height: 50px; background: #fff; border: 1px solid #8a8a8a; }
.qty input { width: 100%; min-width: 0; border: 0; background: transparent; font: 700 24px/1 var(--sans); padding: 0 0 0 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 0; }
.qty-arrows { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding-right: 12px; }
.qty-arrows button { width: 16px; height: 12px; padding: 0; border: 0; background: none; position: relative; }
.qty-arrows button::before { content: ""; position: absolute; left: 1px; border: 7px solid transparent; }
.qty-arrows button:first-child::before { top: -2px; border-bottom: 10px solid #b0b0b0; border-top: 0; }
.qty-arrows button:last-child::before { top: 3px; border-top: 10px solid #b0b0b0; border-bottom: 0; }
.qty-arrows button:hover::before { border-bottom-color: #555; border-top-color: #555; }
.qty-arrows button:first-child:hover::before { border-top-color: transparent; }
.qty-arrows button:last-child:hover::before { border-bottom-color: transparent; }
.pdp-stock { min-height: 20px; font-size: 13px; color: #b3261e; margin-top: 10px; }
.pdp-error { font-size: 13px; color: #b3261e; margin-top: 4px; }

.acc { margin-top: 18px; }
.acc-item summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; padding: 14px 4px; font-size: 17px; color: #222; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary svg { width: 26px; height: 26px; color: #444; transition: transform .2s; }
.acc-item[open] summary svg { transform: rotate(180deg); }
.acc-body { padding: 0 4px 16px; font-size: 14.5px; line-height: 1.6; color: #333; }
.acc-body p + p { margin-top: 10px; }
.spec { margin: 14px 0 0; display: grid; gap: 6px; }
.spec div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.spec dt { color: #777; }
.spec dd { margin: 0; }
.tbl-wrap { overflow-x: auto; margin-bottom: 12px; }
.tbl { border-collapse: collapse; width: 100%; font-size: 13.5px; background: #fff; }
.tbl th, .tbl td { border: 1px solid #e3e3e3; padding: 7px 10px; text-align: center; font-weight: 400; }
.tbl thead th { background: #f6e9ef; font-weight: 600; }
.tbl tbody th { font-weight: 600; background: #fafafa; }

.calc p { margin-bottom: 10px; }
.calc-unit { display: flex; gap: 18px; margin-bottom: 10px; font-size: 14px; }
.calc-unit input { accent-color: var(--pink); }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.calc-fields label { display: grid; gap: 4px; font-size: 13px; color: #555; min-width: 0; }
.calc-fields input { width: 100%; min-width: 0; height: 40px; border: 1px solid #c9c9c9; background: #fff; padding: 0 10px; font: inherit; font-size: 15px; }
.calc-go { margin-top: 12px; height: 42px; padding: 0 20px; background: #000; color: #fff; border: 0; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.calc-go:hover { background: #222; }
.calc-result { margin-top: 12px; font-weight: 600; min-height: 22px; }

.pdp-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.pdp-note { font-size: 16px; }
.pdp-badges { display: flex; gap: 10px; margin-left: auto; }
.pdp-badge { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--pink); padding: 0; color: #111; }
.pdp-badge svg { width: 16px; height: 16px; }
.pdp-badge::after { content: attr(data-tip); position: absolute; right: -4px; bottom: calc(100% + 10px); width: 230px; background: #000; color: #fff; font-size: 12px; line-height: 1.45; text-align: left; padding: 9px 11px; border-radius: 8px; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s, transform .15s; z-index: 5; }
.pdp-badge:hover::after, .pdp-badge:focus-visible::after, .pdp-badge.open::after { opacity: 1; transform: none; }

.related { padding: 34px 0 96px; }
.related-title { font-size: clamp(30px, 3.6vw, 50px); text-transform: uppercase; margin-bottom: 30px; }
.related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* ---------- bag, checkout, thank you ---------- */
.page-title { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 26px; }
.bag { padding: 46px 0 90px; }
.flash { padding: 11px 14px; margin-bottom: 14px; font-size: 14px; border-radius: 6px; }
.flash.ok { background: #eaf6ee; color: #1b5e34; }
.flash.err { background: #fdecea; color: #8a1c14; }
.flash.small { font-size: 13px; margin-top: 10px; }
.flash ul { margin: 6px 0 0 18px; list-style: disc; }
.bag-empty { text-align: center; padding: 50px 0; }
.bag-empty p { margin-bottom: 22px; color: #555; }
.bag-empty .btn-dark { margin-top: 0; }
.bag-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.bag-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) 76px 110px; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid #eee; }
.bag-line:first-child { border-top: 0; padding-top: 0; }
.bag-img { display: block; aspect-ratio: 3 / 4; background: #f4f1ee; overflow: hidden; }
.bag-img img { width: 100%; height: 100%; object-fit: cover; }
.bag-name { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.2; }
.bag-name a:hover { color: var(--pink); }
.bag-variant { font-size: 13px; color: #666; margin-top: 4px; }
.bag-unit { font-size: 13px; margin: 4px 0 8px; }
.bag-qty input { width: 100%; height: 42px; border: 1px solid #cfcfcf; padding: 0 10px; font: inherit; font-size: 16px; }
.bag-total { text-align: right; font-weight: 600; padding-top: 10px; }
.bag-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 16px; border-top: 1px solid #eee; }
.bag-summary, .thanks-order { background: #f6f3f1; padding: 24px; }
.sum-title { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: .04em; margin-bottom: 14px; }
.co-form .sum-title:not(:first-child) { margin-top: 30px; }
.sum { margin: 0 0 12px; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.sum dd { margin: 0; }
.sum .good { color: #1b7a43; }
.sum .grand { border-top: 1px solid #d8d3d0; margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 700; }
.coupon-form { display: flex; gap: 8px; margin-top: 14px; }
.coupon-form input { flex: 1; min-width: 0; height: 44px; border: 1px solid #cfcfcf; padding: 0 12px; font: inherit; font-size: 14px; text-transform: uppercase; background: #fff; }
.coupon-applied { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; }

.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fld { display: grid; gap: 6px; font-size: 13px; color: #444; }
.fld.wide { grid-column: 1 / -1; }
.fld input, .fld textarea { width: 100%; border: 1px solid #cfcfcf; background: #fff; padding: 11px 12px; font: inherit; font-size: 15px; color: #111; border-radius: 0; }
.fld input:focus, .fld textarea:focus, .coupon-form input:focus, .bag-qty input:focus { outline: 2px solid var(--pink); outline-offset: 0; border-color: var(--pink); }
.opt-note { color: #999; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pay-methods { display: grid; gap: 10px; }
.pay { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #d6d6d6; padding: 14px 16px; cursor: pointer; background: #fff; }
.pay:has(input:checked) { border-color: #000; box-shadow: 0 0 0 1px #000; }
.pay input { accent-color: var(--pink); margin-top: 3px; }
.pay small { display: block; color: #666; margin-top: 2px; font-size: 12.5px; }
.mini { margin-bottom: 14px; display: grid; gap: 12px; }
.mini li { display: flex; align-items: center; gap: 12px; }
.mini-img { position: relative; width: 52px; aspect-ratio: 3 / 4; background: #e9e4e1; flex: none; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-img i { position: absolute; top: -7px; right: -7px; background: #555; color: #fff; font-style: normal; font-size: 11px; min-width: 20px; height: 20px; border-radius: 20px; display: grid; place-items: center; padding: 0 5px; }
.mini-name { flex: 1; font-size: 14px; }
.mini-name small { display: block; color: #777; font-size: 12px; }
.mini-price { font-size: 14px; white-space: nowrap; }

.thanks { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.thanks-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--pink); color: #fff; margin-bottom: 18px; }
.thanks-icon svg { width: 32px; height: 32px; }
.thanks-card .lead { margin-bottom: 18px; max-width: 560px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.thanks-actions .btn-dark { margin-top: 0; height: 50px; display: inline-flex; align-items: center; }

/* ---------- little message at the bottom of the screen ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; max-width: min(92vw, 460px); background: #111; color: #fff; padding: 13px 18px; font-size: 14px; border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.toast[hidden] { display: none; }
.toast.err { background: #8a1c14; }
.toast a { color: #fff; text-decoration: underline; margin-left: 10px; white-space: nowrap; }

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
    .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pdp-grid, .pdp-grid.no-thumbs { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .pdp-thumbs { flex-direction: row; max-height: none; overflow-x: auto; order: 2; }
    .pdp-thumb { width: 84px; }
    .pdp-main { order: 1; }
    .pdp-panel { order: 3; }
    .bag-grid, .thanks { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
    .shop-grid { gap: 12px; }
    .scard-row { flex-direction: column; gap: 2px; }
    .bag-line { grid-template-columns: 74px minmax(0, 1fr) 64px; }
    .bag-total { grid-column: 2 / -1; text-align: left; padding-top: 0; }
    .co-grid { grid-template-columns: minmax(0, 1fr); }
    .pdp-foot { flex-wrap: wrap; }
    .pdp-badge::after { width: 200px; }
}

/* ================= customer accounts: sign in, create account, checkout choice, my account ================= */
.auth-wrap { padding: 56px 0 96px; }
.auth-card { width: min(460px, 100% - 32px); margin-inline: auto; }
.auth-card .page-title { text-align: center; margin-bottom: 10px; }
.auth-sub { text-align: center; color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 28px; }
.auth-form { display: grid; gap: 16px; }
.auth-form .btn-buy, .auth-form .btn-add { width: 100%; margin-top: 4px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; flex-wrap: wrap; }
.check { display: inline-flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #444; cursor: pointer; }
.check input { flex: none; width: 16px; height: 16px; margin-top: 1px; accent-color: #000; }
.auth-alt { text-align: center; font-size: 14px; margin-top: 24px; color: #555; }
.text-link { color: #111; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.text-link:hover { color: var(--pink); }
.fld .hint { font-size: 12px; color: #888; }
.fld .err-text { font-size: 12px; color: #b3261e; }
.fld input[aria-invalid="true"] { border-color: #b3261e; }
.pw-field { position: relative; display: block; }
.pw-field input { padding-right: 68px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #555; cursor: pointer; }
.pw-toggle:hover { color: #000; }
.btn-light.block, .btn-add.block { display: flex; width: 100%; }

/* checkout: sign in, create an account or carry on as a guest */
.co-start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #e6e2df; }
.co-start > section { padding: 34px 36px; }
.co-start > section + section { border-left: 1px solid #e6e2df; background: #f6f3f1; }
.co-start h2 { font-family: var(--display); font-weight: 400; font-size: 24px; margin-bottom: 6px; }
.co-start .muted { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.perks { display: grid; gap: 10px; margin: 0 0 22px; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks svg { width: 18px; height: 18px; color: var(--pink); flex: none; margin-top: 1px; }
.or-line { display: flex; align-items: center; gap: 14px; margin: 26px 0; color: #999; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: #ddd; }
.co-start-bag { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: #555; }
.co-signed { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 18px; background: #f6f3f1; font-size: 14px; }

/* my account */
.acct { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.acct-nav { display: grid; gap: 2px; position: sticky; top: 20px; }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; font: inherit; font-size: 14px; color: #333; text-align: left; background: none; border: 0; border-left: 2px solid transparent; cursor: pointer; }
.acct-nav svg { width: 18px; height: 18px; flex: none; }
.acct-nav a:hover, .acct-nav button:hover { background: #f6f3f1; }
.acct-nav a.on { border-left-color: var(--pink); background: #f6f3f1; font-weight: 600; }
.acct-hello { color: #666; font-size: 15px; margin: -14px 0 26px; }
.acct-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.acct-card { border: 1px solid #e6e2df; padding: 22px 24px; }
.acct-card.wide { grid-column: 1 / -1; }
.acct-card h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 21px; margin-bottom: 12px; }
.acct-card h2 a { font-family: inherit; font-size: 13px; letter-spacing: 0; }
.acct-card p, .acct-card address { font-size: 14px; line-height: 1.7; color: #333; font-style: normal; }
.acct-card .muted { color: #888; }
.acct-form { display: grid; gap: 16px; max-width: 620px; }
.acct-form .btn-dark { margin-top: 4px; justify-self: start; height: 46px; padding: 0 24px; display: inline-flex; align-items: center; }
.acct-section + .acct-section { margin-top: 40px; padding-top: 34px; border-top: 1px solid #eee; }
.acct-section .sum-title { margin-bottom: 6px; }
.acct-section .muted { color: #777; font-size: 14px; margin-bottom: 18px; }
.verify-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 13px 16px; margin-bottom: 24px; background: #fff4e0; color: #6b4600; font-size: 14px; }
.verify-bar form { margin: 0; }

.order-rows { border-top: 1px solid #eee; }
.order-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto minmax(0, .8fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.order-row .num { font-weight: 600; }
.order-row .date, .order-row .count { color: #666; }
.order-row .total { text-align: right; font-weight: 600; }
.order-row .go { font-size: 13px; }
.st-badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; white-space: nowrap; background: #f1eeec; color: #444; }
.st-badge.st-pending, .st-badge.st-confirmed, .st-badge.st-packed { background: #fff4e0; color: #8a5a00; }
.st-badge.st-shipped { background: #e7f0fb; color: #1d4f91; }
.st-badge.st-delivered { background: #eaf6ee; color: #1b5e34; }
.st-badge.st-cancelled, .st-badge.st-returned { background: #f1eeec; color: #777; }
.empty-box { text-align: center; padding: 42px 20px; border: 1px dashed #ddd; color: #666; font-size: 14px; }
.empty-box .btn-dark { margin-top: 16px; }

.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.order-head .page-title { margin-bottom: 4px; }
.order-head p { color: #666; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 34px; padding: 0; list-style: none; }
.steps li { position: relative; padding-top: 30px; text-align: center; font-size: 12.5px; color: #999; }
.steps li::before { content: ""; position: absolute; top: 5px; left: 50%; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #ddd; transform: translateX(-50%); }
.steps li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: #ddd; }
.steps li:first-child::after { display: none; }
.steps li.done { color: #111; }
.steps li.done::before, .steps li.done::after { background: var(--pink); }
.steps li.now { font-weight: 600; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.track-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; margin-bottom: 24px; background: #e7f0fb; color: #1d3a63; font-size: 14px; }
.track-box .btn-dark { margin-top: 0; height: 42px; display: inline-flex; align-items: center; }
.order-lines { border-top: 1px solid #eee; }
.order-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.order-line .bag-img { width: 64px; }
.order-line small { display: block; color: #777; margin-top: 3px; }

@media (max-width: 900px) {
    .acct { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .acct-nav { position: static; display: flex; overflow-x: auto; gap: 6px; border-bottom: 1px solid #eee; }
    .acct-nav a, .acct-nav button { width: auto; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 10px 12px; }
    .acct-nav a.on { border-bottom-color: var(--pink); background: none; }
    .order-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .co-start { grid-template-columns: minmax(0, 1fr); }
    .co-start > section { padding: 26px 20px; }
    .co-start > section + section { border-left: 0; border-top: 1px solid #e6e2df; }
    .acct-cards { grid-template-columns: minmax(0, 1fr); }
    .order-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
    .order-row .date, .order-row .count { grid-column: 1; }
    .order-row .total { grid-column: 2; grid-row: 1; }
    .order-row .st { grid-column: 2; grid-row: 2; text-align: right; }
    .order-row .go { grid-column: 2; grid-row: 3; text-align: right; }
    .steps li { font-size: 11px; }
}
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; font-size: 14px; }
.auth-card .page-title { font-size: clamp(30px, 3vw, 40px); }
@media (max-width: 760px) { .co-start > section + section { order: -1; border-top: 0; border-bottom: 1px solid #e6e2df; } }

/* ================= returns and exchanges ================= */
.rt-sub { margin: -6px 0 22px; color: #555; font-size: 15px; }
.rt-card { border: 1px solid #e6e2df; background: #fff; padding: 16px 18px; margin-bottom: 14px; max-width: 760px; }
.rt-head { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 15px; }
.rt-what { margin: 8px 0 4px; font-size: 14px; color: #333; }
.rt-say { margin: 0 0 4px; font-size: 14px; color: #555; }
.rt-reply { margin: 6px 0 0; padding: 10px 12px; background: #f6f3f1; font-size: 14px; line-height: 1.55; }
.rt-status { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: #f4f1ee; color: #555; }
.rt-status.is-requested { background: #fff4dc; color: #8a5a00; }
.rt-status.is-approved, .rt-status.is-received { background: #e6edff; color: #2a4aa8; }
.rt-status.is-completed { background: #e3f6ec; color: #16794a; }
.rt-status.is-rejected { background: #fde4e7; color: #b42335; }
.rt-status.is-cancelled { background: #eceaf1; color: #5d5a6b; }
.rt-form { max-width: 760px; margin-top: 26px; }
.rt-form .sum-title { margin-top: 26px; }
.rt-hint { margin: -4px 0 12px; font-size: 14px; color: #666; }
.rt-lines { border: 1px solid #e6e2df; background: #fff; }
.rt-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) 130px; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid #eee; }
.rt-line:first-child { border-top: 0; }
.rt-line small { display: block; margin-top: 3px; color: #777; font-size: 13px; }
.rt-line select, .rt-grid select { width: 100%; height: 44px; border: 1px solid #cfcfcf; padding: 0 10px; font: inherit; font-size: 16px; background: #fff; }
.rt-grid { margin-top: 16px; }
.rt-grid input[type=file] { padding: 10px 0; font-size: 14px; }
.rt-rules { margin: 16px 0 14px; }
.rt-account { margin-top: 28px; }
.rt-account p { margin: 0 0 8px; font-size: 14px; }
@media (max-width: 560px) { .rt-line { grid-template-columns: 56px minmax(0, 1fr); } .rt-line .rt-qty { grid-column: 1 / -1; } }

/* ================= the new design: product list and product page ================= */
.card-wrap { position: relative; }
.scard .wish-btn { top: 10px; right: 10px; width: 35px; height: 35px; border-radius: 9px; background: var(--pink); color: #fff; box-shadow: none; }
.scard .wish-btn svg { width: 22px; height: 22px; }
.scard .wish-btn:hover { background: #ee5088; color: #fff; }
.scard .wish-btn.is-on svg { fill: #fff; }
.scard .cart-btn, .scard .quick-add { position: absolute; right: 10px; bottom: 10px; z-index: 3; margin: 0; }
.scard .quick-add .cart-btn { position: static; }
.scard-sub { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; min-height: 24px; }
.scard-sub .scard-line { margin: 0; }
.scard-sub .dots { margin: 0; gap: 7px; margin-left: auto; }
.shop-tools { gap: 26px; }
.filter-open { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; color: #111; cursor: pointer; }
.filter-open svg { width: 15px; height: 15px; }
.filter-open em { font-style: normal; font-size: 11px; line-height: 1; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.filter-open:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.pdp-desc { margin: 2px 0 22px; font-size: 15px; line-height: 1.55; color: #333; }
.pdp-desc .pdp-lbl { display: block; font-size: 20px; color: #111; margin-bottom: 6px; }
.pdp-desc p + p { margin-top: 8px; }
.pdp-sizes { position: relative; }
.pdp-sizes .wish-pdp { position: absolute; top: auto; right: 0; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; box-shadow: none; }
.pdp-sizes .wish-pdp:hover { background: #ee5088; color: #fff; }
.pdp-sizes .wish-pdp.is-on svg { fill: #fff; }
.pdp-sizes .wish-pdp svg { width: 24px; height: 24px; }
.pdp-buy .btn-add, .pdp-buy .btn-buy { border-radius: 999px; }
.qty { border-radius: 16px; overflow: hidden; }
.related-title { font-size: clamp(30px, 3.6vw, 50px); }
