/* On-site cart and checkout. Only used when checkout is enabled (html.has-cart). */
.cartfab{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:60;display:inline-flex;align-items:center;gap:.5rem;min-height:52px;padding:.55rem 1.1rem;border:0;border-radius:999px;cursor:pointer;
  font-family:var(--font-head,system-ui);font-weight:700;font-size:1.02rem;color:#fff;background:linear-gradient(180deg,#ff5f93,#d22e66);box-shadow:0 14px 30px -10px rgba(180,30,80,.75),inset 0 1px 0 rgba(255,255,255,.35)}
.cartfab__count{display:inline-grid;place-items:center;min-width:1.6rem;height:1.6rem;padding:0 .35rem;border-radius:999px;background:#fff;color:#c01f57;font-size:.9rem}
.cartfab.is-empty .cartfab__count{display:none}
html.cart-open{overflow:hidden}

.cdlg{border:0;padding:0;background:#fff;color:var(--ink,#14213d);max-width:none;max-height:none;font-family:var(--font-body,system-ui)}
.cdlg::backdrop{background:rgba(20,33,61,.55)}
.cdlg--cart{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100vw);height:100dvh;box-shadow:-18px 0 50px -20px rgba(14,72,150,.45)}
.cdlg--pick{width:min(720px,calc(100vw - 1.5rem));max-height:calc(100dvh - 1.5rem);border-radius:24px;margin:auto;overflow:auto;box-shadow:0 30px 70px -20px rgba(14,72,150,.5)}
.cdlg__body{padding:1.1rem 1.25rem 1.6rem;height:100%;overflow-y:auto;position:relative}
.cdlg__close{position:absolute;top:.6rem;right:.7rem;z-index:2;width:44px;height:44px;border:0;border-radius:50%;background:#f4eefb;color:var(--ink,#14213d);font-size:1.7rem;line-height:1;cursor:pointer}
.cdlg__title{font-size:1.5rem;margin:.2rem 2.6rem .6rem 0}
.cdlg__title:focus{outline:none}

.steps{display:flex;gap:.4rem;list-style:none;margin:0 0 1rem;padding:0;font-size:.82rem;font-weight:700;color:#6b7690}
.steps li{padding:.2rem .6rem;border-radius:999px;background:#f2f4f9}
.steps li.is-on{background:#ffe4ec;color:#b81d52}
.steps li.is-done{background:#e6f8ef;color:#13724a}

.clines{list-style:none;margin:0;padding:0}
.cline{display:grid;grid-template-columns:72px 1fr auto;gap:.8rem;align-items:start;padding:.8rem 0;border-bottom:1px solid #eee6f4}
.cline img,.cline__noimg{width:72px;height:72px;border-radius:14px;object-fit:cover;background:#ffe4ec}
.cline__title{margin:0;font-weight:800;font-size:.98rem;line-height:1.25}
.cline__var{margin:.1rem 0 .3rem;color:#5b6784;font-size:.88rem}
.cline__price{margin:0;font-family:var(--font-head,system-ui);font-weight:700}
.qty{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.qty button:not(.linkbtn){width:44px;height:44px;border-radius:50%;border:2px solid #e3d5f2;background:#fff;font-size:1.3rem;cursor:pointer;color:var(--ink,#14213d)}
.qty button:disabled{opacity:.4;cursor:not-allowed}
.qty output{min-width:1.6rem;text-align:center;font-weight:800}
.qty--small button:not(.linkbtn){width:44px;height:44px}
.qty__label{font-weight:700;margin-right:.3rem}
.linkbtn{background:none;border:0;padding:.5rem .3rem;min-height:44px;color:#0a63c9;text-decoration:underline;cursor:pointer;font:inherit;font-size:.92rem}

.csum{margin:1rem 0;padding:.9rem 1rem;border-radius:18px;background:#fbf6ff}
.csum__row{display:flex;justify-content:space-between;gap:1rem;padding:.2rem 0}
.csum__row--item{font-size:.92rem;color:#3d4866}
.csum__row--total{border-top:1px solid #e3d5f2;margin-top:.4rem;padding-top:.6rem;font-size:1.12rem}
.csum__note{margin:.3rem 0 0;font-size:.88rem;color:#5b6784}
.cbtn{width:100%;margin:.6rem 0 .2rem}
.cempty{margin:1.5rem 0}
.cnote{font-size:.86rem;color:#4a5875;margin:.7rem 0}
.cmsg{color:#b3162b;font-weight:700;margin:.5rem 0;min-height:1.2em}
.cbanner{margin:.8rem 0;padding:.7rem .9rem;border-radius:14px;background:#fff4c9;border:2px solid #f2c200;color:#5a4500;font-weight:700;font-size:.9rem}

.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.fld{display:flex;flex-direction:column;gap:.25rem}
.fld--wide{grid-column:1 / -1}
.fld label{font-weight:700;font-size:.88rem}
.fld__in{min-height:46px;padding:.55rem .75rem;border:2px solid #d9cdea;border-radius:12px;font:inherit;font-size:1rem;background:#fff;color:inherit;width:100%}
.fld__in:focus{border-color:#d22e66;outline:none;box-shadow:0 0 0 3px rgba(210,46,102,.25)}
.payel{margin:.8rem 0;min-height:120px}

.cdone{text-align:center;padding:1rem 0}
.cdone__icon{font-size:3rem;margin:0}
.cdone__ref{font-family:var(--font-head,system-ui);font-size:1.4rem;font-weight:700;margin:.2rem 0 .8rem}

.pick{display:grid;gap:1.1rem;padding:1.3rem}
.pick__img{width:100%;max-width:300px;aspect-ratio:1;object-fit:cover;border-radius:20px;background:#ffe4ec;margin:0 auto}
.pick__info h2{font-size:1.35rem;margin:0 2.2rem .3rem 0}
.pick__price{font-family:var(--font-head,system-ui);font-weight:700;font-size:1.3rem;margin:0 0 .6rem}
.pick__group{border:0;padding:0;margin:0 0 .8rem}
.pick__group legend{font-weight:800;margin-bottom:.3rem;padding:0}
.pick__opts{display:flex;flex-wrap:wrap;gap:.45rem}
.pick__opt{min-width:44px;min-height:44px;padding:.4rem .8rem;border-radius:999px;border:2px solid #d9cdea;background:#fff;font:inherit;font-weight:700;cursor:pointer;color:inherit}
.pick__opt.is-on{border-color:#d22e66;background:#ffe4ec;box-shadow:0 0 0 2px rgba(210,46,102,.25)}
.pick__opt.is-oos{opacity:.45;text-decoration:line-through}
.pick__opt--swatch{padding:.25rem}
.pick__swatch{display:block;width:32px;height:32px;border-radius:50%;background:var(--sw,#ccc);border:1px solid rgba(0,0,0,.2)}
.pick__fixed{margin:.2rem 0 .6rem;font-weight:700}
.pick__add{width:100%;margin-top:.8rem}
.pick__note{font-size:.85rem;color:#4a5875;margin:.6rem 0 0}
@media (min-width:640px){.pick{grid-template-columns:260px 1fr;align-items:start}}
@media (max-width:520px){.cdlg--cart{width:100vw}.fgrid{grid-template-columns:1fr}.cartfab__label{display:none}}
@media (prefers-reduced-motion:no-preference){.cdlg--cart[open]{animation:cslide .22s ease-out}@keyframes cslide{from{transform:translateX(30px);opacity:.6}to{transform:none;opacity:1}}}

/* currency selector bar */
.curbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;padding:.5rem 1rem;background:#fff7fb;border-bottom:1px solid #f3d3e4;font-size:.9rem;color:#4a2a3d}
.curbar label{font-weight:700}
.curbar select{font:inherit;min-height:44px;max-width:100%;padding:.25rem .5rem;border:2px solid #d9a3c0;border-radius:.5rem;background:#fff;color:#2b1a24}
.curbar select:focus-visible{outline:3px solid #7a1fa2;outline-offset:2px}
.curbar__note{flex:1 1 16rem;font-size:.85rem}
.cpay-note{margin:.5rem 0 0;font-size:.9rem;font-weight:600}
.curbar{box-sizing:border-box;max-width:100%;overflow:hidden}
.curbar select{width:100%;max-width:24rem;min-width:0;text-overflow:ellipsis}
.curbar__note{min-width:0;overflow-wrap:anywhere}
.pcard__price{overflow-wrap:anywhere}
.bundle{min-width:0}
.bundle__list li{flex-wrap:wrap;min-width:0}
.bundle__price{text-align:right;margin-left:auto;overflow-wrap:anywhere;max-width:100%}

/* Audit 2026-12-02: reserve the currency bar's height so it no longer pushes the page down (CLS). */
body.has-curbar{--curbar-h:61px}
@media(max-width:640px){body.has-curbar{--curbar-h:122px}}
body.has-curbar header.nav{margin-bottom:var(--curbar-h)}
body.has-curbar .curbar{margin-top:calc(-1 * var(--curbar-h));min-height:var(--curbar-h)}

/* Audit 2026-12-02: size chart in the product picker (measurements from the then current product listing). */
.sizechart{margin:.75rem 0 0;border:1px solid #f3d3e4;border-radius:.6rem;background:#fff;padding:.35rem .7rem .55rem}
.sizechart summary{cursor:pointer;font-weight:700;color:#2b1a24}
.sizechart__table{width:100%;border-collapse:collapse;margin:.4rem 0;font-size:.85rem}
.sizechart__table th,.sizechart__table td{border-bottom:1px solid #f3d3e4;padding:.25rem .35rem;text-align:left}
.sizechart__table tbody th{font-weight:700}
.sizechart__note{margin:.35rem 0 0;font-size:.8rem;color:#4a2a3d}
