/* ============================================================
   КАРТОЧКА ТОВАРА: первый экран (inc/product-pilot.php)
   Бейджи с главным о сорте.
   ============================================================ */

.eb-spec-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.eb-spec { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; background: #fff; border: 1px solid #e1e4dc; border-radius: 10px; }
.eb-spec-k { font-size: 11px; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; color: #5b6258; }
.eb-spec-v { font-size: 15px; line-height: 1.25; font-weight: 600; color: #141414; }

/* Полная таблица внизу, после описания: та же ширина, что у текста описания */
.eb-specs-h { margin-bottom: 8px; }
.eb-specs-h, .eb-specs-table { max-width: 820px; }

/* «Категорії» на первом экране, под ссылками доставки */
.eb-buy-meta .product_meta { font-size: 13px; line-height: 1.6; color: #5b6258; }
.eb-buy-meta .product_meta a { color: #141414; text-decoration: underline; text-decoration-color: #c9cec2; text-underline-offset: 3px; }
.eb-buy-meta .product_meta a:hover { text-decoration-color: #b01e2b; }

/* Блок «купити» рядом с описанием: закреплён при прокрутке, только на компьютере */
.eb-sbuy-col > .eb-sbuy-wrap { position: sticky; top: 84px; }
.eb-sbuy { padding: 20px; background: #fff; border: 1px solid #e1e4dc; border-radius: 14px; box-shadow: 0 6px 24px rgba(20, 20, 20, .06); }
.eb-sbuy-head { display: flex; align-items: center; gap: 14px; }
.eb-sbuy-img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.eb-sbuy-name { font-size: 18px; font-weight: 600; line-height: 1.25; color: #141414; }
.eb-sbuy-brand { margin-top: 2px; font-size: 13px; color: #5b6258; }
.eb-sbuy-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 16px 0 0; padding: 14px 0; border-top: 1px solid #eceee8; border-bottom: 1px solid #eceee8; }
.eb-sbuy-specs dt { font-size: 11px; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; color: #5b6258; }
.eb-sbuy-specs dd { margin: 3px 0 0; font-size: 14px; line-height: 1.3; font-weight: 600; color: #141414; }
.eb-sbuy-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; font-family: Calistoga, serif; }
.eb-sbuy-old { font-size: 16px; color: #e00; text-decoration: line-through; }
.eb-sbuy-now { font-size: 30px; line-height: 1.1; color: #343434; }
.eb-sbuy-label { margin: 12px 0 8px; font-size: 13px; letter-spacing: .05em; color: #5b6258; }
.eb-sbuy-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.eb-sbuy-opt { height: 40px; padding: 0 18px; font: inherit; font-size: 15px; color: #141414; background: #fff; border: 1px solid #d5d9cf; border-radius: 999px; cursor: pointer; }
.eb-sbuy-opt:hover { border-color: #141414; }
.eb-sbuy-opt.is-active { border-color: #141414; box-shadow: inset 0 0 0 1px #141414; font-weight: 600; }
.eb-sbuy.needs-choice .eb-sbuy-opts { animation: eb-sbuy-shake .35s; }
@keyframes eb-sbuy-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.eb-sbuy-btn { display: block; width: 100%; height: 44px; margin-top: 16px; padding: 0 20px; border: 0; border-radius: 8px; cursor: pointer;
    background: linear-gradient(90deg, #2e9aff, #ffd829); color: #000; font-family: Roboto, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.eb-sbuy-btn:hover { filter: brightness(1.05); }
.eb-sbuy-notes { margin: 14px 0 0; }
.eb-sbuy-status { margin: 14px 0 0; font-size: 15px; font-weight: 600; color: #b01e2b; }
.eb-sbuy-more { display: inline-block; margin-top: 8px; font-size: 14px; color: #141414; text-decoration: underline; text-decoration-color: #c9cec2; text-underline-offset: 3px; }
.eb-sbuy-more:hover { color: #141414; text-decoration-color: #b01e2b; }

/* FAQ в описании — карточками, как в «Родоводі», чтобы не сливался с текстом */
.eb-pilot-main .eb-faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; border-top: 0; }
.eb-pilot-main .eb-faq { border: 1px solid #d5d9cf; border-radius: 14px; background: #fff; transition: border-color .15s; }
.eb-pilot-main .eb-faq:hover, .eb-pilot-main .eb-faq[open] { border-color: #b9bfb2; }
.eb-pilot-main .eb-faq summary { padding: 16px 20px; }
.eb-pilot-main .eb-faq summary h3 { font-size: 17px; font-weight: 600; }
.eb-pilot-main .eb-faq summary::after { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #f6e9ea; color: #b01e2b; font-size: 20px; }
.eb-pilot-main .eb-faq-body { padding: 0 20px 18px; }
.eb-pilot-main .eb-faq-body p { margin: 0; line-height: 1.6; }

@media (max-width: 1199px) {
    .eb-spec-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
    .eb-sbuy-col { display: none; }
}
