/* v19 — утверждённый визуальный стиль главной страницы «Не по учебнику» */
body.platform-page{overflow-x:hidden;background:#fef8f0;color:#252620}
.platform-site-v19{width:min(1720px,calc(100% - 34px));margin:0 auto;padding:16px 0 34px}
.platform-site-v19 .platform-header{top:10px;display:grid;grid-template-columns:minmax(265px,.82fr) minmax(650px,2.1fr) auto;align-items:center;gap:20px;padding:10px 18px 10px 22px;border:1px solid rgba(181,153,105,.28);border-radius:20px;background:rgba(255,250,244,.94);box-shadow:0 10px 30px rgba(92,73,45,.05);backdrop-filter:blur(16px)}
.platform-site-v19 .platform-brand-logo-v19{display:block;width:246px;height:auto;object-fit:contain}
.platform-site-v19 .platform-brand.is-compact .platform-brand-logo-v19{width:185px}
.platform-site-v19 .platform-nav{gap:clamp(24px,2.35vw,44px)}
.platform-site-v19 .platform-nav a{font-size:15px;padding:7px 0;color:#22231f}
.platform-site-v19 .platform-nav a.active{color:#4f633a;border-bottom-color:#66734e}
.platform-site-v19 .platform-header-actions{gap:12px}
.platform-site-v19 .platform-button{padding:11px 20px;border-radius:14px;font-size:15px}
.platform-site-v19 .platform-button.primary{background:linear-gradient(145deg,#748257,#4f5f3b)}
.platform-site-v19 .platform-button.primary::before{content:none!important}

.platform-hero-v19{display:grid;grid-template-columns:minmax(590px,1.02fr) minmax(650px,.98fr);min-height:322px;padding:18px 52px 6px;gap:20px;align-items:center}
.platform-hero-v19 .platform-hero-copy{align-self:center}
.platform-hero-v19 .platform-kicker{display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.13em;color:#536541}
.platform-hero-v19 .platform-kicker .kicker-line{width:38px;height:1px;background:#9ca27c}
.kicker-clover-image-v19{display:block;width:48px;height:48px;object-fit:cover;mix-blend-mode:normal;border-radius:50%}
.platform-hero-v19 .platform-kicker>b{font-size:13px;letter-spacing:.13em}
.platform-hero-v19 h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(50px,4.25vw,74px);font-weight:500;line-height:.98;letter-spacing:-.03em;margin:12px 0 16px;max-width:760px}
.platform-hero-v19 h1 em{display:block;font-family:'Segoe Script','Monotype Corsiva','URW Chancery L',cursive;color:#667a50;font-size:.83em;font-weight:500;line-height:1.05;margin-top:8px;letter-spacing:-.03em}
.platform-hero-v19 .platform-hero-copy>p{max-width:555px;font-size:17px;line-height:1.55;color:#55574f;margin:0}
.platform-hero-v19 .platform-hero-art{display:flex;justify-content:center;align-items:center;min-width:0;overflow:visible}
.platform-book-image-v19{display:block;width:min(100%,900px);height:auto;object-fit:contain;mix-blend-mode:normal}

.platform-products-v19{padding:6px 30px 8px;scroll-margin-top:105px}
.platform-product-grid-v19{display:grid;grid-template-columns:minmax(560px,2.55fr) repeat(4,minmax(180px,.92fr));gap:14px;align-items:stretch}
.product-card-v19-featured{min-height:288px;display:grid;grid-template-columns:205px minmax(260px,1fr) 70px;gap:17px;padding:44px 20px 18px;border-radius:18px;border-color:rgba(96,111,72,.62);background:rgba(255,252,247,.72)}
.product-card-v19-featured .product-badge{top:16px;left:18px}
.product-card-v19-featured .umnograd-preview{width:192px;aspect-ratio:1;border:0;border-radius:0;overflow:visible;box-shadow:none;background:transparent}
.product-card-v19-featured .umnograd-preview img{width:100%;height:100%;object-fit:contain;transform:none;filter:none;mix-blend-mode:normal}
.product-card-v19-featured .product-card-copy{align-self:center}
.product-card-v19-featured .product-card-copy h3{font-size:36px;margin:0 0 13px}
.product-card-v19-featured .product-card-copy p{font-size:14px;line-height:1.55;max-width:430px}
.product-card-v19-featured .product-tags{margin-top:16px;gap:6px}
.product-card-v19-featured .product-open>span{width:55px;height:55px}
.product-card-v19-featured .product-open small{font-size:14px}

.product-card-v19-upcoming{min-height:288px;padding:15px 12px 15px;border-radius:18px;background:rgba(255,252,247,.72)}
.product-card-v19-upcoming .product-lock{top:12px;right:12px;font-size:14px;color:#7f826f}
.product-card-v19-upcoming .future-icon-v19{width:112px;height:112px;margin:0 auto 7px;border:0;background:transparent;overflow:hidden}
.product-card-v19-upcoming .future-icon-v19 img{display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:normal}
.product-card-v19-upcoming h3{font-size:17px;line-height:1.17;margin:3px 0 8px;min-height:39px;display:flex;align-items:center;justify-content:center}
.product-card-v19-upcoming p{font-size:11.3px;line-height:1.45;max-width:185px;margin:0 auto 12px}
.product-card-v19-upcoming .soon-label{font-size:12px;padding:6px 10px;background:#fffaf3}

.platform-values-v19{position:relative;margin:14px 30px 28px;padding:12px 115px;display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid rgba(187,164,124,.3);border-radius:18px;background:rgba(255,252,247,.65);overflow:hidden}
.platform-values-v19 article{display:flex;align-items:center;justify-content:center;gap:14px;padding:4px 18px;min-width:0}
.platform-values-v19 article+article{border-left:1px dashed rgba(181,147,87,.5)}
.value-icon-image-v19{display:block;flex:0 0 76px;width:76px;height:76px;object-fit:cover;mix-blend-mode:normal}
.platform-values-v19 h3{font-family:Georgia,'Times New Roman',serif;font-size:18px;font-weight:500;letter-spacing:.04em;color:#52663f;margin:0 0 6px}
.platform-values-v19 p{font-size:12.5px;color:#595b53;line-height:1.45;margin:0;max-width:230px}
.values-branch{position:absolute;top:50%;transform:translateY(-50%);width:120px;height:auto;object-fit:contain;mix-blend-mode:normal;pointer-events:none}
.values-branch-left{left:18px}.values-branch-right{right:18px}

.platform-site-v19 .platform-teacher-note{margin-left:30px;margin-right:30px}
.platform-site-v19 .platform-footer{padding-left:30px;padding-right:30px}

@media(max-width:1450px){
  .platform-site-v19{width:min(1360px,calc(100% - 28px))}
  .platform-site-v19 .platform-header{grid-template-columns:auto 1fr auto}.platform-site-v19 .platform-brand-logo-v19{width:220px}.platform-site-v19 .platform-nav{gap:22px}
  .platform-hero-v19{grid-template-columns:1fr 1fr;padding-left:34px;padding-right:34px}
  .platform-product-grid-v19{grid-template-columns:repeat(4,1fr)}
  .product-card-v19-featured{grid-column:1/-1;grid-template-columns:190px 1fr 70px;min-height:250px}
  .product-card-v19-featured .umnograd-preview{width:178px}
  .product-card-v19-upcoming{min-height:260px}
}
@media(max-width:1040px){
  .platform-site-v19 .platform-brand-logo-v19{width:205px}
  .platform-hero-v19{grid-template-columns:1fr;text-align:center;padding-top:36px;gap:0}.platform-hero-v19 .platform-kicker{justify-content:center}.platform-hero-v19 .platform-hero-copy>p{margin-left:auto;margin-right:auto}.platform-book-image-v19{max-width:760px;margin-top:-6px}
  .platform-product-grid-v19{grid-template-columns:repeat(2,1fr)}
  .product-card-v19-featured{grid-column:1/-1}
  .platform-values-v19{padding-left:30px;padding-right:30px}.values-branch{display:none}
}
@media(max-width:760px){
  .platform-site-v19{width:100%;padding-top:0}
  .platform-site-v19 .platform-header{border-radius:0 0 19px 19px;padding:8px 12px}.platform-site-v19 .platform-brand-logo-v19{width:165px}
  .platform-hero-v19{padding:30px 18px 4px}.platform-hero-v19 h1{font-size:clamp(40px,11vw,56px)}.platform-hero-v19 .platform-kicker .kicker-line{display:none}.kicker-clover-image-v19{width:40px;height:40px}.platform-book-image-v19{max-height:265px;object-fit:contain}
  .platform-products-v19{padding:12px}
  .platform-product-grid-v19{display:flex;flex-direction:column}
  .product-card-v19-featured{display:grid;grid-template-columns:1fr;justify-items:center;text-align:center;padding:44px 16px 18px}.product-card-v19-featured .umnograd-preview{width:min(70vw,220px)}.product-card-v19-featured .product-tags{justify-content:center}.product-card-v19-featured .product-open{justify-self:center;align-self:center}
  .product-card-v19-upcoming{min-height:auto;display:grid;grid-template-columns:72px 1fr auto;grid-template-rows:auto auto;gap:3px 12px;text-align:left;align-items:center;padding:14px}.product-card-v19-upcoming .future-icon-v19{grid-row:1/3;width:66px;height:66px;margin:0}.product-card-v19-upcoming h3{justify-content:flex-start;min-height:0;margin:0;font-size:16px}.product-card-v19-upcoming p{grid-column:2/3;margin:0;max-width:none;font-size:12px}.product-card-v19-upcoming .soon-label{grid-row:1/3;grid-column:3;margin:0}.product-card-v19-upcoming .product-lock{display:none}
  .platform-values-v19{margin:12px;padding:8px 14px;grid-template-columns:1fr}.platform-values-v19 article{justify-content:flex-start;padding:13px 5px}.platform-values-v19 article+article{border-left:0;border-top:1px dashed rgba(160,139,99,.52)}
}
@media(max-width:430px){
  .platform-site-v19 .platform-brand-logo-v19{width:138px}.platform-hero-v19 .platform-kicker{font-size:10px}.platform-hero-v19 h1{font-size:40px}
  .product-card-v19-upcoming{grid-template-columns:56px 1fr}.product-card-v19-upcoming .soon-label{display:none}.product-card-v19-upcoming .future-icon-v19{width:52px;height:52px}
}


/* v21 — единые карточки продуктов */
.platform-product-grid-v21{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;align-items:stretch}
.product-card-v21{position:relative;display:flex;flex-direction:column;min-height:355px;padding:18px 16px 16px;border:1px solid rgba(187,164,124,.34);border-radius:20px;background:rgba(255,252,247,.78);box-shadow:0 10px 24px rgba(95,77,48,.04)}
.product-card-v21 .product-badge{position:absolute;top:14px;left:16px}
.product-visual-v21{display:flex;align-items:center;justify-content:center;height:148px;margin:18px 0 12px}
.product-visual-v21 img{display:block;max-width:100%;max-height:148px;width:auto;height:auto;object-fit:contain;mix-blend-mode:normal}
.product-card-copy-v21{display:flex;flex-direction:column;flex:1}
.product-card-copy-v21 h3{margin:0 0 10px;font-family:Georgia,'Times New Roman',serif;font-size:22px;font-weight:500;line-height:1.1;color:#292a25;text-align:center}
.product-card-copy-v21 p{margin:0;font-size:13px;line-height:1.52;color:#5b5d55;text-align:center}
.product-tags-v21{justify-content:center;gap:6px;margin-top:14px;flex-wrap:wrap}
.product-tags-v21 span{font-size:11.5px;padding:5px 10px;border-radius:999px;background:#f4ede3;color:#686a61}
.product-card-footer-v21{margin-top:16px}
.product-action-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:11px 14px;border-radius:14px;border:1px solid rgba(112,126,83,.34);font-size:15px;font-weight:600;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
.product-action-btn.is-open,.product-action-btn.is-get{background:linear-gradient(145deg,#748257,#586845);color:#fff;border-color:transparent;box-shadow:0 10px 18px rgba(97,115,67,.18)}
.product-action-btn.is-open:hover,.product-action-btn.is-get:hover{transform:translateY(-1px);box-shadow:0 12px 20px rgba(97,115,67,.24)}
.product-action-btn.is-soon{background:#fbf6ee;color:#a28757;border-color:rgba(197,173,125,.5);box-shadow:none;cursor:not-allowed}

@media(max-width:1450px){
  .platform-product-grid-v21{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1040px){
  .platform-product-grid-v21{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .platform-product-grid-v21{grid-template-columns:1fr}
  .product-card-v21{min-height:auto;padding:18px 14px}
  .product-visual-v21{height:120px;margin-top:8px}
  .product-visual-v21 img{max-height:120px}
}

/* v37 — публичное приложение «Берегу себя» и контакты */
.platform-site-v19 .platform-footer .platform-contact-v37{display:inline-flex;gap:6px;align-items:center}.platform-site-v19 .platform-footer .platform-contact-v37 a{color:inherit;text-underline-offset:3px}
