/* gearshop — product page (K2 item override) */
.product-head { margin-bottom: 18px; }
.product-title { font-size: 26px; margin-bottom: 8px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-3); }
.product-meta b { color: var(--ink); font-weight: 600; }
.product-meta .mono b { font-family: var(--mono); }

.product-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-bottom: 24px; }
.product-gallery {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 16px; display: flex; align-items: center; justify-content: center;
}
.product-gallery a { display: block; line-height: 0; }
.product-gallery img { width: 100%; max-width: 560px; aspect-ratio: 1 / 1; object-fit: contain; }
.product-gallery-empty { aspect-ratio: 4 / 3; width: 100%; color: var(--ink-3); display: flex; align-items: center; justify-content: center; }

/* Buy box */
.buy {
    position: sticky; top: 16px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 20px;
}
.buy-price { font-size: 30px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.buy-price.is-request { font-size: 22px; color: var(--ink-2); }
.buy-vat { font-size: 12.5px; color: var(--ink-3); margin: 4px 0 14px; }
.buy-status { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; margin-bottom: 14px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.buy-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.buy-row span { color: var(--ink-3); }
.buy-row b { font-weight: 600; text-align: right; }
.buy-actions { display: flex; flex-direction: column; gap: 8px; }
.buy-note { font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; }
.buy-perks { list-style: none; margin: 14px 0 0; padding: 0; font-size: 13.5px; color: var(--ink-2); }
.buy-perks li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.buy-perks li::before {
    content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px;
    border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}

/* Sections */
.product-section {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 18px;
}
.product-section > h2 { font-size: 19px; margin-bottom: 12px; }
.product-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }
.product-cols .product-section { margin-bottom: 0; }

/* Specs table */
.specs { width: 100%; font-size: 14.5px; }
.specs th, .specs td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.specs th { width: 55%; color: var(--ink-3); font-weight: 400; text-align: left; padding-right: 12px; }
.specs td { font-weight: 600; font-variant-numeric: tabular-nums; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* Stock table */
.stock-table td, .stock-table th { padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.stock-table th { text-align: left; color: var(--ink-3); font-weight: 500; font-size: 13px; }
.stock-table .num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.stock-table .city { display: inline-flex; align-items: center; gap: 8px; }
.stock-table .city::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock-table tfoot td { border-bottom: 0; font-weight: 800; padding-top: 10px; }
.stock-empty { background: var(--warn-soft); color: #6d4200; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; }
.stock-empty b { color: var(--warn); }

/* Description */
.product-desc { color: var(--ink-2); font-size: 15px; }
.product-desc p:last-child { margin-bottom: 0; }

/* K2 attachments */
.attachments { list-style: none; padding: 0; margin: 0; }
.attachments li { padding: 8px 0; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 12px; }
.attachments li:last-child { border-bottom: 0; }

@media (max-width: 1080px) {
    .product-top { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 860px) {
    .product-top, .product-cols { grid-template-columns: minmax(0, 1fr); }
    .buy { position: static; }
    .product-title { font-size: 22px; }
}
@media (max-width: 560px) {
    .product-section { padding: 16px; }
    .buy { padding: 16px; }
    .buy-price { font-size: 26px; }
    .specs th { width: 50%; }
}
