/* Родные Травы · Карточка товара.
   Перенесено из style.css исходного сайта без изменений значений. */

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 28px 0 64px; align-items: start; }
.gallery { position: sticky; top: 120px; }
.gallery .main { background: var(--paper); border-radius: 50%; padding: 6%; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); position: relative; }
.gallery .main::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed var(--line-2); }
.gallery .main img { border-radius: 50%; width: 100%; }
.gallery .thumbs { display: flex; gap: 14px; justify-content: center; margin-top: 26px; }
.gallery .thumbs button { width: 92px; height: 92px; border-radius: 50%; border: 2px solid transparent; padding: 4px; background: var(--white); box-shadow: 0 8px 20px -14px rgba(30,42,28,.6); }
.gallery .thumbs button.on { border-color: var(--olive); }
.gallery .thumbs img { border-radius: 50%; }
.gallery .thumbs .glass { display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink); background: radial-gradient(circle at 40% 30%, #fff8 0 8%, transparent 28%), #b9832a; border-radius: 50%; width: 100%; height: 100%; text-transform: uppercase; letter-spacing: .06em; }
.pdp h1 { font-size: clamp(34px, 3.6vw, 50px); margin: 6px 0 14px; }
.pdp .meta-line { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 16px; margin-bottom: 26px; }
.pdp .meta-line b { color: var(--forest); font-weight: 600; }
.pdp .meta-line span { display: inline-flex; align-items: center; gap: 8px; }
.pdp .meta-line svg { width: 20px; height: 20px; stroke: var(--olive); fill: none; stroke-width: 1.6; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.pack { cursor: pointer; border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 16px 16px 14px; background: var(--white); position: relative; text-align: left; transition: border-color .25s, background .25s; }
.pack:hover { border-color: var(--olive); }
.pack.on { border-color: var(--forest); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--forest); }
.pack b { display: block; font-size: 20px; color: var(--forest); font-family: var(--font-display); font-weight: 400; }
.pack .p { font-weight: 700; font-size: 18px; margin-top: 6px; display: block; }
.pack small { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.pack[data-weight="100"] .p + small { display: none; }
.pack .save { position: absolute; top: -10px; right: 10px; background: var(--ochre); color: var(--ink); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.buy { display: grid; grid-template-columns: minmax(120px, 1fr) auto; gap: 16px; align-items: center; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 18px; }
.buy .total { font-family: var(--font-display); font-size: 36px; color: var(--forest); line-height: 1; white-space: nowrap; }
.buy .row { flex-wrap: wrap; gap: 10px 0; justify-content: flex-end; }
.buy .total small { font-family: var(--font-text); font-size: 15px; color: var(--ink-3); display: block; margin-top: 8px; }
.buy .qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; margin-right: 12px; vertical-align: middle; }
.buy .qty button { width: 48px; height: 56px; border: 0; background: transparent; font-size: 22px; color: var(--forest); }
.buy .qty output { min-width: 40px; text-align: center; font-weight: 700; font-size: 19px; }
.buy .row { display: flex; align-items: center; }
.course-note { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 18px; background: var(--paper-2); border-radius: var(--r); font-size: 16px; color: var(--ink-2); margin-bottom: 26px; }
.course-note svg { width: 40px; height: 40px; stroke: var(--olive); fill: none; stroke-width: 1.5; }
.course-note b { color: var(--forest); }
.trust-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.trust-mini div { font-size: 14px; color: var(--ink-2); padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.trust-mini b { display: block; color: var(--forest); font-size: 15px; }
.tabs { border-top: 1px solid var(--line-2); }
.tabs details { border-bottom: 1px solid var(--line-2); }
.tabs summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-size: 24px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; color: var(--forest); }
.tabs summary::-webkit-details-marker { display: none; }
.tabs summary::after { content: "+"; font-size: 30px; line-height: 1; color: var(--olive); transition: transform .3s; }
.tabs details[open] summary::after { transform: rotate(45deg); }
.tabs .body { padding: 0 0 26px; color: var(--ink-2); font-size: 17px; }
.tabs .body h4 { font-family: var(--font-text); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); margin: 18px 0 8px; font-weight: 700; }
.tabs .body ul, .tabs .body ol { padding-left: 22px; margin: 0 0 12px; }
.tabs .body li { margin-bottom: 6px; }
.brew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 20px; }
.brew div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-align: center; }
.brew b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--forest); }
.brew span { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 1100px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .packs, .brew, .trust-mini { grid-template-columns: 1fr; }
  .brew { grid-template-columns: repeat(2, 1fr); }
  .packs { grid-template-columns: 1fr 1fr; }
  .buy { grid-template-columns: 1fr; }
  .buy .btn { width: 100%; }
}
.ph--big span { font-size: clamp(18px, 2vw, 26px); }
.ph--big small { font-size: 11px; }
.pinfo { min-width: 0; }
.rating { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 18px; }
.rating .stars { color: var(--ochre); letter-spacing: 2px; }
.rating b { color: var(--forest); }
.rating a { color: var(--ink-3); }
.instock { margin-left: auto; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); display: inline-flex; align-items: center; gap: 6px; }
.instock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 0 rgba(127,163,59,.6); animation: pulse 2s infinite; }
.aka { font-size: 14.5px; color: var(--ink-3); margin: -12px 0 20px; }
.packs { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.pack small + .p { margin-top: 2px; }
.gallery .main { overflow: hidden; cursor: zoom-in; }
.gallery .main img.zoomable { transition: transform .15s ease-out; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.gallery .main:hover img.zoomable { transform: scale(1.8); }
.gallery .main .ph--big { width: 100%; }
.zoomhint { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: color-mix(in srgb, var(--paper) 85%, transparent); padding: 6px 12px; border-radius: 999px; pointer-events: none; opacity: .9; transition: opacity .3s; }
.gallery .main:hover .zoomhint { opacity: 0; }
.gallery .thumbs .glass-btn { padding: 4px; }
.pdp .tchips { margin: 0 0 26px; }
.reviews--2 { grid-template-columns: 1fr 1fr; }
.stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--white) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s cubic-bezier(.2,.7,.2,1); box-shadow: 0 -12px 30px -20px rgba(30,42,28,.4); }
.stickybuy.on { transform: none; }
.stickybuy .wrap { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; min-height: 76px; }
.stickybuy__name { font-family: var(--font-display); font-size: 20px; color: var(--forest); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybuy__name small { display: block; font-family: var(--font-text); font-size: 13px; color: var(--ink-3); }
.stickybuy__price { font-family: var(--font-display); font-size: 26px; color: var(--forest); }
.grid-products--recent .product { padding: 18px 16px 16px; }
.grid-products--recent .product h3 { font-size: 18px; }
.grid-products--recent { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-products--recent .product .course, .grid-products--recent .product .meta, .grid-products--recent .product .fav { display: none; }
@media (max-width: 1100px) {
  .grid-products--recent { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .grid-products--recent, .reviews--2 { grid-template-columns: 1fr; }
  .stickybuy .wrap { grid-template-columns: 1fr auto; gap: 10px; min-height: 68px; }
  .stickybuy__price { display: none; }
  .rating { flex-wrap: wrap; }
  .instock { margin-left: 0; }
}
