/* ══════════════════════════════════════════════════════════════
   VIMENS · Single product · v3
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════
   HERO (full-width)
══════════════════════════════════ */
.pd-hero {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding: 32px 0 28px;
}
.pd-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(26, 111, 212, 0.07) 1px, transparent 1px),
            linear-gradient(90deg, rgba(26, 111, 212, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.pd-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}
.pd-hero-glow--blue {
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, rgba(26, 111, 212, 0.22) 0%, transparent 70%);
    top: -180px;
    right: 8%;
}
.pd-hero-glow--red {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.16) 0%, transparent 70%);
    bottom: -140px;
    left: 18%;
}

.pd-hero-container {
    position: relative;
    z-index: 2;
}

.pd-hero-container .breadcrumb-bar {
    margin-bottom: 18px;
}

.pd-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.pd-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    line-height: 1;
}
.pd-hero-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.pd-hero-status--stock {
    background: rgba(34, 204, 101, 0.15);
    color: #97e1aa;
}
.pd-hero-status--stock .pd-hero-status-dot {
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 204, 101, 0.25);
}
.pd-hero-status--order {
    background: rgba(143, 160, 189, 0.15);
    color: rgba(255, 255, 255, 0.7);
}
.pd-hero-status--order .pd-hero-status-dot {
    background: var(--gray-400);
}
.pd-hero-sku {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.45);
    font-weight: var(--fw-semi);
}

.pd-hero-title {
    color: #fff;
    font-size: var(--text-2xl);
    font-weight: var(--fw-black);
    line-height: 1.12;
    letter-spacing: -0.7px;
    margin-bottom: 22px;
    max-width: 900px;
    word-break: break-word;
}

.pd-hero-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pd-hero-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    color: #fff;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.pd-hero-nav-btn i {
    color: var(--blue-light);
    font-size: var(--text-xs);
    transition: var(--transition);
}
.pd-hero-nav-btn:hover {
    background: rgba(26, 111, 212, 0.25);
    border-color: rgba(61, 143, 232, 0.45);
    transform: translateY(-1px);
}
.pd-hero-nav-btn:hover i {
    color: #fff;
}


/* ══════════════════════════════════
   MAIN BLOCK (фото + покупка)
══════════════════════════════════ */
.pd-main {
    padding: 28px 0 0;
}
.pd-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
    align-items: stretch;
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

/* ── GALLERY ── */
.gallery {
    position: sticky;
    top: 90px;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 600px;
    margin-bottom: 10px;
    border: 1px solid var(--gray-200);
    cursor: zoom-in;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
    padding: 16px;
    box-sizing: border-box;
}
.gallery-main:hover img {
    transform: scale(1.04);
}

.gallery--single {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.gallery--single .gallery-main {
    flex: 1;
    height: auto;
    min-height: 400px;
    margin-bottom: 0;
}

.gal-expand {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    background: var(--off-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.gal-expand:hover {
    background: #fff;
    color: var(--blue);
}
.gal-counter {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}
.gthumb {
    aspect-ratio: 1;
    border-radius: 9px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--off-white);
}
.gthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gthumb:hover img {
    transform: scale(1.07);
}
.gthumb.active {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 111, 212, 0.14);
}

/* ── INFO ── */
.pd-info {
    display: flex;
    flex-direction: column;
}

.pd-info-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: var(--fw-black);
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pd-info-title {
    font-size: var(--text-xl);
    font-weight: var(--fw-black);
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 20px;
}

/* ══════════════════════════════════
   Ключевые характеристики
══════════════════════════════════ */
.pd-key-specs {
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    padding: 6px 0;
    margin-bottom: 20px;
}

.pd-key-spec-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 9px 2px;
    border-bottom: 1px dashed var(--gray-100);
}
.pd-key-spec-row:last-of-type {
    border-bottom: none;
}

.pd-key-spec-row--wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.pd-key-spec-label {
    font-size: var(--text-md);
    color: var(--gray-800);
    font-weight: var(--fw-bold);
    flex-shrink: 0;
}

.pd-key-spec-label--clip {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52%;
}

.pd-key-spec-dots {
    flex: 1;
    border-bottom: 1px dotted var(--gray-200);
    transform: translateY(-4px);
}

.pd-key-spec-val {
    font-size: var(--text-md);
    color: var(--dark);
    text-align: right;
    flex-shrink: 0;
}

.pd-key-spec-val--clip {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 45%;
    text-align: right;
}

.pd-key-spec-val--full {
    font-size: var(--text-md);
    color: var(--dark);
    line-height: 1.4;
    white-space: normal;
    text-align: left;
}

.pd-key-spec-val--img {
    display: block;
}
.pd-key-spec-val--img img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
}

.pd-key-specs-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
    float: right;
}
.pd-key-specs-all:hover {
    color: var(--blue-dark);
    transform: translateX(2px);
}
.pd-key-specs-all i {
    font-size: var(--text-xs);
}

/* Цена */
.pd-price-block {
    margin-bottom: 20px;
}
.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.pd-price-main {
    font-size: var(--text-2xl);
    font-weight: var(--fw-semi);
    color: var(--dark);
    letter-spacing: -1px;
    line-height: 1;
}
.pd-price-main .woocommerce-Price-amount {
    color: var(--dark);
}
.pd-price-main del {
    color: var(--gray-400);
    font-weight: var(--fw-semi);
    font-size: var(--text-base);
    margin-right: 8px;
}
.pd-price-main ins {
    text-decoration: none;
    color: var(--dark);
}
.pd-price-disc {
    background: var(--red);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: var(--fw-black);
    padding: 3px 9px;
    border-radius: 8px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}
.pd-price-request {
    font-size: var(--text-xl);
    font-weight: var(--fw-black);
    color: var(--gray-600);
    letter-spacing: -0.5px;
}
.pd-price-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    color: var(--gray-400);
}
.pd-price-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: var(--fw-bold);
}
.pd-price-stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.pd-price-stock--in {
    color: var(--green);
}
.pd-price-stock--in .pd-price-stock-dot {
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 204, 101, 0.2);
    animation: pulsedot 2s infinite;
}
.pd-price-stock--out {
    color: var(--gray-400);
}
.pd-price-stock--out .pd-price-stock-dot {
    background: var(--gray-400);
}
@keyframes pulsedot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 204, 101, 0.2); }
    50%       { box-shadow: 0 0 0 5px rgba(34, 204, 101, 0.08); }
}
.pd-price-meta-sep {
    color: var(--gray-200);
}
.pd-price-meta-item {
    color: var(--gray-400);
}

/* CTA-кнопки */
.pd-info-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 16px;
}
.pd-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: var(--fw-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: var(--transition);
    letter-spacing: 0.2px;
    text-decoration: none;
    color: #fff;
}
.pd-btn--order {
    background: var(--red);
}
.pd-btn--order:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(229, 57, 53, 0.32);
}
.pd-btn--consult {
    background: var(--green);
}
.pd-btn--consult:hover {
    background: #1ab258;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(34, 204, 101, 0.28);
}

/* Контакт-блок (телефон + город) */
.pd-info-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}
.pd-info-phone-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: var(--text-sm);
}
.pd-info-phone-body {
    flex: 1;
    min-width: 0;
}
.pd-info-phone-label {
    font-size: var(--text-xs);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: var(--fw-bold);
    margin-bottom: 2px;
}
.pd-info-phone-num {
    display: block;
    font-size: var(--text-md);
    font-weight: var(--fw-black);
    color: var(--dark);
    letter-spacing: -0.3px;
    text-decoration: none;
    transition: var(--transition);
}
.pd-info-phone-num:hover {
    color: var(--blue);
}
.pd-info-phone-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}
.pd-info-phone-time {
    font-size: var(--text-xs);
    color: var(--gray-400);
    text-align: right;
    line-height: 1.3;
    font-weight: var(--fw-semi);
    white-space: nowrap;
}
.pd-info-phone-city {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--blue);
    font-weight: var(--fw-bold);
    line-height: 1.3;
    white-space: nowrap;
}
.pd-info-phone-city i {
    font-size: 10px;
    color: var(--blue-light);
}


/* ══════════════════════════════════
   SECTION COMMON
══════════════════════════════════ */
.pd-section {
    margin-top: 28px;
}
.pd-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}
.pd-section-title {
    font-size: var(--text-lg);
    font-weight: var(--fw-black);
    color: var(--dark);
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.pd-section-title i {
    color: var(--blue);
    font-size: var(--text-md);
}
.pd-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}
.pd-section-link:hover {
    color: var(--blue-dark);
    transform: translateX(2px);
}


/* ══════════════════════════════════
   ADVANTAGES
══════════════════════════════════ */
.pd-adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.pd-adv-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 18px;
    transition: var(--transition);
}
.pd-adv-card:hover {
    border-color: rgba(26, 111, 212, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.pd-adv-ico {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(26, 111, 212, 0.08);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-md);
    margin-bottom: 12px;
}
.pd-adv-title {
    font-size: var(--text-md);
    font-weight: var(--fw-black);
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.25;
}
.pd-adv-text {
    font-size: var(--text-md);
    color: var(--gray-800);
    line-height: 1.5;
}


/* ══════════════════════════════════
   TABS
══════════════════════════════════ */
.pd-tabs-wrap {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 6px 22px 22px;
    box-shadow: var(--shadow-sm);
}
.pd-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-left: -4px;
    margin-right: -4px;
    padding: 0 4px;
}
.pd-tabs::-webkit-scrollbar {
    display: none;
}
.pd-tab {
    padding: 14px 22px 12px;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--gray-400);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-tab i {
    font-size: var(--text-sm);
}
.pd-tab:hover {
    color: var(--blue);
}
.pd-tab.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}


/* ══════════════════════════════════
   ТАБЛИЦА ХАРАКТЕРИСТИК — обычная
══════════════════════════════════ */
.spec-table-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.spec-table-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: var(--text-xs);
    font-weight: var(--fw-black);
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 11px 16px;
    background: var(--dark);
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
}
.spec-table-heading i {
    color: var(--blue-light);
    font-size: var(--text-xs);
}
.spec-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
}
.spec-table-heading + .spec-table-scroll {
    border-top: none;
}
.spec-table-scroll::-webkit-scrollbar {
    height: 4px;
}
.spec-table-scroll::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 2px;
}
.spec-flat-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
    font-size: var(--text-sm);
    table-layout: auto;
}
.spec-flat-table thead th {
    padding: 11px 16px;
    font-size: var(--text-sm);
    font-weight: var(--fw-black);
    color: var(--dark);
    text-transform: uppercase;
    background: #f5f5f5;
    letter-spacing: 0.8px;
    text-align: left;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    white-space: wrap;
}
.spec-flat-table thead th:not(:first-child) {
    text-align: center;
}
.spec-flat-table thead th:last-child {
    text-align: center;
}
.spec-flat-table tbody tr:hover th,
.spec-flat-table tbody tr:hover td {
    background: rgb(94, 94, 94);
    color: var(--white);
}
.spec-flat-table tbody tr.row-hover td,
.spec-flat-table tbody th.row-group-hover {
    background: rgb(94, 94, 94) !important;
    color: var(--white) !important;
}
.spec-flat-table tbody th[scope="row"] {
    padding: 11px 16px;
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    color: var(--dark);
    text-align: left;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    background: #f5f5f5;
    white-space: wrap;
    width: 40%;
    vertical-align: middle;
}
.spec-flat-table tbody th[rowspan] {
    border-bottom: 2px solid var(--white);
    max-width: 200px;
    width: auto;
    border-right: 2px solid var(--white);
    background: #f5f5f5;
}
.spec-flat-table tbody tr:nth-child(even) th[rowspan] {
    background: #fff;
}
.spec-flat-table tbody td {
    padding: 11px 16px;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--white);
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    text-align: center;
    vertical-align: middle;
    background: var(--blue);
}
.spec-flat-table tbody tr:not(.spec-section-row) td:only-of-type {
    text-align: center;
}
.spec-flat-table tbody tr:last-child th,
.spec-flat-table tbody tr:last-child td {
    border-bottom: none;
}
.spec-section-row td {
    padding: 9px 16px !important;
    font-size: var(--text-xs) !important;
    font-weight: var(--fw-black) !important;
    color: var(--white) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    background: #f5f5f5 !important;
    text-align: left !important;
}


/* ══════════════════════════════════
   ТАБЛИЦА ХАРАКТЕРИСТИК — OSOB
   (выделенная, цветная матрица)
   ФИКС v3:
   — table-layout:fixed + colgroup для равных колонок
   — sticky tfoot: "Длина реза" и легенда не скроллятся
   — box-shadow вместо border-right для sticky при collapse
══════════════════════════════════ */

/* Обёртка таблицы + подписи */
.spec-table-osob-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Враппер — только горизонтальный скролл */
.spec-table-scroll--osob {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
    isolation: isolate;
}
.spec-table-scroll--osob::-webkit-scrollbar {
    height: 4px;
}
.spec-table-scroll--osob::-webkit-scrollbar-thumb {
    background: var(--gray-200);
}

/* Подпись-легенда под таблицей — простой div, не таблица */
.spec-table-osob-legend {
    padding: 9px 16px;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Таблица:
   table-layout:fixed + явные ширины через colgroup
   = колонки одинаковые, sticky работает, скролл горизонтальный */
.spec-flat-table--osob {
    width: 100%;
    table-layout: fixed;
    min-width: 480px;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

/* Первый col — параметр (шире), остальные — data (равные) */
.spec-flat-table--osob col.osob-col-param {
    width: 140px;
}
.spec-flat-table--osob col.osob-col-data {
    width: 60px;
}

.spec-flat-table--osob thead tr.osob-thead-main {
    background: var(--dark);
}

.spec-flat-table--osob tbody tr:first-child td {
    background: var(--blue-dark) !important;
}

/* Первая ячейка thead */
.spec-flat-table--osob thead th.osob-th-param {
    padding: 14px 20px;
    font-size: var(--text-sm);
    font-weight: var(--fw-black);
    color: var(--dark);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: #f5f5f5;
    white-space: normal;
    line-height: 1.3;
    vertical-align: middle;
    border-bottom: 2px solid var(--white);
}

/* Колонки с данными в thead */
.spec-flat-table--osob thead th.osob-th-col {
    padding: 14px 6px;
    text-align: center;
    font-size: var(--text-sm);
    font-weight: var(--fw-black);
    color: var(--dark);
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);

    background: #f5f5f5;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── TBODY ── */

/* Зебра для первого столбца */
.spec-flat-table--osob tbody tr th.osob-td-param {
    background: #f5f5f5 !important;
    color: var(--dark);
}

/* Ячейка-параметр — sticky левый столбец */
.spec-flat-table--osob tbody th.osob-td-param {
    padding: 11px 20px;
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    color: var(--gray-800);
    text-align: left;
    border-bottom: 2px solid var(--white);
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    transition: background 0.15s;
    position: sticky;
    left: 0;
    z-index: 2;
}

/* Все ячейки данных — синие */
.spec-flat-table--osob tbody td.osob-td-val,
.spec-flat-table--osob tbody td.osob-td-empty {
    padding: 11px 6px;
    text-align: center;
    background: var(--accent) !important;
    border-bottom: 2px solid rgba(255,255,255,1) !important;
    border-left: 2px solid rgba(255,255,255,1) !important;
    vertical-align: middle;
    transition: background 0.15s;
}

/* Заполненные */
.spec-flat-table--osob tbody td.osob-td-val {
    font-size: var(--text-sm) !important;
    font-weight: var(--fw-black) !important;
    color: #fff !important;
}

/* ── HOVER ── */
.spec-flat-table--osob tbody tr:hover th.osob-td-param {
    background: #5e5e5e !important;
    box-shadow: 2px 0 0 0 rgba(255,255,255,0.15);
    color: var(--white);
}
.spec-flat-table--osob tbody tr:hover td.osob-td-val,
.spec-flat-table--osob tbody tr:hover td.osob-td-empty {
    background: #5e5e5e !important;
}

/* Ячейка-параметр в tfoot */
.spec-flat-table--osob tfoot tr.osob-row--footer th.osob-td-param {
    background: #f5f5f5 !important;
    color: var(--dark);
    font-weight: var(--fw-semi);
    font-size: var(--text-sm);
    padding: 11px 20px;
    text-align: left;
    white-space: normal;
    vertical-align: middle;
    border-bottom: none;
    border-top: 2px solid rgba(255,255,255,1);
    position: sticky;
    left: 0;
    z-index: 5;
}
.spec-flat-table--osob tfoot tr.osob-row--footer td {
    background: #f5f5f5 !important;
    color: var(--dark);
    font-weight: var(--fw-bold);
    font-size: var(--text-sm);
    padding: 11px 6px;
    text-align: center;
    vertical-align: middle;
    border-bottom: none;
    border-top: 2px solid rgba(255,255,255,1);
    border-left: 2px solid rgba(255,255,255,1);
}

/* Секционные строки в tbody osob */
.spec-flat-table--osob .spec-section-row td {
    padding: 9px 16px !important;
    font-size: var(--text-xs) !important;
    font-weight: var(--fw-black) !important;
    color: var(--white) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    background: var(--dark) !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(255, 255, 255, 1) !important;
}


/* ══════════════════════════════════
   KIT TAB
══════════════════════════════════ */
.pd-kit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}
.pd-kit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
}
.pd-kit-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(34, 204, 101, 0.12);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: var(--text-xs);
}
.pd-kit-text {
    font-size: var(--text-sm);
    color: var(--gray-800);
    line-height: 1.4;
    font-weight: var(--fw-semi);
}


/* ══════════════════════════════════
   DESCRIPTION
══════════════════════════════════ */
.desc-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 26px;
}
.desc-text {
    padding: 10px;
    font-size: var(--text-md);
    color: var(--gray-800);
}

.desc-text ol,
.desc-text ul {
    padding-left: 50px;
}

.desc-text p {
    font-size: var(--text-sm);
    color: var(--gray-800);
    line-height: 1.85;
    margin-bottom: 13px;
}
.desc-text h3 {
    font-size: var(--text-base);
    font-weight: var(--fw-black);
    color: var(--dark);
    margin: 20px 0 10px;
    letter-spacing: -0.2px;
}
.desc-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.desc-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--gray-200);
}
.desc-card-title {
    font-size: var(--text-xs);
    font-weight: var(--fw-black);
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.desc-card-title i {
    color: var(--blue);
}
.desc-feats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dfeat {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: var(--text-xs);
    color: var(--gray-600);
    line-height: 1.4;
}
.dfeat-ico {
    width: 22px;
    height: 22px;
    background: rgba(26, 111, 212, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: var(--text-xs);
    flex-shrink: 0;
}


/* ══════════════════════════════════
   DOCS
══════════════════════════════════ */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.doc-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 18px 14px;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.doc-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.doc-icon {
    width: 46px;
    height: 46px;
    background: rgba(26, 111, 212, 0.1);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 11px;
    color: var(--blue);
    font-size: var(--text-lg);
}
.doc-name {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--gray-800);
    margin-bottom: 4px;
    line-height: 1.35;
}
.doc-size {
    font-size: var(--text-xs);
    color: var(--gray-400);
}
.doc-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: var(--text-xs);
    font-weight: var(--fw-black);
    padding: 2px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(26, 111, 212, 0.1);
    color: var(--blue);
}
.doc-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    color: var(--blue);
    opacity: 0;
    transition: var(--transition);
}
.doc-card:hover .doc-dl {
    opacity: 1;
}

.pd-empty {
    padding: 36px 20px;
    text-align: center;
    color: var(--gray-400);
}
.pd-empty i {
    font-size: 32px;
    color: var(--gray-200);
    margin-bottom: 10px;
    display: block;
}
.pd-empty div {
    font-size: var(--text-sm);
}


/* ══════════════════════════════════
   СЕРВИС И ТЕХНОЛОГИИ
══════════════════════════════════ */
.pd-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.pd-service-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}
.pd-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 111, 212, 0.3);
}
.pd-service-ico {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 30px;
    color: rgba(26, 111, 212, 0.18);
    transition: var(--transition);
}
.pd-service-card:hover .pd-service-ico {
    color: rgba(26, 111, 212, 0.35);
    transform: scale(1.1);
}
.pd-service-title {
    font-size: var(--text-base);
    font-weight: var(--fw-black);
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
    padding-right: 40px;
}
.pd-service-text {
    font-size: var(--text-sm);
    color: var(--gray-800);
    line-height: 1.6;
    margin-bottom: 14px;
}
.pd-service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}
.pd-service-link i {
    font-size: var(--text-xs);
    transition: var(--transition);
}
.pd-service-link:hover {
    color: var(--blue-dark);
}
.pd-service-link:hover i {
    transform: translateX(3px);
}


/* ══════════════════════════════════
   FAQ
══════════════════════════════════ */
.pd-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pd-faq-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.pd-faq-item.is-open {
    border-color: rgba(26, 111, 212, 0.4);
    box-shadow: var(--shadow-sm);
}
.pd-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
}
.pd-faq-q:hover {
    color: var(--blue);
}
.pd-faq-q i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    transition: var(--transition);
    flex-shrink: 0;
}
.pd-faq-item.is-open .pd-faq-q i {
    background: var(--blue);
    color: #fff;
    transform: rotate(45deg);
}
.pd-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.pd-faq-item.is-open .pd-faq-a {
    max-height: 400px;
}
.pd-faq-a p {
    padding: 0 18px 16px;
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}


/* ══════════════════════════════════
   RECENT + RELATED
══════════════════════════════════ */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}


/* ══════════════════════════════════
   FINAL CTA (full-width)
══════════════════════════════════ */
.pd-cta {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding: 36px 0;
    margin-top: 48px;
}
.pd-cta-bg {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(26, 111, 212, 0.07) 1px, transparent 1px),
            linear-gradient(90deg, rgba(26, 111, 212, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.pd-cta-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}
.pd-cta-glow--red {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.18) 0%, transparent 70%);
    top: -120px;
    right: 12%;
}
.pd-cta-glow--blue {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(26, 111, 212, 0.20) 0%, transparent 70%);
    bottom: -100px;
    left: 10%;
}

.pd-cta-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}
.pd-cta-title {
    color: #fff;
    font-size: var(--text-lg);
    font-weight: var(--fw-black);
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    line-height: 1.2;
}
.pd-cta-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--text-sm);
    line-height: 1.55;
    max-width: 540px;
}
.pd-cta-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.pd-cta-actions .pd-btn {
    width: auto;
    padding: 13px 24px;
    white-space: nowrap;
}


/* ══════════════════════════════════
   LIGHTBOX
══════════════════════════════════ */
.lb {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lb.open {
    display: flex;
}
.lb-img-wrap {
    position: relative;
    max-width: 88vw;
    max-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-img-wrap img {
    max-width: 88vw;
    max-height: 78vh;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    user-select: none;
}
.lb-close {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #fff;
    font-size: var(--text-xl);
    cursor: pointer;
    opacity: 0.55;
    transition: var(--transition);
    background: none;
    border: none;
    z-index: 2;
}
.lb-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}
.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    font-size: var(--text-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
    backdrop-filter: blur(6px);
}
.lb-arrow:hover {
    background: var(--blue);
    border-color: var(--blue);
}
.lb-prev {
    left: -60px;
}
.lb-next {
    right: -60px;
}
.lb-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    overflow-x: auto;
    padding: 4px;
    max-width: 90vw;
    scrollbar-width: none;
}
.lb-thumbs::-webkit-scrollbar {
    display: none;
}
.lb-thumb {
    width: 60px;
    height: 44px;
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: var(--transition);
    opacity: 0.55;
}
.lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lb-thumb.active {
    border-color: #fff;
    opacity: 1;
}
.lb-counter {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    z-index: 2;
}


/* ══════════════════════════════════════════════════════════════
   ADAPTIVE
══════════════════════════════════════════════════════════════ */

/* ── 1280px ── */
@media (max-width: 1280px) {
    .pd-main-grid {
        grid-template-columns: 1fr 1.05fr;
    }
    .pd-adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pd-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── 1024px ── */
@media (max-width: 1024px) {
    .pd-hero {
        padding: 24px 0 22px;
    }
    .pd-hero-title {
        font-size: var(--text-xl);
    }
    .pd-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 18px;
    }
    .gallery-main {
        height: 340px;
    }
    .pd-info-title {
        font-size: var(--text-lg);
    }
    .pd-price-main {
        font-size: var(--text-xl);
    }
    .docs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .desc-layout {
        grid-template-columns: 1fr 260px;
    }
    .pd-cta-title {
        font-size: var(--text-md);
    }
}

/* ── 768px ── */
@media (max-width: 768px) {
    /* Hero */
    .pd-hero {
        padding: 22px 0 20px;
    }
    .pd-hero-title {
        font-size: var(--text-lg);
        letter-spacing: -0.4px;
        margin-bottom: 18px;
    }
    .pd-hero-glow--blue {
        width: 320px;
        height: 320px;
        top: -120px;
        right: -50px;
    }
    .pd-hero-glow--red {
        width: 220px;
        height: 220px;
        bottom: -80px;
        left: -30px;
    }
    .pd-hero-nav {
        gap: 5px;
    }
    .pd-hero-nav-btn {
        padding: 8px 13px;
        font-size: var(--text-xs);
    }

    /* Main */
    .pd-main {
        padding: 20px 0 0;
    }
    .pd-main-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 16px;
    }

    /* Gallery */
    .gallery {
        position: static;
    }
    .gallery-main {
        height: 300px;
    }

    /* Info */
    .pd-info-title {
        font-size: var(--text-md);
        margin-bottom: 16px;
    }
    .pd-price-main {
        font-size: var(--text-xl);
    }
    .pd-price-meta {
        font-size: var(--text-xs);
        gap: 6px;
    }
    .pd-key-spec-label,
    .pd-key-spec-val {
        font-size: var(--text-xs);
    }

    /* Sections */
    .pd-section {
        margin-top: 22px;
    }
    .pd-section-title {
        font-size: var(--text-md);
    }

    /* Advantages */
    .pd-adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tabs */
    .pd-tabs-wrap {
        padding: 4px 14px 18px;
    }
    .pd-tab {
        padding: 12px 14px 10px;
        font-size: var(--text-xs);
        gap: 6px;
    }
    .pd-tab i {
        display: none;
    }

    /* Обычная spec-таблица — sticky первый столбец */
    .spec-flat-table thead th,
    .spec-flat-table tbody th[scope="row"],
    .spec-flat-table tbody td {
        padding: 9px 12px;
    }
    .spec-flat-table tbody th[scope="row"] {
        width: auto;
        white-space: normal;
    }
    .spec-table-scroll {
        overflow-x: auto;
    }
    .spec-flat-table {
        width: 100px;
        min-width: 100%;
    }
    .spec-flat-table thead th:first-child,
    .spec-flat-table tbody th[scope="row"] {
        position: sticky;
        left: 0;
        z-index: 2;
    }
    .spec-flat-table .spec-section-row td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
    }

    /* Kit */
    .pd-kit-grid {
        grid-template-columns: 1fr;
    }

    /* Description */
    .desc-layout {
        grid-template-columns: 1fr;
    }
    .desc-aside {
        order: -1;
    }

    /* Docs */
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services */
    .pd-services-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .pd-faq-q {
        padding: 14px 16px;
        font-size: var(--text-xs);
    }
    .pd-faq-a p {
        padding: 0 16px 14px;
        font-size: var(--text-xs);
    }

    /* Related */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA */
    .pd-cta {
        padding: 26px 0;
        margin-top: 36px;
    }
    .pd-cta-container {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    .pd-cta-title {
        font-size: var(--text-md);
    }
    .pd-cta-sub {
        font-size: var(--text-xs);
        margin: 0 auto;
    }
    .pd-cta-actions {
        justify-content: center;
        width: 100%;
    }
    .pd-cta-actions .pd-btn {
        flex: 1;
        padding: 12px 18px;
        font-size: var(--text-xs);
    }

    /* Lightbox */
    .lb-prev {
        left: 8px;
    }
    .lb-next {
        right: 8px;
    }
}

/* ── 480px ── */
@media (max-width: 480px) {
    /* Hero */
    .pd-hero {
        padding: 18px 0 16px;
    }
    .pd-hero-title {
        font-size: var(--text-md);
        margin-bottom: 14px;
    }
    .pd-hero-meta {
        gap: 8px;
    }
    .pd-hero-nav {
        gap: 4px;
    }
    .pd-hero-nav-btn {
        padding: 7px 11px;
    }
    .pd-hero-nav-btn span {
        font-size: var(--text-xs);
    }

    /* Main */
    .pd-main-grid {
        padding: 12px;
        gap: 18px;
    }
    .gallery-main {
        height: 240px;
        border-radius: var(--radius);
    }
    .gallery-thumbs {
        grid-template-columns: repeat(5, 1fr);
        gap: 5px;
    }

    /* Info */
    .pd-info-title {
        font-size: var(--text-sm);
    }
    .pd-price-main {
        font-size: var(--text-lg);
    }
    .pd-price-meta {
        font-size: var(--text-xs);
    }
    .pd-price-meta-sep {
        display: none;
    }

    /* Phone */
    .pd-info-phone {
        padding: 10px 12px;
        gap: 10px;
    }
    .pd-info-phone-ico {
        width: 34px;
        height: 34px;
    }
    .pd-info-phone-num {
        font-size: var(--text-base);
    }
    .pd-info-phone-time {
        font-size: 10px;
    }
    .pd-info-phone-time,
    .pd-info-phone-city {
        font-size: 10px;
    }
    .pd-info-phone-city i {
        font-size: 9px;
    }

    /* Sections */
    .pd-section {
        margin-top: 18px;
    }
    .pd-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .pd-section-title {
        font-size: var(--text-sm);
    }

    /* Advantages: 1 col */
    .pd-adv-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .pd-adv-card {
        display: flex;
        flex-flow: column;
        align-items: center;
        gap: 14px;
        padding: 14px;
    }
    .pd-adv-ico {
        margin-bottom: 0;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .pd-adv-title {
        margin-bottom: 2px;
    }

    /* Tabs */
    .pd-tabs-wrap {
        padding: 4px 12px 16px;
    }
    .pd-tab {
        padding: 11px 12px 9px;
    }

    /* Docs: 1 col */
    .docs-grid {
        grid-template-columns: 1fr;
    }
    .doc-card {
        padding: 14px 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    .doc-icon {
        margin: 0;
        flex-shrink: 0;
        width: 38px;
        height: 38px;
        font-size: var(--text-md);
    }
    .doc-dl {
        justify-content: flex-start;
        opacity: 1;
        margin-top: 4px;
    }

    /* Services */
    .pd-service-card {
        padding: 16px;
    }
    .pd-service-ico {
        top: 14px;
        right: 14px;
        font-size: 24px;
    }
    .pd-service-title {
        font-size: var(--text-sm);
        padding-right: 32px;
    }

    /* FAQ */
    .pd-faq-q {
        padding: 13px 14px;
    }
    .pd-faq-q i {
        width: 24px;
        height: 24px;
    }
    .pd-faq-a p {
        padding: 0 14px 12px;
        line-height: 1.55;
    }

    /* Related: 1 col */
    .related-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .pd-cta {
        padding: 22px 0;
    }
    .pd-cta-actions {
        flex-direction: column;
        gap: 8px;
    }
    .pd-cta-actions .pd-btn {
        width: 100%;
    }

    /* Lightbox */
    .lb-img-wrap img {
        max-width: 95vw;
    }
    .lb-thumbs {
        gap: 5px;
    }
    .lb-thumb {
        width: 46px;
        height: 34px;
    }
}


/* ══════════════════════════════════
   PRODUCT CARD
══════════════════════════════════ */
.product-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 260px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.28s ease, transform 0.28s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(26, 111, 212, 0.14);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 16px;
    box-sizing: border-box;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    background: none;
    color: #00b86b;
    font-size: 12px;
    font-weight: var(--fw-black);
    padding: 0;
    margin-bottom: 15px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    box-shadow: none;
}
.product-badge i {
    font-size: 14px;
    margin-right: 5px;
}
.product-badge::before { display: none; }
.product-badge--order  { color: var(--accent); }

.product-cat {
    font-size: 11px;
    font-weight: var(--fw-bold);
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-body {
    padding: 16px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 18px;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 16px;
    line-height: 1.35;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    overflow: hidden;
    flex: 1;
}
.spec-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eef0f4;
    gap: 8px;
}
.spec-row:last-child {
    border-bottom: none;
}
.spec-row--empty {
    pointer-events: none;
    opacity: 0;
}

.spec-label {
    font-size: 14px;
    color: var(--gray-800);
    font-weight: var(--fw-bold);
    flex-shrink: 0;
    max-width: 60%;
}
.spec-val {
    font-size: 14px;
    font-weight: var(--fw-medium);
    color: var(--dark);
    text-align: right;
    max-width: 35%;
}

.spec-row--full {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;

    padding-bottom: 15px;
}
.spec-row--full .spec-label {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 100%;
}
.spec-row--full .spec-val {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    text-align: left;
    max-width: 100%;
}

.spec-val--img {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 45%;
    overflow: visible;
}
.spec-val--img img {
    max-height: 68px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.product-footer {
    padding-top: 14px;
    margin-top: auto;
}
.product-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}
.product-price {
    font-size: 24px;
    font-weight: var(--fw-semi);
    color: var(--dark);
    letter-spacing: -0.3px;
}
.product-price-sub {
    font-size: 11px;
    color: var(--gray-400);
}
.product-actions {
    display: grid;
    grid-template-columns: .25fr 1fr;
    gap: 8px;
}

.btn-detail {
    padding: 14px 12px;
    background: #f7fff9;
    color: var(--green);
    border-radius: 8px;
    font-size: 12px;
    font-weight: var(--fw-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid #acecb9;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-detail:hover {
    border-color: var(--green);
}

.btn-order {
    padding: 14px 12px;
    background: var(--red);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: var(--fw-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.btn-order:hover {
    background: #c62828;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.35);
}