/* Commerce controls — quiet surfaces, deliberate spacing and clear states. */
:root{--control-border:#dce2dc;--control-fill:#f6f8f5;--control-radius:7px}
.btn,.pcard__btn{border-radius:5px;transition:background .2s,border-color .2s,box-shadow .2s;min-height:48px}
.btn--ghost{border-color:var(--control-border);background:#fff;color:var(--ink)}
.btn--ghost:hover{background:var(--control-fill);border-color:#a4b5aa;color:var(--ink)}
.btn:focus-visible,.pcard__btn:focus-visible{outline:2px solid #7f9e8a;outline-offset:3px}
.qty{border:1px solid var(--control-border);border-radius:24px;background:#fff;overflow:hidden;align-self:flex-start;flex:none;height:46px}
.qty button{width:38px;height:44px;opacity:1;color:#69756d;transition:background .2s}
.qty button:hover{background:#edf2eb;color:var(--accent)}
.qty button:focus-visible{outline-offset:-4px;border-radius:50%}
.qty button svg{width:14px;height:14px}
.qty b{min-width:28px;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}
.pdp{gap:clamp(32px,5vw,76px)}
.pdp__info{padding:8px 0}
.pdp__info h1{font-size:clamp(30px,3vw,42px);line-height:1.2}
.pdp__price{margin:18px 0 22px;font-size:25px;font-weight:500}
.pdp__main{border-radius:10px}
.pdp__thumbs button{border-radius:5px;border:1px solid transparent;opacity:.7}
.pdp__thumbs button.is-on{border-color:#829b88;opacity:1}
.pdp__opt{margin-top:24px}.pdp__opt>span{font-size:13px;margin-bottom:10px;color:var(--ink2)}
.opts{gap:10px}
.opt{min-width:78px;min-height:56px;border:1px solid var(--control-border);border-radius:7px;background:#fff;font-size:14px;padding:10px 18px;line-height:1.5}
.opt i{font-size:12px}
.opt:hover{background:var(--control-fill);border-color:#829b88}
.opt.is-on{background:#eef3ed;border-color:#54765f;color:var(--ink);box-shadow:inset 0 0 0 1px #54765f}
.opt.is-on i{color:#54765f}
.pdp__buy{margin-top:26px;gap:12px;align-items:center}
.pdp__buy .btn{flex:1;min-height:48px}
.pdp__rating{font-size:13px}.pdp__rating small{font-size:13px}
.pdp__meta,.pdp__wish,.reassure li{font-size:13px;line-height:1.7}
.reassure{margin-top:24px;gap:10px}
.pfeat{background:transparent;border:1px solid var(--control-border);border-radius:8px;overflow:hidden;gap:0}
.pfeat div{background:#fafbf8;padding:20px 12px;border-right:1px solid var(--control-border)}
.pfeat div:last-child{border-right:0}.pfeat b,.pfeat span{font-size:12px;line-height:1.65}
.acc{margin-top:28px}.acc summary{font-size:15px;font-weight:400;padding:20px 0}.acc__b{font-size:15px}
.fld span{font-size:13px;font-weight:500;letter-spacing:0;color:var(--ink2);margin-bottom:9px}
.fld input,.fld select,.fld textarea{border:1px solid var(--control-border);border-radius:var(--control-radius);background:#fff;padding:14px 16px;min-height:52px;font-size:16px;line-height:1.5;transition:box-shadow .2s,border-color .2s}
.fld input:hover,.fld select:hover,.fld textarea:hover{border-color:#aab9ae}
.fld input:focus,.fld select:focus,.fld textarea:focus{border-color:#54765f;box-shadow:0 0 0 3px #54765f14;outline:0}
.fld input::placeholder,.fld textarea::placeholder{color:#919990;font-size:14px}
.fld select{appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2369756d' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.fld.has-err input,.fld.has-err select{border-color:var(--bad);box-shadow:0 0 0 3px #8c3a370c}
.fld__err{font-size:12px;margin-top:7px}.form{gap:22px}
.coform{border:1px solid #e6eae4;border-radius:12px;padding:32px;background:#fff}
.coform h2{font-size:22px;font-weight:500;margin-bottom:24px}
.costeps{gap:8px 18px;padding:0 0 23px;margin:0 0 28px;border-color:#e6eae4;list-style:none}
.costeps li{padding:0;font-size:12px;gap:7px}
.costeps em{width:24px;height:24px;font-size:11px;border-color:#dce2dc;background:#f6f8f5;color:#748074}
.costeps li.is-on em{background:var(--accent);border-color:var(--accent);color:#fff}
.costeps li.is-done em{background:#eef3ed;border-color:#c2d0c2;color:var(--accent)}
.conav{margin-top:28px;gap:12px}.conav .btn{min-width:124px}
.ship-opt,.pay label{border:1px solid var(--control-border);border-radius:8px;margin:10px 0;padding:17px 18px;gap:13px;align-items:flex-start;background:#fff;transition:border-color .2s,background .2s}
.ship-opt:last-of-type{border:1px solid var(--control-border)}
.ship-opt:has(input:checked),.pay label:has(input:checked){border-color:#6d8b74;background:#f3f7f1}
.ship-opt:hover,.pay label:hover{border-color:#91a797}
.ship-opt b,.pay span b{font-size:14px;font-weight:500;line-height:1.6}
.ship-opt small,.pay span small{font-size:12px;line-height:1.6}
.ship-opt span.price{font-size:14px;padding-top:1px}
.ship-opt input,.pay input{appearance:none;flex:none;width:17px;height:17px;border:1px solid #aab9ae;border-radius:50%;margin:4px 0 0;background:#fff;cursor:pointer}
.ship-opt input:checked,.pay input:checked{border:5px solid var(--accent)}
.terms input,.fck input{appearance:none;width:17px;height:17px;flex:none;border:1px solid #aab9ae;border-radius:4px;background:#fff;margin-top:4px;cursor:pointer}
.terms input:checked,.fck input:checked{background:var(--accent);border-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='white' stroke-width='1.8'%3E%3Cpath d='m3 8 3 3 7-7'/%3E%3C/svg%3E")}
.terms{font-size:13px;line-height:1.7}.secure{font-size:12px;line-height:1.7;margin-top:20px}
.sum{background:#f7f9f5;border:1px solid #e5eae1;border-radius:12px;padding:28px;min-width:0}
.sum h3{font-size:21px;line-height:1.4;margin-bottom:18px;font-weight:500}
.sline{font-size:14px;line-height:1.6;margin-bottom:13px;gap:14px}
.sline>span:last-child,.sline>strong{color:var(--ink);font-variant-numeric:tabular-nums}
.sline--sub{font-size:12px}.sline--tot{margin:22px 0 24px;padding-top:22px;border-color:#dce2d8;font-size:15px}
.sline--tot strong{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.025em}
.couponbox{margin:20px 0 12px;gap:8px}
.couponbox input{border:1px solid var(--control-border);border-radius:6px;background:#fff;padding:11px 12px;font-size:14px}
.couponbox .btn{min-height:44px;padding:10px 16px;min-width:0;font-size:13px}
.crow{grid-template-columns:76px minmax(0,1fr) auto;gap:18px;padding:24px 0;border-color:#e7ebe5;align-items:start}
.crow__m{aspect-ratio:1;border-radius:7px}
.crow h3{font-size:15px;line-height:1.5;font-weight:500;margin-bottom:5px;letter-spacing:-.015em}
.crow .note{font-size:12px;line-height:1.6;margin-bottom:12px}
.crow .qty{height:34px}.crow .qty button{height:32px;width:30px}.crow .qty b{min-width:24px;font-size:13px}.crow .qty button svg{width:12px;height:12px}
.crow__r{gap:20px;justify-content:flex-start}.crow__p{font-size:15px;line-height:1.5;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.crow__rm{font-size:12px;color:#7a847b;text-decoration:none;padding:3px 0;border-bottom:1px solid transparent;align-self:flex-end}
.crow__rm:hover{color:var(--bad);border-color:#d1aaaa}
.drawer{width:min(440px,100vw);border-radius:14px 0 0 14px;box-shadow:-16px 0 70px #202c2814}
.drawer__h{padding:26px 28px 22px;border-color:#e7ebe5}
.drawer__h h3{font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.025em}
.drawer__h .ibtn{border-radius:50%;background:#f4f6f2;width:32px;height:32px}
.drawer__b{padding:0 28px;scrollbar-width:thin;scrollbar-color:#c8d2c6 transparent}
.drawer .crow{grid-template-columns:64px minmax(0,1fr) auto;gap:14px;padding:22px 0}
.drawer .crow__r{gap:28px}
.drawer__f{padding:24px 28px calc(24px + env(safe-area-inset-bottom,0px));background:#fafbf8;border-color:#e7ebe5}
.drawer__f .sline{font-size:13px;margin-bottom:10px}.drawer__f .sline--tot{font-size:14px;margin:18px 0 22px;padding-top:18px}
.drawer__f .sline--tot strong{font-size:25px}.drawer__f .btn{width:100%;min-height:50px;font-size:14px}
.scrim{background:#202c284d;backdrop-filter:blur(2px)}
.rvblock{font-size:14px;padding:18px 0;gap:12px}.rvblock dd{margin:0}.rvblock .tlink{font-size:12px}
.opt:focus-visible,.ship-opt input:focus-visible,.terms input:focus-visible{outline:2px solid #7f9e8a;outline-offset:3px}
@media(min-width:981px){.colay .sum,.cartpg .sum{position:sticky;top:110px}}
@media(max-width:980px){.colay .sum{order:0}.colay{gap:26px}}
@media(max-width:560px){
 .coform{padding:24px 20px;border-radius:10px}
 .costeps{gap:13px 14px;padding-bottom:20px;margin-bottom:24px}
 .costeps li{font-size:12px}.costeps em{width:22px;height:22px}
 .coform h2{font-size:21px}.form{gap:19px}
 .fld input,.fld select{min-height:50px;padding:13px 14px}
 .sum{padding:24px 20px;border-radius:10px}
 .crow,.drawer .crow{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:20px 0}
 .crow__m{grid-row:1/span 2}.crow__r{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
 .crow__rm{align-self:center}.drawer .crow__r{gap:10px}
 .drawer{border-radius:0}.drawer__h{padding:24px}.drawer__b{padding:0 24px}.drawer__f{padding:20px 24px calc(20px + env(safe-area-inset-bottom,0px))}
 .drawer .crow{grid-template-columns:60px minmax(0,1fr) auto}
 .drawer .crow__m{grid-row:auto}.drawer .crow__r{grid-column:3;flex-direction:column;align-items:flex-end;gap:26px}
 .drawer .crow__p{font-size:14px}.drawer .crow h3{font-size:14px}
 .pdp__buy .qty{height:46px}.pdp__buy .qty button{width:34px}
 .pdp__buy .btn{padding:12px 18px}.pdp__info h1{font-size:32px}
 .pfeat div{border-right:0;border-bottom:1px solid var(--control-border)}.pfeat div:last-child{border-bottom:0}
 .ship-opt{padding:15px 14px}.ship-opt span.price{font-size:13px}
 .conav .btn{flex:1;min-width:0}
}
@media(max-width:360px){.drawer__h,.drawer__b,.drawer__f{padding-left:18px;padding-right:18px}.drawer .crow{grid-template-columns:52px minmax(0,1fr) auto;gap:10px}.drawer .crow__p{font-size:13px}.drawer .crow h3{font-size:13px}}
