/**
 * Heavy Truck Child Theme — стили WooCommerce.
 *
 * Скоуп: всё под .heavy-woo (вешается на <main> Woo-страниц).
 * Кнопки .btn-*, .section-title и базовая типографика наследуются
 * от .heavy-home — Woo-обёртка имеет оба класса (см. archive-product.php).
 *
 * Гасим розовые hover/border-radius Hello Elementor через !important точечно.
 */

/* =========================================
   SAFETY NET — против горизонтального скролла
   ========================================= */
.heavy-woo {
    overflow-x: hidden;
    max-width: 100%;
    background: var(--heavy-white);
    color: var(--heavy-black);
    padding-top: 88px; /* высота fixed header */
    padding-bottom: 0;
}
.heavy-woo section { max-width: 100%; overflow-x: clip; }

/* Цвет «полки» под fixed-хедером — чёрный как сам хедер, чтоб не было резкого белого среза */
.heavy-woo { background-image: linear-gradient(to bottom, var(--heavy-black) 0, var(--heavy-black) 88px, var(--heavy-white) 88px); }
.admin-bar .heavy-woo { background-image: linear-gradient(to bottom, var(--heavy-black) 0, var(--heavy-black) 120px, var(--heavy-white) 120px); }
@media (max-width: 782px) {
    .admin-bar .heavy-woo { background-image: linear-gradient(to bottom, var(--heavy-black) 0, var(--heavy-black) 134px, var(--heavy-white) 134px); }
}

.admin-bar .heavy-woo { padding-top: 120px; } /* 32px adminbar + 88px header */
@media (max-width: 782px) {
    .admin-bar .heavy-woo { padding-top: 134px; } /* 46px adminbar + 88px header */
}

.heavy-woo p,
.heavy-woo a {
    overflow-wrap: break-word;
    max-width: 100%;
}

.heavy-woo h1, .heavy-woo h2, .heavy-woo h3, .heavy-woo h4, .heavy-woo h5, .heavy-woo h6 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    max-width: 100%;
}

.heavy-woo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.heavy-woo .heavy-woo-layout > *,
.heavy-woo .heavy-woo-grid > *,
.heavy-woo .heavy-woo-topbar > * {
    min-width: 0;
}

.heavy-woo input,
.heavy-woo select,
.heavy-woo button,
.heavy-woo form {
    max-width: 100%;
    box-sizing: border-box;
}

.heavy-woo, .heavy-woo * { box-sizing: border-box; }

/* =========================================
   BREADCRUMBS
   ========================================= */
.heavy-woo .heavy-woo-breadcrumbs-wrap {
    background: var(--heavy-gray-50);
    border-bottom: 1px solid var(--heavy-gray-200);
    padding: 16px 0;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.heavy-woo .heavy-woo-breadcrumbs {
    color: var(--heavy-gray-500);
}
.heavy-woo .heavy-woo-breadcrumbs a {
    color: var(--heavy-gray-700) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.heavy-woo .heavy-woo-breadcrumbs a:hover {
    color: var(--heavy-accent) !important;
}
.heavy-woo .heavy-woo-breadcrumb-sep {
    margin: 0 10px;
    color: var(--heavy-gray-300);
}

/* =========================================
   ARCHIVE HEAD
   ========================================= */
.heavy-woo .heavy-woo-head {
    padding: 56px 0 32px;
    background: var(--heavy-white);
    border-bottom: 1px solid var(--heavy-gray-150);
}
.heavy-woo .heavy-woo-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(32px, 4vw, 56px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 16px !important;
}
.heavy-woo .heavy-woo-head .term-description,
.heavy-woo .heavy-woo-head .woocommerce-products-header__title + p,
.heavy-woo .heavy-woo-head p {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--heavy-gray-700);
    max-width: 720px;
    margin: 0 0 10px;
}

/* =========================================
   LAYOUT: SIDEBAR + MAIN
   ========================================= */
.heavy-woo .heavy-woo-archive {
    padding: 48px 0 100px;
    background: var(--heavy-white);
}
.heavy-woo .heavy-woo-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
}

/* =========================================
   SIDEBAR / FILTERS (placeholder, disabled)
   ========================================= */
.heavy-woo .heavy-woo-sidebar {
    background: var(--heavy-gray-50);
    border: 1px solid var(--heavy-gray-200);
    position: sticky;
    top: 96px; /* под fixed header */
    height: calc(100vh + 254px);
    max-height: calc(100vh + 254px);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}
.admin-bar .heavy-woo .heavy-woo-sidebar { top: 142px; }

.heavy-woo .heavy-woo-sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 24px 24px;
}

.heavy-woo .heavy-woo-sidebar-footer {
    flex: 0 0 auto;
    padding: 20px 24px;
    background: var(--heavy-white);
    border-top: 1px solid var(--heavy-gray-200);
}

.heavy-woo .heavy-woo-sidebar-head {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--heavy-gray-200);
    margin-bottom: 20px;
}
.heavy-woo .heavy-woo-sidebar-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--heavy-accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.heavy-woo .heavy-woo-sidebar-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    color: var(--heavy-black) !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.heavy-woo .heavy-woo-sidebar-close {
    display: none; /* только в мобильном drawer */
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: transparent !important;
    border: 1px solid var(--heavy-gray-300) !important;
    color: var(--heavy-black) !important;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.heavy-woo .heavy-woo-sidebar-close:hover {
    border-color: var(--heavy-accent) !important;
    color: var(--heavy-accent) !important;
}

/* === Категории === */
.heavy-woo .heavy-woo-cats {
    padding: 4px 0 20px;
    border-bottom: 1px solid var(--heavy-gray-200);
}
.heavy-woo .heavy-woo-cats-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.heavy-woo .heavy-woo-cat-item { margin: 0; padding: 0; }
.heavy-woo .heavy-woo-cat-item a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    margin: 0 -12px;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.3;
    color: var(--heavy-black) !important;
    text-decoration: none !important;
    background: transparent;
    transition: background 0.2s, color 0.2s;
}
.heavy-woo .heavy-woo-cat-item a:hover {
    background: var(--heavy-white);
    color: var(--heavy-accent) !important;
}
.heavy-woo .heavy-woo-cat-item.is-active a {
    background: var(--heavy-black);
    color: var(--heavy-white) !important;
}
.heavy-woo .heavy-woo-cat-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.heavy-woo .heavy-woo-cat-count {
    flex-shrink: 0;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    line-height: 1;
    color: var(--heavy-gray-500);
    background: var(--heavy-gray-150);
    padding: 4px 8px;
    transition: background 0.2s, color 0.2s;
}
.heavy-woo .heavy-woo-cat-item.is-active .heavy-woo-cat-count {
    background: var(--heavy-accent);
    color: var(--heavy-white);
}
.heavy-woo .heavy-woo-cat-item a i {
    font-size: 11px;
    color: var(--heavy-gray-500);
    transition: transform 0.2s, color 0.2s;
}
.heavy-woo .heavy-woo-cat-item a:hover i {
    color: var(--heavy-accent);
    transform: translateX(3px);
}
.heavy-woo .heavy-woo-cat-item.is-active a i { color: var(--heavy-white); }

.heavy-woo .heavy-woo-filter {
    padding: 20px 0;
    border-bottom: 1px solid var(--heavy-gray-200);
}
.heavy-woo .heavy-woo-sidebar-scroll > .heavy-woo-filter:last-child { border-bottom: 0; }

.heavy-woo .heavy-woo-filter-title {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 14px !important;
    line-height: 1.2 !important;
}

.heavy-woo .heavy-woo-filter-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.heavy-woo .heavy-woo-filter-list li { margin: 0; padding: 0; }

.heavy-woo .heavy-woo-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 14px;
    color: var(--heavy-gray-700);
    cursor: not-allowed; /* пока disabled */
    user-select: none;
    line-height: 1.4;
    padding: 4px 0;
}
.heavy-woo .heavy-woo-filter-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.heavy-woo .heavy-woo-filter-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1px solid var(--heavy-gray-300);
    background: var(--heavy-white);
    display: inline-block;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}
.heavy-woo .heavy-woo-filter-option:hover .heavy-woo-filter-check {
    border-color: var(--heavy-accent);
}
.heavy-woo .heavy-woo-filter-option input:checked + .heavy-woo-filter-check {
    background: var(--heavy-accent);
    border-color: var(--heavy-accent);
}
.heavy-woo .heavy-woo-filter-option input:checked + .heavy-woo-filter-check::after {
    content: '';
    position: absolute;
    left: 4px; top: 0;
    width: 5px; height: 10px;
    border: solid var(--heavy-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.heavy-woo .heavy-woo-filter-text {
    flex: 1;
}

.heavy-woo .heavy-woo-sidebar-cta {
    width: 100%;
    cursor: pointer;
}

/* =========================================
   FILTERS FORM (рабочие фильтры)
   ========================================= */
.heavy-woo .heavy-woo-filters-form {
    display: contents; /* форма-обёртка не ломает сайдбар-лейаут */
}

.heavy-woo .heavy-woo-filters-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px 0 4px;
}

.heavy-woo .heavy-woo-filters-apply {
    width: 100%;
    justify-content: center;
    font-size: 13px !important;
    padding: 12px 16px !important;
}

.heavy-woo .heavy-woo-filters-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--heavy-gray-500) !important;
    text-decoration: none !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
    padding: 4px 0;
}
.heavy-woo .heavy-woo-filters-reset:hover {
    color: var(--heavy-accent) !important;
}

.heavy-woo .heavy-woo-filters-reset-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--heavy-accent);
    color: var(--heavy-white);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* =========================================
   MOBILE FILTER TOGGLE + BACKDROP
   ========================================= */
.heavy-woo .heavy-woo-filters-toggle {
    display: none;
    width: 100%;
    background: var(--heavy-black) !important;
    color: var(--heavy-white) !important;
    border: 1px solid var(--heavy-black) !important;
    padding: 16px 20px;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 20px;
}
.heavy-woo .heavy-woo-filters-toggle:hover,
.heavy-woo .heavy-woo-filters-toggle.has-active {
    background: var(--heavy-accent) !important;
    border-color: var(--heavy-accent) !important;
}

.heavy-woo .heavy-woo-filters-toggle-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--heavy-white);
    color: var(--heavy-accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-left: 4px;
}

.heavy-woo .heavy-woo-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.heavy-woo .heavy-woo-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================
   TOPBAR (result count + sorting)
   ========================================= */
.heavy-woo .heavy-woo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: var(--heavy-gray-50);
    border: 1px solid var(--heavy-gray-200);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.heavy-woo .heavy-woo-topbar-left { min-width: 0; }
.heavy-woo .heavy-woo-topbar-right { min-width: 0; }

.heavy-woo .woocommerce-result-count {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--heavy-gray-700);
}

.heavy-woo .woocommerce-ordering {
    margin: 0 !important;
    padding: 0;
    display: flex;
    align-items: center;
}
.heavy-woo .woocommerce-ordering select,
.heavy-woo select.orderby {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--heavy-white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23EA5C26' d='M6 8 0 0h12z'/></svg>") no-repeat right 14px center !important;
    background-size: 10px 7px !important;
    border: 1px solid var(--heavy-gray-300) !important;
    padding: 10px 36px 10px 14px !important;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 13px !important;
    color: var(--heavy-black) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    min-width: 220px;
    line-height: 1.2;
    transition: border-color 0.2s;
}
.heavy-woo .woocommerce-ordering select:hover,
.heavy-woo .woocommerce-ordering select:focus {
    border-color: var(--heavy-accent) !important;
    outline: none !important;
}

/* =========================================
   GRID + CARD
   ========================================= */
.heavy-woo .heavy-woo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Карточки каталога появляются быстро — 0.9s слишком медленно при скролле */
.heavy-woo .heavy-woo-card[data-reveal] {
    transition: opacity 0.35s cubic-bezier(.2,.7,.2,1), transform 0.35s cubic-bezier(.2,.7,.2,1) !important;
}

.heavy-woo .heavy-woo-card {
    position: relative;
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    transition: border-color 0.3s, transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto !important; /* затираем дефолтную ширину li.product от Woo */
    float: none !important;
    clear: none !important;
}
.heavy-woo .heavy-woo-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--heavy-accent);
    transition: width 0.4s cubic-bezier(.2,.7,.2,1);
    z-index: 3;
}
.heavy-woo .heavy-woo-card:hover {
    border-color: var(--heavy-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.18);
}
.heavy-woo .heavy-woo-card:hover::before { width: 100%; }

/* clickable wrapper-link поверх всей карточки */
.heavy-woo .heavy-woo-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-indent: -9999px;
    overflow: hidden;
}

.heavy-woo .heavy-woo-card-img {
    aspect-ratio: 4/3;
    background: var(--heavy-gray-100);
    position: relative;
    overflow: hidden;
    padding: 18px;
}
.heavy-woo .heavy-woo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.heavy-woo .heavy-woo-card:hover .heavy-woo-card-img img {
    transform: scale(1.04);
}

.heavy-woo .heavy-woo-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}
.heavy-woo .heavy-woo-card-badge {
    display: inline-block;
    padding: 5px 10px;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.2;
    border: 1px solid transparent;
}
.heavy-woo .heavy-woo-card-badge--sale {
    background: var(--heavy-accent);
    color: var(--heavy-white);
    border-color: var(--heavy-accent);
}
.heavy-woo .heavy-woo-card-badge--stock {
    background: rgba(255,255,255,0.95);
    color: var(--heavy-black);
    border-color: var(--heavy-gray-300);
}
.heavy-woo .heavy-woo-card-badge--order {
    background: rgba(10,10,10,0.85);
    color: var(--heavy-white);
    border-color: var(--heavy-black);
}

.heavy-woo .heavy-woo-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.heavy-woo .heavy-woo-card-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black) !important;
    margin: 0 !important;
    transition: color 0.2s;
}
.heavy-woo .heavy-woo-card:hover .heavy-woo-card-title {
    color: var(--heavy-accent) !important;
}

.heavy-woo .heavy-woo-card-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
    border-top: 1px solid var(--heavy-gray-200);
    border-bottom: 1px solid var(--heavy-gray-200);
}
.heavy-woo .heavy-woo-card-spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    line-height: 1.4;
}
.heavy-woo .heavy-woo-card-spec-label {
    color: var(--heavy-gray-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.heavy-woo .heavy-woo-card-spec-value {
    color: var(--heavy-black);
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.heavy-woo .heavy-woo-card-bottom {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}
.heavy-woo .heavy-woo-card-price-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    margin-bottom: 4px;
}
.heavy-woo .heavy-woo-card-price,
.heavy-woo .heavy-woo-card-price .amount,
.heavy-woo .heavy-woo-card-price bdi {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 22px;
    line-height: 1.1;
    color: var(--heavy-black);
    letter-spacing: -0.01em;
}
.heavy-woo .heavy-woo-card-price del { display: none; } /* зачёркнутая старая цена — лишний шум */
.heavy-woo .heavy-woo-card-price ins {
    text-decoration: none;
    background: transparent;
}
.heavy-woo .heavy-woo-card-arrow {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--heavy-black);
    color: var(--heavy-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}
.heavy-woo .heavy-woo-card:hover .heavy-woo-card-arrow {
    background: var(--heavy-accent);
    transform: translateX(4px);
}

/* =========================================
   PAGINATION
   ========================================= */
.heavy-woo .woocommerce-pagination {
    margin-top: 48px !important;
    padding: 0;
    text-align: center;
}
.heavy-woo .woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.heavy-woo .woocommerce-pagination ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.heavy-woo .woocommerce-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--heavy-black) !important;
    background: var(--heavy-white) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.heavy-woo .woocommerce-pagination a.page-numbers:hover {
    background: var(--heavy-black) !important;
    color: var(--heavy-white) !important;
    border-color: var(--heavy-black) !important;
}
.heavy-woo .woocommerce-pagination .page-numbers.current {
    background: var(--heavy-accent) !important;
    color: var(--heavy-white) !important;
    border-color: var(--heavy-accent) !important;
}
.heavy-woo .woocommerce-pagination .page-numbers.dots {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--heavy-gray-500) !important;
}

/* =========================================
   EMPTY STATE
   ========================================= */
.heavy-woo .heavy-woo-empty {
    text-align: center;
    padding: 80px 40px;
    background: var(--heavy-gray-50);
    border: 1px dashed var(--heavy-gray-300);
}
.heavy-woo .heavy-woo-empty-icon {
    font-size: 56px;
    color: var(--heavy-gray-300);
    margin-bottom: 24px;
}
.heavy-woo .heavy-woo-empty-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    color: var(--heavy-black) !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 12px !important;
}
.heavy-woo .heavy-woo-empty-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    color: var(--heavy-gray-700);
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 460px;
}

/* =========================================
   REVEAL (наследует базовую анимацию из heavy-main.css)
   ========================================= */
.heavy-woo [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
.heavy-woo [data-reveal].in {
    opacity: 1;
    transform: translateY(0);
}
.heavy-woo .heavy-woo-grid [data-reveal].in {
    transition-delay: calc(var(--idx, 0) * 60ms);
}

/* =========================================
   WC notices (если будут)
   ========================================= */
.heavy-woo .woocommerce-notices-wrapper {
    margin-bottom: 24px;
}
.heavy-woo .woocommerce-message,
.heavy-woo .woocommerce-info,
.heavy-woo .woocommerce-error {
    background: var(--heavy-gray-50) !important;
    border-left: 4px solid var(--heavy-accent) !important;
    color: var(--heavy-black) !important;
    border-radius: 0 !important;
    padding: 16px 20px !important;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 14px;
    box-shadow: none !important;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .heavy-woo .heavy-woo-layout {
        grid-template-columns: 240px 1fr;
        gap: 28px;
    }
    .heavy-woo .heavy-woo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .heavy-woo .heavy-woo-card-title { font-size: 18px !important; }
}

@media (max-width: 992px) {
    /* Сайдбар уходит в drawer слева */
    .heavy-woo .heavy-woo-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .heavy-woo .heavy-woo-filters-toggle {
        display: inline-flex;
    }
    .heavy-woo .heavy-woo-sidebar {
        position: fixed;
        top: 0; left: 0;
        width: min(360px, 100vw);
        height: 100vh;
        max-height: 100vh;
        background: var(--heavy-white);
        border: 0;
        border-right: 1px solid var(--heavy-gray-200);
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
        display: flex;
        flex-direction: column;
    }
    .admin-bar .heavy-woo .heavy-woo-sidebar { top: 32px; height: calc(100vh - 32px); }
    @media (max-width: 782px) {
        .admin-bar .heavy-woo .heavy-woo-sidebar { top: 46px; height: calc(100vh - 46px); }
    }
    .heavy-woo .heavy-woo-sidebar.open {
        transform: translateX(0);
    }
    .heavy-woo .heavy-woo-sidebar-close {
        display: inline-flex;
    }
    .heavy-woo .heavy-woo-sidebar-scroll {
        padding: 72px 24px 20px;
    }
    .heavy-woo .heavy-woo-sidebar-footer {
        padding: 16px 24px;
        box-shadow: 0 -8px 16px -8px rgba(0,0,0,0.08);
    }

    .heavy-woo .heavy-woo-head { padding: 40px 0 24px; }
    .heavy-woo .heavy-woo-archive { padding: 32px 0 80px; }
    .heavy-woo .heavy-woo-topbar { padding: 14px 16px; }
    .heavy-woo .woocommerce-ordering select { min-width: 180px; font-size: 12px !important; }
}

@media (max-width: 640px) {
    .heavy-woo { padding-top: 88px; }
    .admin-bar .heavy-woo { padding-top: 134px; } /* 88 + 46 mobile adminbar */

    .heavy-woo .container { padding: 0 20px; }

    .heavy-woo .heavy-woo-breadcrumbs-wrap {
        padding: 24px 0 14px;
        font-size: 11px;
    }

    .heavy-woo .heavy-woo-head { padding: 32px 0 20px; }
    .heavy-woo .heavy-woo-archive { padding: 24px 0 60px; }

    .heavy-woo .heavy-woo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .heavy-woo .heavy-woo-card-body { padding: 20px; gap: 14px; }
    .heavy-woo .heavy-woo-card-title { font-size: 19px !important; }
    .heavy-woo .heavy-woo-card-price,
    .heavy-woo .heavy-woo-card-price .amount,
    .heavy-woo .heavy-woo-card-price bdi { font-size: 20px; }
    .heavy-woo .heavy-woo-card-arrow { width: 40px; height: 40px; }

    .heavy-woo .heavy-woo-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .heavy-woo .heavy-woo-topbar-right .woocommerce-ordering,
    .heavy-woo .heavy-woo-topbar-right select {
        width: 100%;
        min-width: 0;
    }

    .heavy-woo .heavy-woo-filters-toggle { padding: 14px 18px; font-size: 12px !important; }

    .heavy-woo .heavy-woo-empty { padding: 60px 24px; }
    .heavy-woo .heavy-woo-empty-icon { font-size: 44px; }
    .heavy-woo .heavy-woo-empty-title { font-size: 20px !important; }

    .heavy-woo .woocommerce-pagination { margin-top: 32px !important; }
    .heavy-woo .woocommerce-pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .heavy-woo .heavy-woo-title { font-size: 28px !important; }
    .heavy-woo .heavy-woo-card-title { font-size: 17px !important; }
}

/* =========================================================================
   SINGLE PRODUCT — страница товара
   ========================================================================= */
.heavy-woo-single .heavy-woo-product-hero {
    padding: 48px 0 64px;
    background: var(--heavy-white);
}
.heavy-woo-single .heavy-woo-product-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* === Галерея === */
.heavy-woo-single .heavy-woo-product-gallery-col {
    position: relative;
    min-width: 0;
}
.heavy-woo-single .woocommerce-product-gallery {
    position: relative;
    margin: 0 !important;
    width: 100% !important;
}
.heavy-woo-single .woocommerce-product-gallery {
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    overflow: hidden;
    position: relative;
}
.heavy-woo-single .flex-viewport {
    overflow: hidden !important;
    position: relative !important;
    aspect-ratio: 16/9;
    width: 100%;
}
.heavy-woo-single .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    background: var(--heavy-white);
    overflow: visible;
    position: relative;
    padding: 0 !important;
    list-style: none !important;
}
.heavy-woo-single .woocommerce-product-gallery__image {
    margin: 0 !important;
    background: var(--heavy-white);
    padding: 0 !important;
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
    position: relative;
    list-style: none !important;
}

/* ── Стрелки навигации (prev/next) — поверх главного изображения ── */
.heavy-woo-single .flex-direction-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}
.heavy-woo-single .flex-direction-nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
}
.heavy-woo-single .flex-direction-nav .flex-nav-prev { left: 16px; }
.heavy-woo-single .flex-direction-nav .flex-nav-next { right: 16px; }
.heavy-woo-single .flex-direction-nav a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--heavy-black, #111) !important;
    border: 1px solid var(--heavy-gray-200);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-size: 16px;
    text-decoration: none !important;
    text-indent: 0 !important;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    cursor: pointer;
}
.heavy-woo-single .flex-direction-nav a:hover {
    background: var(--heavy-accent);
    color: var(--heavy-white) !important;
    transform: scale(1.06);
}
.heavy-woo-single .flex-direction-nav a.flex-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.heavy-woo-single .flex-direction-nav i { line-height: 1; }
.heavy-woo-single .flex-direction-nav .screen-reader-text {
    position: absolute !important; clip: rect(0,0,0,0);
    width: 1px; height: 1px; overflow: hidden;
}
.heavy-woo-single .woocommerce-product-gallery__image a {
    display: block;
    width: 100%;
    height: 100%;
}
.heavy-woo-single .woocommerce-product-gallery__image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
}
/* SALE flash */
.heavy-woo-single .onsale,
.heavy-woo-single .woocommerce-product-gallery .onsale {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    background: var(--heavy-accent) !important;
    color: var(--heavy-white) !important;
    border: 1px solid var(--heavy-accent) !important;
    border-radius: 0 !important;
    padding: 6px 12px !important;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    min-width: 0 !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    width: auto !important;
    height: auto !important;
    z-index: 4;
    box-shadow: none !important;
}
/* Thumbnails (FlexSlider) */
.heavy-woo-single .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.heavy-woo-single .flex-control-thumbs li {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
}
.heavy-woo-single .flex-control-thumbs img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    object-fit: cover !important;
    background: var(--heavy-white);
    padding: 0;
    border: 1px solid var(--heavy-gray-200);
    opacity: 0.75 !important;
    transition: opacity 0.2s, border-color 0.2s !important;
    cursor: pointer;
    display: block !important;
}
.heavy-woo-single .flex-control-thumbs img:hover,
.heavy-woo-single .flex-control-thumbs img.flex-active {
    opacity: 1 !important;
    border-color: var(--heavy-accent);
}
/* Zoom-индикатор — прячем дефолтный символ Woo, рисуем FA-лупу через ::before */
.heavy-woo-single .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
    background: var(--heavy-white) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    color: var(--heavy-black) !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    text-indent: 0 !important;
    font-size: 0 !important; /* прячем стандартный текст/символ */
    line-height: 1 !important;
    z-index: 3;
    box-shadow: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.heavy-woo-single .woocommerce-product-gallery__trigger > * {
    display: none !important;
}
.heavy-woo-single .woocommerce-product-gallery__trigger::before {
    content: "\f00e"; /* fa-magnifying-glass-plus */
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    color: inherit;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.heavy-woo-single .woocommerce-product-gallery__trigger:hover {
    background: var(--heavy-accent) !important;
    border-color: var(--heavy-accent) !important;
    color: var(--heavy-white) !important;
}

/* === Summary === */
.heavy-woo-single .heavy-woo-product-summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.heavy-woo-single .heavy-woo-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.heavy-woo-single .heavy-woo-product-sku {
    color: var(--heavy-gray-500);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.heavy-woo-single .heavy-woo-product-sku strong {
    color: var(--heavy-black);
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
}
.heavy-woo-single .heavy-woo-product-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border: 1px solid currentColor;
    line-height: 1.2;
}
.heavy-woo-single .heavy-woo-product-stock.is-in-stock {
    color: #1A8245;
    background: rgba(26, 130, 69, 0.06);
}
.heavy-woo-single .heavy-woo-product-stock.is-out-of-stock {
    color: var(--heavy-gray-700);
    background: var(--heavy-gray-100);
}

.heavy-woo-single .heavy-woo-product-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(28px, 3.4vw, 44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 !important;
}

.heavy-woo-single .heavy-woo-product-excerpt {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--heavy-gray-700);
}
.heavy-woo-single .heavy-woo-product-excerpt p { margin: 0 0 10px; }
.heavy-woo-single .heavy-woo-product-excerpt p:last-child { margin-bottom: 0; }

.heavy-woo-single .heavy-woo-product-specs {
    list-style: none !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    border-top: 1px solid var(--heavy-gray-200);
    border-bottom: 1px solid var(--heavy-gray-200);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.heavy-woo-single .heavy-woo-product-spec {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 13px;
    line-height: 1.4;
}
.heavy-woo-single .heavy-woo-product-spec-label {
    color: var(--heavy-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}
.heavy-woo-single .heavy-woo-product-spec-dots {
    flex: 1 1 auto;
    height: 1px;
    border-bottom: 1px dashed var(--heavy-gray-300);
    margin: 0 4px;
    position: relative;
    top: -3px;
    min-width: 12px;
}
.heavy-woo-single .heavy-woo-product-spec-value {
    color: var(--heavy-black);
    font-weight: 600;
    text-align: right;
    word-break: break-word;
    flex-shrink: 0;
}

.heavy-woo-single .heavy-woo-product-price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.heavy-woo-single .heavy-woo-product-price-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
}
.heavy-woo-single .heavy-woo-product-price,
.heavy-woo-single .heavy-woo-product-price .amount,
.heavy-woo-single .heavy-woo-product-price bdi {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    color: var(--heavy-black);
    letter-spacing: -0.01em;
}
.heavy-woo-single .heavy-woo-product-price del { display: none; }
.heavy-woo-single .heavy-woo-product-price ins {
    text-decoration: none;
    background: transparent;
}

.heavy-woo-single .heavy-woo-product-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.heavy-woo-single .heavy-woo-product-cta-btn {
    width: 100%;
    cursor: pointer;
}
.heavy-woo-single .heavy-woo-product-cta-note {
    margin: 0;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--heavy-gray-500);
    line-height: 1.5;
    text-align: center;
}

.heavy-woo-single .heavy-woo-product-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--heavy-gray-50);
    border: 1px solid var(--heavy-gray-200);
}
.heavy-woo-single .heavy-woo-product-contact > i {
    font-size: 22px;
    color: var(--heavy-accent);
    flex-shrink: 0;
}
.heavy-woo-single .heavy-woo-product-contact-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.heavy-woo-single .heavy-woo-product-phone {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 16px;
    font-weight: 600;
    color: var(--heavy-black) !important;
    text-decoration: none !important;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}
.heavy-woo-single .heavy-woo-product-phone:hover {
    color: var(--heavy-accent) !important;
}
.heavy-woo-single .heavy-woo-product-hours {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    color: var(--heavy-gray-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* === DETAILS === */
.heavy-woo-single .heavy-woo-product-details {
    padding: 60px 0 80px;
    background: var(--heavy-gray-50);
    border-top: 1px solid var(--heavy-gray-200);
}
.heavy-woo-single .heavy-woo-product-details-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: flex-start;
}
.heavy-woo-single .heavy-woo-product-h2 {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(24px, 2.6vw, 32px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 24px !important;
}
.heavy-woo-single .heavy-woo-product-h2 .accent { color: var(--heavy-accent); }

.heavy-woo-single .heavy-woo-product-description-body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--heavy-gray-700);
}
.heavy-woo-single .heavy-woo-product-description-body p {
    margin: 0 0 14px;
}
.heavy-woo-single .heavy-woo-product-description-body p:last-child { margin-bottom: 0; }
.heavy-woo-single .heavy-woo-product-description-body ul,
.heavy-woo-single .heavy-woo-product-description-body ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.heavy-woo-single .heavy-woo-product-description-body li { margin-bottom: 6px; }
.heavy-woo-single .heavy-woo-product-description-body strong { color: var(--heavy-black); }

/* Таблица характеристик */
.heavy-woo-single .heavy-woo-product-attrs {
    position: sticky;
    top: 110px;
}
.admin-bar .heavy-woo-single .heavy-woo-product-attrs { top: 142px; }

.heavy-woo-single .heavy-woo-product-attrs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    table-layout: fixed;
}
.heavy-woo-single .heavy-woo-product-attrs-table tr {
    border-bottom: 1px solid var(--heavy-gray-150);
}
.heavy-woo-single .heavy-woo-product-attrs-table tr:last-child { border-bottom: 0; }
.heavy-woo-single .heavy-woo-product-attrs-table th,
.heavy-woo-single .heavy-woo-product-attrs-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    line-height: 1.4;
    font-weight: 400;
}
.heavy-woo-single .heavy-woo-product-attrs-table th {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--heavy-gray-500);
    width: 45%;
    background: var(--heavy-gray-50);
    word-break: break-word;
}
.heavy-woo-single .heavy-woo-product-attrs-table td {
    color: var(--heavy-black);
    font-weight: 600;
    word-break: break-word;
}

/* === RELATED === */
.heavy-woo .heavy-woo-related {
    padding: 80px 0;
    background: var(--heavy-white);
    border-top: 1px solid var(--heavy-gray-200);
}
.heavy-woo .heavy-woo-related-head {
    margin-bottom: 40px;
}
.heavy-woo .heavy-woo-related-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(28px, 3vw, 44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 !important;
}
.heavy-woo .heavy-woo-related-title .accent { color: var(--heavy-accent); }
.heavy-woo .heavy-woo-grid--related {
    grid-template-columns: repeat(4, 1fr);
}

/* Скрываем дефолтные обёртки WC, если related рендерится не нашим related.php (страховка) */
.heavy-woo-single .related.products > h2:not(.heavy-woo-related-title) {
    display: none;
}

/* === RESPONSIVE: single product === */
@media (max-width: 1200px) {
    .heavy-woo-single .heavy-woo-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .heavy-woo-single .heavy-woo-product-details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .heavy-woo .heavy-woo-grid--related {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .heavy-woo-single .heavy-woo-product-hero { padding: 32px 0 48px; }
    .heavy-woo-single .heavy-woo-product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .heavy-woo-single .heavy-woo-product-details {
        padding: 48px 0 60px;
    }
    .heavy-woo-single .heavy-woo-product-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .heavy-woo-single .heavy-woo-product-attrs {
        position: static;
    }
    .heavy-woo .heavy-woo-related { padding: 60px 0; }
    .heavy-woo .heavy-woo-grid--related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .heavy-woo-single .heavy-woo-product-hero { padding: 24px 0 40px; }
    .heavy-woo-single .heavy-woo-product-grid { gap: 24px; }
    .heavy-woo-single .heavy-woo-product-summary { gap: 20px; }
    .heavy-woo-single .heavy-woo-product-specs { padding: 16px 0 !important; }
    .heavy-woo-single .heavy-woo-product-spec { font-size: 12px; }
    .heavy-woo-single .flex-control-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px !important;
    }
    .heavy-woo-single .heavy-woo-product-details {
        padding: 40px 0 50px;
    }
    .heavy-woo-single .heavy-woo-product-attrs-table th,
    .heavy-woo-single .heavy-woo-product-attrs-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    .heavy-woo-single .heavy-woo-product-contact {
        padding: 14px 16px;
        gap: 12px;
    }
    .heavy-woo .heavy-woo-related { padding: 48px 0; }
    .heavy-woo .heavy-woo-grid--related { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
    .heavy-woo-single .heavy-woo-product-title { font-size: 24px !important; }
    .heavy-woo-single .heavy-woo-product-price,
    .heavy-woo-single .heavy-woo-product-price .amount,
    .heavy-woo-single .heavy-woo-product-price bdi { font-size: 26px; }
}

/* =========================================================================
   STUB — заглушка для Cart / Checkout / My Account
   ========================================================================= */
.heavy-woo-stub .heavy-woo-stub-section {
    background: var(--heavy-black);
    color: var(--heavy-white);
    padding: 100px 0 120px;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.heavy-woo-stub .heavy-woo-stub-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--heavy-accent), transparent);
}
.heavy-woo-stub .heavy-woo-stub-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}
.heavy-woo-stub .heavy-woo-stub-left { max-width: 720px; min-width: 0; }

.heavy-woo-stub .heavy-woo-stub-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--heavy-accent);
    padding: 8px 16px;
    border: 1px solid var(--heavy-accent);
    margin-bottom: 32px;
}

.heavy-woo-stub .heavy-woo-stub-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(36px, 5vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-white) !important;
    margin: 0 0 24px !important;
}
.heavy-woo-stub .heavy-woo-stub-title .accent {
    color: var(--heavy-accent) !important;
}

.heavy-woo-stub .heavy-woo-stub-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--heavy-gray-300);
    margin: 0 0 36px;
    max-width: 620px;
}

.heavy-woo-stub .heavy-woo-stub-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.heavy-woo-stub .btn-dark {
    background: transparent !important;
    color: var(--heavy-white) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
}
.heavy-woo-stub .btn-dark:hover {
    background: var(--heavy-accent) !important;
    border-color: var(--heavy-accent) !important;
}

.heavy-woo-stub .heavy-woo-stub-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 28px 26px;
    position: relative;
}
.heavy-woo-stub .heavy-woo-stub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--heavy-accent);
}
.heavy-woo-stub .heavy-woo-stub-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-300);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.heavy-woo-stub .heavy-woo-stub-card-head i {
    color: var(--heavy-accent);
    font-size: 16px;
}
.heavy-woo-stub .heavy-woo-stub-card-row {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.heavy-woo-stub .heavy-woo-stub-card-row:last-child { border-bottom: 0; }

.heavy-woo-stub .heavy-woo-stub-card-label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    margin-bottom: 4px;
}
.heavy-woo-stub .heavy-woo-stub-card-value {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 16px;
    color: var(--heavy-white) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
a.heavy-woo-stub-card-value:hover {
    color: var(--heavy-accent) !important;
}

@media (max-width: 992px) {
    .heavy-woo-stub .heavy-woo-stub-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .heavy-woo-stub .heavy-woo-stub-section { padding: 60px 0 80px; min-height: 0; }
}
@media (max-width: 640px) {
    .heavy-woo-stub .heavy-woo-stub-section { padding: 40px 0 60px; }
    .heavy-woo-stub .heavy-woo-stub-tag { margin-bottom: 24px; padding: 6px 12px; font-size: 11px; }
    .heavy-woo-stub .heavy-woo-stub-desc { font-size: 15px; }
    .heavy-woo-stub .heavy-woo-stub-actions .btn { width: 100%; }
}

/* =========================================================================
   ADD-TO-CART кнопки (карточка каталога + single)
   ========================================================================= */
.heavy-woo .heavy-woo-card-add {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--heavy-black) !important;
    color: var(--heavy-white) !important;
    border: 1px solid var(--heavy-black) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    z-index: 4;
    position: relative;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.heavy-woo .heavy-woo-card-add:hover {
    background: var(--heavy-accent) !important;
    border-color: var(--heavy-accent) !important;
    transform: translateY(-2px);
}
.heavy-woo .heavy-woo-card-add .heavy-woo-card-add-check { display: none; }
.heavy-woo .heavy-woo-card-add.is-loading { opacity: 0.6; pointer-events: none; }
.heavy-woo .heavy-woo-card-add.is-added {
    background: #1A8245 !important;
    border-color: #1A8245 !important;
}
.heavy-woo .heavy-woo-card-add.is-added .heavy-woo-card-add-icon { display: none; }
.heavy-woo .heavy-woo-card-add.is-added .heavy-woo-card-add-check { display: inline-block; }

/* Single-product кнопка «В подборку» */
.heavy-woo-single .heavy-woo-product-cta {
    gap: 10px;
}
.heavy-woo-single .heavy-woo-product-cta-btn {
    cursor: pointer;
    position: relative;
}
.heavy-woo-single .heavy-woo-product-cta-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
.heavy-woo-single .heavy-woo-product-cta-btn.is-added {
    background: #1A8245 !important;
    border-color: #1A8245 !important;
}
.heavy-woo-single .heavy-woo-product-cta-btn-alt {
    width: 100%;
    cursor: pointer;
}

/* =========================================================================
   HEADER CART
   ========================================================================= */
/* .header-cart styles moved to heavy-main.css (needed on all pages, not just Woo) */

/* =========================================================================
   QUOTE CART — корзина-подборка
   ========================================================================= */
.heavy-quote-cart .heavy-quote-head,
.heavy-quote-checkout .heavy-quote-head,
.heavy-quote-account .heavy-quote-head {
    background: var(--heavy-black);
    color: var(--heavy-white);
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.heavy-quote-cart .heavy-quote-head::before,
.heavy-quote-checkout .heavy-quote-head::before,
.heavy-quote-account .heavy-quote-head::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--heavy-accent), transparent);
}
.heavy-quote-cart .heavy-quote-head-inner,
.heavy-quote-checkout .heavy-quote-head-inner,
.heavy-quote-account .heavy-quote-head-inner {
    max-width: 820px;
}
.heavy-quote-cart .heavy-quote-head-tag,
.heavy-quote-checkout .heavy-quote-head-tag,
.heavy-quote-account .heavy-quote-head-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--heavy-accent);
    color: var(--heavy-accent);
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.heavy-quote-cart .heavy-quote-head-title,
.heavy-quote-checkout .heavy-quote-head-title,
.heavy-quote-account .heavy-quote-head-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(30px, 4.2vw, 52px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--heavy-white) !important;
    margin: 0 0 18px !important;
}
.heavy-quote-cart .heavy-quote-head-title .accent,
.heavy-quote-checkout .heavy-quote-head-title .accent,
.heavy-quote-account .heavy-quote-head-title .accent { color: var(--heavy-accent) !important; }
.heavy-quote-cart .heavy-quote-head-desc,
.heavy-quote-checkout .heavy-quote-head-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--heavy-gray-300);
    margin: 0;
}

.heavy-quote-cart .heavy-quote-cart-section { padding: 48px 0 100px; background: var(--heavy-white); }
.heavy-quote-cart .heavy-quote-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: flex-start;
}

.heavy-quote-cart .heavy-quote-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.heavy-quote-cart .heavy-quote-item {
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    padding: 18px;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.heavy-quote-cart .heavy-quote-item:hover {
    border-color: var(--heavy-accent);
    box-shadow: 0 12px 24px -16px rgba(0,0,0,0.15);
}
.heavy-quote-cart .heavy-quote-item-img {
    aspect-ratio: 4/3;
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    overflow: hidden;
    display: block;
    padding: 12px;
}
.heavy-quote-cart .heavy-quote-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.heavy-quote-cart .heavy-quote-item-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.heavy-quote-cart .heavy-quote-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
}
.heavy-quote-cart .heavy-quote-item-sku strong {
    color: var(--heavy-black);
    font-weight: 600;
}
.heavy-quote-cart .heavy-quote-item-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border: 1px solid currentColor;
    line-height: 1.2;
}
.heavy-quote-cart .heavy-quote-item-stock.is-in { color: #1A8245; background: rgba(26,130,69,0.06); }
.heavy-quote-cart .heavy-quote-item-stock.is-out { color: var(--heavy-gray-700); background: var(--heavy-gray-100); }

.heavy-quote-cart .heavy-quote-item-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black) !important;
    margin: 6px 0 0 !important;
}
.heavy-quote-cart .heavy-quote-item-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.heavy-quote-cart .heavy-quote-item-title a:hover { color: var(--heavy-accent) !important; }

.heavy-quote-cart .heavy-quote-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.heavy-quote-cart .heavy-quote-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.heavy-quote-cart .heavy-quote-item-qty-label {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    margin-right: 4px;
}
.heavy-quote-cart .heavy-quote-qty-btn {
    width: 32px;
    height: 32px;
    background: var(--heavy-white) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    color: var(--heavy-black) !important;
    cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.heavy-quote-cart .heavy-quote-qty-btn:hover {
    background: var(--heavy-accent) !important;
    color: var(--heavy-white) !important;
    border-color: var(--heavy-accent) !important;
}
.heavy-quote-cart .heavy-quote-qty-input {
    width: 56px;
    height: 32px;
    background: var(--heavy-white) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    color: var(--heavy-black) !important;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    -moz-appearance: textfield;
}
.heavy-quote-cart .heavy-quote-qty-input::-webkit-outer-spin-button,
.heavy-quote-cart .heavy-quote-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.heavy-quote-cart .heavy-quote-item-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: auto;
}
.heavy-quote-cart .heavy-quote-item-price-label {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
}
.heavy-quote-cart .heavy-quote-item-price-value,
.heavy-quote-cart .heavy-quote-item-price-value .amount,
.heavy-quote-cart .heavy-quote-item-price-value bdi {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px;
    line-height: 1.1;
    color: var(--heavy-black);
}

.heavy-quote-cart .heavy-quote-item-remove {
    width: 36px;
    height: 36px;
    background: transparent !important;
    border: 1px solid var(--heavy-gray-300) !important;
    color: var(--heavy-gray-700) !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.heavy-quote-cart .heavy-quote-item-remove:hover {
    background: #c0392b !important;
    border-color: #c0392b !important;
    color: var(--heavy-white) !important;
}

.heavy-quote-cart .heavy-quote-item-comment {
    background: var(--heavy-gray-50);
    padding: 12px 14px;
    border: 1px solid var(--heavy-gray-200);
}
.heavy-quote-cart .heavy-quote-item-comment-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-gray-700);
    margin-bottom: 8px;
}
.heavy-quote-cart .heavy-quote-item-comment-label i { color: var(--heavy-accent); font-size: 11px; }
.heavy-quote-cart .heavy-quote-item-comment-input {
    width: 100%;
    background: var(--heavy-white) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    padding: 10px 12px !important;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: var(--heavy-black) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    resize: vertical;
    min-height: 56px;
    transition: border-color 0.2s;
}
.heavy-quote-cart .heavy-quote-item-comment-input:focus {
    border-color: var(--heavy-accent) !important;
}

/* SUMMARY */
.heavy-quote-cart .heavy-quote-summary {
    position: sticky;
    top: 110px;
}
.admin-bar .heavy-quote-cart .heavy-quote-summary { top: 142px; }

.heavy-quote-cart .heavy-quote-summary-inner {
    background: var(--heavy-black);
    color: var(--heavy-white);
    padding: 28px 26px;
    position: relative;
}
.heavy-quote-cart .heavy-quote-summary-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--heavy-accent);
}
.heavy-quote-cart .heavy-quote-summary-label {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-accent);
    margin-bottom: 6px;
}
.heavy-quote-cart .heavy-quote-summary-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-white) !important;
    margin: 0 !important;
}
.heavy-quote-cart .heavy-quote-summary-head {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 18px;
}
.heavy-quote-cart .heavy-quote-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    color: var(--heavy-gray-300);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.heavy-quote-cart .heavy-quote-summary-row:last-of-type { border-bottom: 0; }
.heavy-quote-cart .heavy-quote-summary-row strong {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400;
    font-size: 22px;
    color: var(--heavy-white);
}

.heavy-quote-cart .heavy-quote-summary-features {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.heavy-quote-cart .heavy-quote-summary-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    color: var(--heavy-gray-300);
}
.heavy-quote-cart .heavy-quote-summary-feature i {
    color: var(--heavy-accent);
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.heavy-quote-cart .heavy-quote-summary-cta {
    width: 100%;
    margin-top: 22px;
}
.heavy-quote-cart .heavy-quote-summary-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 0;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-gray-300) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.heavy-quote-cart .heavy-quote-summary-back:hover { color: var(--heavy-accent) !important; }

/* EMPTY STATE */
.heavy-quote-cart .heavy-quote-empty-section,
.heavy-quote-checkout .heavy-quote-empty-section {
    padding: 80px 0 120px;
    background: var(--heavy-white);
}
.heavy-quote-cart .heavy-quote-empty,
.heavy-quote-checkout .heavy-quote-empty {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 24px;
    background: var(--heavy-gray-50);
    border: 1px dashed var(--heavy-gray-300);
}
.heavy-quote-cart .heavy-quote-empty-icon,
.heavy-quote-checkout .heavy-quote-empty-icon {
    font-size: 56px;
    color: var(--heavy-gray-300);
    margin-bottom: 22px;
}
.heavy-quote-cart .heavy-quote-empty-title,
.heavy-quote-checkout .heavy-quote-empty-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(24px, 3vw, 36px) !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 14px !important;
}
.heavy-quote-cart .heavy-quote-empty-title .accent,
.heavy-quote-checkout .heavy-quote-empty-title .accent { color: var(--heavy-accent) !important; }
.heavy-quote-cart .heavy-quote-empty-desc,
.heavy-quote-checkout .heavy-quote-empty-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--heavy-gray-700);
    margin: 0 0 28px;
}
.heavy-quote-cart .heavy-quote-empty-actions,
.heavy-quote-checkout .heavy-quote-empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================================
   QUOTE CHECKOUT
   ========================================================================= */
.heavy-quote-checkout .heavy-quote-checkout-section {
    padding: 48px 0 100px;
    background: var(--heavy-white);
}
.heavy-quote-checkout .heavy-quote-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: flex-start;
}

/* FORM */
.heavy-quote-checkout .heavy-quote-form-card {
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    padding: 36px 32px;
    position: relative;
}
.heavy-quote-checkout .heavy-quote-form-h2 {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--heavy-black) !important;
    margin: 0 0 24px !important;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--heavy-gray-200);
}
.heavy-quote-checkout .heavy-quote-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.heavy-quote-checkout .heavy-quote-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.heavy-quote-checkout .heavy-quote-field-row .heavy-quote-field { margin-bottom: 0; }
.heavy-quote-checkout .heavy-quote-field label {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
}
.heavy-quote-checkout .heavy-quote-required { color: var(--heavy-accent); margin-left: 2px; }
.heavy-quote-checkout .heavy-quote-field input,
.heavy-quote-checkout .heavy-quote-field textarea {
    width: 100%;
    background: var(--heavy-white) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    border-radius: 0 !important;
    padding: 13px 16px !important;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 15px !important;
    color: var(--heavy-black) !important;
    line-height: 1.4 !important;
    transition: border-color 0.2s;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
}
.heavy-quote-checkout .heavy-quote-field input::placeholder,
.heavy-quote-checkout .heavy-quote-field textarea::placeholder {
    color: var(--heavy-gray-500);
    opacity: 1;
}
.heavy-quote-checkout .heavy-quote-field input:focus,
.heavy-quote-checkout .heavy-quote-field textarea:focus {
    border-color: var(--heavy-accent) !important;
}
.heavy-quote-checkout .heavy-quote-field textarea {
    resize: vertical;
    min-height: 96px;
}

.heavy-quote-checkout .heavy-quote-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--heavy-gray-700);
    user-select: none;
    margin: 14px 0 8px;
    position: relative;
}
.heavy-quote-checkout .heavy-quote-agree input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.heavy-quote-checkout .heavy-quote-agree-check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1px solid var(--heavy-gray-300);
    background: var(--heavy-white);
    position: relative;
}
.heavy-quote-checkout .heavy-quote-agree input:checked + .heavy-quote-agree-check {
    background: var(--heavy-accent);
    border-color: var(--heavy-accent);
}
.heavy-quote-checkout .heavy-quote-agree input:checked + .heavy-quote-agree-check::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    width: 5px;
    height: 10px;
    border: solid var(--heavy-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.heavy-quote-checkout .heavy-quote-submit {
    width: 100%;
    margin-top: 16px;
    position: relative;
    cursor: pointer;
}
.heavy-quote-checkout .heavy-quote-submit-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.heavy-quote-checkout .heavy-quote-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}
.heavy-quote-checkout .heavy-quote-form-footer-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--heavy-gray-500);
    line-height: 1.4;
}
.heavy-quote-checkout .heavy-quote-form-footer-note i { color: var(--heavy-accent); font-size: 12px; }

.heavy-quote-checkout .heavy-quote-form-error {
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(192, 57, 43, 0.08);
    border-left: 4px solid #c0392b;
    color: #c0392b;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* SUMMARY (read-only) */
.heavy-quote-checkout .heavy-quote-checkout-summary {
    position: sticky;
    top: 110px;
}
.admin-bar .heavy-quote-checkout .heavy-quote-checkout-summary { top: 142px; }

.heavy-quote-checkout .heavy-quote-checkout-summary-inner {
    background: var(--heavy-gray-50);
    border: 1px solid var(--heavy-gray-200);
    padding: 22px 22px 18px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--heavy-gray-200);
    margin-bottom: 14px;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 !important;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-edit {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-accent) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-edit:hover { color: var(--heavy-accent-hover) !important; }

.heavy-quote-checkout .heavy-quote-checkout-summary-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--heavy-gray-200);
}
.heavy-quote-checkout .heavy-quote-checkout-summary-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.heavy-quote-checkout .heavy-quote-checkout-summary-item-img {
    aspect-ratio: 1;
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    padding: 4px;
    overflow: hidden;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-item-name {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--heavy-black);
    margin-bottom: 4px;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-item-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    margin-bottom: 4px;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-item-comment {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    color: var(--heavy-gray-700);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed var(--heavy-gray-200);
    line-height: 1.4;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-item-comment i {
    color: var(--heavy-accent);
    font-size: 11px;
    margin-top: 2px;
}
.heavy-quote-checkout .heavy-quote-checkout-summary-foot {
    padding-top: 12px;
    border-top: 1px solid var(--heavy-gray-200);
    text-align: center;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
}

/* SUCCESS */
.heavy-quote-checkout .heavy-quote-success {
    padding: 100px 0 120px;
    background: var(--heavy-white);
}
.heavy-quote-checkout .heavy-quote-success-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.heavy-quote-checkout .heavy-quote-success-icon {
    font-size: 80px;
    color: #1A8245;
    margin-bottom: 28px;
}
.heavy-quote-checkout .heavy-quote-success-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(32px, 4.4vw, 56px) !important;
    line-height: 1.05 !important;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 0 16px !important;
}
.heavy-quote-checkout .heavy-quote-success-title .accent { color: var(--heavy-accent) !important; }
.heavy-quote-checkout .heavy-quote-success-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--heavy-gray-700);
    margin: 0 0 24px;
}
.heavy-quote-checkout .heavy-quote-success-id {
    display: inline-block;
    padding: 8px 16px;
    background: var(--heavy-gray-100);
    border: 1px solid var(--heavy-gray-200);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--heavy-black);
    margin-bottom: 28px;
}
.heavy-quote-checkout .heavy-quote-success-id:empty { display: none; }
.heavy-quote-checkout .heavy-quote-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================================
   ACCOUNT
   ========================================================================= */
.heavy-quote-account .heavy-quote-account-section {
    padding: 48px 0 100px;
    background: var(--heavy-white);
}
.heavy-quote-account .heavy-quote-account-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: stretch;
}
.heavy-quote-account .heavy-quote-account-card {
    background: var(--heavy-white);
    border: 1px solid var(--heavy-gray-200);
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}
.heavy-quote-account .heavy-quote-account-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60px; height: 3px;
    background: var(--heavy-accent);
}
.heavy-quote-account .heavy-quote-account-card--info {
    background: var(--heavy-gray-50);
}
.heavy-quote-account .heavy-quote-account-card-icon {
    font-size: 32px;
    color: var(--heavy-accent);
    margin-bottom: 4px;
}
.heavy-quote-account .heavy-quote-account-card-title {
    font-family: 'Russo One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
    color: var(--heavy-black) !important;
    margin: 0 !important;
}
.heavy-quote-account .heavy-quote-account-card-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--heavy-gray-700);
    margin: 0;
}

.heavy-quote-account .heavy-quote-login-form,
.heavy-quote-account .heavy-quote-login-form .heavy-quote-field {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.heavy-quote-account .heavy-quote-login-form .heavy-quote-field { margin: 0; gap: 6px; }
.heavy-quote-account .heavy-quote-login-form label {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
}
.heavy-quote-account .heavy-quote-login-form input[type="text"],
.heavy-quote-account .heavy-quote-login-form input[type="password"] {
    width: 100%;
    background: var(--heavy-white) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    border-radius: 0 !important;
    padding: 13px 16px !important;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 15px !important;
    color: var(--heavy-black) !important;
    transition: border-color 0.2s;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
}
.heavy-quote-account .heavy-quote-login-form input:focus { border-color: var(--heavy-accent) !important; }

.heavy-quote-account .heavy-quote-account-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    color: var(--heavy-gray-700);
    margin: 4px 0;
    position: relative;
}
.heavy-quote-account .heavy-quote-account-remember input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.heavy-quote-account .heavy-quote-agree-check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid var(--heavy-gray-300);
    background: var(--heavy-white);
    position: relative;
}
.heavy-quote-account .heavy-quote-account-remember input:checked + .heavy-quote-agree-check {
    background: var(--heavy-accent);
    border-color: var(--heavy-accent);
}
.heavy-quote-account .heavy-quote-account-remember input:checked + .heavy-quote-agree-check::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    width: 5px;
    height: 10px;
    border: solid var(--heavy-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.heavy-quote-account .heavy-quote-account-forgot {
    display: inline-block;
    margin-top: 6px;
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--heavy-gray-500) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
.heavy-quote-account .heavy-quote-account-forgot:hover { color: var(--heavy-accent) !important; }

.heavy-quote-account .heavy-quote-account-info-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.heavy-quote-account .heavy-quote-account-info-actions .btn { flex: 0 0 auto; }
.heavy-quote-account .btn-outline-dark {
    background: transparent !important;
    color: var(--heavy-black) !important;
    border: 1px solid var(--heavy-gray-300) !important;
    padding: 20px 32px;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1.2;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.heavy-quote-account .btn-outline-dark:hover {
    background: var(--heavy-black) !important;
    color: var(--heavy-white) !important;
    border-color: var(--heavy-black) !important;
}

.heavy-quote-account .heavy-quote-account-profile {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px 16px;
    margin: 8px 0 14px;
}
.heavy-quote-account .heavy-quote-account-profile dt {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--heavy-gray-500);
    padding-top: 6px;
}
.heavy-quote-account .heavy-quote-account-profile dd {
    margin: 0;
    padding: 4px 0;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    color: var(--heavy-black);
    word-break: break-word;
}

/* =========================================================================
   RESPONSIVE — cart/checkout/account
   ========================================================================= */
@media (max-width: 1200px) {
    .heavy-quote-cart .heavy-quote-layout { grid-template-columns: 1fr 320px; }
    .heavy-quote-checkout .heavy-quote-checkout-layout { grid-template-columns: 1fr 340px; }
}
@media (max-width: 992px) {
    .heavy-quote-cart .heavy-quote-layout,
    .heavy-quote-checkout .heavy-quote-checkout-layout,
    .heavy-quote-account .heavy-quote-account-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .heavy-quote-cart .heavy-quote-summary,
    .heavy-quote-checkout .heavy-quote-checkout-summary { position: static; max-height: none; }
    .heavy-quote-checkout .heavy-quote-checkout-summary-inner { max-height: none; }
}
@media (max-width: 640px) {
    .heavy-quote-cart .heavy-quote-head,
    .heavy-quote-checkout .heavy-quote-head,
    .heavy-quote-account .heavy-quote-head { padding: 36px 0 32px; }
    .heavy-quote-cart .heavy-quote-cart-section,
    .heavy-quote-checkout .heavy-quote-checkout-section,
    .heavy-quote-account .heavy-quote-account-section { padding: 32px 0 60px; }

    .heavy-quote-cart .heavy-quote-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }
    .heavy-quote-cart .heavy-quote-item-img {
        max-width: 240px;
    }
    .heavy-quote-cart .heavy-quote-item-row { gap: 12px; }
    .heavy-quote-cart .heavy-quote-item-price { margin-left: 0; }

    .heavy-quote-checkout .heavy-quote-field-row { grid-template-columns: 1fr; gap: 0; }
    .heavy-quote-checkout .heavy-quote-field-row .heavy-quote-field { margin-bottom: 16px; }
    .heavy-quote-checkout .heavy-quote-form-card { padding: 24px 22px; }

    .heavy-quote-account .heavy-quote-account-card { padding: 24px 22px; }

    /* .header-cart responsive — moved to heavy-main.css */
}
