/* Страница товара (tk1c 5.10.2): шаблон product/tkcard, скрипт card.js */
.pc { --ink: #0c0c0c; --mut: #6b7680; --line: #e4ebf2; --soft: #f3f7fa; --blue: #00a3e1; --blue-d: #0089bf; --navy: #2b68af; --wb1: #cb11ab; --wb2: #481173; --star: #f5a623; --few: #d9822b; --hit: #ff7a00; --new: #2b68af; --blue-l: #f0faff; --r: 8px; font-family: "Gilroy", Arial, sans-serif; color: var(--ink); margin: 8px 0 64px; line-height: 1.4; }
.pc *, .pc *::before, .pc *::after { box-sizing: border-box; }
.pc button { font-family: inherit; color: inherit; cursor: pointer; }
.pc svg { display: block; flex: none; }
.pc h2 { margin: 0; font: 700 22px/1.25 "Gilroy", Arial, sans-serif; letter-spacing: -.01em; }

.pc-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "gal buy" "about buy"; column-gap: 48px; row-gap: 48px; align-items: start; }
.pc-gal { grid-area: gal; }
.pc-buy { grid-area: buy; }
.pc-about { grid-area: about; }

/* Галерея */
.pc-gal { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
.pc-thumbs { display: flex; flex-direction: column; gap: 8px; height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: none; }
.pc-thumbs::-webkit-scrollbar { display: none; }
.pc-thumb { flex: none; width: 76px; aspect-ratio: 3 / 4; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--soft); }
.pc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-thumb[aria-current="true"] { border-color: var(--blue); }
.pc-stage { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.pc-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.pc-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(12, 40, 80, .12); display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.pc-nav svg { width: 20px; height: 20px; }
.pc-nav.prev { left: 16px; } .pc-nav.next { right: 16px; }
.pc-stage:hover .pc-nav, .pc-nav:focus-visible { opacity: 1; }
.pc-nav[disabled] { opacity: 0 !important; pointer-events: none; }
.pc-count { position: absolute; left: 16px; bottom: 16px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 600; line-height: 26px; font-variant-numeric: tabular-nums; }

/* Покупка */
.pc-buy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pc-head h1 { margin: 0 0 8px; font: 700 30px/1.15 "Gilroy", Arial, sans-serif; letter-spacing: -.01em; text-wrap: balance; }
.pc-sub { margin: 0; color: var(--mut); font-size: 14px; line-height: 20px; }
.pc-sub span + span::before { content: "·"; margin: 0 8px; }
.pc-rate { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: none; }
.pc-rate:hover span { text-decoration: underline; }
.pc-rate span { color: var(--mut); }
.pc-stars { display: inline-flex; gap: 2px; }
.pc-stars svg { width: 16px; height: 16px; color: #d6dde3; }
.pc-stars svg.on { color: var(--star); }
.pc-price { display: flex; flex-direction: column; gap: 6px; }
.pc-now { font-size: 34px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-now small { font-size: 20px; font-weight: 700; margin-right: 4px; }
.pc-opt { font-size: 14px; line-height: 20px; color: var(--mut); }
.pc-opt a { color: var(--navy); font-weight: 600; text-decoration: none; }
.pc-opt a:hover { text-decoration: underline; }

.pc-group { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pc-label { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 24px; font-size: 15px; line-height: 20px; }
.pc-label b { font-weight: 700; }
.pc-label b span { font-weight: 500; color: var(--mut); }
.pc-link { padding: 0; border: 0; background: none; color: var(--navy) !important; font: 600 14px/20px "Gilroy", Arial, sans-serif !important; text-decoration: underline dashed; text-underline-offset: 4px; }

.pc-colors { display: flex; flex-wrap: wrap; gap: 12px; }
.pc-color { width: 64px; padding: 0; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pc-color img { display: block; width: 64px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; outline: 1px solid var(--line); outline-offset: -1px; }
.pc-color[aria-current="true"] img { outline: 2px solid var(--blue); outline-offset: 2px; }
.pc-color span { font-size: 12px; line-height: 15px; color: var(--mut); text-align: center; }
.pc-color[aria-current="true"] span { color: var(--ink); font-weight: 600; }

.pc-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pc-size { min-height: 44px; padding: 4px 6px; border: 1.5px solid #d6e2ec; border-radius: 6px; background: #fff; font: 600 14px/17px "Gilroy", Arial, sans-serif !important; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: center; justify-content: center; white-space: nowrap; }
.pc-size em { font-style: normal; font-size: 11px; line-height: 13px; font-weight: 600; color: var(--few); }
.pc-size:hover:not([disabled]) { border-color: var(--blue); }
.pc-size[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-l); background: color-mix(in srgb, var(--blue) 8%, #fff); }
.pc-size[disabled] { background: var(--soft); border-color: var(--soft); color: #a7b0b8 !important; font-weight: 500 !important; cursor: default; }
.pc-note { min-height: 20px; margin: 0; font-size: 14px; line-height: 20px; color: var(--mut); }
.pc-note.err { color: #d0342c; font-weight: 600; }
.pc-sg.shake .pc-sizes { animation: pc-shake .3s; }
@keyframes pc-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Рост и подбор */
.pc-heights { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 10px; background: var(--soft); align-self: flex-start; }
.pc-h { height: 36px; padding: 0 14px; border: 0; border-radius: 7px; background: none; font: 600 14px/1 "Gilroy", Arial, sans-serif !important; color: var(--mut) !important; font-variant-numeric: tabular-nums; }
.pc-h small { font-size: 12px; font-weight: 500; margin-left: 4px; }
.pc-h[aria-checked="true"] { background: #fff; color: var(--ink) !important; box-shadow: 0 1px 4px rgba(12, 40, 80, .12); }
.pc-h.empty { opacity: .55; }
.pc-sizes.short { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.pc-size.hint { border-color: var(--navy); border-style: dashed; }
.pc-ask { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--navy) !important; font: 600 14px/20px "Gilroy", Arial, sans-serif !important; text-decoration: underline; text-underline-offset: 3px; }
.pc-qty { display: grid; grid-template-columns: 40px 44px 40px; align-items: center; height: 56px; border: 1.5px solid #d6e2ec; border-radius: 6px; background: #fff; }
.pc-qty button { height: 100%; padding: 0; border: 0; background: none; font: 500 22px/1 "Gilroy", Arial, sans-serif !important; color: var(--ink) !important; }
.pc-qty button[disabled] { color: #c4ccd3 !important; cursor: default; }
.pc-qty input { width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: center; font: 700 17px "Gilroy", Arial, sans-serif; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.pc-qty input::-webkit-outer-spin-button, .pc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pc :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pc-track:focus-visible { outline-offset: -2px; }

.pc-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) 56px; gap: 12px; }
.pc-add { height: 56px; border: 0; border-radius: 6px; background: var(--blue); color: #fff !important; font: 700 17px "Gilroy", Arial, sans-serif !important; box-shadow: 0 10px 24px color-mix(in srgb, var(--blue) 25%, transparent); transition: background .15s; }
.pc-add:hover { background: var(--blue-d); }
.pc-add.done { background: #1f9d55; box-shadow: none; }
.pc-fav { width: 56px; height: 56px; padding: 0; border: 1.5px solid #d6e2ec; border-radius: 6px; background: #fff; display: grid; place-items: center; }
.pc-fav svg { width: 24px; height: 24px; }
.pc-fav[aria-pressed="true"] { color: #e0245e; border-color: #f3c1d0; }
.pc-fav[aria-pressed="true"] path { fill: currentColor; }
.pc-wb { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 6px; background: linear-gradient(90deg, var(--wb1), var(--wb2)) !important; color: #fff !important; font: 700 16px/1 "Gilroy", Arial, sans-serif; text-decoration: none !important; box-shadow: 0 8px 20px color-mix(in srgb, var(--wb1) 25%, transparent); transition: filter .15s; }
.pc-wb:hover { filter: brightness(1.08); }
html.tkd-on .pc .pc-wb, html.tkd-on .pc .pc-wb.tkd-flat { background: linear-gradient(90deg, var(--wb1), var(--wb2)) !important; box-shadow: 0 8px 20px color-mix(in srgb, var(--wb1) 25%, transparent) !important; border-radius: 6px !important; }
html.tkd-on .pc .pc-add.tkd-flat:not(.done) { box-shadow: 0 10px 24px color-mix(in srgb, var(--blue) 25%, transparent) !important; }
.pc-wb i { font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: #fff; color: var(--wb1); font-size: 11px; font-weight: 800; line-height: 1; }

.pc-facts { list-style: none; margin: 0; padding: 16px 20px; border-radius: var(--r); background: var(--soft); display: grid; gap: 14px; font-size: 14px; line-height: 20px; }
.pc-facts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.pc-facts svg { width: 20px; height: 20px; color: var(--navy); }
.pc-facts b { display: block; font-weight: 700; }
.pc-facts a { color: var(--navy); }

/* О модели */
.pc-about { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.pc-desc { margin: 16px 0 0; max-width: 68ch; font-size: 16px; line-height: 1.6; }
.pc-all { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 16px 0 0; }
.pc-all div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 20px; }
.pc-all dt { color: var(--mut); font-weight: 400; } .pc-all dd { margin: 0; }

/* Отзывы */
.pc-reviews { margin-top: 72px; }
.pc-rhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.pc-rwrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.pc-sum { padding: 24px; border-radius: var(--r); background: var(--soft); display: flex; flex-direction: column; gap: 16px; }
.pc-avg { display: flex; align-items: center; gap: 12px; }
.pc-avg b { font-size: 44px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-avg div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 18px; color: var(--mut); }
.pc-bars { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 16px; color: var(--mut); }
.pc-bars li { display: grid; grid-template-columns: 12px minmax(0, 1fr) 20px; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.pc-bars i { height: 6px; border-radius: 3px; background: #dfe6ec; overflow: hidden; }
.pc-bars i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--star); }
.pc-bars span:last-child { text-align: end; }
.pc-rlist { display: flex; flex-direction: column; }
.pc-rev { padding: 20px 0; border-bottom: 1px solid var(--line); }
.pc-rev:first-child { padding-top: 0; }
.pc-rtop { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; font-size: 15px; line-height: 20px; }
.pc-rtop b { font-weight: 700; }
.pc-rtop time { color: var(--mut); font-size: 14px; margin-left: auto; }
.pc-rev p { margin: 0; max-width: 72ch; font-size: 15px; line-height: 1.55; }
.pc-empty { padding: 24px; border-radius: var(--r); background: var(--soft); }
.pc-empty p { margin: 0 0 16px; color: var(--mut); font-size: 15px; line-height: 1.5; }
.pc-btn2 { height: 48px; padding: 0 24px; border: 1.5px solid var(--blue); border-radius: 6px; background: #fff; color: var(--blue) !important; font: 700 15px "Gilroy", Arial, sans-serif !important; }
.pc-btn2:hover { background: var(--blue-l); background: color-mix(in srgb, var(--blue) 8%, #fff); }

/* С этим берут */
.pc-with { display: flex; flex-direction: column; gap: 12px; }
.pc-wlist { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pc-witem { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none !important; transition: border-color .15s; }
.pc-witem:hover { border-color: #bfd3e3; }
.pc-witem img { display: block; width: 54px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; background: var(--soft); }
.pc-witem b { display: block; font-size: 14px; line-height: 18px; font-weight: 600; }
.pc-witem span { display: block; font-size: 13px; line-height: 17px; color: var(--mut); }
.pc-witem strong { font-size: 15px; line-height: 20px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 8px; }

/* Подборки снизу */
.pc-shelf { margin-top: 72px; }
.pc-shead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pc-tabs { display: flex; gap: 8px; }
.pc-tab { height: 40px; padding: 0 18px; border: 1.5px solid #d6e2ec; border-radius: 20px; background: #fff; font: 700 15px/1 "Gilroy", Arial, sans-serif !important; }
.pc-tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff !important; }
.pc-arrows { display: flex; gap: 8px; }
.pc-arr { width: 40px; height: 40px; padding: 0; border: 1.5px solid #d6e2ec; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.pc-arr svg { width: 18px; height: 18px; }
.pc-arr[disabled] { opacity: .35; cursor: default; }
.pc-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.pc-row::-webkit-scrollbar { display: none; }
.pc-row[hidden] { display: none; }
.pc-row.small { grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; }
.pc-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-width: 0; color: inherit; text-decoration: none !important; }
.pc-card .ph { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.pc-card .ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pc-card:hover .ph img { transform: scale(1.03); }
.pc-card .bd { position: absolute; left: 10px; top: 10px; height: 24px; padding: 0 9px; border-radius: 12px; background: var(--hit); color: #fff; font-size: 12px; font-weight: 700; line-height: 24px; }
.pc-card .bd.new { background: var(--new); }
.pc-card .out { position: absolute; left: 10px; bottom: 10px; height: 24px; padding: 0 9px; border-radius: 12px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; line-height: 24px; color: var(--mut); }
.pc-card .fv { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.pc-card .fv svg { width: 20px; height: 20px; }
.pc-card .pr { font-size: 18px; line-height: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pc-card .pr small { font-size: 14px; font-weight: 700; margin-right: 3px; }
.pc-card .nm { font-size: 14px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-card .mt { margin-top: -6px; font-size: 13px; line-height: 17px; color: var(--mut); }
.pc-row.small .pr { font-size: 16px; }

.pc-bar { display: none; }
.pc-zoom { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 20, 32, .92); display: none; place-items: center; }
.pc-zoom.on { display: grid; }
.pc-zoom img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.pc-zoom button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; font-size: 26px; line-height: 44px; }

@media (max-width: 1100px) { .pc-row { grid-auto-columns: calc((100% - 3 * 20px) / 4); } .pc-row.small { grid-auto-columns: calc((100% - 4 * 16px) / 5); } .pc-main { column-gap: 32px; } .pc-head h1 { font-size: 26px; } .pc-all { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
	.pc { margin-top: 0; }
	.pc-main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "buy" "about"; row-gap: 24px; }
	.pc-gal { grid-template-columns: minmax(0, 1fr); margin: 0 -16px; }
	.pc-thumbs, .pc-nav { display: none; }
	.pc-stage { border-radius: 0; aspect-ratio: auto; height: min(125vw, 64vh); }
	.pc-head h1 { font-size: 22px; }
	.pc-now { font-size: 30px; }
	.pc-cta { grid-template-columns: minmax(0, 1fr); }
	.pc-cta .pc-add, .pc-cta .pc-fav, .pc-cta .pc-qty { display: none; }
	.pc-about { gap: 32px; margin-top: 16px; }
	.pc-all { grid-template-columns: minmax(0, 1fr); }
	.pc-reviews { margin-top: 40px; }
	.pc-rwrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.pc-rhead .pc-btn2 { display: none; }
	.pc-shelf { margin-top: 48px; }
	.pc-shead { flex-wrap: wrap; }
	.pc-arrows { display: none; }
	.pc-row, .pc-row.small { grid-auto-columns: 44%; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; }
	.pc-row.small { grid-auto-columns: 36%; }
	.pc-tab { height: 36px; padding: 0 14px; font-size: 14px !important; }
	.pc { padding-bottom: 72px; }
	.pc-bar { display: flex; position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h, 60px) + env(safe-area-inset-bottom, 0px)); z-index: 930; gap: 12px; align-items: center; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(12, 40, 80, .06); }
	.pc-bp { flex: none; display: flex; flex-direction: column; gap: 2px; }
	.pc-bp b { font-size: 19px; line-height: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
	.pc-bp span { font-size: 12px; line-height: 14px; color: var(--mut); }
	.pc-bar .pc-add { flex: 1; min-width: 0; height: 48px; font-size: 16px !important; }
	.pc-bar .pc-fav { flex: none; width: 48px; height: 48px; }
}

/* Разметка шаблона на сайте */
.pc-after { margin-top: 0; }
.pc-color { text-decoration: none !important; color: inherit; cursor: pointer; }
span.pc-color { cursor: default; }
.pc-each { font-size: 16px !important; color: var(--mut); font-weight: 600 !important; }
.pc-desc { margin: 16px 0 0; max-width: 68ch; font-size: 16px; line-height: 1.6; }
.pc-desc p { margin: 0 0 12px; }
.pc-desc img { max-width: 100%; height: auto; }
.pc-rn { color: var(--mut); font-weight: 600; }
.pc-card .fv.on { color: #e0245e; }
.pc-card .fv.on path { fill: currentColor; }
.pc-pages { padding-top: 16px; }
.pc-more-link { display: none; }
.pc-form { margin-top: 24px; max-width: 560px; display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); }
.pc-form[hidden] { display: none; }
.pc-form h3 { margin: 0; font: 700 18px/1.3 "Gilroy", Arial, sans-serif; }
.pc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--mut); }
.pc-form input[type=text], .pc-form textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid #d6e2ec; border-radius: 6px; font: 500 16px/1.4 "Gilroy", Arial, sans-serif; color: var(--ink); }
.pc-form input[type=text]:focus, .pc-form textarea:focus { border-color: var(--blue); outline: none; }
.pc-form .pc-add { align-self: flex-start; height: 48px; padding: 0 28px; }
.pc-form .review-msg { min-height: 20px; font-size: 14px; }
.pc-form .review-msg.ok { color: #1f9d55; } .pc-form .review-msg.err { color: #d0342c; font-weight: 600; }
.pc-form .tk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pc-rate-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; border: 0; }
.pc-rate-in legend { float: left; width: 100%; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--mut); }
.pc-rate-in input { position: absolute; opacity: 0; pointer-events: none; }
.pc-rate-in label { cursor: pointer; color: #d6dde3; }
.pc-rate-in label svg { width: 28px; height: 28px; }
.pc-rate-in input:checked ~ label, .pc-rate-in label:hover, .pc-rate-in label:hover ~ label { color: var(--star); }
.pc-rate-in input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.pc-legacy.pc-own .product-carousel { display: none !important; }

/* Быстрый просмотр в каталоге */
#fastblock .pc { margin: 0; padding: 24px; }
#fastblock .pc-main { grid-template-areas: "gal buy"; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
#fastblock .pc-about, #fastblock .pc-with, #fastblock .pc-bar, #fastblock .pc-facts { display: none; }
#fastblock .pc-head h1 { font-size: 22px; }
#fastblock .pc-buy { gap: 18px; }
#fastblock .pc-more-link { display: inline-block; color: var(--navy); font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { #product .pc { padding-bottom: 0; } .pc-after { padding-bottom: 72px; } #fastblock .pc-main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gal" "buy"; } }

/* Настройки: фото справа, без нижней панели на телефоне */
@media (min-width: 861px) { .pc-main.pc-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "buy gal" "buy about"; } }
@media (max-width: 860px) { .pc-after.pc-nobar { padding-bottom: 0; } .pc-nobar .pc-cta .pc-add, .pc-nobar .pc-cta .pc-fav { display: inline-grid; } .pc-nobar .pc-cta { grid-template-columns: minmax(0, 1fr) 56px; } }
.pc-bar .pc-add { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; }
@media (min-width: 861px) { .pc-cta.pc-noqty { grid-template-columns: minmax(0, 1fr) 56px; } }
.pc [hidden] { display: none !important; }

/* Свёрнутое описание */
.pc-desc.folded { max-height: var(--fold, 104px); overflow: hidden; position: relative; }
.pc-desc.folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.pc-fold { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--navy) !important; font: 600 15px/20px "Gilroy", Arial, sans-serif !important; cursor: pointer; }
.pc-fold::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.pc-fold[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
/* Разметка описания из админки: подзаголовки, списки */
.pc-desc h1, .pc-desc h2, .pc-desc h3, .pc-desc h4 { margin: 20px 0 8px; font: 700 18px/1.3 "Gilroy", Arial, sans-serif; letter-spacing: 0; }
.pc-desc > :first-child { margin-top: 0; }
.pc-desc ul, .pc-desc ol { margin: 0 0 12px; padding-left: 22px; }
.pc-desc li { margin: 0 0 6px; }
.pc-desc a { color: var(--navy); }
