/* Prototype 1 «Тише и точнее» (proto/calm.js). Reuses the product page panel: .pdp2-panel, swatches, price, button. */
.pc-home{padding-top:0!important}
.pc-sale{background:#f1e6da;color:#762c22}
.pc-sale-inner{display:grid;grid-template-columns:210px minmax(0,1fr) auto;align-items:center;gap:38px;padding-block:25px}
.pc-sale-mark{display:grid;align-content:center;border-right:1px solid rgb(118 44 34/.22);line-height:.86;letter-spacing:-.065em}
.pc-sale-mark b{font-size:78px;font-weight:650}
.pc-sale-mark span{margin-top:9px;font-size:14px;font-weight:700;letter-spacing:.52em}
.pc-sale-copy p{margin:9px 0 0;font-size:14px}
.pc-sale-copy .pc-sale-dates{margin:0 0 9px;font-size:12px;font-weight:700;letter-spacing:.12em}
.pc-sale-copy h2{margin:0;font-size:clamp(26px,3.2vw,43px);font-weight:500;line-height:1.1;letter-spacing:-.035em}
.pc-sale-action{display:grid;gap:12px;justify-items:start}
.pc-sale-action p{margin:0;font-size:13px;line-height:1.5}
.pc-sale-action strong{font-size:26px;font-weight:600;letter-spacing:-.02em}
.pc-sale-action small{font-size:13px;font-weight:500;letter-spacing:0}
.pc-sale-action a{display:inline-flex;align-items:center;gap:20px;min-height:44px;padding:10px 17px;border:1px solid currentColor;border-radius:2px;color:inherit;font-size:13px;font-weight:650;text-decoration:none;transition:color .2s,background .2s}
.pc-sale-action a:hover{background:#762c22;color:#fff7ef}
.pc-sale-action a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
body.night .pc-sale{background:#36241e;color:#f2d6b7}
body.night .pc-sale-mark{border-color:rgb(242 214 183/.25)}
body.night .pc-sale-action a:hover{background:#f2d6b7;color:#36241e}
.pc-hero{position:relative;display:grid;min-height:clamp(560px,calc(100svh - 190px),780px);background:#29241f;isolation:isolate;overflow:hidden}
.pc-hero .pc-photo{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:50% 70%}
.pc-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgb(15 24 30/.62) 0%,rgb(15 24 30/.25) 34%,rgb(15 24 30/0) 52%),linear-gradient(0deg,rgb(15 24 30/.4) 0%,rgb(15 24 30/0) 24%)}
.pc-hero-copy{position:absolute;z-index:2;left:max(28px,calc((100% - 1320px)/2));top:44px;max-width:min(560px,calc(100% - 560px));color:#fff}
.pc-hero-eyebrow{display:block;margin-bottom:14px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgb(255 255 255/.82)}
.pc-hero-copy h1{margin:0;font-size:clamp(34px,4vw,56px);font-weight:300;line-height:1.05;letter-spacing:-.03em;text-wrap:balance;text-shadow:0 1px 18px rgb(0 0 0/.25)}
.pc-hero-copy p{margin:16px 0 0;max-width:460px;font-size:15.5px;line-height:1.5;color:rgb(255 255 255/.9);text-shadow:0 1px 12px rgb(0 0 0/.3)}
.pc-hero-copy a{display:inline-flex;gap:8px;margin-top:22px;padding:11px 18px;border-radius:999px;background:rgb(255 255 255/.14);border:1px solid rgb(255 255 255/.5);color:#fff;font-size:14px;font-weight:600;text-decoration:none;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .2s}
.pc-hero-copy a:hover{background:rgb(255 255 255/.26)}
.pc-hero-inner{position:relative;z-index:2;display:flex;justify-content:flex-end;align-items:flex-start;padding:28px max(28px,calc((100% - 1320px)/2));pointer-events:none}
/* The panel of a product page has no background of its own (pdp.css): here it lies on a photo. */
.pc-panel{width:min(464px,100%);padding:28px 32px 24px;background:var(--surface);box-shadow:0 30px 60px rgb(15 24 30/.24);pointer-events:auto}
.pc-panel .pdp2-title{font-size:32px}
.pc-panel button.pdp2-swatch{padding:0;border:0;cursor:pointer}
.pc-panel .pdp2-swatch img{display:block;width:100%;height:100%;object-fit:cover}
.pc-panel .pdp2-swatch-more{display:grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border-radius:999px;background:var(--soft);color:var(--ink);font-size:12px;font-weight:700;text-decoration:none}
.pc-facts{margin:-4px 0 0;font-size:13.5px;color:var(--muted);line-height:1.45}
.pc-panel a.pdp2-cta{text-decoration:none;color:var(--on-primary)}
.pc-collection-link{justify-self:center;padding:2px 4px;border:0;background:none;color:var(--ink);font:600 13.5px var(--sans);cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}
.pc-collection-link:hover{text-decoration-color:currentColor}
.pc-switch{position:absolute;z-index:3;left:max(28px,calc((100% - 1320px)/2));bottom:28px}

.pc-home .bp-benefits{margin-top:26px}
.pc-section-lede{margin:8px 0 0!important;font-size:14px;color:var(--muted)}
.pc-group-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.pc-group{display:grid;gap:6px;align-content:start;color:var(--ink);text-decoration:none}
.pc-group-photo{display:block;aspect-ratio:4/5;overflow:hidden;border-radius:var(--radius);background:var(--soft);margin-bottom:8px}
.pc-group-photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.pc-group:hover .pc-group-photo img{transform:scale(1.04)}
.pc-group b{font-size:19px;font-weight:600;letter-spacing:-.01em}
.pc-group span{font-size:14px;line-height:1.4;color:var(--ink)}
.pc-group small{font-size:12.5px;color:var(--muted)}
.pc-stock-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px 22px}

@media (max-width:1100px){.pc-group-grid{grid-template-columns:repeat(3,1fr)}.pc-hero-copy{max-width:calc(100% - 520px)}}
@media (max-width:860px){
  .pc-sale-inner{grid-template-columns:125px minmax(0,1fr);gap:18px;padding-block:22px}
  .pc-sale-mark{grid-row:span 2;align-self:stretch}
  .pc-sale-mark b{font-size:52px}
  .pc-sale-mark span{font-size:11px;letter-spacing:.4em}
  .pc-sale-copy h2{font-size:28px}
  .pc-sale-copy p:not(.pc-sale-dates){display:none}
  .pc-sale-action{grid-column:2;gap:10px}
  .pc-sale-action strong{font-size:23px}
  .pc-sale-action a{gap:12px}
  .pc-hero{display:block;min-height:0;background:var(--surface)}
  .pc-hero .pc-photo{position:relative;height:min(112vw,520px)}
  .pc-hero::after{bottom:auto;height:min(112vw,520px);background:linear-gradient(180deg,rgb(15 24 30/.66) 0%,rgb(15 24 30/.3) 55%,rgb(15 24 30/0) 75%),linear-gradient(0deg,rgb(15 24 30/.35) 0%,rgb(15 24 30/0) 22%)}
  .pc-hero-copy{left:16px;right:16px;top:22px;max-width:none}
  .pc-hero-eyebrow{display:block;margin-bottom:14px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgb(255 255 255/.82)}
.pc-hero-copy h1{font-size:32px}
  .pc-hero-copy p{font-size:13.5px;margin-top:8px}
  .pc-hero-eyebrow{margin-bottom:8px;font-size:10.5px}
  .pc-hero-copy a{margin-top:14px;padding:9px 14px;font-size:13px}
  .pc-switch{top:calc(min(112vw,520px) - 54px);bottom:auto;left:16px}
  .pc-hero-inner{display:block;padding:0}
  .pc-panel{width:100%;padding:22px 16px 26px;box-shadow:none}
  .pc-panel .pdp2-title{font-size:26px}
  .pc-group-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin-inline:-18px;padding-inline:18px;scroll-padding-inline:18px;scrollbar-width:none}
  .pc-group{flex:0 0 62%;scroll-snap-align:start}
  .pc-stock-grid{grid-template-columns:repeat(2,1fr);gap:28px 12px}
}
@media (max-width:380px){
  .pc-sale-inner{grid-template-columns:91px minmax(0,1fr);gap:14px}
  .pc-sale-mark b{font-size:42px}
  .pc-sale-mark span{font-size:10px;letter-spacing:.26em}
  .pc-sale-copy h2{font-size:24px}
  .pc-sale-action strong{font-size:21px}
  .pc-sale-action a{padding-inline:12px;font-size:12px}
}
