/* ---------- ТОВАР ---------- */
.product{display:grid;grid-template-columns:1fr 1.1fr;gap:36px;align-items:start}
.gallery{position:relative;padding:10px}
.gallery__img{width:100%;aspect-ratio:1/1.05;object-fit:contain;transform:rotate(-4deg);cursor:pointer;border-radius:22px}
.gallery .badge{position:absolute;top:0;left:0;z-index:2}
.gallery__count{position:absolute;bottom:0;left:4px;background:var(--gray-bg);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600}
.gallery__full{position:absolute;right:6px;bottom:6px;padding:6px 10px;border:1px solid #e8e8e8;border-radius:999px;background:#fff;color:#222;font-size:12px;font-weight:600}
.gallery__full:hover{text-decoration:underline}
.gallery :is(.gallery__full,.gallery__img):focus-visible{outline:2px solid #222;outline-offset:-3px}
.product__title{font-weight:900;font-size:28px;line-height:1.15;margin-top:4px}
.p-stk{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.p-stk .sticker{font-size:12px;padding:4px 10px}
.product__tagline{border-left:4px solid var(--yellow);padding-left:16px;margin:18px 0 22px;font-size:15px;line-height:1.5;color:#333}
.buy{display:flex;gap:14px;margin-top:22px;flex-wrap:wrap}
.qty{display:flex;align-items:center;background:var(--gray-bg);border-radius:14px;height:54px;overflow:hidden}
.qty button{width:50px;height:100%;font-size:24px;font-weight:500}
.qty button:hover{background:#e8e8e8}
.qty input{width:62px;height:42px;border:none;border-radius:6px;text-align:center;font-weight:600;font-size:16px;background:#fff;outline:none}
.to-cart__ico{display:none}
.p-icons,.p-rate{display:none}
.review-link{display:inline-flex;gap:8px;align-items:center;margin-top:16px;font-size:13px;color:#4B5A8A;text-decoration:underline}
.p-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.p-meta a{font-size:12.5px;font-weight:700;background:transparent;border:1px solid #c5c5c5;border-radius:999px;padding:6px 12px;display:inline-flex;gap:6px;align-items:center}
.p-meta a:hover,.p-meta a:focus-visible{border-color:#707070;text-decoration:underline}

/* ---------- ЧТО ЭТО ---------- */
.about{background:var(--gray-bg);border-radius:22px;margin-top:36px;padding:28px 32px;display:grid;grid-template-columns:220px 1fr;gap:28px}
.about__title{font-size:34px;padding-right:20px;border-right:1.5px solid #D0D0D0}
.about__mascot{width:130px;height:130px;margin-top:14px;transform:rotate(-4deg)}
.underline{display:block;width:76px;height:7px;background:var(--yellow);border-radius:10px;margin-top:12px;transform:rotate(-3deg)}
.about__text{font-size:15px;line-height:1.55;color:#333}
.acc{margin-top:16px;background:#fff;border:1.5px solid #D6D6D6;border-radius:10px}
.acc__head{width:100%;display:flex;justify-content:space-between;align-items:center;padding:14px 20px;font-weight:900;font-size:17px;text-transform:uppercase;text-align:left}
.acc__head .pm{font-size:26px;font-weight:400;transition:transform .2s}
.acc.open .pm{transform:rotate(45deg)}
.acc__body{display:none;padding:0 20px 16px}
.acc.open .acc__body{display:block}
.specs{width:100%;border-collapse:collapse;font-size:14px}
.specs td{padding:8px 0;border-bottom:1px dashed #DDD;vertical-align:top}
.specs td:first-child{color:var(--gray-text);width:45%;padding-right:12px}

/* ---------- НАБОР ---------- */
.bundle{background:var(--yellow-soft);border-radius:22px;margin-top:20px;padding:26px 28px 22px;display:grid;grid-template-columns:1fr 190px;gap:18px}
.bundle__title{font-size:24px}
.bundle__sub{font-weight:600;font-size:15px;margin-top:10px}
.bundle__progress{border-left:1.5px solid #E5D9A6;padding-left:20px;font-size:13px;font-weight:500}
.bars{display:flex;gap:4px;margin-top:12px}
.bars i{flex:1;height:12px;border-radius:999px;background:#E2E2E2}
.bars i.on{background:#B89A1E}
.bundle__items{display:flex;align-items:flex-start;gap:14px;margin-top:18px}
.bitem{display:flex;flex-direction:column;align-items:center;width:130px;text-align:center}
.bitem__img{position:relative;width:112px;height:120px}
.bitem__img img{width:100%;height:100%;object-fit:contain;transform:rotate(-4deg);border-radius:14px}
.bitem__btn{position:absolute;right:-6px;bottom:-4px;width:36px;height:36px;border-radius:50%;background:var(--orange);color:#fff;font-size:24px;display:grid;place-items:center;border:2.5px solid #fff;transition:transform .15s}
.bitem__btn:hover{transform:scale(1.1)}
.bitem.in .bitem__btn{background:var(--green);font-size:18px}
.bitem__label{font-size:13px;font-weight:500;margin-top:12px}
.bitem.in .bitem__label{background:var(--green-soft);border-radius:999px;padding:5px 22px;font-weight:700}
.plus{font-size:38px;font-weight:300;margin-top:36px}
.bundle__cta{grid-column:2/3;grid-row:2/3;align-self:center;justify-self:center;width:136px;height:136px;border-radius:50%;background:var(--orange);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.05;transition:transform .15s}
.bundle__cta:hover{transform:scale(1.04)}
.bundle__cta b{font-weight:900;font-size:22px}
.bundle__cta span{font-weight:700;font-size:15px;margin-top:4px}

@media (max-width:900px){
  .buybar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
  .buybar .price{flex-direction:column;gap:2px;align-items:flex-start}
  .buybar .price__now{font-size:42px}
  .buybar .price__old{font-size:18px;text-decoration-thickness:2px}
  .buybar .buy{margin-top:0;flex-wrap:nowrap;flex-direction:row-reverse;gap:8px}
  .buybar .qty{height:50px;border-radius:12px}
  .buybar .qty button{width:36px;font-size:20px}
  .buybar .qty input{width:38px;height:38px;font-size:15px}
  .buybar .to-cart{width:56px;height:50px;padding:0;justify-content:center;border-radius:12px;position:relative}
  .to-cart__txt,.buybar .to-cart .div{display:none}
  .to-cart__ico{display:grid;place-items:center}
  .to-cart__ico svg{width:24px;height:24px}
  .buybar .disc{position:absolute;top:-10px;right:-8px;font-size:11px;padding:2px 6px;border:1.5px solid var(--orange)}
  .p-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}
  .p-icons button{display:flex;flex-direction:column;align-items:center;gap:5px;background:var(--gray-bg);border-radius:14px;padding:10px 4px;font-size:11.5px;font-weight:700;transition:background .15s}
  .p-icons button svg{width:22px;height:22px}
  .p-icons button.on{background:var(--yellow)}
  .p-icons button.on[data-act="fav"] svg{fill:var(--orange);stroke:var(--orange)}
  .p-rate.show{display:flex;justify-content:center;gap:6px;margin-top:10px;background:var(--gray-bg);border-radius:14px;padding:10px}
  .p-rate button{font-size:28px;line-height:1;color:#ccc}
  .p-rate button.on{color:#F5B400}
  .product{grid-template-columns:1fr;gap:16px}
  .gallery{max-width:420px;margin:0 auto;width:100%}
  .product__title{font-size:23px}
  .about{grid-template-columns:1fr;padding:22px 18px;gap:14px}
  .about__title{border-right:none;padding-right:0;font-size:28px;position:relative}
  .about__mascot{position:absolute;right:0;top:-10px;width:86px;height:86px;margin:0}
  .bundle{grid-template-columns:1fr;padding:22px 16px}
  .bundle__progress{border-left:none;padding-left:0}
  .bundle__cta{grid-column:1;grid-row:auto}
  .bundle__items{overflow-x:auto}
  .to-cart{padding:0 14px 0 20px;font-size:15px}
}
.product-stock { margin: 8px 0 12px; }
.product-stock .store-link { display: flex; align-items: baseline; gap: .55em; width: fit-content; margin-top: 3px; color: #555; font-size: 13px; line-height: 1.45; text-decoration: underline; text-underline-offset: 3px; }
.product-stock .store-link::before { content: ""; flex: 0 0 .4em; height: .4em; align-self: flex-start; margin-top: .53em; border-radius: 50%; background: #468941; }
.product-stock .store-link:hover, .product-stock .store-link:focus-visible { color: #171717; }
.buybar .price { flex-wrap: wrap; row-gap: 2px; }
[data-product-active] .masthead__mascot,[data-product-active] .masthead__promo{display:none}
.phone-product-shelf, main:has(.product) .filter-symbol { display: none; }
@media (max-width:650px) {
  main > .phone-product-shelf:not(:empty) { display: block; min-width: 0; }
  main:has(.product) > :is(#boughtWith,#similar) { display: none; }
  .phone-product-shelf .sec-head { flex-wrap: wrap; }
  .phone-product-shelf .section-title { font-size: clamp(22px,6vw,32px); }
}

.product .review-status { text-align: center; }
.product-actions #productReview .review-consent { display: flex; align-items: flex-start; gap: 10px; }
.product-actions #productReview input[type=checkbox] { flex: none; width: 18px; height: 18px; margin-top: 2px; }
#productReview .review-consent a, #productReview .review-policy { text-decoration: underline; text-underline-offset: 2px; }
.product-actions .review-status { overflow-wrap: anywhere; }
.product > .crumbs { padding-bottom: 0; }
@media (min-width: 901px) {
  main > .product {
    grid-template-rows: min-content 1fr auto;
    align-items: start;
    row-gap: 12px;
  }
  .product > .crumbs { grid-area: 1 / 2; }
  .product > .product__visual { grid-area: 1 / 1 / 3 / 2; }
  main .product > .product__details {
    grid-area: 2 / 2 / 4 / 3;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .product__details .product-stock { margin-top: auto; }
  .product > .product-actions { display: contents; }
  .product-actions > .p-icons { grid-area: 3 / 1; align-self: end; }
  .product-actions > .p-rate.show { grid-area: 4 / 1; margin-top: 0; }
}
