/* Фирменные стили Pure Cotton по листовке клиентки. */
@font-face{font-family:Cotton;src:url(fonts/cormorant-cyrillic.woff2) format('woff2');font-weight:500 600;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Cotton;src:url(fonts/cormorant-latin.woff2) format('woff2');font-weight:500 600;font-display:swap}
@font-face{font-family:Cotton;src:url(fonts/cormorant-italic-cyrillic.woff2) format('woff2');font-style:italic;font-weight:500 600;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Cotton;src:url(fonts/cormorant-italic-latin.woff2) format('woff2');font-style:italic;font-weight:500 600;font-display:swap}
:root{--bg:#fff9fb;--surface:#f6e7ed;--ink:#513342;--muted:#765463;--accent:#792153;--accent-dark:#5b153d;--on-dark:#f5dfe9;--rose:#efd8e2;--sage:#f3e4e9;--blue:#f5e9ee;--straw:#f0d6e1;--linen:#ede1e5;--gap:104px;--m:clamp(20px,5vw,76px);--body:1rem;--head:clamp(2.6rem,4.4vw,4.3rem);}
body{background:var(--bg);line-height:1.7}
.wrap{width:100%;max-width:none}
h1,h2,.cat__name,.about__sign{font-family:Cotton,Georgia,serif;color:var(--accent-dark);font-weight:500;letter-spacing:-.025em}
.btn{font-size:15px;min-height:52px;font-weight:500;padding-inline:26px}
.btn--small{min-height:44px;padding-inline:16px}
.btn--ink{background:var(--accent);color:#fff}
.btn--ink:hover{background:var(--accent-dark)}
.btn--line,.btn--onfield{background:transparent;color:var(--accent);border:1px solid #bb91a5}
.btn--line:hover,.btn--onfield:hover{background:#f5e7ee}
.bar{background:#fff9fb;border-bottom:1px solid #ead6df}
.bar__in{min-height:94px;gap:28px}
.mark{display:flex;flex-direction:column;color:var(--accent-dark)}
.brand-word{font:600 40px/.95 Cotton,Georgia,serif;letter-spacing:-.04em}
.brand-caption{font-size:9px;letter-spacing:.24em;margin-top:10px;font-weight:500}
.bar__nav{gap:26px;font-size:14px}
.bar__phone{font-size:15px;font-weight:500}
.bar__phones { display: grid; gap: 4px; }
.bar__phones .bar__phone { padding-block: 0; }
@media (max-width: 599px) {
  .bar__phones { display: none; }
}
.bar__menu{background:var(--surface)}
.home .hero{height:auto;min-height:0;grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:clamp(20px,2.2vw,36px);padding-top:34px;padding-bottom:36px;align-items:stretch;background:#f9eef2;max-width:none;padding-inline:var(--m)}
.home .hero__text{padding:28px 0;gap:18px;align-items:flex-start}
.home .hero h1{font-size:clamp(3.5rem,6.6vw,7rem);line-height:.98;margin-bottom:5px}
.home .hero h1 em{font-weight:500}
.home .hero__motto{font:italic 500 clamp(1.5rem,2.1vw,2rem)/1.15 Cotton,Georgia,serif;color:var(--accent);max-width:15em;margin-bottom:10px}
.home .hero__text>p:not(.hero__motto){font-size:16px;line-height:1.7;max-width:42em}
.home .hero .actions{margin-top:10px}
.hero-photo{position:relative;min-height:600px;overflow:hidden}
.hero-photo>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.hero-cotton{position:absolute;bottom:22px;right:22px;display:grid;place-items:center;width:76px;height:90px;background:#fff7fbe8;border-radius:50%;color:var(--accent)}
.cotton-mark{width:48px;height:62px;flex:none}
.home .cats>h2{max-width:none;text-align:center;margin-bottom:44px}
.home .cats .tiles{gap:32px 24px}
.home .cat .tile__pic{height:300px;padding:0;background:#f0e2e8;border-radius:2px}
.cat__name{font-size:28px;font-weight:600;padding-top:16px;justify-content:space-between;gap:14px}
.cat__name svg{width:19px;color:var(--accent)}
.home .cat__soon{font-size:14px;color:var(--muted);background:#f1e2e8}
.home .cats__cta{justify-content:center;margin-top:42px}
.home .band{background:#f6e8ee;color:var(--ink);padding-block:64px}
.home .band h2{text-align:center}
.home .plist thead th,.home .plist td,.home .band__note{color:var(--ink)}
.home .plist th,.home .plist td{padding-block:18px;font-size:15px}
.home .plist tbody th{font-size:17px;font-weight:500;line-height:1.5}
.home .plist tbody tr:nth-child(odd){background:#fff9fb}
.home .plist tbody tr:hover{background:#efdae4}
.home .plist td.plist__price{font-size:18px;color:var(--accent-dark)}
.home .band__note{font-size:14px}
.coupon{margin-inline:0;min-height:0;grid-template-columns:1.2fr 1fr;background:#efd4e1;border-radius:3px}
.coupon h2{font-size:clamp(2.4rem,4vw,3.8rem);font-weight:500;max-width:9em}
.coupon__left{padding:48px;gap:22px;justify-content:center}
.coupon__left p{max-width:30em}
.coupon__right{padding:44px 48px;border-left:1px solid #d7b2c4;gap:12px}
.coupon__right:before,.coupon__right:after{display:none}
.coupon__hours{font-size:13px;text-align:center}
.grow>h2{position:static;width:auto;max-width:15em;margin:0 auto 44px;text-align:center}
.grow__row{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:240px auto auto;gap:0 32px}
.grow__tile{height:240px;padding:0;background:none;border-radius:2px}
.grow__step h3{font-size:20px;color:var(--accent-dark);line-height:1.35;margin-top:24px;font-weight:500}
.grow__step p{font-size:15px;line-height:1.7;padding-right:0;margin-top:10px}
.home .about{gap:70px;align-items:center}
.home .about__text{gap:20px}
.lead{font-size:19px;line-height:1.65}
.about__sign{font-size:32px;font-style:italic;font-weight:500}
.home .about__pics{gap:16px}
.home .about__pic{padding:0;aspect-ratio:3/4;background:none}
.home .about__pic:last-child{margin-top:35%}
.help{background:#f6e6ed;padding:54px var(--m);grid-template-columns:1.2fr 1fr;gap:55px}
.home .help { background: var(--bg); }
.help h2{max-width:10em}
.help__text{gap:22px}
.help__pic{padding:0;aspect-ratio:1;background:none}
.help__phone a{font:500 36px/1.1 Cotton,Georgia,serif;color:var(--accent-dark)}
.help__phone span{font-size:13px;margin-top:8px}
.footer{background:#f9eef2;margin-top:clamp(40px,5vw,72px);padding-top:60px}
.footer-brand{display:flex;flex-direction:column;align-items:center;color:var(--accent-dark);text-align:center}
.footer-brand>span{font:500 clamp(48px,6.5vw,82px)/1 Cotton,Georgia,serif;margin-top:12px;letter-spacing:-.04em}
.footer-brand>p{font-size:12px;letter-spacing:.17em;text-transform:uppercase;margin-top:16px}
.footer__grid{margin-top:50px}
.footer__h{font-family:Manrope,sans-serif;font-size:14px;font-weight:600;letter-spacing:0}
.footer__col{font-size:13px}
.footer__phone{font-size:20px}
.footer__legal{font-size:12px;border-top:1px solid #e6cfda;padding-top:24px;margin-top:36px}
@media(min-width:900px) and (max-width:1150px){.bar__in{gap:20px}.bar__nav{gap:16px;font-size:13px}.home .hero{gap:32px}.hero-photo{min-height:650px}.cat__name{font-size:24px}}
@media(max-width:899px){
:root{--gap:72px}.bar__in{min-height:80px;gap:16px}.brand-word{font-size:34px}.brand-caption{font-size:8px}.bar__nav{gap:0}
.home .hero{grid-template-columns:1fr;gap:24px;padding-top:12px;padding-bottom:28px}.home .hero__text{padding:24px 0 0;gap:16px}.home .hero h1{font-size:clamp(54px,9vw,80px)}.home .hero__text>p:not(.hero__motto){max-width:45em}.home .hero__motto{font-size:28px;max-width:25em;margin-bottom:0}.hero-photo{min-height:0;height:480px}.hero-photo>img{object-position:50% 65%}.home .cat .tile__pic{height:280px}.cat__name{font-size:26px}
.coupon{grid-template-columns:1fr}.coupon__left{padding:32px}.coupon h2{max-width:none}.coupon__right{padding:28px 32px;border-left:0;border-top:1px solid #d7b2c4}.grow__row{display:block}.grow__step{display:grid;grid-template-columns:180px 1fr;gap:0 24px}.grow__tile{grid-column:1;grid-row:1/3;height:180px}.grow__step h3{grid-column:2;grid-row:1;margin-top:8px;padding:0}.grow__step p{grid-column:2;grid-row:2}.home .about{grid-template-columns:1fr;gap:32px}.home .about__pics{max-width:650px}.help{grid-template-columns:1fr;gap:32px}.help__pic{max-height:320px;aspect-ratio:auto}.help__pic img{object-position:center}.home .plist th,.home .plist td{padding:0}.home .band__note{padding-inline:var(--m)}
}
@media(max-width:599px){
:root{--gap:60px}.home .hero h1{font-size:clamp(46px,14.6vw,57px)}.home .hero__motto{font-size:26px;max-width:13em}.home .hero__text>p:not(.hero__motto){font-size:16px;line-height:1.7}.home .hero .actions{width:100%}.hero-photo{height:410px}.home .cats>h2{font-size:38px;margin-bottom:30px}.home .cats .tiles{gap:26px 14px}.home .cats .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.home .cat .tile__pic{height:190px}.cat__name{font-size:22px;line-height:1.05;align-items:start;padding-top:12px}.cat__name svg{display:none}.home .cat__soon{font-size:12px;padding:12px}.home .cats__cta .btn{flex:0 1 auto}.home .band{padding-block:42px}.home .band h2{margin-bottom:28px}.home .plist tbody th{font-size:16px}.home .plist td{font-size:13px}.home .plist td.plist__price{font-size:16px}.coupon__left{padding:28px}.coupon__right{padding:24px}.coupon__left p{font-size:15px}.grow>h2{font-size:38px;margin-bottom:28px}.grow__step{display:block}.grow__tile{height:220px}.grow__step h3{margin-top:18px}.home .about{gap:22px}.home .about__text p{font-size:15px}.home .about__text .about__sign{font-size:30px}.help{padding-block:32px}.help .lead{font-size:16px}.help__pic{height:260px}.footer-brand>p{font-size:10px}.footer__grid{margin-top:32px}.footer__legal{font-size:11px}
}

/* Каталог, карточки товаров и страницы для покупателей */
html { scroll-padding-top: 108px; }
.head { background: #f9eef2; padding-bottom: clamp(32px, 5vw, 76px); }
.head h1 { font-size: clamp(2.9rem, 6vw, 6.5rem); line-height: 1; }
.head .h1--long { font-size: var(--head); hyphens: auto; overflow-wrap: anywhere; }
.head--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.head__pic { padding: 0; aspect-ratio: 2 / 1; overflow: hidden; }
.head__pic img { object-position: center 60%; }
.chip { background: var(--bg); border: 1px solid #ddbfcd; color: var(--accent-dark); }
.chip:hover { background: var(--rose); }
.shelf { margin-top: clamp(48px, 6vw, 96px); }
.shelf > h2 { font-size: var(--head); }
.tiles { gap: clamp(24px, 3vw, 44px) clamp(14px, 2vw, 32px); }
.tiles--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:where(.shelf) .tile__pic {
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--surface);
}
.tile.tile--wide .tile__pic { height: auto; }
.tile__name { font: 600 clamp(1.5rem, 2vw, 2rem) / 1.15 Cotton, Georgia, serif; color: var(--accent-dark); }
.tile__foot { margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.tile--note { background: var(--accent-dark); }
.tile--note h3 { font-family: Cotton, Georgia, serif; font-size: 2rem; }
.crumbs { color: var(--muted); overflow-wrap: anywhere; }
.item__gallery { top: 108px; }
.item h1 { font-size: clamp(2.5rem, 4.2vw, 4.8rem); line-height: 1; }
.item__price { color: var(--accent-dark); font-size: clamp(1.6rem, 2.4vw, 2.5rem); }
.item__main { background: var(--surface); }
.item__thumb[aria-pressed=true], .opt input:checked + span { background: var(--accent-dark); }
.opt { max-width: 100%; }
.opt span { line-height: 1.35; padding-block: 8px; }
.prose > * { max-width: 72ch; overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.65rem, 2.5vw, 2.5rem); }
.help__pic { aspect-ratio: 5 / 4; overflow: hidden; max-height: 540px; }
.help__pic img { object-position: center; }

@media (max-width: 899px) {
  html { scroll-padding-top: 92px; }
  .head--split { grid-template-columns: minmax(0, 1fr); }
  .head__pic { aspect-ratio: 16 / 9; }
  .help__pic { max-height: 320px; }
  .help { grid-template-columns: minmax(0, 1fr); }
  .help__pic { width: 100%; }
}
@media (max-width: 599px) {
  .tiles--pair { grid-template-columns: minmax(0, 1fr); }
  .specs th, .specs td { padding: 10px; }
  .setbar__toggle b { font-size: .9rem; }
  .setbar__toggle span { font-size: .8rem; }
  .setbar .btn { padding-inline: 12px; white-space: normal; }
}

/* Шаги заказа: изображение и текст занимают место в своей карточке. */
.grow .grow__row {
  display: grid;
  grid-template-rows: auto;
  align-items: start;
  gap: 32px clamp(16px, 2.3vw, 32px);
}
.grow .grow__step {
  display: grid;
  min-width: 0;
  align-content: start;
}
.grow .grow__step + .grow__step { margin-top: 0; }
.grow .grow__step > * { grid-column: auto; grid-row: auto; }
.grow .grow__step .grow__tile {
  height: auto;
  aspect-ratio: 8 / 5;
}
.grow .grow__step h3 { margin-top: 18px; }

@media (max-width: 899px) {
  .grow .grow__row { grid-template-columns: minmax(0, 1fr); }
  .grow .grow__step { grid-template-columns: minmax(0, 1fr); }
  .grow .grow__step .grow__tile { max-height: 320px; }
}

/* Общий радиус фотографий и рамок вокруг них. */
:root {
  --photo-radius: clamp(14px, 1.5vw, 24px);
}
main img,
.hero-photo,
.home .cat .tile__pic,
.tile__pic,
.grow__tile,
.about__pic,
.help__pic,
.head__pic,
.item__main,
.way--pic,
.way--pic span {
  border-radius: var(--photo-radius);
}
.item__thumb { border-radius: 12px; }
.item__thumb img { border-radius: 8px; }

.bar__phones, .help__phone, .footer__phone {
  font-variant-numeric: lining-nums tabular-nums;
}
.max-group {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 4vw, 60px);
  background: var(--rose);
  border-radius: var(--photo-radius);
}
.max-group__text p { max-width: 38ch; margin-block: 18px 25px; }
.max-group__photo { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--photo-radius); }
.max-group__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .max-group { grid-template-columns: minmax(0, 1fr); }
  .max-group__photo { max-height: 360px; }
}
@media (max-width: 599px) {
  .max-group__text h2 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .max-group__text .btn { max-width: 100%; padding-inline: 16px; }
}

.max-contact {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
}
.max-contact:hover { background: var(--rose); }
.max-contact img { display: block; }
@media (max-width: 599px) {
  .bar__in { column-gap: 10px; }
}

.cart-open,.cart-heading button,.cart-qty button {
  display:inline-grid;place-items:center;flex:none;width:44px;height:44px;
  border-radius:50%;background:var(--surface);color:var(--accent-dark);cursor:pointer;
}
.cart-open {position:relative}
.cart-open span {position:absolute;top:-5px;right:-5px;font-size:12px;background:var(--accent);color:white;border-radius:20px;min-width:20px;padding:0 4px}
.cart-open [hidden],#cart [hidden] {display:none}
.tile__foot {flex-wrap:wrap}
#cart {box-sizing:border-box;width:min(580px,calc(100% - 24px));max-height:90vh;max-height:90dvh;margin:auto;padding:clamp(18px,4vw,32px);overflow:auto;overscroll-behavior:contain;border:0;border-radius:22px;background:var(--bg);color:var(--ink)}
#cart::backdrop {background:rgba(46,25,37,.5)}
html:has(#cart[open]) {overflow:hidden}
.cart-heading,.cart-line,.cart-qty {display:flex;align-items:center;gap:12px}
.cart-heading {justify-content:space-between;margin-bottom:14px}
.cart-heading h2 {margin:0;font-size:2.5rem}
.cart-heading button {font-size:26px}
.cart-line {display:grid;grid-template-columns:minmax(0,1fr) auto auto;border-bottom:1px solid #e8d4de;padding:12px 0;line-height:1.4}
.cart-line__product {display:flex;align-items:center;gap:12px;min-width:0;overflow-wrap:anywhere}
.cart-line__product img {flex:none;width:64px;height:64px;object-fit:cover;border-radius:10px}
.cart-line small {display:block;font-size:14px;font-weight:400;color:var(--muted);margin-top:4px}
.cart-line b {white-space:nowrap;text-align:right}
.cart-qty {gap:6px;font-variant-numeric:tabular-nums}
.cart-qty button {width:36px;height:36px;font-size:19px}
.cart-total {margin:16px 0;font-size:1.2rem;font-weight:600}
#checkout {display:grid;gap:16px}
#checkout h3,#checkout p {margin:0}
#checkout p,.cart-consent {font-size:14px;line-height:1.5}
.cart-fields {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cart-fields label {min-width:0;font-size:14px}
.cart-fields label:nth-child(n+3) {grid-column:1/-1}
.cart-fields input,.cart-fields textarea {display:block;box-sizing:border-box;width:100%;margin-top:4px;padding:10px 12px;border:1px solid #ba9eab;border-radius:10px;color:var(--ink);background:white;font:inherit;font-size:16px}
.cart-fields textarea {resize:vertical}
.cart-consent {display:flex;align-items:flex-start;gap:9px}
.cart-consent input {width:19px;height:19px;flex:none;accent-color:var(--accent)}
.cart-consent a {text-decoration:underline}
#cart [data-status]:empty {display:none}
#cart [data-status] {margin:16px 0 0}
@media (max-width:480px) {
  .bar__in {column-gap:6px}
  .bar .brand-word {font-size:clamp(23px,7vw,32px)}
  .cart-line {grid-template-columns:1fr auto}
  .cart-line__product {grid-column:1/-1}
}
