:root {
  --pp-ink: #17120d;
  --pp-paper: #fff8ea;
  --pp-cream: #f2e3c8;
  --pp-red: #a9342b;
  --pp-green: #326143;
  --pp-line: rgba(74, 52, 30, .18);
}

.product-page-root { min-width: 320px; background: var(--pp-paper); }
.product-page-body { margin: 0; background: var(--pp-paper); color: var(--pp-ink); font-family: "Manrope", sans-serif; }
.product-page-announcement { padding: 9px 20px; background: var(--pp-green); color: #fff8ea; font: 600 10px/1.4 "Unbounded", sans-serif; letter-spacing: .04em; text-align: center; }
.product-page-header { display: flex; width: min(1360px, calc(100% - 48px)); align-items: center; justify-content: space-between; gap: 30px; margin: 0 auto; padding: 20px 0; border-bottom: 1px solid var(--pp-line); }
.product-page-brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.product-page-brand > img { display: block; width: 43px; height: 50px; object-fit: contain; }
.product-page-brand > span { font: 600 13px "Unbounded", sans-serif; letter-spacing: .08em; }
.product-page-brand small { display: block; margin-top: 3px; color: #75644f; font: 600 7px "Unbounded", sans-serif; letter-spacing: .04em; }
.product-page-header nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.product-page-header nav a { color: inherit; font-size: 12px; font-weight: 700; text-decoration: none; }
.product-page-header nav a:hover { color: var(--pp-red); }
.product-page-cart-link { display: flex; align-items: center; gap: 7px; }
.product-page-cart-link b { display: grid; min-width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--pp-red); color: #fff; font-size: 10px; }
.product-page-shell { width: min(1360px, calc(100% - 48px)); margin: 0 auto; }
.product-page-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; padding: 19px 0; color: #75644f; font-size: 10px; }
.product-page-breadcrumbs a, .product-page-breadcrumbs span { color: inherit; text-decoration: none; }
.product-page-breadcrumbs a:hover { color: var(--pp-red); }
.product-page-breadcrumbs span[aria-current="page"] { overflow: hidden; max-width: 320px; color: var(--pp-ink); text-overflow: ellipsis; white-space: nowrap; }

.product-page-product { --product-column-inset: clamp(44px, 7vw, 105px); display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); overflow: hidden; border: 1px solid var(--pp-line); border-radius: 42px 42px 16px 16px; background: #f9eedb; box-shadow: 0 28px 90px rgba(83, 55, 26, .09); }
.product-page__media { position: relative; display: grid; min-height: 680px; place-items: center; overflow: hidden; padding: 52px 34px 64px; background: radial-gradient(circle at 50% 36%, #fffef9 0 15%, #ead9b9 73%); }
.product-page__media::before { position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid rgba(169, 52, 43, .16); border-radius: 50%; content: ""; }
.product-page__media-label { position: absolute; z-index: 2; top: 25px; left: 28px; color: var(--pp-green); font: 600 8px "Unbounded", sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.product-page__media > small { position: absolute; right: 28px; bottom: 22px; left: 28px; color: #806e57; font-size: 9px; text-align: center; }
.product-gallery { --product-gallery-rail: 86px; position: relative; z-index: 1; display: grid; width: 100%; height: 100%; grid-template-columns: 68px minmax(0, 1fr); gap: 18px; }
.product-gallery__thumbs { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 9px; max-height: 540px; overflow: auto; padding: 3px; scrollbar-width: thin; }
.product-gallery__thumb { display: grid; flex: 0 0 62px; width: 62px; height: 62px; place-items: center; overflow: hidden; padding: 5px; border: 1px solid transparent; border-radius: 16px; background: rgba(255, 250, 240, .65); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.product-gallery__thumb:hover { transform: translateY(-1px); }
.product-gallery__thumb.is-active { border-color: var(--pp-red); background: #fffaf0; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-gallery__stage { position: relative; display: grid; min-height: 540px; place-items: start center; padding: max(0px, calc(var(--product-column-inset) - 52px)) 24px 24px; border: 0; background: transparent; cursor: zoom-in; touch-action: pan-y; transform: translateX(calc(var(--product-gallery-rail) / -2)); }
.product-gallery__stage > img { width: min(94%, 600px); max-height: 540px; object-fit: contain; filter: drop-shadow(0 26px 32px rgba(54, 35, 18, .18)); mix-blend-mode: multiply; user-select: none; -webkit-user-drag: none; }
.product-gallery__zoom-hint { position: absolute; right: 4px; bottom: 12px; padding: 8px 11px; border: 1px solid var(--pp-line); border-radius: 999px; background: rgba(255, 250, 240, .82); color: #5f513f; font-size: 9px; font-weight: 800; backdrop-filter: blur(8px); }
.product-gallery__controls { position: absolute; bottom: -35px; left: 50%; display: flex; align-items: center; gap: 8px; transform: translateX(-50%); }
.product-gallery__controls button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--pp-line); border-radius: 50%; background: #fffaf0; color: var(--pp-ink); cursor: pointer; }
.product-gallery__controls span { min-width: 48px; color: #75644f; font-size: 9px; text-align: center; }
.product-gallery.has-image-error .product-gallery__stage::after { content: "Фото временно недоступно"; position: absolute; color: #806e57; font-size: 11px; font-weight: 800; }
.product-gallery.has-image-error .product-gallery__stage > img { opacity: 0; }
.product-page__image-fallback { position: relative; z-index: 1; display: grid; place-items: center; color: #806e57; text-align: center; }
.product-page__fallback-mark { display: grid; width: 118px; height: 148px; place-items: center; margin-bottom: 23px; border: 1px solid rgba(169, 52, 43, .24); border-radius: 58% 58% 44% 44%; color: var(--pp-red); font: 800 38px "Manrope", sans-serif; box-shadow: inset 0 0 0 9px rgba(255, 248, 234, .38); }
.product-page__image-fallback strong { color: #5f513f; font-size: 17px; }
.product-page__image-fallback small { margin-top: 7px; color: #806e57; font-size: 10px; }
.product-page__copy { position: relative; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; padding: var(--product-column-inset); border-left: 1px solid var(--pp-line); }
.product-page__warehouse-mark { position: absolute; top: -38px; right: -10px; color: rgba(169, 52, 43, .07); font: 600 clamp(190px, 24vw, 360px)/1 "Unbounded", sans-serif; pointer-events: none; }
.product-page__eyebrow { position: relative; margin: 0 0 18px; color: var(--pp-red); font: 600 8px "Unbounded", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.product-page__copy h1 { position: relative; max-width: 680px; margin: 0; font: 750 clamp(34px, 3.65vw, 58px)/1.03 "Manrope", sans-serif; letter-spacing: -.045em; text-wrap: balance; }
.product-page__copy h1.is-long-title { font-size: clamp(28px, 2.75vw, 43px); line-height: 1.08; }
.product-page__price { position: relative; display: flex; align-items: baseline; gap: 14px; margin-top: 34px; }
.product-page__price strong { font: 800 clamp(27px, 2.8vw, 39px) "Manrope", sans-serif; letter-spacing: -.04em; }
.product-page__price del { color: #8a7963; font-size: 14px; }
.product-page__facts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-top: 22px; border: 1px solid var(--pp-line); border-radius: 15px; background: var(--pp-line); }
.product-page__facts p { display: grid; gap: 5px; min-width: 0; margin: 0; padding: 12px; background: rgba(255, 250, 240, .92); }
.product-page__facts p span { color: #806e57; font-size: 8px; font-weight: 700; }
.product-page__facts p strong { overflow: hidden; color: var(--pp-ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-page__facts .product-page__stock strong { color: var(--pp-green); }
.product-page__description { position: relative; max-width: 600px; margin: 27px 0 0; color: #5f513f; font: 500 13px/1.75 "Manrope", sans-serif; }
.product-page__request { display: grid; grid-template-columns: minmax(164px, 190px) minmax(210px, 1fr); align-items: end; gap: 12px; margin-top: 32px; }
.product-page__quantity-field { display: grid; gap: 6px; color: #806e57; font-size: 9px; font-weight: 700; }
.product-page__quantity-field > span { padding-left: 12px; }
.product-page__quantity-field > small { min-height: 13px; padding-left: 12px; color: #806e57; font-size: 9px; font-weight: 650; line-height: 1.35; }
.product-page__quantity-stepper { display: grid; height: 51px; overflow: hidden; border: 1px solid var(--pp-line); border-radius: 999px; background: #fffaf0; grid-template-columns: 46px minmax(52px, 1fr) 46px; }
.product-page__quantity-stepper button { display: grid; min-width: 44px; place-items: center; padding: 0; border: 0; background: transparent; color: var(--pp-ink); font: 750 21px/1 "Manrope", sans-serif; cursor: pointer; }
.product-page__quantity-stepper button:hover:not(:disabled) { background: rgba(169, 52, 43, .08); color: var(--pp-red); }
.product-page__quantity-stepper button:disabled { color: rgba(74, 52, 30, .28); cursor: default; }
.product-page__quantity-stepper button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--pp-red); outline-offset: -3px; }
.product-page__quantity-stepper input { width: 100%; height: 100%; padding: 0 4px; border: 0; border-right: 1px solid var(--pp-line); border-left: 1px solid var(--pp-line); border-radius: 0; outline: 0; background: transparent; color: var(--pp-ink); appearance: textfield; font: 800 15px "Manrope", sans-serif; text-align: center; }
.product-page__quantity-stepper input::-webkit-inner-spin-button,
.product-page__quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.product-page__quantity-stepper input:focus { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px var(--pp-red); }
.product-page__quantity-stepper [hidden] { display: none; }
.product-page__quantity-stepper.is-fixed { display: flex; align-items: center; justify-content: center; border-color: rgba(50, 97, 67, .28); background: rgba(50, 97, 67, .07); }
.product-page__quantity-stepper output { color: var(--pp-green); font: 800 15px "Manrope", sans-serif; }
.product-page__primary { align-self: start; min-height: 51px; margin-top: 19px; border: 0; border-radius: 999px; background: var(--pp-red); color: #fff; font: 600 12px "Unbounded", sans-serif; cursor: pointer; }
.product-page__primary:hover { background: #81251f; transform: translateY(-1px); }
.product-page__primary.is-added { background: var(--pp-green); }
.product-page__primary:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.product-page__personal { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 18px; }
.product-page__personal button { padding: 0; border: 0; background: none; color: #5f513f; font-size: 11px; font-weight: 700; cursor: pointer; }
.product-page__personal button.is-active { color: var(--pp-red); }
.product-page__request-note { margin: 23px 0 0; padding-top: 18px; border-top: 1px solid var(--pp-line); color: #806e57; font-size: 9px; line-height: 1.6; }

.product-page-details { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(30px, 8vw, 130px); padding: 90px 5%; border-bottom: 1px solid var(--pp-line); }
.product-page-details p, .product-page-related__head p { margin: 0 0 9px; color: var(--pp-red); font: 600 8px "Unbounded", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.product-page-details h2, .product-page-related__head h2 { margin: 0; font: 750 clamp(30px, 3.5vw, 48px)/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.product-page-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--pp-line); }
.product-page-details dl div { display: grid; grid-template-columns: minmax(90px, .7fr) 1fr; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--pp-line); }
.product-page-details dl div:nth-child(odd) { padding-right: 25px; }
.product-page-details dl div:nth-child(even) { padding-left: 25px; border-left: 1px solid var(--pp-line); }
.product-page-details dt { color: #806e57; font-size: 10px; }
.product-page-details dd { margin: 0; font-size: 11px; font-weight: 800; }
.product-page-details dd a { color: var(--pp-red); text-decoration: none; text-underline-offset: 3px; }
.product-page-details dd a:hover { text-decoration: underline; }
.product-page-related { padding: 90px 0 110px; }
#series-section { padding-bottom: 90px; border-bottom: 1px solid var(--pp-line); }
.product-page-related__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.product-page-related__head a { color: var(--pp-red); font-size: 11px; font-weight: 800; text-decoration: none; }
.product-page-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related-card { overflow: hidden; border: 1px solid var(--pp-line); border-radius: 24px 24px 12px 12px; background: #f8eedc; color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.related-card:hover { box-shadow: 0 18px 45px rgba(69, 45, 20, .12); transform: translateY(-5px); }
.related-card__media { display: grid; aspect-ratio: 1/.85; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fffdf7, #eadcc4 88%); }
.related-card__media img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.related-card__media span { color: #806e57; font-size: 10px; }
.related-card__fallback { display: grid; place-items: center; gap: 8px; }
.related-card__fallback b { display: grid; width: 48px; height: 60px; place-items: center; border: 1px solid rgba(169, 52, 43, .22); border-radius: 55% 55% 42% 42%; color: var(--pp-red); font-size: 17px; }
.related-card__copy { padding: 17px; }
.related-card__copy small { color: var(--pp-red); font: 600 7px "Unbounded", sans-serif; text-transform: uppercase; }
.related-card__copy h3 { min-height: 42px; margin: 10px 0 18px; font: 600 9px/1.5 "Unbounded", sans-serif; }
.related-card__copy strong { font: 800 18px "Manrope", sans-serif; letter-spacing: -.03em; }
.product-page-footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px max(24px, calc((100% - 1360px) / 2)); background: var(--pp-ink); color: #fff8ea; }
.product-page-footer a { color: inherit; font: 600 12px "Unbounded", sans-serif; text-decoration: none; }
.product-page-footer p { margin: 0; color: #bfb09d; font-size: 10px; }
.product-page-toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; max-width: min(360px, calc(100vw - 48px)); padding: 13px 17px; border-radius: 999px; background: var(--pp-ink); color: #fff; font-size: 11px; opacity: 0; transform: translateY(12px); transition: .2s; pointer-events: none; }
.product-detail__discount { display: block; margin-top: 7px; color: var(--pp-accent); font-size: 11px; font-weight: 800; }
.product-page-toast.is-visible { opacity: 1; transform: none; }
.product-mobile-request { display: none; }
.product-lightbox { width: min(1100px, calc(100vw - 48px)); height: min(850px, calc(100vh - 48px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 26px; background: #fffaf0; box-shadow: 0 30px 100px rgba(0, 0, 0, .35); }
.product-lightbox[open] { display: grid; place-items: center; }
.product-lightbox::backdrop { background: rgba(23, 18, 13, .78); backdrop-filter: blur(7px); }
.product-lightbox img { width: calc(100% - 140px); height: calc(100% - 70px); object-fit: contain; }
.product-lightbox__close, .product-lightbox__arrow { position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; border: 1px solid var(--pp-line); border-radius: 50%; background: rgba(255, 250, 240, .94); color: var(--pp-ink); cursor: pointer; }
.product-lightbox__close { top: 18px; right: 18px; width: 42px; height: 42px; font-size: 28px; }
.product-lightbox__arrow { top: 50%; width: 46px; height: 46px; transform: translateY(-50%); }
.product-lightbox__arrow.is-prev { left: 20px; }
.product-lightbox__arrow.is-next { right: 20px; }
.product-lightbox__count { position: absolute; bottom: 18px; color: #75644f; font-size: 10px; font-weight: 800; }
.product-lightbox.has-single-image .product-lightbox__arrow, .product-lightbox.has-single-image .product-lightbox__count { display: none; }

@media (max-width: 920px) {
  .product-page-product { grid-template-columns: 1fr; }
  .product-page__media { min-height: 520px; }
  .product-gallery__stage { min-height: 430px; place-items: center; padding: 24px; }
  .product-page__copy { padding: 55px; border-top: 1px solid var(--pp-line); border-left: 0; }
  .product-page-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .product-page-announcement { font-size: 8px; }
  .product-page-header, .product-page-shell { width: min(100% - 28px, 1360px); }
  .product-page-header { padding: 14px 0; }
  .product-page-header nav > a:not(.product-page-cart-link) { display: none; }
  .product-page-brand > img { width: 38px; height: 44px; }
  .product-page-product { border-radius: 25px 25px 12px 12px; }
  .product-page-body { padding-bottom: 75px; }
  .product-page__media { min-height: 430px; padding: 46px 14px 58px; }
  .product-gallery { grid-template-columns: 1fr; grid-template-rows: minmax(300px, 1fr) 54px; gap: 7px; }
  .product-gallery__stage { min-height: 300px; padding: 10px; transform: none; }
  .product-gallery__stage > img { width: 96%; max-height: 305px; }
  .product-gallery__thumbs { grid-row: 2; flex-direction: row; max-height: 54px; overflow-x: auto; overflow-y: hidden; padding: 2px 34px 2px 2px; }
  .product-gallery__thumb { flex-basis: 50px; width: 50px; height: 50px; border-radius: 13px; }
  .product-gallery__zoom-hint { right: 2px; bottom: 3px; padding: 6px 8px; font-size: 8px; }
  .product-gallery__controls { right: 0; bottom: -50px; left: auto; z-index: 2; gap: 4px; transform: none; }
  .product-gallery__controls button { width: 30px; height: 30px; }
  .product-page__copy { padding: 38px 24px 32px; }
  .product-page__copy h1 { font-size: 34px; }
  .product-page__copy h1.is-long-title { font-size: 27px; }
  .product-page__warehouse-mark { top: -20px; font-size: 180px; }
  .product-page__request { grid-template-columns: minmax(142px, 164px) minmax(0, 1fr); }
  .product-page__facts { grid-template-columns: 1fr; }
  .product-page__facts p { grid-template-columns: 1fr 1fr; align-items: center; }
  .product-page__facts p strong { text-align: right; }
  .product-page-details { grid-template-columns: 1fr; padding: 65px 0; }
  .product-page-details dl { grid-template-columns: 1fr; }
  .product-page-details dl div:nth-child(n) { padding: 16px 0; border-right: 0; border-left: 0; }
  .product-page-related { padding: 65px 0 80px; }
  .product-page-related__head { align-items: flex-start; flex-direction: column; }
  .product-page-related__grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .related-card__copy { padding: 12px; }
  .related-card__copy h3 { min-height: 57px; font-size: 8px; }
  .product-page-footer { align-items: flex-start; flex-direction: column; }
  .product-mobile-request { position: fixed; right: 0; bottom: 0; left: 0; z-index: 18; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(74, 52, 30, .18); background: rgba(255, 248, 234, .96); box-shadow: 0 -12px 35px rgba(69, 45, 20, .12); backdrop-filter: blur(14px); }
  .product-mobile-request span { display: grid; }
  .product-mobile-request small { color: #806e57; font-size: 8px; }
  .product-mobile-request strong { font-size: 18px; letter-spacing: -.03em; }
  .product-mobile-request button { min-height: 45px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--pp-red); color: #fff; font-size: 11px; font-weight: 800; }
  .product-mobile-request button:disabled { opacity: .45; }
  .product-mobile-request button.is-added { background: var(--pp-green); }
  .product-lightbox { width: calc(100vw - 20px); height: calc(100vh - 20px); border-radius: 18px; }
  .product-lightbox img { width: calc(100% - 24px); height: calc(100% - 100px); }
  .product-lightbox__arrow { top: auto; bottom: 18px; transform: none; }
  .product-lightbox__arrow.is-prev { left: calc(50% - 62px); }
  .product-lightbox__arrow.is-next { right: calc(50% - 62px); }
}

@media (max-width: 430px) {
  .product-page__request { grid-template-columns: 1fr; }
  .product-page__primary { width: 100%; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .product-page__primary, .related-card, .product-page-toast, .product-gallery__thumb { transition: none; }
}
