/* ==========================================================================
   Auto Parts Store — carbus.ua replica styles
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --cb-primary: #c0392b;
    --cb-primary-dk: #8e2b21;
    --cb-primary-light: #fdf2f1;
    --cb-dark: #02141d;
    --cb-dark-alt: #2d1215;
    --cb-green: #3cb878;
    --cb-yellow: #ffb100;
    --cb-grey: #c0a49c;
    --cb-bg: #f7f3f2;
    --cb-bg-footer: #fffbfb;
    --cb-border: #ede8e6;
    --cb-text: #02141d;
    --cb-text-light: #866d66;
    --cb-white: #ffffff;
    --cb-radius: 8px;
    --cb-radius-sm: 4px;
    --cb-radius-lg: 12px;
    --cb-shadow: 0 2px 8px rgba(0,0,0,.06);
    --cb-shadow-md: 0 4px 16px rgba(0,0,0,.1);
    --cb-transition: .2s ease;
    --cb-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cb-container: 1280px;
    --cb-radius-xl: 24px;
    --cb-surface: rgba(255, 255, 255, .86);
    --cb-surface-strong: #ffffff;
    --cb-surface-muted: #fdf8f8;
    --cb-border-strong: #efd6d9;
    --cb-shadow-soft: 0 16px 40px rgba(15, 23, 42, .08);
    --cb-shadow-lg: 0 24px 64px rgba(15, 23, 42, .12);
    --aps-primary: var(--cb-primary);
    --aps-text-light: var(--cb-text-light);
}

/* ---------- Reset / Base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--cb-font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--cb-text);
    background: var(--cb-bg);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-feature-settings: 'cv11', 'ss01';
}
a { color: var(--cb-primary); text-decoration: none; transition: color var(--cb-transition); }
a:hover { color: var(--cb-primary-dk); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; height: auto; width: auto; z-index: 100000; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(192, 57, 43, .22);
    outline-offset: 2px;
}

/* ---------- Container ---------- */
.container {
    max-width: var(--cb-container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--cb-radius);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--cb-transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
}
.btn-blue { background: var(--cb-primary); color: var(--cb-white); }
.btn-blue:hover { background: var(--cb-primary-dk); color: var(--cb-white); }
.btn-green { background: var(--cb-green); color: var(--cb-white); }
.btn-green:hover { background: #2ea265; color: var(--cb-white); }
.btn-block { display: flex; width: 100%; text-align: center; }
.cars__selector-submit { color: var(--cb-white); background: var(--cb-primary); }
.cars__selector-submit:hover { filter: brightness(0.93); color: var(--cb-white); }

/* =====================================================================
   HEADER — Two-tier header (carbus.ua)
   ===================================================================== */
.header__fixed {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--cb-white);
    box-shadow: var(--cb-shadow);
}

/* --- Top bar --- */
.header__top {
    border-bottom: 1px solid var(--cb-border);
}
.header__top-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}
.header__menu-mobile-burger {
    display: none;
    padding: 4px;
    color: var(--cb-grey);
}
.header__logo-block { flex-shrink: 0; }
.header__logo { display: flex; align-items: center; gap: 10px; }
.header__logo img { height: 40px; width: auto; }
.header__logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--cb-primary);
    letter-spacing: -0.5px;
}
.header__top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

/* Phone dropdown */
.header__phone-block { position: relative; }
.header__phone-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--cb-radius);
    color: var(--cb-text);
    font-weight: 600;
    font-size: 15px;
    transition: background var(--cb-transition);
}
.header__phone-trigger:hover { background: var(--cb-bg); }
.header__phone-trigger svg:first-child { color: var(--cb-primary); flex-shrink: 0; }
.header__dropdown-arrow { transition: transform var(--cb-transition); }
.header__phone-trigger.open .header__dropdown-arrow { transform: rotate(180deg); }

.header__phone-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--cb-white);
    border-radius: var(--cb-radius-lg);
    box-shadow: var(--cb-shadow-md);
    padding: 20px;
    min-width: 280px;
    z-index: 100;
}
.header__phone-dropdown.open { display: block; }
.header__phone-list { margin-bottom: 16px; }
.header__phone-list li a {
    font-size: 18px;
    font-weight: 700;
    color: var(--cb-text);
}
.header__phone-list li a:hover { color: var(--cb-primary); }
.header__phone-socials ul {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.header__phone-socials a {
    display: flex;
    color: var(--cb-grey);
    transition: color var(--cb-transition);
}
.header__phone-socials a:hover { color: var(--cb-primary); }
.header__phone-socials svg { width: 30px; height: 30px; }
.header__phone-schedule {
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: var(--cb-text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.header__phone-schedule-line {
    display: block;
}

.header__phone-schedule-line--general {
    color: var(--cb-text);
    font-weight: 600;
}

/* Header nav menu */
.header__menu { display: flex; }
.header__menu-list {
    display: flex;
    gap: 4px;
}
.header__menu-list li a {
    display: block;
    padding: 6px 12px;
    color: var(--cb-text);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--cb-radius-sm);
    transition: all var(--cb-transition);
    white-space: nowrap;
}
.header__menu-list li a:hover { background: var(--cb-bg); color: var(--cb-primary); }
.header__menu-burger { display: none; } /* shown on tablet */

/* --- Bottom bar --- */
.header__bottom-wrapper {
    background: var(--cb-white);
    border-bottom: 1px solid var(--cb-border);
}
.header__bottom-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}
.header__catalog-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--cb-bg);
    border-radius: var(--cb-radius);
    color: var(--cb-text);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: all var(--cb-transition);
    flex-shrink: 0;
}
.header__catalog-link:hover { background: var(--cb-primary-light); color: var(--cb-primary); }
.header__catalog-link svg { color: var(--cb-grey); }

/* Catalog sidebar */
body.catalog-open { overflow: hidden; }

.catalog-sidebar {
    position: fixed;
    inset: 0;
    background: rgba(2, 20, 29, .62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2100;
    transition: opacity .24s ease, visibility .24s ease;
}

.catalog-sidebar.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.catalog-sidebar__panel {
    width: min(460px, calc(100vw - 34px));
    height: 100vh;
    height: 100dvh;
    background: var(--cb-white);
    border-right: none;
    box-shadow: 8px 0 24px rgba(2, 20, 29, .18);
    transform: translateX(-102%);
    transition: transform .28s ease;
    display: flex;
    flex-direction: column;
}

body.admin-bar .catalog-sidebar__panel {
    padding-top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .catalog-sidebar__panel {
        padding-top: 0;
    }
}

.catalog-sidebar.open .catalog-sidebar__panel {
    transform: translateX(0);
}

.catalog-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 18px 56px;
    border-bottom: 1px solid var(--cb-border);
}

.catalog-sidebar__title {
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    color: var(--cb-text);
}

.catalog-sidebar__close {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--cb-grey);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-sidebar__close:hover {
    background: var(--cb-bg);
    color: var(--cb-primary);
}

.catalog-sidebar__body {
    flex: 1;
    overflow-y: auto;
}

.catalog-sidebar__item {
    border-bottom: 1px solid var(--cb-border);
}

.catalog-sidebar__link,
.catalog-sidebar__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    color: var(--cb-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    background: var(--cb-white);
    text-align: left;
}

.catalog-sidebar__trigger-label {
    min-width: 0;
}

.catalog-sidebar__item.open > .catalog-sidebar__trigger,
.catalog-sidebar__trigger:hover,
.catalog-sidebar__link:hover {
    color: var(--cb-primary);
    background: var(--cb-primary-light);
}

.catalog-sidebar__trigger {
    border-radius: 0;
}

.catalog-sidebar__toggle-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #b89d96;
}

.catalog-sidebar__toggle-icon::before,
.catalog-sidebar__toggle-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

.catalog-sidebar__toggle-icon::before {
    width: 14px;
    height: 2px;
}

.catalog-sidebar__toggle-icon::after {
    width: 2px;
    height: 14px;
    transition: opacity .2s ease;
}

.catalog-sidebar__item.open .catalog-sidebar__toggle-icon::after {
    opacity: 0;
}

.catalog-sidebar__item.open > .catalog-sidebar__trigger .catalog-sidebar__toggle-icon,
.catalog-sidebar__trigger:hover .catalog-sidebar__toggle-icon {
    color: var(--cb-primary);
}

.catalog-sidebar__sublist {
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease;
    background: #fffbfb;
}

.catalog-sidebar__sublist li a {
    display: block;
    padding: 10px 20px 10px 42px;
    font-size: 16px;
    color: #452528;
    border-top: 1px solid rgba(192, 57, 43, .08);
}

.catalog-sidebar__sublist li a:hover {
    color: var(--cb-primary);
    background: rgba(192, 57, 43, .08);
}

.catalog-sidebar__empty {
    padding: 18px;
    color: var(--cb-text-light);
    font-size: 15px;
}

/* Search */
.header__search-wrapper { flex: 1; min-width: 0; }
.header__search { position: relative; }
.header__search-input-block { position: relative; display: block; }
.header__search-input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    border: 2px solid var(--cb-border);
    border-radius: var(--cb-radius);
    font-size: 14px;
    color: var(--cb-text);
    background: var(--cb-white);
    outline: none;
    transition: border-color var(--cb-transition);
}
.header__search-input:focus { border-color: var(--cb-primary); }
.header__search-input::placeholder { color: var(--cb-grey); }
.header__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cb-grey);
    pointer-events: none;
}

.header__search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: var(--cb-white);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    box-shadow: var(--cb-shadow-md);
    z-index: 1200;
    overflow: hidden;
}

.header__search-results-inner {
    max-height: 460px;
    overflow-y: auto;
}

.header__search-suggest-category {
    display: block;
    padding: 10px 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--cb-primary);
    border-bottom: 1px solid var(--cb-border);
}

.header__search-suggest-category:hover {
    background: var(--cb-bg);
}

.header__search-suggest-product {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: start;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--cb-border);
    color: var(--cb-text);
}

.header__search-suggest-product:hover {
    background: var(--cb-bg);
}

.header__search-suggest-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--cb-radius-sm);
    overflow: hidden;
    background: #f5efed;
}

.header__search-suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header__search-suggest-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.header__search-suggest-name {
    display: -webkit-box;
    width: 100%;
    font-size: 16px;
    color: var(--cb-primary);
    line-height: 1.3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.header__search-suggest-sku {
    display: block;
    width: 100%;
    font-size: 12px;
    color: var(--cb-text-light);
    line-height: 1.45;
    text-align: left;
    margin-top: 5px;
}

@media (max-width: 767px) {
    .header__search-suggest-product {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 12px;
    }

    .header__search-suggest-thumb {
        width: 48px;
        height: 48px;
    }

    .header__search-suggest-name {
        font-size: 14px;
    }
}

.header__search-show-all {
    display: block;
    text-align: center;
    padding: 12px 14px;
    background: #c08e94;
    color: var(--cb-white);
    font-weight: 700;
    font-size: 16px;
}

.header__search-show-all:hover {
    color: var(--cb-white);
    filter: brightness(0.95);
}

/* Bottom icons nav */
.header__bottom-icons-menu ul {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header__bottom-icons-menu li { position: relative; }
.header__bottom-icons-menu li a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--cb-text);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--cb-radius-sm);
    transition: all var(--cb-transition);
    white-space: nowrap;
}
.header__bottom-icons-menu li a:hover { background: var(--cb-bg); color: var(--cb-primary); }
.header__bottom-icons-menu svg { color: var(--cb-grey); flex-shrink: 0; }
.header__bottom-icons-menu li a:hover svg { color: var(--cb-primary); }
.header__bottom-icons-text { font-weight: 700; color: var(--cb-primary); }
.header__bottom-text-link { font-size: 14px !important; }

.header__bottom-icons-menu-count {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--cb-primary);
    color: var(--cb-white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header__bottom-icons-menu-count:empty { display: none; }

/* =====================================================================
   MOBILE MENU
   ===================================================================== */
.mobile__menu-block {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--cb-white);
    z-index: 2000;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
    transition: right .3s ease;
    overflow-y: auto;
}
.mobile__menu-block.open { right: 0; }
.mobile__menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--cb-border);
    font-size: 18px;
    font-weight: 700;
}
.mobile__menu-close { color: var(--cb-grey); }
.mobile__menu-close:hover { color: var(--cb-text); }
.mobile__menu-content { padding: 16px 20px; }
.mobile__menu-list li { border-bottom: 1px solid var(--cb-border); }
.mobile__menu-list li a {
    display: block;
    padding: 14px 0;
    color: var(--cb-text);
    font-size: 15px;
    font-weight: 500;
}
.mobile__menu-list li a:hover { color: var(--cb-primary); }

.mobile__menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1999;
    display: none;
}
.mobile__menu-overlay.open { display: block; }

/* =====================================================================
   POPUP SELECTOR
   ===================================================================== */
body.popup-open { overflow: hidden; }

.aps-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
}

.aps-popup.open { display: flex; }

.aps-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 20, 29, .58);
}

.aps-popup__dialog {
    position: relative;
    width: min(560px, calc(100% - 24px));
    margin: 0;
    background: var(--cb-white);
    border-radius: 14px;
    box-shadow: var(--cb-shadow-md);
    overflow: hidden;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
}

.aps-popup__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--cb-border);
    padding: 14px 18px;
}

.aps-popup__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.aps-popup__close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--cb-grey);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aps-popup__close:hover {
    background: var(--cb-bg);
    color: var(--cb-primary);
}

.aps-popup__content {
    padding: 20px;
}

.cars__form-block-popup {
    box-shadow: none;
    padding: 0;
}

.aps-popup__dialog-vin {
    width: min(760px, calc(100% - 24px));
}

.aps-popup__dialog-success {
    width: min(440px, calc(100% - 24px));
}

.aps-popup__content-success {
    text-align: center;
}

.aps-success-message {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--cb-text);
}

.aps-vin-block {
    border: 2px solid var(--cb-primary);
    border-radius: var(--cb-radius-lg);
    padding: 30px;
    background: var(--cb-bg);
}

.aps-vin-subtitle {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--cb-text);
}

.aps-vin-form {
    max-width: 430px;
    margin: 0 auto;
}

.aps-vin-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.aps-vin-form .input__wrapper {
    margin-bottom: 14px;
}

.aps-vin-form textarea.input__text {
    min-height: 100px;
}

.aps-vin-help {
    font-size: 14px;
    color: var(--cb-text-light);
    line-height: 1.45;
    margin: 16px 0;
}

.aps-vin-good {
    color: #3cb878;
    font-weight: 600;
}

.aps-vin-bad {
    color: #e10000;
    font-weight: 600;
}

.aps-form-result {
    font-size: 15px;
    margin: 10px 0 14px;
    min-height: 20px;
}

.aps-form-result.success { color: #2ea265; }
.aps-form-result.error { color: #d64545; }

/* =====================================================================
   BREADCRUMBS
   ===================================================================== */
.cb-breadcrumbs {
    padding: 12px 0;
    font-size: 13px;
    color: var(--cb-text-light);
}
.cb-breadcrumbs a { color: var(--cb-text-light); }
.cb-breadcrumbs a:hover { color: var(--cb-primary); }
.cb-breadcrumbs .sep { margin: 0 8px; }

/* =====================================================================
   HOME PAGE
   ===================================================================== */
.home-main {
    padding-bottom: 10px;
    position: relative;
}

.home-main::before,
.home-main::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.home-main::before {
    width: 320px;
    height: 320px;
    top: 70px;
    left: -100px;
    background: rgba(192, 57, 43, .10);
}

.home-main::after {
    width: 340px;
    height: 340px;
    top: 420px;
    right: -130px;
    background: rgba(60, 184, 120, .08);
}

.home-main > .container { padding-top: 20px; }
.home-main > .container,
.home-main .home__form-block {
    position: relative;
    z-index: 1;
}

/* --- Hero: Slider + Car Selector side by side --- */
.home__blocks {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    min-height: 400px;
    align-items: stretch;
}
.home__blocks-left {
    flex: 1;
    min-width: 0;
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
}
.home__blocks-right {
    width: 360px;
    flex-shrink: 0;
}

/* Hero Slider */
.home__blocks-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
    background: var(--cb-dark-alt);
    min-height: 400px;
    box-shadow: 0 12px 30px rgba(2, 20, 29, .22);
}
.home__blocks-slider-track { position: relative; width: 100%; height: 100%; }
.home__blocks-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .5s ease;
}
.home__blocks-slide.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 20, 29, .25) 0%, rgba(2, 20, 29, .55) 100%);
}
.home__blocks-slide.active { opacity: 1; }
.home__slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--cb-white);
}
.home__slide-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: .7;
    margin-bottom: 8px;
}
.home__slide-brand {
    display: block;
    font-size: 36px;
    font-weight: 700;
}

.home__blocks-slider-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: background var(--cb-transition);
}
.slider-dot.active { background: var(--cb-white); }
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cb-white);
    transition: background var(--cb-transition);
}
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,.3); }

/* Car Selector Form */
.cars__form-block {
    background: linear-gradient(155deg, #ffffff 0%, #fef6f5 100%);
    border-radius: 18px;
    padding: 26px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #edddd9;
    box-shadow: 0 10px 28px rgba(192, 57, 43, .12);
}
.cars__form-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--cb-text);
    letter-spacing: -0.3px;
    line-height: 1.15;
}
.cars__form-subtitle {
    font-size: 16px;
    color: #876f67;
    margin-bottom: 16px;
    line-height: 1.4;
}
.cars__form { flex: 1; display: flex; flex-direction: column; gap: 0; }
.cars__form-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cb-border);
    opacity: .58;
    transition: opacity var(--cb-transition);
}
.cars__form-item.active { opacity: 1; }
.cars__form-item:last-child { border-bottom: none; margin-top: auto; }
.cars__form-number-block { flex-shrink: 0; }
.cars__form-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f9eeed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #b29891;
}
.cars__form-item.active .cars__form-number {
    background: var(--cb-primary);
    color: var(--cb-white);
    box-shadow: 0 4px 12px rgba(192, 57, 43, .35);
}
.cars__form-item-content { flex: 1; min-width: 0; }
.cars__form-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #efd6d9;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--cb-text);
    background: #fefdfc;
    appearance: auto;
    outline: none;
    transition: border-color var(--cb-transition), box-shadow var(--cb-transition);
}
.cars__form-select:focus {
    border-color: var(--cb-primary);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .18);
}
.cars__form-select:disabled { background: #fbf5f4; color: #d0b5af; }

/* --- Title --- */
.title__page {
    font-size: 24px;
    font-weight: 700;
    color: var(--cb-text);
    margin: 30px 0 16px;
    letter-spacing: -0.2px;
}
.title__page.text-center { text-align: center; }
.title__page.text-center::after {
    content: '';
    display: block;
    width: 84px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cb-primary) 0%, #d68e8a 100%);
    box-shadow: 0 6px 14px rgba(192, 57, 43, .22);
}
.title__link-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 30px 0 16px;
}

.home-editor-content {
    margin: 10px 0 30px;
}

.home-editor-content .entry-content {
    background: var(--cb-white);
    border-radius: var(--cb-radius-lg);
    padding: 20px;
    border: 1px solid #f7e5e5;
    box-shadow: 0 10px 26px rgba(2, 20, 29, .08);
}

/* --- Car Marks Grid (Brands) --- */
.car__marks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 20px 0 30px;
}
.car__marks-item { }
.car__marks-link {
    display: block;
    background: var(--cb-white);
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
    text-align: center;
    border: 1px solid #f0e7e5;
    box-shadow: 0 8px 18px rgba(2, 20, 29, .06);
    transition: box-shadow var(--cb-transition), transform var(--cb-transition);
    text-decoration: none;
}
.car__marks-link:hover {
    box-shadow: 0 16px 30px rgba(192, 57, 43, .16);
    transform: translateY(-5px);
}
.car__marks-image { padding: 16px 16px 0; }
.car__marks-image-inner {
    width: 100%;
    height: 100px;
    border-radius: var(--cb-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.car__marks-image-inner img { width: 100%; height: 100%; object-fit: cover; }
.car__marks-initials {
    font-size: 26px;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    letter-spacing: 1px;
}
.car__marks-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--cb-text-light);
    margin-top: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.car__marks-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-text);
    padding: 6px 12px 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* --- Stats Numbers --- */
.home__numbers-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0 30px;
}
.home__number { }
.home__number-inner {
    background: var(--cb-white);
    border-radius: var(--cb-radius-lg);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #f7e5e5;
    box-shadow: 0 10px 24px rgba(2, 20, 29, .08);
    transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}
.home__number-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(192, 57, 43, .14);
}
.home__number-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--cb-primary);
    margin-bottom: 6px;
}
.home__number-text {
    font-size: 13px;
    color: var(--cb-text-light);
    line-height: 1.4;
}

/* --- Categories Links --- */
.categories__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}
.categories__links-item { }
.categories__links-item-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--cb-white);
    border-radius: var(--cb-radius);
    color: var(--cb-text);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #f0e7e5;
    box-shadow: 0 6px 14px rgba(2, 20, 29, .05);
    transition: all var(--cb-transition);
    text-decoration: none;
    white-space: nowrap;
}
.categories__links-item-link:hover {
    background: var(--cb-primary);
    color: var(--cb-white);
    border-color: var(--cb-primary);
    box-shadow: 0 12px 22px rgba(192, 57, 43, .28);
    transform: translateY(-2px);
}
.categories__links-item-link:hover svg { stroke: var(--cb-white); }
.categories__links-item-link svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: var(--cb-grey);
    transition: color var(--cb-transition), stroke var(--cb-transition);
}
.categories__links-item-more .categories__links-item-link {
    background: var(--cb-primary);
    color: var(--cb-white);
    font-weight: 700;
}
.categories__links-item-more .categories__links-item-link svg { stroke: var(--cb-white); }

/* --- Reviews --- */
.horisontal__noscroll { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.product__cards-row-block { margin-bottom: 30px; }
.product__cards.product__cards-row {
    display: flex;
    gap: 16px;
    padding-bottom: 8px;
}
.product__card {
    flex: 0 0 320px;
    min-width: 280px;
}
.product__card-narrow { height: 100%; }
.product__card-review-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.product__card-inner {
    display: flex;
    background: var(--cb-white);
    border-radius: var(--cb-radius-lg);
    border: 1px solid #f0e7e5;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(2, 20, 29, .06);
    transition: box-shadow var(--cb-transition), transform var(--cb-transition);
}
.product__card-inner:hover {
    box-shadow: 0 16px 30px rgba(192, 57, 43, .14);
    transform: translateY(-3px);
}
.product__card-images-block { width: 120px; flex-shrink: 0; }
.product__card-image {
    width: 120px;
    height: 100%;
    min-height: 160px;
    background: var(--cb-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product__card-image-placeholder { opacity: .4; }
.product__card-image img { width: 100%; height: 100%; object-fit: cover; }
.product__card-content { padding: 14px 16px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.product__card-content-inner { flex: 1; }
.product__card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product__card-stars-block {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.product__card-stars { display: flex; gap: 2px; }
.product__card-stars svg { width: 16px; height: 16px; }
.product__card-stars-info { font-size: 12px; color: var(--cb-text-light); }
.product__card-review-text {
    font-size: 12px;
    color: var(--cb-text-light);
    margin-bottom: 8px;
    line-height: 1.5;
}
.product__card-review-text p { margin-bottom: 2px; }
.product__card-review-pro { color: var(--cb-green); }
.product__card-columns-block {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.product__card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--cb-text);
}
.product__card-price span { color: var(--cb-primary); }
.product__card-number {
    font-size: 11px;
    color: var(--cb-grey);
    font-family: monospace;
}
.product__card-condition {
    font-size: 12px;
    color: var(--cb-green);
    font-weight: 500;
}

/* --- Request Form Block --- */
.home__form-block {
    background: var(--cb-dark-alt);
    padding: 50px 0;
    margin-top: 30px;
}
.home__form-block .btn-blue {
    background: var(--cb-white);
    color: var(--cb-primary);
    font-weight: 600;
}
.home__form-block .btn-blue:hover {
    background: var(--cb-bg);
    color: var(--cb-primary-dk);
}
.home__form-inner {
    display: flex;
    gap: 40px;
    align-items: center;
}
.home__form-left { flex: 1; }
.home__form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--cb-white);
    margin-bottom: 12px;
}
.home__form-text {
    font-size: 15px;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
}
.home__form-right { width: 400px; flex-shrink: 0; }
.home__form-right-form { display: flex; flex-direction: column; gap: 12px; }
.input__wrapper { }
.input__text {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: var(--cb-radius);
    font-size: 14px;
    color: var(--cb-text);
    background: var(--cb-white);
    outline: none;
}
.input__text:focus { box-shadow: 0 0 0 2px var(--cb-primary); }
textarea.input__text { min-height: 50px; resize: vertical; }

/* =====================================================================
   FOOTER — carbus.ua style (4 columns)
   ===================================================================== */
.site-footer { background: var(--cb-bg-footer); }
.footer__wrapper { padding: 40px 0 30px; }
.footer__blocks {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
}
.footer__blocks-item-inner { }
.footer__logo { display: inline-block; margin-bottom: 16px; }
.footer__logo img { height: 36px; width: auto; }
.footer__logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--cb-primary);
}
.footer__text {
    font-size: 14px;
    color: var(--cb-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}
.footer__callback { margin-bottom: 16px; }
.footer__phone { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.footer__phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--cb-text);
}
.footer__phone-link:hover { color: var(--cb-primary); }
.footer__phone-link svg { color: var(--cb-primary); flex-shrink: 0; }
.footer__socials ul { display: flex; gap: 10px; }
.footer__socials a {
    display: flex;
    color: var(--cb-grey);
    transition: color var(--cb-transition);
}
.footer__socials a:hover { color: var(--cb-primary); }
.footer__socials svg { width: 40px; height: 40px; }
.footer__menu ul { display: flex; flex-direction: column; gap: 12px; }
.footer__menu a {
    color: var(--cb-text);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--cb-transition);
}
.footer__menu a:hover { color: var(--cb-primary); }

.copyright__wrapper {
    border-top: 1px solid var(--cb-border);
    padding: 16px 0;
}
.copyright__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.copyright {
    font-size: 13px;
    color: var(--cb-text-light);
}

/* =====================================================================
   BACK TO TOP
   ===================================================================== */
.up__button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cb-primary);
    color: var(--cb-white);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--cb-shadow-md);
    z-index: 900;
    transition: all var(--cb-transition);
}
.up__button.visible { display: flex; }
.up__button:hover { background: var(--cb-primary-dk); transform: translateY(-2px); }

/* =====================================================================
   BLOG / POSTS GRID
   ===================================================================== */
.site-content { min-height: 50vh; }
.page-header { padding: 20px 0; }
.page-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}
.post-card {
    background: var(--cb-white);
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
    box-shadow: var(--cb-shadow);
    transition: box-shadow var(--cb-transition), transform var(--cb-transition);
}
.post-card:hover { box-shadow: var(--cb-shadow-md); transform: translateY(-2px); }
.post-card-thumb { aspect-ratio: 3/2; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; letter-spacing: -0.01em; }
.post-card-title a { color: var(--cb-text); }
.post-card-title a:hover { color: var(--cb-primary); }
.post-card-meta { font-size: 12px; color: var(--cb-text-light); margin-bottom: 8px; }
.post-card-excerpt { font-size: 14px; color: var(--cb-text-light); line-height: 1.6; }

/* --- Single Post --- */
.single-post-content { max-width: 800px; margin: 0 auto; padding: 30px 0; }
.entry-title { font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.entry-meta { font-size: 13px; color: var(--cb-text-light); margin-bottom: 24px; }
.entry-content { line-height: 1.8; font-size: 16px; }
.entry-content p { margin-bottom: 16px; }
.entry-content h2, .entry-content h3 { margin: 24px 0 12px; font-weight: 700; }
.entry-content img { border-radius: var(--cb-radius); margin: 16px 0; }
.entry-content ul, .entry-content ol { margin: 16px 0; padding-left: 24px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

/* --- Sidebar --- */
.content-with-sidebar { display: flex; gap: 30px; padding: 20px 0; }
.content-primary { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }
.widget { background: var(--cb-white); border-radius: var(--cb-radius-lg); padding: 20px; margin-bottom: 20px; box-shadow: var(--cb-shadow); }
.widget-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }

/* --- Pagination --- */
.pagination, .nav-links { display: flex; gap: 6px; justify-content: center; padding: 20px 0; }
.pagination .page-numbers,
.nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--cb-radius-sm);
    background: var(--cb-white);
    color: var(--cb-text);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--cb-transition);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current,
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current { background: var(--cb-primary); color: var(--cb-white); }

/* --- Comments --- */
.comments-area { max-width: 800px; margin: 0 auto; padding: 30px 0; }
.comment-list li { background: var(--cb-white); border-radius: var(--cb-radius); padding: 16px; margin-bottom: 12px; }
.comment-author { font-weight: 600; margin-bottom: 4px; }
.comment-meta { font-size: 12px; color: var(--cb-text-light); margin-bottom: 8px; }

/* --- 404 --- */
.error-404 { text-align: center; padding: 60px 20px; }
.error-404 h1 { font-size: 80px; font-weight: 900; color: var(--cb-primary); margin-bottom: 16px; }

/* --- Search form --- */
.search-form { display: flex; gap: 8px; max-width: 500px; }
.search-field { flex: 1; padding: 10px 16px; border: 2px solid var(--cb-border); border-radius: var(--cb-radius); font-size: 14px; outline: none; }
.search-field:focus { border-color: var(--cb-primary); }
.search-submit { padding: 10px 24px; background: var(--cb-primary); color: var(--cb-white); border: none; border-radius: var(--cb-radius); font-weight: 600; cursor: pointer; }
.search-submit:hover { background: var(--cb-primary-dk); }

/* =====================================================================
   WOOCOMMERCE OVERRIDES
   ===================================================================== */
.woocommerce .products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.woocommerce .products .product {
    background: var(--cb-white);
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
    box-shadow: var(--cb-shadow);
    transition: box-shadow var(--cb-transition);
}
.woocommerce .products .product:hover { box-shadow: var(--cb-shadow-md); }
.woocommerce .products .product img { border-radius: 0; }
.woocommerce .products .product .woocommerce-loop-product__title { font-size: 14px; padding: 10px 12px 0; font-weight: 600; color: var(--cb-text); }
.woocommerce .products .product .price { padding: 4px 12px 12px; font-size: 16px; font-weight: 700; color: var(--cb-primary); }
.woocommerce .button,
.woocommerce a.button,
.woocommerce input.button {
    background: var(--cb-primary) !important;
    color: var(--cb-white) !important;
    border-radius: var(--cb-radius) !important;
    font-weight: 600 !important;
}
.woocommerce .button:hover,
.woocommerce a.button:hover { background: var(--cb-primary-dk) !important; }

/* =====================================================================
   WOOCOMMERCE SHOP PAGE TEMPLATE
   ===================================================================== */
.aps-shop-page {
    padding: 12px 0 30px;
}

.aps-shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .95fr);
    gap: 22px;
    margin: 8px 0 18px;
    padding: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fcefee 58%, #fffbfb 100%);
    border: 1px solid #f9dedf;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(2, 20, 29, .07);
}

.aps-shop-hero__content {
    min-width: 0;
}

.aps-shop-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(192, 57, 43, .08);
    color: var(--cb-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aps-shop-hero__title {
    margin: 0;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.6px;
}

.aps-shop-hero__text {
    max-width: 760px;
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--cb-text-light);
}

.aps-shop-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.aps-shop-hero__stat {
    min-width: 150px;
    padding: 14px 16px;
    border: 1px solid rgba(192, 57, 43, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 20px rgba(2, 20, 29, .04);
}

.aps-shop-hero__stat strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    color: var(--cb-text);
}

.aps-shop-hero__stat span {
    display: block;
    margin-top: 6px;
    color: var(--cb-text-light);
    font-size: 13px;
    line-height: 1.45;
}

.aps-shop-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.aps-shop-hero__secondary {
    background: #fff;
    border: 1px solid rgba(192, 57, 43, .18);
    color: var(--cb-primary);
    box-shadow: 0 8px 18px rgba(2, 20, 29, .04);
}

.aps-shop-hero__secondary:hover {
    background: #fef5f4;
    color: var(--cb-primary-dk);
}

.aps-shop-hero__support {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    border-radius: 16px;
    background: linear-gradient(160deg, #7a2018 0%, #5a1512 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(13, 66, 116, .18);
}

.aps-shop-hero__support-label {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aps-shop-hero__support-phone {
    color: #fff;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
}

.aps-shop-hero__support-phone:hover {
    color: #fff;
}

.aps-shop-hero__support-text {
    color: rgba(255, 255, 255, .82);
    line-height: 1.7;
    font-size: 15px;
}

.aps-shop-hero__support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 700;
}

.aps-shop-hero__support-link:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.aps-shop-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.aps-shop-sidebar-overlay,
.aps-shop-sidebar__mobile-head,
.aps-shop-mobile-filters-toggle {
    display: none;
}

.aps-shop-sidebar {
    position: sticky;
    top: 120px;
    z-index: 2;
}

body.admin-bar .aps-shop-sidebar {
    top: 152px;
}

.aps-shop-sidebar__card {
    background: #fff;
    border: 1px solid #f7e5e5;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(2, 20, 29, .06);
    overflow: hidden;
}

.aps-shop-sidebar__title {
    padding: 15px 18px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #f8edee;
    background: linear-gradient(180deg, #fff 0%, #fffbfb 100%);
}

.aps-shop-categories {
    padding: 6px 0;
}

.aps-shop-categories__item {
    border-bottom: 1px solid #f8f1f2;
}

.aps-shop-categories__item:last-child {
    border-bottom: none;
}

.aps-shop-categories__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    width: 100%;
    cursor: pointer;
    color: var(--cb-text);
    font-weight: 600;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
    text-align: left;
    background: #fff;
}

.aps-shop-categories__link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    color: var(--cb-text);
    font-weight: 600;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
    text-align: left;
    background: #fff;
}

.aps-shop-categories__link--parent {
    flex: 1;
    min-width: 0;
    padding: 0;
    background: none;
}

.aps-shop-categories__item.is-active .aps-shop-categories__link,
.aps-shop-categories__link:hover,
.aps-shop-categories__row:hover,
.aps-shop-categories__item.is-open .aps-shop-categories__row {
    color: var(--cb-primary);
    background: #fef5f4;
}

.aps-shop-categories__item.is-active .aps-shop-categories__row,
.aps-shop-categories__item.is-open .aps-shop-categories__row {
    color: var(--cb-primary);
}

.aps-shop-categories__toggle-icon {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    display: inline-block;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.aps-shop-categories__item.is-open .aps-shop-categories__toggle-icon {
    transform: rotate(225deg);
}

.aps-shop-categories__sublist {
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 8px;
    background: #fffafb;
    transition: max-height .24s ease;
}

.aps-shop-categories__item.is-open .aps-shop-categories__sublist {
    padding: 4px 0 8px;
}

.aps-shop-categories__sublist a {
    display: block;
    padding: 8px 18px 8px 28px;
    color: #7a645e;
    font-size: 14px;
    border-radius: 10px;
    margin: 0 8px 2px 10px;
}

.aps-shop-categories__sublist a:hover {
    color: var(--cb-primary);
    background: #fef3f2;
}

.aps-shop-categories__sublist li.is-current a,
.aps-shop-categories__sublist a[aria-current="page"] {
    color: var(--cb-primary);
    background: #fce9e8;
    font-weight: 700;
}

.aps-shop-categories__link:focus-visible,
.aps-shop-categories__row:focus-visible,
.aps-shop-mobile-filters-toggle:focus-visible,
.aps-shop-page .woocommerce ul.products li.product .button:focus-visible,
.aps-product-card__thumb:focus-visible,
.aps-product-card__title a:focus-visible,
.aps-shop-toolbar select:focus-visible,
.aps-shop-toolbar__filter-trigger:focus-visible,
.aps-shop-hero__support-link:focus-visible,
.aps-shop-hero__secondary:focus-visible {
    outline: 3px solid rgba(192, 57, 43, .18);
    outline-offset: 2px;
}

.aps-shop-content {
    min-width: 0;
}

.aps-shop-mobile-filters-toggle {
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-bottom: 14px;
    padding: 0 16px;
    border: 1px solid #ebd9d6;
    border-radius: 14px;
    background: #fff;
    color: var(--cb-text);
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(2, 20, 29, .05);
}

.aps-shop-mobile-filters-toggle__icon {
    position: relative;
    width: 18px;
    height: 14px;
    display: inline-block;
    background:
        linear-gradient(currentColor, currentColor) 0 0 / 18px 2px no-repeat,
        linear-gradient(currentColor, currentColor) 0 6px / 18px 2px no-repeat,
        linear-gradient(currentColor, currentColor) 0 12px / 18px 2px no-repeat;
    color: var(--cb-primary);
}

.aps-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid #f7e5e5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(2, 20, 29, .05);
}

.aps-shop-toolbar .woocommerce-result-count {
    margin: 0;
    color: var(--cb-text-light);
    font-size: 14px;
}

.aps-shop-toolbar .woocommerce-ordering {
    margin: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.aps-ordering__label {
    color: #866e66;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.aps-ordering__field {
    position: relative;
    min-width: 240px;
}

.aps-shop-toolbar select {
    width: 100%;
    border: 1px solid #eeded9;
    border-radius: 14px;
    min-height: 48px;
    padding: 8px 46px 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #3e1f22;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
    box-shadow: 0 10px 24px rgba(192, 57, 43, .08);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.aps-shop-toolbar select:hover,
.aps-shop-toolbar select:focus {
    border-color: var(--cb-primary);
    box-shadow: 0 14px 28px rgba(192, 57, 43, .14);
    outline: none;
}

.aps-ordering__icon {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #8b736b;
    border-bottom: 2px solid #8b736b;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* ── Shop toolbar: primary section ── */
.aps-shop-toolbar__primary {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ── Shop toolbar: filter trigger control ── */
.aps-shop-toolbar__filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border: 1px solid #eeded9;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
    box-shadow: 0 4px 12px rgba(192, 57, 43, .06);
    font-size: 14px;
    font-weight: 600;
    color: #3e1f22;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.aps-shop-toolbar__filter-trigger:hover,
.aps-shop-toolbar__filter-trigger:focus {
    border-color: var(--cb-primary);
    box-shadow: 0 8px 20px rgba(192, 57, 43, .13);
    color: var(--cb-primary);
    text-decoration: none;
    outline: none;
}

.aps-shop-toolbar__filter-trigger:active {
    box-shadow: 0 2px 6px rgba(192, 57, 43, .10);
}

.aps-shop-toolbar__filter-trigger-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #866e66;
    transition: color .2s ease;
}

.aps-shop-toolbar__filter-trigger:hover .aps-shop-toolbar__filter-trigger-icon {
    color: var(--cb-primary);
}

/* ── Shop toolbar: active filter badge ── */
.aps-shop-toolbar__filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 20px;
    background: #fbf0ef;
    font-size: 13px;
    font-weight: 600;
    color: var(--cb-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.aps-shop-toolbar__filter-badge:hover {
    background: #eeded9;
    color: #8e2b21;
    text-decoration: none;
}

.aps-shop-toolbar__filter-badge-text {
    line-height: 1.3;
}

.aps-shop-toolbar__filter-badge-clear {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    opacity: .6;
    transition: opacity .2s ease;
}

.aps-shop-toolbar__filter-badge:hover .aps-shop-toolbar__filter-badge-clear {
    opacity: 1;
}

@media (max-width: 600px) {
    .aps-shop-toolbar {
        gap: 10px;
        padding: 10px 12px;
    }

    .aps-shop-toolbar__primary {
        width: 100%;
    }

    .aps-shop-toolbar__filter-trigger {
        padding: 8px 14px;
        font-size: 13px;
    }

    .aps-shop-toolbar .woocommerce-ordering {
        width: 100%;
    }

    .aps-ordering__field {
        min-width: 0;
        flex: 1;
    }
}

.aps-shop-page .woocommerce ul.products {
    margin: 0;
    padding: 0;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
    justify-content: initial !important;
}

.aps-shop-page .woocommerce ul.products::before,
.aps-shop-page .woocommerce ul.products::after {
    display: none !important;
}

.aps-shop-page .woocommerce ul.products[class*="columns-"] li.product,
.aps-shop-page .woocommerce-page ul.products[class*="columns-"] li.product,
.aps-shop-page .woocommerce ul.products li.product,
.aps-shop-page .woocommerce-page ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    max-width: none !important;
    justify-self: stretch;
}

.aps-shop-page .woocommerce ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(191, 206, 225, .72);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.aps-product-card {
    min-height: 100%;
}

.aps-shop-page .woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
}

.aps-product-card__thumb {
    position: relative;
    display: block;
    padding: 14px 14px 0;
    background: transparent;
}

.aps-product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / .82;
    padding: 18px;
    border: 1px solid rgba(191, 206, 225, .58);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, .08), transparent 32%),
        linear-gradient(180deg, #fffbfb 0%, #f9eeed 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
    overflow: hidden;
}

.aps-shop-page .woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: rgba(152, 173, 198, .95);
    box-shadow: 0 28px 54px rgba(15, 23, 42, .1);
}

.aps-shop-page .woocommerce ul.products li.product:focus-within {
    border-color: rgba(192, 57, 43, .34);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, .10), 0 28px 54px rgba(15, 23, 42, .1);
}

.aps-shop-page .woocommerce ul.products li.product a img {
    background: transparent;
    height: 100% !important;
    object-fit: contain;
    width: 100% !important;
    margin: 0 !important;
}

.aps-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 16px;
}

.aps-product-card__badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    min-height: 26px;
}

.aps-product-card__badges::-webkit-scrollbar {
    display: none;
}

.aps-product-card__badges.is-empty {
    visibility: hidden;
}

.aps-product-card__badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .16);
    background: rgba(248, 250, 252, .95);
    color: #755f5a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
}

.aps-product-card__title {
    margin: 0;
    font-size: 17px;
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.aps-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.aps-product-card__price {
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.aps-product-card__price-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.aps-product-card__price-saving {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, .08);
    color: #0b7a55;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.aps-product-card__price-caption {
    color: #0f8a61;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 10px;
    font-weight: 700;
}

.aps-product-card__price-saving .woocommerce-Price-amount {
    color: inherit;
    font-size: 12px;
    font-weight: 700;
}

.aps-product-card__price-saving .woocommerce-Price-currencySymbol {
    font-size: .85em;
}

.aps-product-card__price-discount {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #1a0f12;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
}

.aps-product-card__price-current {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #1a0f12;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.aps-product-card__price-current .woocommerce-Price-amount {
    color: inherit;
}

.aps-product-card__price-current .woocommerce-Price-currencySymbol {
    color: #7f6962;
    font-size: .68em;
    font-weight: 700;
}

.aps-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f4edec;
    color: var(--cb-text-light);
    font-size: 11.5px;
    line-height: 1.5;
}

.aps-product-card__sku {
    color: #977f77;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.aps-product-card__stock {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-weight: 700;
}

.aps-product-card__stock.is-instock {
    background: rgba(60, 184, 120, .12);
    color: #20774a;
}

.aps-product-card__stock.is-backorder {
    background: rgba(230, 168, 23, .14);
    color: #946a08;
}

.aps-product-card__stock.is-outofstock {
    background: rgba(185, 69, 69, .12);
    color: #9a3030;
}

.aps-product-card__actions {
    padding-top: 14px;
}

.aps-shop-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 17px;
    line-height: 1.34;
    padding: 0;
    margin: 0;
    min-height: 68px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--cb-text);
}

.aps-shop-page .woocommerce ul.products li.product .button {
    margin: auto 0 0 !important;
    width: 100%;
    border-radius: 16px !important;
    text-align: center;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 13px 14px !important;
    background: linear-gradient(180deg, #241a1e 0%, #1a0f12 100%) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
    letter-spacing: 0.01em;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.aps-shop-page .woocommerce ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
    filter: brightness(1.02);
}

.aps-shop-page .woocommerce ul.products li.product .onsale {
    position: absolute;
    z-index: 2;
    left: auto !important;
    right: 22px !important;
    top: 22px !important;
    min-height: 32px;
    min-width: 68px;
    line-height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(13, 66, 116, .1);
    background: rgba(255, 255, 255, .9);
    color: var(--cb-primary-dk);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
    padding: 0 11px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
}

/* --- Toolbar notices wrapper (empty div fix) --- */
.aps-shop-toolbar .woocommerce-notices-wrapper:empty {
    display: none;
}

.aps-shop-toolbar .woocommerce-notices-wrapper {
    flex-basis: 100%;
}

/* --- Pagination --- */
.aps-shop-page .woocommerce-pagination {
    margin-top: 28px;
    text-align: center;
}

.aps-shop-page .woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.aps-shop-page .woocommerce-pagination ul.page-numbers::before,
.aps-shop-page .woocommerce-pagination ul.page-numbers::after {
    content: none;
    display: none;
}

.aps-shop-page .woocommerce-pagination ul.page-numbers li {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    float: none;
    background: transparent;
    box-shadow: none;
}

.aps-shop-page .woocommerce-pagination a.page-numbers,
.aps-shop-page .woocommerce-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--cb-text);
    background: #fff;
    border: 1px solid #f7e5e5;
    text-decoration: none;
    transition: all .2s ease;
}

.aps-shop-page .woocommerce-pagination a.page-numbers:hover,
.aps-shop-page .woocommerce-pagination span.page-numbers:hover {
    background: #fef3f2;
    border-color: var(--cb-primary);
    color: var(--cb-primary);
}

.aps-shop-page .woocommerce-pagination span.page-numbers.current {
    background: var(--cb-primary);
    color: #fff;
    border-color: var(--cb-primary);
}

.aps-shop-page .woocommerce-pagination a.page-numbers.next,
.aps-shop-page .woocommerce-pagination a.page-numbers.prev {
    font-size: 18px;
}

.aps-shop-seo {
    margin-top: 30px;
    background: #fff;
    border: 1px solid #f7e5e5;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(2, 20, 29, .05);
    padding: 24px;
}

.aps-shop-seo__title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.aps-shop-seo__text {
    color: #6a5651;
    line-height: 1.8;
    font-size: 15px;
}

@media (max-width: 1100px) {
    .aps-shop-hero {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, .95fr);
    }

    .aps-shop-layout {
        grid-template-columns: 260px 1fr;
        gap: 16px;
    }

    .aps-shop-hero__title {
        font-size: 34px;
    }
}

@media (max-width: 900px) {
    body.shop-sidebar-open {
        overflow: hidden;
    }

    .aps-shop-hero {
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }

    .aps-shop-hero__support-phone {
        font-size: 28px;
    }

    .aps-shop-layout {
        grid-template-columns: 1fr;
    }

    .aps-shop-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(2, 20, 29, .46);
        backdrop-filter: blur(2px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        z-index: 120;
    }

    .aps-shop-sidebar-overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .aps-shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(360px, calc(100vw - 22px));
        height: 100vh;
        padding-top: 10px;
        transform: translateX(-110%);
        transition: transform .24s ease;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 130;
    }

    body.admin-bar .aps-shop-sidebar {
        top: 0;
    }

    .aps-shop-sidebar.is-visible {
        transform: translateX(0);
    }

    .aps-shop-sidebar__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 18px 10px;
    }

    .aps-shop-sidebar__mobile-title {
        color: #fff;
        font-size: 16px;
        font-weight: 700;
    }

    .aps-shop-sidebar__close {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
        color: #fff;
        font-size: 30px;
        line-height: 1;
    }

    .aps-shop-sidebar__card {
        min-height: calc(100vh - 18px);
        border-radius: 0 18px 18px 0;
        box-shadow: 0 24px 40px rgba(2, 20, 29, .22);
    }

    .aps-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .aps-shop-toolbar .woocommerce-ordering {
        margin-left: 0;
        justify-content: space-between;
    }

    .aps-ordering__field {
        min-width: 0;
        flex: 1;
    }
}

@media (max-width: 640px) {
    .aps-shop-hero {
        padding: 18px 16px;
    }

    .aps-shop-hero__title {
        font-size: 29px;
    }

    .aps-shop-hero__text {
        font-size: 15px;
    }

    .aps-shop-hero__stats {
        gap: 10px;
    }

    .aps-shop-hero__stat {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .aps-shop-seo {
        padding: 16px;
    }

    .aps-shop-seo__title {
        font-size: 21px;
    }

    .aps-shop-page .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .aps-product-card__body {
        padding: 14px 14px 12px;
    }

    .aps-product-card__badges {
        gap: 6px;
        margin-bottom: 8px;
        min-height: 24px;
    }

    .aps-product-card__badge {
        min-height: 24px;
        padding: 0 8px;
        font-size: 11px;
    }

    .aps-shop-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 63px;
        font-size: 15px;
    }

    .aps-product-card__price {
        margin-top: 12px;
    }

    .aps-product-card__price-note {
        gap: 8px;
        margin-bottom: 6px;
    }

    .aps-product-card__price-saving {
        gap: 6px;
        font-size: 11px;
    }

    .aps-product-card__price-saving .woocommerce-Price-amount {
        font-size: 12px;
    }

    .aps-product-card__price-discount {
        min-height: 24px;
        padding: 0 8px;
        font-size: 11px;
    }

    .aps-product-card__price-current {
        font-size: 28px;
    }

    .aps-product-card__meta {
        margin-top: auto;
        font-size: 11px;
    }

    .aps-shop-page .woocommerce ul.products li.product .button {
        font-size: 13px !important;
        padding: 9px 10px !important;
    }

    .aps-shop-page .woocommerce-pagination a.page-numbers,
    .aps-shop-page .woocommerce-pagination span.page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .aps-shop-page .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .aps-shop-hero__stat {
        flex-basis: 100%;
    }
}

/* =====================================================================
   PAGE TEMPLATES
   ===================================================================== */
.page-template-default .entry-content,
.page-template .entry-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 0;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1200px) {
    .header__menu-list { gap: 2px; }
    .header__menu-list li a { padding: 6px 8px; font-size: 13px; }
}

@media (max-width: 1024px) {
    .header__menu { display: none; }
    .header__menu-burger { display: flex; padding: 4px; color: var(--cb-text); }
    .header__menu-burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        margin: 3px 0;
        transition: all var(--cb-transition);
    }

    .home__blocks { flex-direction: column; }
    .home__blocks-right { width: 100%; }
    .home__blocks-slider { min-height: 280px; }

    .home__numbers-slider { grid-template-columns: repeat(2, 1fr); }

    .footer__blocks { grid-template-columns: 1fr 1fr; }

    .header__bottom-text-link { display: none !important; }
    .header__bottom-icons-menu li:nth-child(1),
    .header__bottom-icons-menu li:nth-child(2) { display: none; }
}

@media (max-width: 768px) {
    .header__top-inner { min-width: 0; }
    .header__phone-trigger span { display: none; }
    .header__dropdown-arrow { display: none; }
    .header__top-right {
        gap: 10px;
        flex: 0 0 auto;
        margin-left: auto;
    }
    .header__menu-mobile-burger { display: flex; }
    .header__menu-burger { display: none; }

    .header__logo-block {
        flex: 1 1 auto;
        min-width: 0;
    }

    .header__logo {
        min-width: 0;
    }

    .header__logo-text {
        min-width: 0;
        font-size: clamp(18px, 5vw, 24px);
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header__phone-trigger {
        flex: 0 0 auto;
        min-width: 48px;
        padding-left: 0;
        padding-right: 0;
        justify-content: center;
    }

    .header__catalog-link span { display: none; }
    .header__bottom-inner { gap: 8px; }
    .header__search-input { font-size: 16px; }

    .catalog-sidebar__panel {
        width: min(440px, calc(100vw - 18px));
    }

    .catalog-sidebar__title {
        font-size: 30px;
    }

    .catalog-sidebar__link {
        font-size: 16px;
    }

    .catalog-sidebar__sublist li a {
        font-size: 15px;
    }

    .home__blocks-slider { min-height: 220px; }
    .home__slide-brand { font-size: 24px; }

    .car__marks { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }

    .home__numbers-slider { grid-template-columns: 1fr 1fr; gap: 12px; }
    .home__number-number { font-size: 24px; }

    .home__form-inner { flex-direction: column; gap: 24px; }
    .home__form-right { width: 100%; }
    .home__form-title { font-size: 22px; }

    .footer__blocks { grid-template-columns: 1fr; gap: 24px; }

    .product__card { flex: 0 0 280px; min-width: 260px; }

    .posts-grid { grid-template-columns: 1fr; }
    .content-with-sidebar { flex-direction: column; }
    .sidebar { width: 100%; }

    .aps-popup__dialog {
        width: calc(100% - 16px);
        max-height: calc(100vh - 16px);
    }

    .aps-popup__title {
        font-size: 26px;
    }

    .aps-popup__dialog-vin {
        width: calc(100% - 16px);
    }

    .aps-vin-block {
        padding: 18px;
    }

    .aps-vin-subtitle {
        font-size: 17px;
    }

    .aps-vin-label {
        font-size: 15px;
    }

    .aps-vin-help {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body { font-size: 14px; }
    .container { padding: 0 12px; }

    .header__top-inner {
        gap: 10px;
    }

    .header__logo {
        gap: 8px;
    }

    .header__logo img {
        height: 34px;
    }

    .header__logo-text {
        font-size: clamp(16px, 4.8vw, 20px);
    }

    .header__phone-trigger {
        min-width: 46px;
        min-height: 46px;
    }

    .aps-page-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home__blocks-slider { min-height: 180px; }
    .home__slide-brand { font-size: 20px; }
    .cars__form-block { padding: 18px 14px; border-radius: 14px; }

    .cars__form-title {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .cars__form-subtitle {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .cars__form-select {
        font-size: 15px;
    }

    .catalog-sidebar__panel {
        width: 100vw;
    }

    .catalog-sidebar__head {
        padding: 14px 48px;
    }

    .catalog-sidebar__title {
        font-size: 24px;
    }

    .car__marks { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .car__marks-image-inner { height: 70px; }

    .home__numbers-slider { grid-template-columns: 1fr; }

    .categories__links-item-link { padding: 8px 12px; font-size: 13px; }

    .title__page { font-size: 20px; }

    .aps-popup__head {
        padding: 12px 14px;
    }

    .aps-popup__title {
        font-size: 22px;
    }

    .aps-popup__content {
        padding: 14px;
    }

    .aps-vin-subtitle {
        font-size: 16px;
    }

    .aps-vin-label {
        font-size: 14px;
    }
}

/* =====================================================================
   DESIGN REFRESH — ITERATION 1
   ===================================================================== */
:root {
    --cb-header-height: 152px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(192, 57, 43, .10), transparent 28%),
        radial-gradient(circle at top right, rgba(192, 57, 43, .08), transparent 24%),
        linear-gradient(180deg, #fcf9f8 0%, #f9eeed 100%);
}

.site-content {
    min-height: 50vh;
    padding-bottom: 40px;
}

.btn {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    box-shadow: 0 12px 26px rgba(192, 57, 43, .10);
}

.btn-blue,
.btn-primary {
    background: linear-gradient(180deg, #d63e30 0%, #c0392b 100%);
    color: var(--cb-white);
}

.btn-blue:hover,
.btn-primary:hover {
    background: linear-gradient(180deg, #ab3026 0%, #8e2b21 100%);
    color: var(--cb-white);
}

.btn-outline {
    border: 1px solid rgba(192, 57, 43, .18);
    background: rgba(255, 255, 255, .72);
    color: var(--cb-text);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.btn-outline:hover {
    background: rgba(232, 241, 250, .92);
    color: var(--cb-primary);
    border-color: rgba(192, 57, 43, .28);
}

.input__text,
.search-field {
    min-height: 50px;
    padding: 14px 16px;
    border: 1px solid rgba(214, 226, 239, .96);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.input__text:focus,
.search-field:focus {
    box-shadow: 0 0 0 4px rgba(192, 57, 43, .12);
}

.header__fixed {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
    border-bottom: 1px solid rgba(214, 226, 239, .72);
}

.header__top {
    background: linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(248, 251, 255, .94) 100%);
    border-bottom: 1px solid rgba(214, 226, 239, .72);
}

.header__top-inner {
    gap: 24px;
    padding: 14px 0 12px;
}

.header__logo {
    position: relative;
    gap: 10px;
}

.header__logo-text {
    font-size: 29px;
    letter-spacing: -.04em;
}

.header__phone-trigger {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(214, 226, 239, .9);
    background: rgba(247, 250, 253, .92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

.header__phone-trigger:hover {
    background: rgba(232, 241, 250, .86);
}

.header__phone-dropdown {
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 22px;
    box-shadow: var(--cb-shadow-lg);
}

.header__menu-list {
    gap: 6px;
}

.header__menu-list li a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 600;
    color: #3c1b1f;
}

.header__menu-list li a:hover {
    background: rgba(232, 241, 250, .88);
}

.header__bottom-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, rgba(248, 251, 255, .9) 100%);
}

.header__bottom-inner {
    gap: 14px;
    padding: 14px 0 16px;
}

.header__catalog-link {
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(214, 226, 239, .95);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(250, 252, 255, .98) 0%, rgba(241, 246, 251, .96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

.header__catalog-link:hover {
    border-color: rgba(192, 57, 43, .18);
}

.header__search-input {
    height: 54px;
    padding: 0 18px 0 var(--aps-chip-pad, 50px);
    border: 1.5px solid rgba(192, 57, 43, .32);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, rgba(252, 246, 245, .99) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 8px 22px rgba(192, 57, 43, .08);
    font-size: 15px;
    color: #1d3347;
    transition: border-color var(--cb-transition), box-shadow var(--cb-transition), background var(--cb-transition), color var(--cb-transition), padding-left var(--cb-transition);
}

.header__search-input-block:hover .header__search-input {
    border-color: rgba(192, 57, 43, .58);
    background: linear-gradient(180deg, #ffffff 0%, rgba(253, 247, 246, .99) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 10px 24px rgba(192, 57, 43, .12);
}

.header__search-input:focus {
    border-color: rgba(192, 57, 43, .82);
    box-shadow: 0 0 0 5px rgba(192, 57, 43, .14), 0 12px 26px rgba(192, 57, 43, .18);
}

.header__search-input-block.has-chip .header__search-icon {
    color: var(--cb-primary, #c0392b);
}

.header__search-chip {
    position: absolute;
    left: 46px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 60%;
    padding: 5px 6px 5px 12px;
    background: var(--cb-primary, #c0392b);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(192, 57, 43, .28);
    z-index: 2;
}

.header__search-chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header__search-chip-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--cb-transition);
}

.header__search-chip-close:hover,
.header__search-chip-close:focus {
    background: rgba(255, 255, 255, .35);
    outline: none;
}

.header__search-input::placeholder {
    color: #6f7f90;
}

.header__search-icon {
    left: 18px;
    color: #6f7f90;
    transition: color var(--cb-transition), transform var(--cb-transition);
}

.header__search-input-block:hover .header__search-icon,
.header__search-input-block:focus-within .header__search-icon {
    color: #51667a;
}

.header__search-input-block:focus-within .header__search-icon {
    transform: translateY(-50%) scale(1.04);
}

.header__search-results {
    top: calc(100% + 10px);
    border: 1px solid rgba(214, 226, 239, .95);
    border-radius: 20px;
    box-shadow: var(--cb-shadow-lg);
}

.header__search-suggest-category {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #7d6964;
    background: rgba(246, 249, 253, .94);
}

.header__search-suggest-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--cb-text);
}

.header__search-suggest-product:hover .header__search-suggest-name {
    color: var(--cb-primary);
}

.header__bottom-icons-menu ul {
    gap: 8px;
}

.header__bottom-icons-menu li a {
    min-height: 50px;
    padding: 0 14px;
    gap: 8px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: rgba(247, 250, 253, .72);
    font-weight: 600;
}

.header__bottom-icons-menu li a:hover {
    background: rgba(232, 241, 250, .86);
    border-color: rgba(192, 57, 43, .14);
}

.header__bottom-icons-menu-count {
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    box-shadow: 0 6px 12px rgba(192, 57, 43, .22);
}

.catalog-sidebar__panel,
.mobile__menu-block {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(246, 250, 254, .98) 100%);
    border-left: 1px solid rgba(214, 226, 239, .9);
    box-shadow: -24px 0 64px rgba(15, 23, 42, .16);
}

.mobile__menu-head,
.catalog-sidebar__head {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(214, 226, 239, .8);
}

.mobile__menu-content {
    padding: 20px 22px;
}

.mobile__menu-list li a {
    border-radius: 14px;
    padding: 14px 16px;
}

.mobile__menu-list li a:hover {
    background: rgba(232, 241, 250, .74);
}

.cb-breadcrumbs {
    padding: 18px 0 8px;
}

.cb-breadcrumbs .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
    border: 1px solid rgba(214, 226, 239, .72);
    border-radius: 18px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
    backdrop-filter: blur(10px);
}

.cb-breadcrumbs .sep {
    margin: 0;
    color: #b49a93;
}

.aps-page-header {
    position: relative;
    padding: 18px 0 12px;
}

.aps-page-header .container {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 30px;
    border: 1px solid rgba(214, 226, 239, .9);
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .14), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(246, 250, 254, .98) 100%);
    box-shadow: var(--cb-shadow-soft);
}

.aps-page-header .container::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 57, 43, .12) 0%, rgba(192, 57, 43, 0) 70%);
    pointer-events: none;
}

.aps-page-header h1 {
    position: relative;
    z-index: 1;
    max-width: 14ch;
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: -.05em;
    color: #2b1215;
}

.aps-page-header p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: #77635f;
}

.content-area {
    padding: 10px 0 40px;
}

.content-area .container {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.main-content.full-width {
    width: 100%;
}

.page-content-wrap,
.single-post-content,
.error-404-content,
.page-content-wrap.text-center {
    padding: clamp(24px, 3vw, 38px);
    border-radius: 28px;
    border: 1px solid rgba(214, 226, 239, .9);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(249, 252, 255, .98) 100%);
    box-shadow: var(--cb-shadow-soft);
}

.page-content-wrap.info-page {
    max-width: 980px;
    margin: 0 auto;
}

.page-content-wrap.info-page.aps-payment-delivery-content {
    width: 100%;
    max-width: none;
}

.aps-payment-delivery-header .container {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(247, 250, 253, .99) 100%);
}

.aps-payment-delivery-header .container::after {
    right: -84px;
    top: -56px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(192, 57, 43, .05) 0%, rgba(192, 57, 43, 0) 74%);
    opacity: .5;
}

.aps-payment-delivery-entry > * {
    max-width: min(100%, 84ch);
}

.aps-payment-delivery-entry p,
.aps-payment-delivery-entry ul,
.aps-payment-delivery-entry ol,
.aps-payment-delivery-entry blockquote {
    max-width: min(100%, 84ch);
}

.page-template-default .entry-content,
.page-template .entry-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.entry-title {
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.04;
    letter-spacing: -.05em;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    padding-bottom: 8px;
    color: #887068;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(243, 247, 252, .92);
    border: 1px solid rgba(214, 226, 239, .68);
}

.entry-content {
    font-size: 17px;
    line-height: 1.82;
    color: #4a3535;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #2b1215;
    letter-spacing: -.03em;
}

.entry-content h2 {
    font-size: clamp(26px, 2.5vw, 34px);
    margin: 34px 0 14px;
}

.entry-content h3 {
    font-size: clamp(22px, 2.1vw, 28px);
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
    max-width: 72ch;
}

.entry-content blockquote {
    margin: 22px 0;
    padding: 18px 20px;
    border-left: 4px solid rgba(192, 57, 43, .5);
    border-radius: 0 18px 18px 0;
    background: rgba(243, 247, 252, .86);
    color: #402123;
}

.entry-content a {
    font-weight: 600;
}

.entry-tags {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(214, 226, 239, .84);
    color: #78645f;
}

.entry-tags a {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    margin: 6px 6px 0 0;
    border-radius: 999px;
    background: rgba(243, 247, 252, .92);
    color: #503a38;
}

.post-featured-image {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .10);
}

.post-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.posts-grid {
    gap: 24px;
    padding: 8px 0 16px;
}

.post-card {
    position: relative;
    border: 1px solid rgba(214, 226, 239, .88);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(247, 250, 254, .98) 100%);
    box-shadow: var(--cb-shadow-soft);
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cb-shadow-lg);
}

.post-card-thumb {
    position: relative;
}

.post-card-thumb::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(2, 20, 29, 0) 0%, rgba(2, 20, 29, .38) 100%);
    pointer-events: none;
}

.post-card-body {
    padding: 22px 22px 24px;
}

.post-card-title {
    font-size: 21px;
    letter-spacing: -.03em;
}

.post-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.post-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-card-excerpt {
    font-size: 15px;
    line-height: 1.7;
}

.post-category {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #3c1b1f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-weight: 700;
    color: #3c1b1f;
}

.read-more-link:hover {
    color: var(--cb-primary);
}

.page-header {
    padding: 10px 0 18px;
}

.page-title {
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -.04em;
}

.widget {
    padding: 24px;
    border: 1px solid rgba(214, 226, 239, .9);
    border-radius: 24px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    backdrop-filter: blur(10px);
}

.widget-title {
    font-size: 18px;
    letter-spacing: -.02em;
}

.sidebar {
    width: 320px;
    position: sticky;
    top: calc(var(--cb-header-height) + 18px);
}

.pagination,
.nav-links {
    gap: 10px;
    padding: 26px 0 8px;
}

.pagination a.page-numbers,
.pagination span.page-numbers,
.nav-links a.page-numbers,
.nav-links span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(214, 226, 239, .88);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.comments-area {
    max-width: 980px;
}

.comment-list li {
    border: 1px solid rgba(214, 226, 239, .88);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.search-form {
    align-items: center;
    max-width: none;
    padding: 10px;
    border: 1px solid rgba(214, 226, 239, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.search-field {
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 44px;
}

.search-submit {
    min-height: 46px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(192, 57, 43, .14);
}

.error-404-content {
    max-width: 760px;
    margin: 20px auto 0;
    text-align: center;
}

.error-404-content h1 {
    font-size: clamp(84px, 12vw, 140px);
    line-height: .9;
    letter-spacing: -.08em;
    color: var(--cb-primary);
}

.error-404-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-top: 8px;
    letter-spacing: -.04em;
}

.error-404-content p {
    max-width: 46ch;
    margin: 16px auto 0;
    color: #78645f;
    font-size: 17px;
    line-height: 1.75;
}

.section-header {
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.06;
    letter-spacing: -.05em;
}

.contact-page-grid,
.vin-request-page,
.about-grid {
    display: grid;
    gap: 24px;
}

.contact-page-grid,
.vin-request-page {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
}

.about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: start;
}

.contact-form-section,
.contact-info-section,
.vin-form-section,
.vin-how-it-works,
.about-text .entry-content,
.about-values {
    padding: 28px;
    border: 1px solid rgba(214, 226, 239, .9);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(248, 251, 255, .98) 100%);
    box-shadow: var(--cb-shadow-soft);
}

.contact-form-section h2,
.contact-info-section h2,
.vin-info-box h2,
.vin-how-it-works h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    letter-spacing: -.04em;
    color: #2b1215;
}

.contact-form-section h2,
.contact-info-section h2,
.vin-how-it-works h2 {
    margin-bottom: 16px;
}

/* --- Contact Map --- */
.contact-map-section {
    margin-top: 32px;
}
.contact-map-section h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    letter-spacing: -.04em;
    color: #2b1215;
    margin-bottom: 16px;
}
.contact-map-wrap {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(214, 226, 239, .9);
    box-shadow: var(--cb-shadow-soft);
}
.contact-map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 400px;
}

.contact-info-cards,
.features-grid,
.steps-grid {
    display: grid;
    gap: 16px;
}

.features-grid,
.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-info-card,
.feature-card,
.step-card {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(214, 226, 239, .88);
    border-radius: 22px;
    background: rgba(247, 250, 253, .9);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon,
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 16px;
    background: rgba(192, 57, 43, .1);
    color: var(--cb-primary);
}

.contact-info-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #887068;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;
    color: #3a1a1d;
}

.contact-info-card a {
    display: block;
}

.contact-schedule-lines {
    display: grid;
    gap: 6px;
}

.contact-schedule-line {
    margin: 0;
}

.contact-schedule-label {
    color: #887068;
    font-weight: 700;
}

.contact-schedule-value {
    color: #3a1a1d;
}

.aps-about-intro {
    margin-bottom: clamp(30px, 4vw, 44px);
}

.aps-about-grid--text-only {
    grid-template-columns: minmax(0, 1fr);
}

.aps-about-entry > * {
    max-width: none;
    width: 100%;
}

.aps-about-entry p,
.aps-about-entry ul,
.aps-about-entry ol,
.aps-about-entry blockquote {
    max-width: none;
}

.aps-about-header .container {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(247, 250, 253, .99) 100%);
}

.aps-about-header .container::after {
    right: -84px;
    top: -56px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(192, 57, 43, .05) 0%, rgba(192, 57, 43, 0) 74%);
    opacity: .45;
}

.aps-about-text .entry-content,
.aps-about-values {
    background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(249, 251, 253, .99) 100%);
}

.aps-about-values {
    padding: 32px;
}

.aps-about-features {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.aps-about-feature-card {
    display: grid;
    align-content: start;
    gap: 14px;
    height: 100%;
    padding: 20px;
}

.aps-about-feature-card__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.aps-about-feature-card .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    margin: 0;
}

.aps-about-feature-card__header h3 {
    margin: 0;
    min-width: 0;
}

.aps-about-feature-card__text {
    margin: 0;
    width: 100%;
}

.about-image {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--cb-shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.feature-card h3,
.step-card h3 {
    margin: 18px 0 10px;
    font-size: 20px;
    letter-spacing: -.03em;
    color: #2b1215;
}

.feature-card p,
.step-card p,
.vin-info-box p {
    color: #78645f;
    line-height: 1.75;
}

.page-template-page-about .footer__blocks {
    grid-template-columns: 1.15fr 1fr .85fr .85fr;
    align-items: start;
}

.page-template-page-about .footer__blocks-item-inner--brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.page-template-page-about .footer__logo,
.page-template-page-about .footer__callback {
    width: min(100%, 300px);
}

.page-template-page-about .footer__logo {
    margin-bottom: 0;
    text-align: center;
}

.page-template-page-about .footer__callback {
    margin-bottom: 0;
}

.page-template-page-about .footer__callback .btn {
    width: 100%;
}

.page-template-page-about .footer__blocks-item-inner--contact {
    display: grid;
    gap: 12px;
    align-content: start;
}

.page-template-page-about .footer__phone {
    margin-bottom: 0;
}

.page-template-page-about .footer__socials {
    margin-top: 2px;
}

.vin-info-box {
    margin-bottom: 20px;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(243, 247, 252, .9);
    border: 1px solid rgba(214, 226, 239, .82);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(180deg, #d63e30 0%, #c0392b 100%);
    color: var(--cb-white);
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(192, 57, 43, .22);
}

.favorites-empty-state,
.comparison-empty-state {
    display: grid;
    justify-items: center;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 24px;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(214, 226, 239, .9);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(247, 250, 253, .98) 100%);
    text-align: center;
    box-shadow: var(--cb-shadow-soft);
}

.favorites-empty-state svg,
.comparison-empty-state svg {
    color: #977f77;
}

.favorites-empty-state h2,
.comparison-empty-state h2 {
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -.04em;
}

.favorites-empty-state p,
.comparison-empty-state p {
    max-width: 40ch;
    color: #78645f;
    line-height: 1.75;
}

.site-footer {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(192, 57, 43, .08), transparent 24%),
        linear-gradient(180deg, #fcf9f8 0%, #f4edec 100%);
}

.footer__wrapper {
    padding: 48px 0 24px;
}

.footer {
    padding: 32px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(247, 250, 253, .98) 100%);
    box-shadow: var(--cb-shadow-soft);
}

.footer__blocks {
    gap: 32px;
}

.footer__logo-text {
    font-size: 26px;
    letter-spacing: -.04em;
}

.footer__phone-link {
    display: inline-flex;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(214, 226, 239, .92);
    background: rgba(247, 250, 253, .82);
}

.footer__socials a {
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(214, 226, 239, .88);
    background: rgba(247, 250, 253, .84);
}

.footer__menu a {
    color: #3a1a1d;
}

.copyright__wrapper {
    border-top: 0;
    padding: 18px 0 28px;
}

.copyright__content {
    justify-content: center;
}

.copyright {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(214, 226, 239, .74);
}

@media (max-width: 1180px) {
    .header__menu-list li a {
        padding: 0 11px;
    }

    .header__bottom-icons-menu li a {
        padding: 0 11px;
    }

    .contact-page-grid,
    .vin-request-page,
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .aps-about-values {
        padding: 28px;
    }

    .page-content-wrap.info-page.aps-payment-delivery-content {
        width: 100%;
        max-width: none;
    }

    .page-template-page-about .footer__blocks {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    :root {
        --cb-header-height: 136px;
    }

    .header__menu.open {
        display: block;
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        min-width: 240px;
        padding: 12px;
        border: 1px solid rgba(214, 226, 239, .92);
        border-radius: 22px;
        background: rgba(255, 255, 255, .98);
        box-shadow: var(--cb-shadow-lg);
    }

    .header__menu.open .header__menu-list {
        flex-direction: column;
    }

    .header__menu.open .header__menu-list li a {
        min-height: 44px;
        justify-content: flex-start;
    }

    .content-area .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .footer {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .aps-about-header .container::after {
        right: -58px;
        top: -42px;
        width: 132px;
        height: 132px;
        opacity: .32;
    }

    .page-template-page-about .footer__blocks {
        grid-template-columns: 1fr;
    }

    .page-template-page-about .footer__blocks-item-inner--brand {
        align-items: center;
    }

    :root {
        --cb-header-height: 122px;
    }

    .site-content {
        padding-bottom: 28px;
    }

    .header__top-inner {
        gap: 14px;
        padding: 12px 0 10px;
    }

    .header__logo-text {
        font-size: 24px;
    }

    .header__catalog-link,
    .header__search-input,
    .header__bottom-icons-menu li a {
        min-height: 48px;
    }

    .header__bottom-icons-menu ul {
        gap: 6px;
    }

    .cb-breadcrumbs .container,
    .aps-page-header .container,
    .footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .aps-page-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-content-wrap,
    .single-post-content,
    .error-404-content,
    .page-content-wrap.text-center,
    .contact-form-section,
    .contact-info-section,
    .vin-form-section,
    .vin-how-it-works,
    .about-text .entry-content,
    .about-values {
        padding: 22px;
        border-radius: 24px;
    }

    .footer__phone-link {
        width: 100%;
        justify-content: center;
    }

    .page-template-page-about .footer__blocks-item-inner--contact {
        justify-items: center;
    }
}

@media (max-width: 560px) {
    .aps-page-header h1,
    .entry-title,
    .page-title,
    .favorites-empty-state h2,
    .comparison-empty-state h2,
    .section-header h2 {
        max-width: none;
        font-size: 30px;
    }

    .entry-content {
        font-size: 16px;
    }

    .post-card-body,
    .footer,
    .favorites-empty-state,
    .comparison-empty-state {
        padding: 20px;
    }

    .contact-info-card,
    .feature-card,
    .step-card {
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .aps-payment-delivery-header .container::after {
        right: -58px;
        top: -42px;
        width: 132px;
        height: 132px;
        opacity: .35;
    }
}

/* =====================================================================
   DESIGN REFRESH — ITERATION 2
   ===================================================================== */
.home-main::before,
.home-main::after {
    display: none;
}

.home-main > .container {
    padding-top: 22px;
}

.home__blocks {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 26px;
    margin-bottom: 32px;
}

.home__blocks-left,
.home__blocks-right {
    min-width: 0;
}

.home__blocks-slider {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(214, 226, 239, .6);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .12), transparent 30%),
        linear-gradient(145deg, #8e2b21 0%, #8c2820 100%);
    box-shadow: 0 18px 40px rgba(13, 66, 116, .14);
}

.home__blocks-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, 0) 32%);
    pointer-events: none;
    z-index: 1;
}

.home__blocks-slide {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 26px;
    pointer-events: none;
}

.home__blocks-slide.has-image::before {
    background:
        linear-gradient(180deg, rgba(8, 25, 40, .10) 0%, rgba(8, 25, 40, .55) 100%),
        linear-gradient(135deg, rgba(192, 57, 43, .18) 0%, rgba(192, 57, 43, 0) 44%);
}

.home__blocks-slide.active {
    pointer-events: auto;
}

.home__blocks-slide.is-clickable {
    cursor: pointer;
}

.home__blocks-slide.is-clickable:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .92);
    outline-offset: -2px;
}

.home__slide-content {
    max-width: 360px;
    text-align: left;
}

.home__slide-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    opacity: 1;
}

.home__slide-brand {
    margin-top: 16px;
    font-size: clamp(38px, 4vw, 56px);
    line-height: .94;
    letter-spacing: -.06em;
    text-shadow: 0 18px 28px rgba(2, 20, 29, .24);
}

.home__blocks-slider-pagination {
    left: 32px;
    bottom: 28px;
    transform: none;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, .34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.slider-dot.active {
    width: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
}

.slider-prev,
.slider-next {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px);
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, .2);
}

.slider-prev {
    left: 22px;
}

.slider-next {
    right: 22px;
}

.cars__form-block {
    border-radius: 28px;
    padding: 28px 24px;
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(246, 250, 254, .98) 100%);
    box-shadow: 0 16px 34px rgba(192, 57, 43, .10);
}

.cars__form-title {
    font-size: clamp(28px, 3vw, 34px);
    line-height: 1.04;
    letter-spacing: -.05em;
    margin-bottom: 8px;
}

.cars__form-subtitle {
    margin-bottom: 20px;
    font-size: 15px;
}

.cars__form {
    gap: 10px;
}

.cars__form-item {
    padding: 10px 12px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    opacity: 1;
}

.cars__form-item.active {
    border-color: rgba(192, 57, 43, .22);
    box-shadow: 0 8px 18px rgba(192, 57, 43, .06);
}

.cars__form-item:last-child {
    margin-top: 6px;
}

.cars__form-number {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(214, 226, 239, .96);
    background: linear-gradient(180deg, #ffffff 0%, #f5efed 100%);
}

.cars__form-select {
    min-height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
}

.cars__selector-submit {
    min-height: 50px;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
    box-shadow: 0 12px 22px rgba(192, 57, 43, .14);
}

.title__page {
    margin: 38px 0 18px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.title__link-block {
    margin: 38px 0 18px;
}

.home-editor-content .entry-content {
    padding: 24px 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .84);
    backdrop-filter: blur(10px);
}

.car__marks {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px 18px;
    margin: 18px 0 34px;
}

.car__marks-link {
    padding: 12px 8px 10px;
    border-radius: 16px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
}

.car__marks-link:hover {
    transform: none;
    border-color: #f0e7e5;
    background: rgba(255, 255, 255, .76);
    box-shadow: none;
}

.car__marks-image {
    padding: 0;
    margin-bottom: 10px;
}

.car__marks-image-inner {
    height: 88px;
    border-radius: 0;
    background: transparent !important;
}

.car__marks-image-inner img {
    object-fit: contain;
    padding: 0;
    width: auto;
    max-width: 100%;
    max-height: 88px;
    margin: 0 auto;
}

.car__marks-text {
    margin-top: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.car__marks-name {
    padding: 6px 0 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.02em;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.35;
}

.home__numbers-slider {
    gap: 18px;
    margin: 10px 0 36px;
}

.home__number-inner {
    min-height: 100%;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 250, 253, .98) 100%);
}

.home__number-number {
    font-size: clamp(34px, 3vw, 42px);
    letter-spacing: -.05em;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.home__number-text {
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
    text-align: center;
}

.categories__links {
    gap: 12px;
    margin-bottom: 34px;
}

.categories__links-item-link {
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(247, 250, 253, .98) 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .05);
    font-weight: 600;
}

.categories__links-item-link:hover {
    transform: translateY(-3px);
}

.product__cards.product__cards-row {
    gap: 18px;
}

.product__card {
    flex: 0 0 360px;
}

.product__card-inner {
    flex-direction: column;
    height: 100%;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 250, 253, .98) 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .06);
}

.product__card-images-block {
    width: 100%;
    padding: 16px 16px 0;
}

.product__card-image {
    width: 100%;
    min-height: 208px;
    height: 208px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .12), transparent 30%),
        linear-gradient(180deg, #fffbfb 0%, #f4edec 100%);
}

.product__card-image img {
    object-fit: contain;
    padding: 16px;
}

.product__card-content {
    padding: 18px;
}

.product__card-name {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.product__card-review-text {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 12px;
}

.product__card-columns-block {
    align-items: end;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(214, 226, 239, .72);
}

.product__card-price {
    font-size: 24px;
    letter-spacing: -.03em;
}

.product__card-price span {
    color: #2b1215;
}

.product__card-number {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(243, 247, 252, .92);
}

.product__card-condition {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
}

.home__form-block {
    margin-top: 44px;
    padding: 8px 0 0;
    background: transparent;
}

.home__form-inner {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(13, 66, 116, .18);
    border-radius: 34px;
    background: linear-gradient(135deg, #8e2b21 0%, #982922 52%, #c0392b 100%);
    box-shadow: 0 30px 64px rgba(13, 66, 116, .22);
}

.home__form-inner::before {
    content: '';
    position: absolute;
    right: -90px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
}

.home__form-left,
.home__form-right {
    position: relative;
    z-index: 1;
}

.home__form-title {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.04;
    letter-spacing: -.05em;
    margin-bottom: 10px;
}

.home__form-text {
    max-width: 44ch;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
}

.home__form-right {
    width: 430px;
}

.home__form-right-form {
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
}

.home__form-right-form .input__text {
    background: rgba(255, 255, 255, .96);
}

.aps-shop-hero {
    gap: 24px;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .14), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, .98) 0%, rgba(241, 246, 251, .98) 100%);
    box-shadow: 0 22px 48px rgba(15, 23, 42, .08);
}

.aps-shop-hero__stat {
    min-width: 160px;
    border-radius: 18px;
}

.aps-shop-hero__support {
    border-radius: 24px;
}

.aps-shop-sidebar {
    top: calc(var(--cb-header-height) + 18px);
}

.aps-shop-sidebar__card,
.aps-shop-toolbar {
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
}

.aps-shop-toolbar {
    padding: 14px 18px;
}

.aps-shop-toolbar:has(.woocommerce-notices-wrapper:empty) {
    align-items: center;
}

.aps-shop-page .woocommerce ul.products {
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 18px;
}

.aps-shop-page .woocommerce ul.products li.product {
    position: relative;
    border-radius: 24px;
    border-color: rgba(214, 226, 239, .92);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
}

.aps-shop-page .woocommerce ul.products li.product::before {
    display: none;
}

.aps-product-card__thumb {
    padding: 14px 14px 0;
}

.aps-product-card__media {
    aspect-ratio: 1 / .78;
    padding: 18px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .08), transparent 34%),
        linear-gradient(180deg, #fffbfb 0%, #f5efed 100%);
}

.aps-product-card__body {
    padding: 15px 15px 14px;
}

.aps-product-card__badges {
    gap: 6px;
    margin-bottom: 10px;
    min-height: 24px;
}

.aps-product-card__badge {
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(245, 248, 252, .96);
    color: #74615b;
    font-size: 10.5px;
}

.aps-product-card__title {
    font-size: 16px;
    line-height: 1.4;
}

.aps-shop-page .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 68px;
    font-size: 16px;
}

.aps-product-card__price {
    margin-top: 12px;
    padding: 12px 13px;
    border: 1px solid rgba(223, 231, 240, .92);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(251, 253, 255, .98) 0%, rgba(246, 249, 253, .98) 100%);
    box-shadow: none;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aps-product-card__price-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.aps-product-card__price-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #876f67;
}

.aps-product-card__price-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 0;
    color: #a3515e;
}

.aps-product-card__price-was {
    font-size: 12px;
    font-weight: 600;
    color: #b05a5a;
}

.aps-product-card__price-was .woocommerce-Price-amount {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(176, 90, 90, .5);
}

.aps-product-card__price-caption {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a06b6b;
}

.aps-product-card__price-discount {
    min-height: 24px;
    padding: 0 9px;
    background: rgba(200, 60, 60, .1);
    color: #b94545;
    border: 1px solid rgba(200, 60, 60, .12);
    box-shadow: none;
    font-size: 10px;
}

.aps-product-card__price-current {
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -.04em;
}

.aps-product-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.aps-product-card__sku {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 10px;
    background: rgba(243, 247, 252, .82);
    font-size: 11px;
    line-height: 1.45;
}

.aps-product-card__stock {
    min-height: 26px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 11px;
}

.aps-product-card__actions {
    padding-top: 14px;
}

.aps-shop-page .woocommerce ul.products li.product .button {
    min-height: 44px;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #fcefee 0%, #efdfdc 100%) !important;
    color: var(--cb-primary-dk) !important;
    box-shadow: 0 8px 18px rgba(192, 57, 43, .10);
    border: 1px solid rgba(192, 57, 43, .14) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
}

.aps-shop-page .woocommerce ul.products li.product .button:hover {
    background: linear-gradient(180deg, #f2e7e5 0%, #e8d6d4 100%) !important;
    box-shadow: 0 10px 20px rgba(192, 57, 43, .12);
    color: var(--cb-primary-dk) !important;
    filter: none;
    transform: none;
}

.aps-shop-page .woocommerce ul.products li.product .onsale {
    top: 26px !important;
    right: 26px !important;
    min-height: 28px;
    min-width: 56px;
    padding: 0 10px;
    background: #d84a4a;
    color: #fff;
    border-color: rgba(216, 74, 74, .22);
    box-shadow: 0 8px 18px rgba(216, 74, 74, .22);
    font-size: 10px;
    letter-spacing: .08em;
}

@media (max-width: 1180px) {
    .home__blocks {
        grid-template-columns: minmax(0, 1fr) 390px;
    }

    .car__marks {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .home__blocks {
        grid-template-columns: 1fr;
    }

    .home__blocks-slider {
        min-height: 380px;
    }

    .home__form-right {
        width: 100%;
    }

    .car__marks {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home__blocks-slider,
    .cars__form-block,
    .home__form-inner,
    .aps-shop-hero,
    .aps-shop-sidebar__card,
    .aps-shop-toolbar,
    .aps-shop-page .woocommerce ul.products li.product {
        border-radius: 24px;
    }

    .home__blocks-slide {
        padding: 24px;
    }

    .home__slide-brand {
        font-size: 42px;
    }

    .car__marks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .product__card {
        flex: 0 0 320px;
    }

    .home__form-inner {
        padding: 26px;
    }

    .home__form-right-form {
        padding: 18px;
    }

    .aps-shop-page .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home__blocks-slider {
        min-height: 320px;
    }

    .home__slide-brand {
        font-size: 34px;
    }

    .slider-prev,
    .slider-next {
        width: 42px;
        height: 42px;
    }

    .cars__form-block,
    .home__form-inner,
    .aps-shop-hero {
        padding: 20px;
    }

    .car__marks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .product__card {
        flex-basis: 290px;
    }

    .aps-shop-page .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .aps-product-card__body {
        padding: 14px;
    }

    .aps-product-card__price {
        padding: 11px 12px;
    }

    .aps-product-card__price-current {
        font-size: 24px;
    }

    .aps-shop-page .woocommerce ul.products li.product .button {
        min-height: 42px;
    }
}

/* =====================================================================
   DESIGN REFRESH — ITERATION 3
   ===================================================================== */
.aps-popup__dialog {
    border: 1px solid rgba(214, 226, 239, .9);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 250, 253, .98) 100%);
    box-shadow: var(--cb-shadow-lg);
}

.aps-popup__head {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(214, 226, 239, .82);
}

.aps-popup__title {
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: -.05em;
}

.aps-popup__close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.aps-popup__content {
    padding: 22px;
}

.aps-vin-block {
    border-width: 1px;
    border-color: rgba(192, 57, 43, .24);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(243, 247, 252, .98) 100%);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
}

.aps-vin-subtitle {
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.aps-vin-form {
    max-width: 100%;
}

.aps-vin-form .input__wrapper {
    margin-bottom: 16px;
}

.aps-vin-help {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(243, 247, 252, .92);
}

.aps-form-result {
    min-height: 20px;
    font-size: 13px;
    font-weight: 700;
}

.contact-form-section form,
.vin-form-section form,
.page-content-wrap form {
    display: grid;
    gap: 14px;
}

.contact-form-section input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-section select,
.contact-form-section textarea,
.vin-form-section input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.vin-form-section select,
.vin-form-section textarea,
.page-content-wrap input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.page-content-wrap select,
.page-content-wrap textarea {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border: 1px solid rgba(214, 226, 239, .96);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    color: var(--cb-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

.contact-form-section textarea,
.vin-form-section textarea,
.page-content-wrap textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form-section input[type="submit"],
.contact-form-section button[type="submit"],
.vin-form-section input[type="submit"],
.vin-form-section button[type="submit"],
.page-content-wrap input[type="submit"],
.page-content-wrap button[type="submit"] {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, #d63e30 0%, #c0392b 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 26px rgba(192, 57, 43, .18);
}

.contact-form-section label,
.vin-form-section label,
.page-content-wrap label {
    font-size: 13px;
    font-weight: 700;
    color: #6d5955;
}

.info-page .entry-content h2 {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(214, 226, 239, .8);
}

.info-page .entry-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.info-page .entry-content li {
    margin-bottom: 10px;
}

.page-links {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(214, 226, 239, .82);
    color: #78645f;
}

.post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 980px;
    margin: 24px auto 0;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
    display: block;
    padding: 18px 20px;
    border: 1px solid rgba(214, 226, 239, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .05);
    color: #3c1b1f;
    font-weight: 700;
    line-height: 1.55;
}

.post-navigation .nav-next {
    text-align: right;
}

.aps-shop-mobile-filters-toggle {
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
}

.aps-shop-toolbar .woocommerce-ordering {
    gap: 10px;
}

.aps-ordering__field {
    min-width: 260px;
}

@media (max-width: 900px) {
    .aps-shop-toolbar {
        align-items: stretch;
    }

    .aps-shop-toolbar .woocommerce-result-count {
        width: 100%;
    }

    .aps-shop-toolbar .woocommerce-ordering {
        width: 100%;
        margin-left: 0;
    }

    .aps-ordering__field {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .aps-popup__dialog {
        border-radius: 24px;
    }

    .aps-popup__head,
    .aps-popup__content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .header__bottom-icons-menu li a {
        min-width: 46px;
        justify-content: center;
        padding: 0 10px;
    }
}

@media (max-width: 560px) {
    .aps-vin-block,
    .aps-popup__dialog {
        border-radius: 20px;
    }

    .aps-vin-help,
    .post-navigation .nav-previous a,
    .post-navigation .nav-next a {
        padding: 14px 16px;
    }

    .contact-info-card {
        gap: 12px;
    }

    .contact-icon,
    .feature-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =====================================================================
   DESIGN REFRESH — ITERATION 4 (HOME BRANDS + SINGLE PRODUCT)
   ===================================================================== */
.home-brands-section {
    width: min(100%, 1600px);
    margin: 0 auto 8px;
}

.car__marks {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 242px));
    justify-content: center;
    gap: 18px;
    margin: 18px auto 12px;
}

.car__marks-item {
    min-width: 0;
    width: auto;
}

.car__marks-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 272px;
    padding: 20px 18px 22px;
    border-radius: 18px;
    border: 1px solid rgba(218, 228, 240, .9);
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .05);
    transition: transform var(--cb-transition), border-color var(--cb-transition), box-shadow var(--cb-transition), background var(--cb-transition);
}

.car__marks-link:hover {
    transform: translateY(-2px);
    border-color: rgba(192, 57, 43, .2);
    box-shadow: 0 14px 26px rgba(15, 23, 42, .08);
}

.car__marks-link:focus-visible {
    outline: none;
    border-color: rgba(192, 57, 43, .28);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, .12), 0 14px 26px rgba(15, 23, 42, .08);
}

.car__marks-image {
    width: 100%;
    min-height: 154px;
    margin-bottom: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car__marks-image-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 154px;
    padding: 6px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
}

.car__marks-image-inner img {
    width: auto;
    max-width: 92%;
    max-height: 128px;
    object-fit: contain;
}

.car__marks-image-inner.has-fallback {
    border-radius: 16px;
    background: #f9eeed !important;
}

.car__marks-text {
    margin-top: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
    color: #b19890;
}

.car__marks-name {
    padding-top: 8px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.12;
    text-align: center;
    color: var(--cb-text);
}

.home-main .content > .title__page.text-center {
    margin: 26px 0 10px;
    font-size: clamp(34px, 2.35vw, 46px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.015em;
}

.home-main .content > .title__page.text-center::after {
    width: 108px;
    height: 6px;
    margin-top: 14px;
}

.home-main .content > .home-brands-section + .home__numbers-slider {
    margin-top: 8px;
}

@media (min-width: 1181px) {
    .car__marks-image {
        min-height: 168px;
    }

    .car__marks-image-inner {
        height: 168px;
        padding: 4px;
    }

    .car__marks-image-inner img {
        max-width: 96%;
        max-height: 154px;
    }
}

.single-product .content-area {
    padding-top: 18px;
}

.single-product .content-area .container {
    display: block;
}

.single-product .main-content.aps-product-main {
    width: 100%;
}

.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: 32px;
    align-items: start;
    padding: 28px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(247, 250, 254, .98) 100%);
    box-shadow: 0 20px 48px rgba(15, 23, 42, .08);
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary.entry-summary {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery {
    position: sticky;
    top: 118px;
    opacity: 1 !important;
}

body.admin-bar.single-product div.product .woocommerce-product-gallery {
    top: 150px;
}

.single-product div.product .woocommerce-product-gallery__wrapper {
    overflow: hidden;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(192, 57, 43, .08), transparent 32%), linear-gradient(180deg, #ffffff 0%, #fdf8f8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
    border-radius: 28px;
}

.single-product div.product .woocommerce-product-gallery__image {
    margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 540px;
    padding: 28px;
}

.single-product div.product .woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    max-height: 470px;
    object-fit: contain;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 12px;
    margin-top: 16px !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 8px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 18px !important;
    right: 18px !important;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: var(--cb-text);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .10);
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
    border-color: var(--cb-text);
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after {
    background: var(--cb-text);
}

.single-product div.product .woocommerce-product-gallery .flex-direction-nav {
    list-style: none;
}

.single-product div.product .woocommerce-product-gallery .flex-direction-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: var(--cb-text);
    box-shadow: 0 14px 24px rgba(15, 23, 42, .10);
    text-shadow: none;
    opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-direction-nav a::before {
    color: currentColor;
    font-size: 18px;
}

.single-product div.product .woocommerce-product-gallery .flex-direction-nav .flex-prev {
    left: 18px;
}

.single-product div.product .woocommerce-product-gallery .flex-direction-nav .flex-next {
    right: 18px;
}

.single-product div.product .summary.entry-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aps-single-summary {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aps-single-summary__eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #887068;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.aps-single-summary__eyebrow a {
    color: #77625c;
}

.aps-single-summary__eyebrow .aps-single-summary__detail-sep {
    margin: 0 2px;
}

.aps-single-summary__title {
    margin: 0;
    font-size: clamp(38px, 4.6vw, 60px);
    line-height: .96;
    letter-spacing: -.06em;
}

.aps-single-summary__price-card {
    padding: 22px 24px;
    border: 1px solid rgba(10, 54, 98, .16);
    border-radius: 26px;
    background: linear-gradient(135deg, #6e1f18 0%, #a12d24 100%);
    box-shadow: 0 24px 44px rgba(13, 66, 116, .22);
}

.aps-single-summary__price-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.aps-single-summary__price-label {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aps-single-summary__price-discount,
.aps-single-summary__stock {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.aps-single-summary__price-discount {
    background: rgba(255, 255, 255, .92);
    color: #c03a3a;
}

.aps-single-summary__stock {
    margin-left: auto;
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.aps-single-summary__stock.is-backorder {
    background: rgba(255, 255, 255, .18);
    color: #fff1c4;
}

.aps-single-summary__stock.is-outofstock {
    background: rgba(255, 255, 255, .14);
    color: #ffd3d3;
}

.aps-single-summary__price-current {
    margin-top: 14px;
    color: #fff;
    font-size: 52px;
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.06em;
}

.aps-single-summary__price-current ins {
    color: inherit;
    text-decoration: none;
    background: none;
}

.aps-single-summary__price-current del {
    display: none;
}

.aps-single-summary__price-current .woocommerce-Price-currencySymbol {
    color: rgba(255, 255, 255, .7);
    font-size: .7em;
}

.aps-single-summary__price-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.aps-single-summary__price-note-label {
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    font-weight: 700;
}

.aps-single-summary__price-note-value {
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    font-weight: 700;
}

.aps-single-summary__price-note-value del,
.aps-single-summary__price-note-value .amount {
    color: inherit;
}

.aps-single-summary__price-note-value .woocommerce-Price-amount {
    text-decoration: line-through;
}

.aps-single-summary__description {
    color: #695550;
    font-size: 16px;
    line-height: 1.75;
}

.aps-single-summary__description p:last-child {
    margin-bottom: 0;
}

.aps-single-summary__details {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
}

.aps-single-summary__detail {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(232, 238, 246, .96);
    background: transparent;
}

.aps-single-summary__detail:last-child {
    border-bottom: 0;
}

.aps-single-summary__detail-label {
    display: block;
    color: #977f77;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}

.aps-single-summary__detail-value {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--cb-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-word;
}

.aps-single-summary__detail-value a {
    color: var(--cb-primary-dk);
    font-weight: 700;
}

.aps-single-summary__detail-sep {
    color: #a89089;
    font-size: 12px;
    font-weight: 700;
}

.aps-single-summary__detail-code {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(241, 246, 252, .96);
    color: #533d3b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
}

.aps-single-summary__purchase {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .06);
}

.single-product .aps-single-summary__purchase form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 0;
}

.single-product .aps-single-summary__purchase .quantity {
    margin: 0 !important;
}

.single-product .aps-single-summary__purchase .quantity .qty {
    min-width: 94px;
    height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 16px;
    background: #fdf9f8;
    color: var(--cb-text);
    font-weight: 700;
    text-align: center;
}

.single-product .aps-single-summary__purchase button.single_add_to_cart_button,
.single-product .aps-single-summary__purchase a.single_add_to_cart_button {
    flex: 1 1 220px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #c0392b 0%, #d68e8a 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 16px 28px rgba(192, 57, 43, .18);
}

.single-product .aps-single-summary__purchase button.single_add_to_cart_button:hover,
.single-product .aps-single-summary__purchase a.single_add_to_cart_button:hover {
    filter: brightness(.98);
}

.single-product .aps-single-summary__purchase .stock {
    display: none !important;
}

.single-product .aps-single-summary__purchase table.variations {
    width: 100%;
    margin-bottom: 14px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.single-product .aps-single-summary__purchase table.variations td,
.single-product .aps-single-summary__purchase table.variations th {
    padding: 0;
    border: none;
}

.single-product .aps-single-summary__purchase table.variations th label {
    color: #866e66;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.single-product .aps-single-summary__purchase table.variations select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 14px;
    background: #fdf9f8;
}

.aps-single-summary__support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(192, 57, 43, .08) 0%, rgba(192, 57, 43, .02) 100%);
}

.aps-single-summary__support-copy {
    display: grid;
    gap: 4px;
}

.aps-single-summary__support-copy strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.aps-single-summary__support-copy span {
    color: #7a655f;
    line-height: 1.6;
}

.aps-single-summary__support-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(192, 57, 43, .14);
    color: var(--cb-primary);
    font-weight: 700;
    white-space: nowrap;
}

.single-product .woocommerce-variation-price {
    margin-bottom: 12px;
}

.single-product .woocommerce-variation-price .price {
    color: var(--cb-text);
    font-size: 30px;
    font-weight: 700;
}

.single-product div.product .onsale {
    top: 18px;
    left: 18px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #d84a4a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aps-single-product__after {
    display: grid;
    gap: 22px;
    margin-top: 26px;
}

.aps-single-product__section {
    padding: 24px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .98) 100%);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .06);
}

.single-product .woocommerce-tabs.wc-tabs-wrapper {
    margin: 0;
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 !important;
    margin: 0 0 18px !important;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(214, 226, 239, .92);
    background: #faf7f6;
    color: var(--cb-text);
    font-weight: 700;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    background: linear-gradient(135deg, #c0392b 0%, #d68e8a 100%);
    color: #fff;
    box-shadow: 0 12px 22px rgba(192, 57, 43, .18);
}

.single-product .woocommerce-tabs .panel {
    margin: 0 !important;
    padding-top: 4px;
}

.single-product .woocommerce-tabs .panel > h2:first-child,
.single-product .woocommerce-tabs .panel > h3:first-child,
.single-product .related.products > h2,
.single-product .up-sells.upsells.products > h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.06;
    letter-spacing: -.05em;
}

.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel li,
.single-product .woocommerce-tabs .panel td {
    color: #695550;
    line-height: 1.8;
}

.single-product .woocommerce-tabs .panel ul,
.single-product .woocommerce-tabs .panel ol {
    padding-left: 20px;
    list-style: disc;
}

.single-product .woocommerce-tabs .panel ol {
    list-style: decimal;
}

.single-product .woocommerce-Reviews-title {
    margin-bottom: 16px;
}

.single-product .commentlist li {
    padding: 18px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
}

.single-product .comment-respond {
    margin-top: 18px;
}

.single-product .comment-form input[type="text"],
.single-product .comment-form input[type="email"],
.single-product .comment-form input[type="url"],
.single-product .comment-form textarea,
.single-product .comment-form select {
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 14px;
    background: #fdf9f8;
}

.single-product .comment-form input[type="text"],
.single-product .comment-form input[type="email"],
.single-product .comment-form input[type="url"],
.single-product .comment-form textarea,
.single-product .comment-form select {
    width: 100%;
    padding: 12px 14px;
}

.single-product .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #7a655f;
}

.single-product .comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.single-product .comment-form .submit {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c0392b 0%, #d68e8a 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 14px 24px rgba(192, 57, 43, .18);
    width: auto;
}

.single-product .related.products,
.single-product .up-sells.upsells.products {
    margin: 0;
}

.single-product .related.products ul.products,
.single-product .up-sells.upsells.products ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after,
.single-product .up-sells.upsells.products ul.products::before,
.single-product .up-sells.upsells.products ul.products::after {
    display: none;
}

.single-product .related.products ul.products li.product,
.single-product .up-sells.upsells.products ul.products li.product {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 0;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(191, 206, 225, .72);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.single-product .related.products ul.products li.product:hover,
.single-product .up-sells.upsells.products ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(152, 173, 198, .95);
    box-shadow: 0 24px 44px rgba(15, 23, 42, .10);
}

.single-product .related.products ul.products li.product .aps-product-card__thumb,
.single-product .up-sells.upsells.products ul.products li.product .aps-product-card__thumb {
    padding: 14px 14px 0;
}

.single-product .related.products ul.products li.product .aps-product-card__media,
.single-product .up-sells.upsells.products ul.products li.product .aps-product-card__media {
    aspect-ratio: 1 / .8;
    padding: 18px;
    border: 1px solid rgba(191, 206, 225, .58);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .08), transparent 34%),
        linear-gradient(180deg, #fffbfb 0%, #f5efed 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.single-product .related.products ul.products li.product a img,
.single-product .up-sells.upsells.products ul.products li.product a img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
}

.single-product .related.products ul.products li.product .aps-product-card__body,
.single-product .up-sells.upsells.products ul.products li.product .aps-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 15px;
}

.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .up-sells.upsells.products ul.products li.product .woocommerce-loop-product__title {
    min-height: 68px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-product .related.products ul.products li.product .aps-product-card__actions,
.single-product .up-sells.upsells.products ul.products li.product .aps-product-card__actions {
    margin-top: auto;
}

.single-product .related.products ul.products li.product .button,
.single-product .up-sells.upsells.products ul.products li.product .button {
    width: 100%;
    min-height: 44px;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #fcefee 0%, #efdfdc 100%) !important;
    color: var(--cb-primary-dk) !important;
    border: 1px solid rgba(192, 57, 43, .14) !important;
    box-shadow: 0 8px 18px rgba(192, 57, 43, .10);
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 10px 12px !important;
}

.single-product .related.products ul.products li.product .aps-product-card__title a,
.single-product .up-sells.upsells.products ul.products li.product .aps-product-card__title a {
    font-size: 17px;
}

.single-product .woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

@media (max-width: 1180px) {
    .home-brands-section {
        width: 100%;
    }

    .car__marks {
        grid-template-columns: repeat(4, minmax(212px, 1fr));
        gap: 14px;
    }

    .car__marks-item {
        width: auto;
    }

    .car__marks-link {
        min-height: 248px;
    }

    .car__marks-image {
        min-height: 136px;
    }

    .car__marks-image-inner {
        height: 136px;
        padding: 6px;
    }

    .car__marks-image-inner img {
        max-height: 112px;
    }

    .car__marks-text {
        font-size: 14px;
    }

    .car__marks-name {
        font-size: 17px;
    }

    .single-product div.product {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 26px;
    }
}

@media (max-width: 1024px) {
    .single-product div.product {
        grid-template-columns: 1fr;
    }

    .single-product div.product .woocommerce-product-gallery {
        position: relative;
        top: 0;
    }

    .single-product .related.products ul.products,
    .single-product .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .car__marks {
        grid-template-columns: repeat(3, minmax(172px, 1fr));
        gap: 10px;
    }

    .car__marks-link {
        min-height: 198px;
        padding: 14px;
        border-radius: 16px;
    }

    .car__marks-image {
        min-height: 108px;
    }

    .car__marks-image-inner {
        height: 110px;
        padding: 6px;
    }

    .car__marks-image-inner img {
        max-height: 90px;
    }

    .car__marks-text {
        font-size: 13px;
    }

    .car__marks-name {
        font-size: 16px;
    }

    .home-main .content > .title__page.text-center {
        margin-top: 20px;
        font-size: clamp(28px, 5vw, 38px);
    }

    .home-main .content > .title__page.text-center::after {
        width: 92px;
        height: 5px;
        margin-top: 12px;
    }

    .single-product div.product {
        gap: 20px;
        padding: 18px;
        border-radius: 24px;
    }

    .single-product div.product .woocommerce-product-gallery__image a {
        min-height: 380px;
        padding: 20px;
    }

    .aps-single-summary__details {
        border-radius: 20px;
    }

    .aps-single-summary__detail {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .aps-single-summary__support {
        flex-direction: column;
        align-items: flex-start;
    }

    .aps-single-product__section {
        padding: 20px;
        border-radius: 24px;
    }
}

@media (max-width: 560px) {
    .car__marks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .car__marks-link {
        min-height: 174px;
        padding: 10px;
        border-radius: 14px;
    }

    .car__marks-image {
        min-height: 90px;
    }

    .car__marks-image-inner {
        height: 92px;
        padding: 5px;
    }

    .car__marks-image-inner img {
        max-height: 74px;
    }

    .car__marks-text {
        font-size: 13px;
    }

    .car__marks-name {
        font-size: 15px;
    }

    .home-main .content > .title__page.text-center {
        font-size: clamp(24px, 7.2vw, 32px);
    }

    .single-product div.product {
        gap: 18px;
        padding: 14px;
        border-radius: 20px;
    }

    .single-product div.product .woocommerce-product-gallery__image a {
        min-height: 300px;
        padding: 16px;
    }

    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
        gap: 8px;
    }

    .aps-single-summary__title {
        font-size: 31px;
    }

    .aps-single-summary__price-card {
        padding: 18px;
        border-radius: 20px;
    }

    .aps-single-summary__price-current {
        font-size: 40px;
    }

    .aps-single-summary__purchase {
        padding: 14px;
        border-radius: 20px;
    }

    .single-product .aps-single-summary__purchase form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .single-product .aps-single-summary__purchase .quantity,
    .single-product .aps-single-summary__purchase .quantity .qty,
    .single-product .aps-single-summary__purchase button.single_add_to_cart_button,
    .single-product .aps-single-summary__purchase a.single_add_to_cart_button {
        width: 100%;
    }

    .single-product .related.products ul.products,
    .single-product .up-sells.upsells.products ul.products {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   SINGLE PRODUCT DESKTOP-FIRST FINAL FIX
   ===================================================================== */
.single-product .content-area {
    padding-top: 20px;
}

.single-product .content-area .container {
    max-width: 1360px;
}

.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 56%) minmax(380px, 44%);
    gap: 28px;
    align-items: start;
    padding: 24px;
    border-radius: 24px;
}

.single-product div.product .woocommerce-product-gallery {
    position: sticky;
    top: 110px;
}

.single-product .summary.entry-summary {
    width: 100% !important;
    max-width: none;
}

.single-product .aps-single-summary {
    gap: 16px;
}

.single-product .aps-single-summary__sale-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ffefd5;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
}

.single-product .aps-single-summary__title {
    font-size: clamp(34px, 2.8vw, 46px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.01em;
}

.single-product .aps-single-summary__status {
    font-size: 24px;
    font-weight: 700;
    color: #17a34a;
}

.single-product .aps-single-summary__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.single-product .aps-single-summary__price-current {
    font-size: clamp(42px, 3.2vw, 58px);
    line-height: .95;
    letter-spacing: -.03em;
    color: #231214;
    font-weight: 900;
}

.single-product .aps-single-summary__old-price {
    color: #b09892;
    font-size: 22px;
    font-weight: 700;
    text-decoration: line-through;
}

.single-product .aps-single-summary__old-price .amount,
.single-product .aps-single-summary__old-price .woocommerce-Price-amount {
    color: inherit;
}

.single-product .aps-single-summary__auth-note {
    width: 100%;
    color: #ae948d;
    font-size: 18px;
    font-weight: 600;
}

.single-product .aps-single-summary__auth-note a {
    color: #dc2626;
    font-weight: 700;
}

.single-product .aps-single-summary__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.single-product .aps-single-summary__buy form.cart {
    margin: 0;
}

.single-product .aps-single-summary__buy .quantity,
.single-product .aps-single-summary__buy .reset_variations {
    display: none !important;
}

.single-product .aps-single-summary__buy .single_add_to_cart_button,
.single-product .aps-single-summary__call {
    width: 100%;
    min-height: 66px;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px !important;
}

.single-product .aps-single-summary__buy .single_add_to_cart_button {
    background: #bd3529 !important;
    color: #fff !important;
    border: 0 !important;
}

.single-product .aps-single-summary__call {
    background: #35b66f;
    color: #fff;
}

.single-product .aps-single-summary__details {
    border: 0;
    border-radius: 0;
    padding-top: 4px;
}

.single-product .aps-single-summary__detail {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0;
    border-bottom: 0;
}

.single-product .aps-single-summary__detail-label {
    color: #b09892;
    font-size: 16px;
    font-weight: 600;
}

.single-product .aps-single-summary__detail-value {
    color: #2f1a1c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.single-product .aps-single-summary__detail-value a {
    color: #dc2626;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-product .aps-single-summary__detail-sep {
    color: #ad948d;
    font-size: 12px;
}

.single-product .aps-single-product__after {
    margin-top: 24px;
    gap: 20px;
}

.single-product .aps-single-product__section {
    width: 100%;
    padding: 22px;
    border-radius: 22px;
}

.single-product .aps-single-product__section--tabs .woocommerce-tabs ul.tabs li a {
    min-height: 42px;
    font-size: 14px;
    font-weight: 700;
}

.single-product .aps-single-product__section--tabs .woocommerce-tabs .panel,
.single-product .aps-single-product__section--tabs .woocommerce-tabs .panel p,
.single-product .aps-single-product__section--tabs .woocommerce-tabs .panel li {
    color: #574241;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.72;
}

.single-product .aps-single-product__section--related .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
    height: 100%;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card {
    height: 100%;
}

@media (max-width: 1200px) {
    .single-product div.product {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .single-product div.product .woocommerce-product-gallery {
        position: relative;
        top: 0;
    }

    .single-product .aps-single-summary__actions {
        grid-template-columns: 1fr;
    }

    .single-product .aps-single-product__section--related .related.products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1024px) {
    .single-product .content-area .container {
        max-width: 100%;
    }

    .single-product .aps-single-product__section--related .related.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .single-product .aps-single-summary__title {
        font-size: 30px;
    }

    .single-product .aps-single-summary__status {
        font-size: 20px;
    }

    .single-product .aps-single-summary__price-current {
        font-size: 40px;
    }

    .single-product .aps-single-summary__old-price {
        font-size: 17px;
    }

    .single-product .aps-single-summary__auth-note {
        font-size: 15px;
    }

    .single-product .aps-single-summary__buy .single_add_to_cart_button,
    .single-product .aps-single-summary__call {
        min-height: 56px;
        font-size: 17px !important;
    }

    .single-product .aps-single-summary__detail-label,
    .single-product .aps-single-summary__detail-value {
        font-size: 15px;
    }

    .single-product .aps-single-product__section--related .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================================
   SINGLE PRODUCT DESKTOP-FIRST FINAL FIX — ITERATION 2
   ===================================================================== */
.single-product .content-area .container {
    max-width: 1360px;
}

.single-product div.product {
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
    gap: 40px;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .98) 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.single-product div.product .woocommerce-product-gallery {
    top: 116px;
}

.single-product .summary.entry-summary {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 4px;
}

.single-product .aps-single-summary {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 560px;
}

.single-product .aps-single-summary__title {
    margin: 0;
    color: #301418;
    font-size: clamp(30px, 2.45vw, 40px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.single-product .aps-single-summary__status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef8f2;
    color: #1f8a4b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.single-product .aps-single-summary__status.is-backorder {
    background: #fff7e7;
    color: #aa6b00;
}

.single-product .aps-single-summary__status.is-outofstock {
    background: #fff0f0;
    color: #c53d3d;
}

.single-product .aps-single-summary__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 16px;
    padding: 18px 20px;
    border: 1px solid rgba(221, 231, 242, .96);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .05);
}

.single-product .aps-single-summary__price-current {
    color: #301418;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
}

.single-product .aps-single-summary__price-current ins {
    background: none;
    color: inherit;
    text-decoration: none;
}

.single-product .aps-single-summary__price-current del {
    display: none;
}

.single-product .aps-single-summary__price-current .woocommerce-Price-currencySymbol {
    font-size: .76em;
}

.single-product .aps-single-summary__old-price {
    color: #a68e87;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: line-through;
}

.single-product .aps-single-summary__old-price .woocommerce-Price-amount,
.single-product .aps-single-summary__old-price .amount {
    color: inherit;
}

.single-product .aps-single-summary__auth-note {
    width: 100%;
    color: #876f67;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.single-product .aps-single-summary__auth-note a {
    color: #c0392b;
    font-weight: 700;
    text-decoration: none;
}

.single-product .aps-single-summary__description {
    color: #6e5b56;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.72;
}

.single-product .aps-single-summary__description p {
    margin: 0;
}

.single-product .aps-single-summary__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.single-product .aps-single-summary__actions > * {
    min-width: 0;
}

.single-product .aps-single-summary__actions > :only-child {
    grid-column: 1 / -1;
}

.single-product .aps-single-summary__buy,
.single-product .aps-single-summary__buy form.cart {
    height: 100%;
}

.single-product .aps-single-summary__buy form.cart {
    display: block;
    margin: 0;
}

.single-product .aps-single-summary__buy .quantity,
.single-product .aps-single-summary__buy .reset_variations {
    display: none !important;
}

.single-product .aps-single-summary__buy .single_add_to_cart_button,
.single-product .aps-single-summary__call {
    width: 100%;
    min-height: 54px;
    padding: 0 18px !important;
    border-radius: 15px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

@media (max-width: 767px) {
    .woocommerce ul.order_details {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
        margin: 0 0 2rem;
        padding: 0;
    }

    .woocommerce ul.order_details::before,
    .woocommerce ul.order_details::after {
        display: none;
    }

    .woocommerce ul.order_details li {
        float: none;
        min-width: 0;
        margin: 0;
        padding: 0 0 0 16px;
        border-right: 0;
        border-left: 1px dashed #cfc8d8;
        line-height: 1.35;
    }

    .woocommerce ul.order_details li:nth-child(2n + 1) {
        padding-left: 0;
        border-left: 0;
    }

    .woocommerce ul.order_details li strong {
        margin-top: 6px;
        line-height: 1.25;
        word-break: break-word;
    }
}

.single-product .aps-single-summary__buy .single_add_to_cart_button {
    border: 1px solid transparent !important;
    background: linear-gradient(135deg, #b33528 0%, #d64035 100%) !important;
    color: #fff !important;
    box-shadow: 0 14px 24px rgba(192, 57, 43, .16);
}

.single-product .aps-single-summary__call {
    border: 1px solid rgba(29, 103, 175, .18);
    background: #fef5f4;
    color: #a12d24;
    box-shadow: 0 10px 20px rgba(192, 57, 43, .08);
}

.single-product .aps-single-summary__buy .single_add_to_cart_button:hover,
.single-product .aps-single-summary__call:hover {
    transform: translateY(-1px);
}

.single-product .aps-single-summary__details {
    overflow: hidden;
    border: 1px solid rgba(222, 232, 242, .96);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .04);
}

.single-product .aps-single-summary__detail {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(236, 242, 248, .98);
}

.single-product .aps-single-summary__detail:last-child {
    border-bottom: 0;
}

.single-product .aps-single-summary__detail-label {
    color: #967f77;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.single-product .aps-single-summary__detail-value {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #3a1a1d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    word-break: break-word;
}

.single-product .aps-single-summary__detail-value a {
    color: #c0392b;
    font-weight: 700;
    text-decoration: none;
}

.single-product .aps-single-summary__detail-value a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-product .aps-single-summary__detail-sep {
    color: #ba9f97;
    font-size: 12px;
    font-weight: 700;
}

.single-product .aps-single-summary__detail-code {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    background: #faf7f6;
    color: #6e5b56;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
}

.single-product .aps-single-product__after {
    grid-column: 1 / -1;
    gap: 20px;
    margin-top: 26px;
}

.single-product .aps-single-product__section {
    width: 100%;
    padding: 28px 30px;
    border: 1px solid rgba(222, 232, 242, .96);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .05);
}

.single-product .woocommerce-tabs.wc-tabs-wrapper {
    margin: 0;
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(222, 232, 242, .96);
    background: #fbf8f7;
    color: #422224;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    border-color: rgba(25, 103, 175, .16);
    background: #f5efed;
    color: #a52e25;
    box-shadow: none;
}

.single-product .woocommerce-tabs .panel {
    margin: 0 !important;
    padding-top: 2px;
    max-width: 100%;
}

.single-product .woocommerce-tabs .panel > h2:first-child,
.single-product .woocommerce-tabs .panel > h3:first-child,
.single-product .related.products > h2,
.single-product .up-sells.upsells.products > h2 {
    margin: 0 0 18px;
    color: #321518;
    font-size: clamp(24px, 2.1vw, 32px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
}

.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel li,
.single-product .woocommerce-tabs .panel td {
    color: #6c5854;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.78;
}

.single-product .woocommerce-tabs .panel ul,
.single-product .woocommerce-tabs .panel ol {
    padding-left: 20px;
    margin: 0;
}

.single-product .woocommerce-tabs .panel ul li + li,
.single-product .woocommerce-tabs .panel ol li + li {
    margin-top: 6px;
}

.single-product .aps-single-product__section--related .related.products,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products {
    display: block !important;
    grid-template-columns: none !important;
    margin: 0;
    width: 100% !important;
}

.single-product .aps-single-product__section--related .related.products ul.products,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.single-product .aps-single-product__section--related .related.products ul.products::before,
.single-product .aps-single-product__section--related .related.products ul.products::after,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products::before,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products::after {
    display: none !important;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product,
.single-product .aps-single-product__section--related .related.products ul.products li.product.aps-product-card,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product.aps-product-card {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-self: stretch;
    overflow: hidden;
    border: 1px solid rgba(191, 206, 225, .72);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .06);
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__thumb,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__thumb {
    padding: 14px 14px 0;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__media,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__media {
    aspect-ratio: 1 / .82;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__body,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 16px 18px;
    gap: 12px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.95em;
    margin: 0;
    font-size: 17px;
    line-height: 1.34;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price {
    margin-top: 2px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__actions,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__actions {
    margin-top: auto;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .button,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .button {
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
}

@media (max-width: 1200px) {
    .single-product div.product {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .single-product div.product .woocommerce-product-gallery {
        position: relative;
        top: 0;
    }

    .single-product .aps-single-summary {
        max-width: none;
    }

    .single-product .aps-single-product__section--related .related.products ul.products,
    .single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1024px) {
    .single-product .content-area .container {
        max-width: 100%;
    }

    .single-product div.product {
        padding: 24px;
    }

    .single-product .aps-single-summary__title {
        font-size: 34px;
    }

    .single-product .aps-single-summary__price-current {
        font-size: 38px;
    }

    .single-product .aps-single-product__section,
    .single-product .aps-single-product__section--tabs,
    .single-product .aps-single-product__section--related,
    .single-product .aps-single-product__section--upsells {
        padding: 24px;
    }

    .single-product .aps-single-product__section--related .related.products ul.products,
    .single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .single-product div.product {
        padding: 18px;
        border-radius: 22px;
    }

    .single-product .aps-single-summary__actions {
        grid-template-columns: 1fr;
    }

    .single-product .aps-single-summary__detail {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .single-product .aps-single-product__section {
        padding: 20px;
        border-radius: 22px;
    }

    .single-product .aps-single-product__section--related .related.products ul.products,
    .single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .single-product .aps-single-summary__title {
        font-size: 28px;
    }

    .single-product .aps-single-summary__status {
        min-height: 32px;
        font-size: 13px;
    }

    .single-product .aps-single-summary__price-row {
        padding: 16px;
        border-radius: 18px;
    }

    .single-product .aps-single-summary__price-current {
        font-size: 34px;
    }

    .single-product .aps-single-summary__old-price {
        font-size: 16px;
    }

    .single-product .aps-single-summary__auth-note,
    .single-product .woocommerce-tabs .panel p,
    .single-product .woocommerce-tabs .panel li,
    .single-product .woocommerce-tabs .panel td {
        font-size: 14px;
    }

    .single-product .aps-single-summary__buy .single_add_to_cart_button,
    .single-product .aps-single-summary__call {
        min-height: 50px;
    }
}

/* =====================================================================
   SINGLE PRODUCT POLISH — ITERATION 3
   ===================================================================== */
.single-product .content-area {
    padding-top: 14px;
}

.single-product .aps-single-product__breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    color: #967f77;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.single-product .aps-single-product__breadcrumbs a {
    color: #8a726a;
}

.single-product .aps-single-product__breadcrumbs a:hover {
    color: #a52e25;
}

.single-product .aps-single-product__breadcrumbs-sep {
    color: #bea29b;
}

.single-product .aps-single-product__breadcrumbs-current {
    color: #695550;
}

.single-product div.product {
    gap: 34px;
    padding: 28px;
}

.single-product .aps-single-summary {
    gap: 16px;
    max-width: 580px;
}

.single-product .aps-single-summary__price-row {
    align-items: center;
    gap: 10px 18px;
}

.single-product .aps-single-summary__old-price {
    align-self: center;
}

.single-product .aps-single-summary__description {
    color: #695550;
    font-size: 15px;
    line-height: 1.68;
}

.single-product .aps-single-summary__description p {
    margin: 0;
}

.single-product .aps-single-summary__assist {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(222, 232, 242, .96);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffbfb 0%, #fef5f4 100%);
}

.single-product .aps-single-summary__assist strong {
    color: #39191d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.single-product .aps-single-summary__assist span {
    color: #7d6861;
    font-size: 13px;
    line-height: 1.55;
}

.single-product .aps-single-summary__actions {
    gap: 10px;
}

.single-product .aps-single-summary__buy form.cart {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.single-product .aps-single-summary__buy .quantity {
    display: flex !important;
    margin: 0 !important;
}

.single-product .aps-single-summary__buy .quantity .qty {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 0 10px;
    border: 1px solid rgba(209, 223, 238, .96);
    border-radius: 15px;
    background: #ffffff;
    color: #3a1a1d;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.single-product .aps-single-summary__buy .single_add_to_cart_button {
    min-width: 0;
}

.single-product .aps-single-product__section {
    padding: 26px 28px;
}

.single-product .woocommerce-tabs .panel p + p {
    margin-top: 12px;
}

.single-product .woocommerce-tabs .panel ul {
    margin-top: 14px;
}

.single-product .aps-single-product__section--related .related.products > h2,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products > h2 {
    margin-bottom: 20px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-label,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-label,
.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-discount,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-discount,
.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__sku,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__sku,
.single-product .aps-single-product__section--related .related.products ul.products li.product .onsale,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .onsale {
    display: none !important;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__badges,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__badges {
    gap: 6px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__badge,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__badge {
    font-size: 11px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__meta,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__meta {
    justify-content: flex-end;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.7em;
    font-size: 16px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-current,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-current {
    font-size: 17px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__actions .button,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__actions .button {
    min-height: 42px;
    font-size: 13px !important;
}

@media (max-width: 1200px) {
    .single-product .aps-single-product__breadcrumbs {
        margin-bottom: 12px;
    }

    .single-product .aps-single-summary {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .single-product .aps-single-product__breadcrumbs {
        gap: 6px;
        font-size: 12px;
    }

    .single-product div.product {
        gap: 20px;
        padding: 18px;
    }

    .single-product .aps-single-product__section {
        padding: 20px 18px;
    }
}

@media (max-width: 560px) {
    .single-product .aps-single-summary__buy form.cart {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .single-product .aps-single-summary__assist {
        padding: 12px 14px;
    }
}

/* =====================================================================
   SINGLE PRODUCT POLISH — ITERATION 4
   ===================================================================== */
.single-product .aps-single-summary__title {
    max-width: 16ch;
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.single-product .aps-single-summary__price-row {
    padding: 16px 20px;
}

.single-product .aps-single-summary__price-current {
    font-size: clamp(28px, 2.9vw, 38px);
    letter-spacing: -.04em;
}

.single-product .aps-single-summary__old-price {
    font-size: 17px;
}

.single-product .aps-single-summary__description {
    max-width: 54ch;
}

.single-product .aps-single-summary__actions.is-custom {
    display: block;
    width: 100%;
}

.single-product .aps-single-summary__actions.is-custom .aps-single-summary__buy,
.single-product .aps-single-summary__cart {
    width: 100%;
    display: grid;
    gap: 12px;
}

.single-product .aps-single-summary__quantity-row {
    display: flow-root;
    max-width: 104px;
}

.single-product .aps-single-summary__quantity-row .quantity {
    display: flex !important;
    float: none !important;
    margin: 0 !important;
}

.single-product .aps-single-summary__quantity-row .quantity .qty {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    border: 1px solid rgba(209, 223, 238, .96);
    border-radius: 14px;
    background: #ffffff;
    color: #3a1a1d;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.single-product .aps-single-summary__cta-row {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.single-product .aps-single-summary__cta-row > * {
    flex: 1 1 0;
    min-width: 0;
}

.single-product .aps-single-summary__cart .single_add_to_cart_button,
.single-product .aps-single-summary__cart .aps-single-summary__call {
    width: 100%;
    max-width: none !important;
    min-height: 54px;
    padding: 0 18px !important;
    border-radius: 15px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    float: none !important;
    white-space: nowrap;
}

.single-product .aps-single-summary__cart .single_add_to_cart_button {
    border: 1px solid transparent !important;
    background: linear-gradient(135deg, #b33528 0%, #d64035 100%) !important;
    color: #fff !important;
    box-shadow: 0 14px 24px rgba(192, 57, 43, .16);
}

.single-product .aps-single-summary__cart .aps-single-summary__call {
    border: 1px solid rgba(29, 103, 175, .18);
    background: #fef5f4;
    color: #a12d24;
    box-shadow: 0 10px 20px rgba(192, 57, 43, .08);
}

.single-product .aps-single-summary__cart .single_add_to_cart_button:hover,
.single-product .aps-single-summary__cart .aps-single-summary__call:hover {
    transform: translateY(-1px);
}

.single-product .aps-single-summary__assist {
    gap: 6px;
}

.single-product .aps-single-product__section--tabs .woocommerce-tabs:has(ul.tabs li:only-child) ul.tabs {
    display: none;
}

.single-product .aps-single-product__section--tabs .woocommerce-tabs .panel {
    max-width: 74ch;
}

.single-product .aps-single-product__section--tabs .woocommerce-tabs .panel ul {
    padding-left: 18px;
}

.single-product .aps-single-product__section--related .related.products ul.products,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__body,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__body {
    gap: 10px;
    padding: 14px 14px 16px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__badge + .aps-product-card__badge,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__badge + .aps-product-card__badge,
.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-note,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-note {
    display: none !important;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__meta,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__meta {
    justify-content: space-between;
    gap: 8px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-current,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-current {
    font-size: 19px;
}

@media (max-width: 1200px) {
    .single-product .aps-single-summary__title {
        max-width: none;
    }

    .single-product .aps-single-product__section--related .related.products ul.products,
    .single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .single-product .aps-single-summary__title {
        font-size: 24px;
    }

    .single-product .aps-single-summary__price-current {
        font-size: 26px;
    }

    .single-product .aps-single-summary__description {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .single-product .aps-single-summary__cta-row {
        flex-direction: column;
    }

    .single-product .aps-single-summary__quantity-row {
        max-width: 88px;
    }

    .single-product .aps-single-product__section--related .related.products ul.products,
    .single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================================
   PRODUCT CARDS + SINGLE PRODUCT STRUCTURE — ITERATION 5
   ===================================================================== */
.woocommerce ul.products li.product.aps-product-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    cursor: pointer;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__thumb {
    position: relative;
    z-index: 2;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__badges {
    min-height: 32px;
    margin-bottom: 10px;
    align-content: flex-start;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__badges.is-empty {
    min-height: 32px;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__title {
    min-height: 4em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 94px;
    margin-top: 14px;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-head {
    min-height: 28px;
    margin-bottom: 6px;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__meta {
    min-height: 50px;
    margin-top: 14px;
    align-content: flex-start;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__sku.is-empty {
    visibility: hidden;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__actions,
.woocommerce ul.products li.product.aps-product-card .aps-product-card__actions * {
    position: relative;
    z-index: 3;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body:not(.single-product) .woocommerce ul.products li.product.aps-product-card .aps-product-card__actions .added_to_cart {
    display: none !important;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    line-height: 1.1 !important;
    white-space: normal;
}

body:not(.single-product) .woocommerce ul.products li.product.aps-product-card .aps-product-card__actions .button.aps-product-card__cart-link {
    margin: 0;
}

.aps-product-card.is-no-price .aps-product-card__price {
    justify-content: center;
}

.aps-product-card.is-no-price .aps-product-card__price-current {
    min-height: 38px;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    font-size: 15px;
    letter-spacing: 0;
}

.aps-product-card__price-missing {
    color: #79645f;
    font-weight: 700;
    line-height: 1.35;
}

.aps-shop-page .woocommerce ul.products li.product .button.disabled,
.aps-shop-page .woocommerce ul.products li.product .button[aria-disabled="true"] {
    background: linear-gradient(180deg, #f7f3f2 0%, #ede7e5 100%) !important;
    color: #967e76 !important;
    border-color: rgba(123, 142, 165, .28) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    pointer-events: none;
}

.aps-shop-page .woocommerce ul.products li.product .button.disabled:hover,
.aps-shop-page .woocommerce ul.products li.product .button[aria-disabled="true"]:hover {
    transform: none;
    filter: none;
}

.aps-product-card__contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(192, 57, 43, .2);
    border-radius: 12px;
    background: rgba(242, 248, 255, .9);
    color: var(--cb-primary-dk);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.aps-product-card__contact-link:hover {
    background: rgba(232, 242, 252, .95);
    color: var(--cb-primary-dk);
}

.aps-shop-sidebar__card--filters {
    margin-top: 14px;
}

.aps-shop-car-filter {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aps-shop-car-filter__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aps-shop-car-filter__label {
    color: #8a7169;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aps-shop-car-filter__select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #eeded9;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
    color: #3e1f22;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
}

.aps-shop-car-filter__select:disabled {
    background: #f8f4f3;
    color: #a58d86;
    cursor: not-allowed;
}

.aps-shop-car-filter__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.aps-shop-car-filter__submit {
    min-height: 42px;
    width: 100%;
    border: 1px solid rgba(192, 57, 43, .2);
    border-radius: 12px;
    background: linear-gradient(180deg, #fcefee 0%, #efdfdc 100%);
    color: var(--cb-primary-dk);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.aps-shop-car-filter__submit:hover {
    background: linear-gradient(180deg, #f2e7e5 0%, #e8d6d4 100%);
}

.aps-shop-car-filter__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #8b726a;
    background: rgba(245, 248, 252, .9);
}

.aps-shop-car-filter__reset:hover {
    color: var(--cb-primary-dk);
    background: #f4edec;
}

.woocommerce ul.products li.product.aps-product-card:focus-within {
    border-color: rgba(192, 57, 43, .34);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, .10), 0 28px 54px rgba(15, 23, 42, .1);
}

.single-product .aps-single-product__section--related .aps-product-card__stock,
.single-product .aps-single-product__section--upsells .aps-product-card__stock {
    display: none !important;
}

.single-product .aps-single-product__section--related .aps-product-card__meta,
.single-product .aps-single-product__section--upsells .aps-product-card__meta {
    justify-content: flex-start;
    min-height: 28px;
}

.single-product .aps-single-product__section--related .aps-product-card__actions .button,
.single-product .aps-single-product__section--upsells .aps-product-card__actions .button {
    justify-content: center;
    text-align: center;
    padding-inline: 14px !important;
}

.single-product .aps-single-product__header {
    grid-column: 1 / -1;
    display: block;
    margin: -2px 0 2px;
}

.single-product .aps-single-product__title {
    margin: 0;
    max-width: 18ch;
    color: #301418;
    font-size: clamp(30px, 2.8vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.single-product .summary.entry-summary {
    padding-top: 0;
}

.single-product .aps-single-summary {
    gap: 14px;
}

.single-product .aps-single-summary__price-row {
    display: inline-flex;
    align-items: flex-end;
    align-self: flex-start;
    gap: 12px 16px;
    width: auto;
    max-width: 100%;
    min-width: 290px;
    padding: 14px 18px;
    border: 1px solid rgba(214, 226, 239, .92);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, .06);
}

.single-product .aps-single-summary__price-current {
    font-size: clamp(30px, 2.5vw, 40px);
    line-height: .98;
    letter-spacing: -.05em;
}

.single-product .aps-single-summary__old-price,
.single-product .aps-single-summary__old-price .woocommerce-Price-amount,
.single-product .aps-single-summary__old-price .woocommerce-Price-currencySymbol {
    color: #ad948d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.single-product .aps-single-summary__description {
    max-width: 58ch;
}

@media (max-width: 1200px) {
    .single-product .aps-single-product__title {
        max-width: none;
    }
}

@media (max-width: 1024px) {
    .single-product .aps-single-summary__price-row {
        display: flex;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product.aps-product-card .aps-product-card__title {
        min-height: 3.8em;
    }

    .woocommerce ul.products li.product.aps-product-card .aps-product-card__price {
        min-height: 74px;
    }

    .single-product .aps-single-product__title {
        font-size: 26px;
    }
}

@media (max-width: 560px) {
    .single-product .aps-single-product__header {
        margin-bottom: 0;
    }

    .single-product .aps-single-product__title {
        font-size: 24px;
    }
}

/* =====================================================================
   HOME CTA + CALLBACK POPUP FIX
   ===================================================================== */
.home__form-right-form {
    gap: 10px;
    padding: 16px 18px;
}

.home__form-right-form .input__wrapper {
    margin: 0;
}

.home__form-right-form .input__text {
    min-height: 48px;
}

.home__form-right-form textarea.input__text {
    min-height: 94px;
}

.home__form-right-form .aps-form-result {
    min-height: 0;
    margin: 0;
}

.home__form-right-form button[type="submit"] {
    margin: 0;
}

.aps-popup__dialog-callback {
    max-width: 520px;
}

.aps-callback-form {
    display: grid;
    gap: 12px;
}

.aps-callback-form .input__wrapper {
    margin: 0;
}

.aps-callback-form .input__text {
    min-height: 50px;
}

@media (max-width: 768px) {
    .home__form-right-form {
        gap: 9px;
        padding: 14px;
    }

    .home__form-right-form textarea.input__text {
        min-height: 88px;
    }
}

/* =====================================================================
   SINGLE PRODUCT TOP REBUILD — FINAL PASS
   ===================================================================== */
.single-product .content-area {
    padding-top: 18px;
}

.single-product .content-area .container {
    max-width: 1380px;
}

.single-product .aps-single-product__breadcrumbs {
    margin: 0 0 16px;
    color: #978078;
    font-size: 13px;
    font-weight: 600;
}

.single-product .woocommerce-notices-wrapper {
    margin: 0 0 18px;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    margin: 0;
    border-radius: 22px;
    border: 1px solid rgba(60, 184, 120, .18);
    background: linear-gradient(180deg, rgba(247, 252, 249, .98) 0%, rgba(239, 248, 243, .98) 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .05);
    color: #3a1a1d;
    list-style: none;
}

.single-product .woocommerce-info {
    border-color: rgba(192, 57, 43, .18);
    background: linear-gradient(180deg, rgba(247, 251, 255, .98) 0%, rgba(238, 245, 252, .98) 100%);
}

.single-product .woocommerce-error {
    border-color: rgba(214, 74, 74, .18);
    background: linear-gradient(180deg, rgba(255, 249, 249, .98) 0%, rgba(255, 242, 242, .98) 100%);
}

.single-product .woocommerce-message::before,
.single-product .woocommerce-info::before,
.single-product .woocommerce-error::before {
    content: '';
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #3cb878;
    box-shadow: 0 0 0 6px rgba(60, 184, 120, .14);
}

.single-product .woocommerce-info::before {
    background: var(--cb-primary);
    box-shadow: 0 0 0 6px rgba(192, 57, 43, .12);
}

.single-product .woocommerce-error::before {
    background: #d84a4a;
    box-shadow: 0 0 0 6px rgba(216, 74, 74, .12);
}

.single-product .woocommerce-message .button.wc-forward,
.single-product .woocommerce-info .button.wc-forward,
.single-product .woocommerce-error .button.wc-forward {
    order: 2;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-left: auto !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #a52e25 !important;
    border: 1px solid rgba(192, 57, 43, .16) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .05);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.single-product .aps-woocommerce-notice__text {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.single-product .woocommerce-message > li,
.single-product .woocommerce-info > li,
.single-product .woocommerce-error > li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 16px;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.single-product .woocommerce-message > li::marker,
.single-product .woocommerce-info > li::marker,
.single-product .woocommerce-error > li::marker {
    content: '';
}

.single-product .woocommerce-message > li .button.wc-forward,
.single-product .woocommerce-info > li .button.wc-forward,
.single-product .woocommerce-error > li .button.wc-forward {
    grid-column: 2;
    justify-self: end;
    margin-left: 0 !important;
}

.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
    gap: 30px 34px;
    align-items: start;
    padding: 26px;
    border: 1px solid rgba(217, 227, 238, .96);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(246, 250, 254, .98) 100%);
    box-shadow: 0 20px 48px rgba(15, 23, 42, .07);
}

.single-product .aps-single-product__header {
    grid-column: 1 / -1;
    margin: 0;
    padding-bottom: 2px;
}

.single-product .aps-single-product__title {
    margin: 0;
    color: #301418;
    font-size: clamp(30px, 2.4vw, 38px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
    max-width: 18ch;
}

.single-product div.product .woocommerce-product-gallery {
    position: sticky;
    top: 116px;
}

.single-product div.product .woocommerce-product-gallery__wrapper {
    border: 1px solid rgba(219, 228, 238, .94);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 254, .98) 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
    border-radius: 28px;
}

.single-product div.product .woocommerce-product-gallery__image a {
    min-height: 500px;
    padding: 28px;
}

.single-product div.product .woocommerce-product-gallery__image img {
    max-height: 440px;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    gap: 10px;
    margin-top: 14px !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(220, 229, 239, .96);
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.single-product .summary.entry-summary {
    display: block;
    padding-top: 2px;
}

.single-product .aps-single-summary {
    display: grid;
    gap: 18px;
    width: 100%;
    max-width: none;
}

.single-product .aps-single-summary__main {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(219, 228, 239, .96);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, rgba(249, 251, 254, .99) 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .05);
}

.single-product .aps-single-summary__status-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.single-product .aps-single-summary__status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef8f2;
    color: #1f8a4b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
}

.single-product .aps-single-summary__status.is-backorder {
    background: #fff7e7;
    color: #aa6b00;
}

.single-product .aps-single-summary__status.is-outofstock {
    background: #fff0f0;
    color: #c53d3d;
}

.single-product .aps-single-summary__price-card {
    display: grid;
    gap: 12px;
    padding: 20px 22px;
    border: 1px solid rgba(220, 229, 239, .96);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(249, 251, 254, .98) 0%, rgba(243, 248, 252, .98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .94), 0 12px 24px rgba(15, 23, 42, .04);
}

.single-product .aps-single-summary__price-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.single-product .aps-single-summary__price-label {
    color: #8b726a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1;
}

.single-product .aps-single-summary__price-compare {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9b847c;
    line-height: 1.2;
}

.single-product .aps-single-summary__price-compare-label {
    color: #a78f88;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.single-product .aps-single-summary__price-current {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #301418;
    font-size: clamp(38px, 3.4vw, 50px);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.055em;
}

.single-product .aps-single-summary__price-current ins {
    background: none;
    color: inherit;
    text-decoration: none;
}

.single-product .aps-single-summary__price-current del {
    display: none;
}

.single-product .aps-single-summary__price-current .woocommerce-Price-currencySymbol {
    font-size: .62em;
    font-weight: 700;
    color: #7a655f;
}

.single-product .aps-single-summary__old-price {
    color: #a99089;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: line-through;
}

.single-product .aps-single-summary__price-note {
    margin: 0;
    color: #7a655f;
    font-size: 13px;
    line-height: 1.65;
}

.single-product .aps-single-summary__description {
    color: #6a5651;
    font-size: 15px;
    line-height: 1.72;
}

.single-product .aps-single-summary__description p {
    margin: 0;
}

.single-product .aps-single-summary__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 12px;
    align-items: stretch;
}

.single-product .aps-single-summary__buy,
.single-product .aps-single-summary__buy form.cart {
    height: 100%;
}

.single-product .aps-single-summary__buy form.cart {
    display: block;
    margin: 0;
}

.single-product .aps-single-summary__buy .quantity,
.single-product .aps-single-summary__buy .reset_variations,
.single-product .summary.entry-summary form.cart .quantity,
.single-product .summary.entry-summary .quantity {
    display: none !important;
}

.single-product .aps-single-summary__buy .single_add_to_cart_button,
.single-product .aps-single-summary__call {
    width: 100%;
    min-height: 56px;
    margin: 0 !important;
    padding: 0 20px !important;
    border-radius: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center;
}

.single-product .aps-single-summary__buy .single_add_to_cart_button {
    border: 1px solid transparent !important;
    background: linear-gradient(135deg, #b33528 0%, #d64035 100%) !important;
    color: #fff !important;
    box-shadow: 0 14px 26px rgba(192, 57, 43, .18);
}

.single-product .aps-single-summary__call {
    border: 1px solid rgba(192, 57, 43, .16);
    background: linear-gradient(180deg, #ffffff 0%, #fef6f5 100%);
    color: #a12d24;
    box-shadow: 0 12px 22px rgba(15, 23, 42, .05);
}

.single-product .aps-single-summary__assist {
    display: grid;
    gap: 4px;
    padding: 15px 16px;
    border: 1px solid rgba(222, 232, 242, .96);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffbfb 0%, #fef5f4 100%);
}

.single-product .aps-single-summary__assist strong {
    color: #39191d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.single-product .aps-single-summary__assist span {
    color: #7d6861;
    font-size: 13px;
    line-height: 1.6;
}

.single-product .aps-single-summary__details {
    overflow: hidden;
    border: 1px solid rgba(220, 229, 239, .96);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, rgba(249, 251, 254, .99) 100%);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .05);
}

.single-product .aps-single-summary__detail {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(236, 242, 248, .98);
}

.single-product .aps-single-summary__detail:last-child {
    border-bottom: 0;
}

.single-product .aps-single-summary__detail-label {
    color: #967f77;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.single-product .aps-single-summary__detail-value {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    gap: 8px;
    color: #3a1a1d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.single-product .aps-single-summary__detail-value a {
    color: #c0392b;
    font-weight: 700;
    text-decoration: none;
}

.single-product .aps-single-summary__detail-value a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.single-product .aps-single-summary__detail-sep {
    color: #ba9f97;
    font-size: 12px;
    font-weight: 700;
}

.single-product .aps-single-summary__detail-code {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    background: #faf7f6;
    color: #6e5b56;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .single-product div.product {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .single-product div.product .woocommerce-product-gallery {
        position: relative;
        top: 0;
    }
}

@media (max-width: 1024px) {
    .single-product div.product {
        padding: 22px;
    }

    .single-product .aps-single-product__title {
        font-size: 32px;
        max-width: none;
    }

    .single-product .aps-single-summary__price-current {
        font-size: 42px;
    }
}

@media (max-width: 700px) {
    .single-product div.product {
        padding: 18px;
        border-radius: 24px;
    }

    .single-product div.product .woocommerce-product-gallery__image a {
        min-height: 380px;
        padding: 18px;
    }

    .single-product .aps-single-summary__main,
    .single-product .aps-single-summary__details {
        border-radius: 22px;
    }

    .single-product .aps-single-summary__actions {
        grid-template-columns: 1fr;
    }

    .single-product .aps-single-summary__detail {
        grid-template-columns: minmax(104px, 40%) minmax(0, 1fr);
        gap: 8px;
        padding: 12px 14px;
    }

    .single-product .aps-product-details__column--specs .aps-single-summary__detail {
        grid-template-columns: minmax(104px, 40%) minmax(0, 1fr);
        gap: 8px;
        padding: 12px 14px;
    }

    .single-product .aps-single-summary__detail-label {
        font-size: 11px;
        line-height: 1.45;
    }

    .single-product .aps-single-summary__detail-value {
        gap: 6px;
        font-size: 13px;
        line-height: 1.5;
    }

    .single-product .aps-single-summary__detail-code {
        padding: 0 8px;
        font-size: 11px;
    }

    .single-product .woocommerce-message,
    .single-product .woocommerce-info,
    .single-product .woocommerce-error {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 14px 16px;
        border-radius: 18px;
    }

    .single-product .woocommerce-message::before,
    .single-product .woocommerce-info::before,
    .single-product .woocommerce-error::before {
        display: none;
    }

    .single-product .woocommerce-message .button.wc-forward,
    .single-product .woocommerce-info .button.wc-forward,
    .single-product .woocommerce-error .button.wc-forward {
        order: 2;
        width: auto;
        margin-left: 0 !important;
        min-height: 38px;
        padding: 0 14px !important;
        justify-self: start;
        border-radius: 12px !important;
        box-shadow: none;
        align-self: start;
    }

    .single-product .aps-woocommerce-notice__text {
        font-size: 15px;
        line-height: 1.5;
    }

    .single-product .woocommerce-message > li,
    .single-product .woocommerce-info > li,
    .single-product .woocommerce-error > li {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        align-items: start;
    }

    .single-product .woocommerce-message > li .button.wc-forward,
    .single-product .woocommerce-info > li .button.wc-forward,
    .single-product .woocommerce-error > li .button.wc-forward {
        grid-column: 1;
        justify-self: start;
    }
}

@media (max-width: 480px) {
    .single-product .aps-single-product__title {
        font-size: 26px;
    }

    .single-product .aps-single-summary__detail,
    .single-product .aps-product-details__column--specs .aps-single-summary__detail {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 8px;
        padding: 11px 12px;
    }

    .single-product .aps-single-summary__detail-value {
        font-size: 12px;
        line-height: 1.45;
    }

    .single-product .woocommerce-message,
    .single-product .woocommerce-info,
    .single-product .woocommerce-error {
        padding: 12px 14px;
    }

    .single-product .woocommerce-message .button.wc-forward,
    .single-product .woocommerce-info .button.wc-forward,
    .single-product .woocommerce-error .button.wc-forward {
        font-size: 13px !important;
    }

    .single-product div.product .woocommerce-product-gallery__image a {
        min-height: 300px;
        padding: 16px;
    }

    .single-product .aps-single-summary__main {
        padding: 18px;
    }

    .single-product .aps-single-summary__price-card {
        padding: 18px;
    }

    .single-product .aps-single-summary__price-current {
        font-size: 34px;
    }

    .single-product .aps-single-summary__price-head {
        gap: 8px;
    }

    .single-product .aps-single-summary__buy .single_add_to_cart_button,
    .single-product .aps-single-summary__call {
        min-height: 52px;
    }
}

/* =====================================================================
   SINGLE PRODUCT VISUAL REBALANCE — ITERATION 6
   ===================================================================== */
.single-product div.product {
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
    grid-template-areas:
        "header header"
        "gallery summary";
    column-gap: 28px;
    row-gap: 18px;
    padding: 26px;
}

.single-product .aps-single-product__header {
    grid-area: header;
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
    margin: 0;
    padding: 0;
}

.single-product .aps-single-product__title {
    max-width: none;
    font-size: clamp(24px, 2.05vw, 34px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.028em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-product div.product .woocommerce-product-gallery {
    grid-area: gallery;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    position: relative;
    top: 0;
}

.single-product .summary.entry-summary {
    grid-area: summary;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    padding-top: 0;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery .flex-viewport {
    border-radius: 26px;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
    background:
        radial-gradient(circle at top right, rgba(192, 57, 43, .06), transparent 34%),
        linear-gradient(180deg, #fffbfb 0%, #f9f3f2 100%);
}

.single-product div.product .woocommerce-product-gallery__image a {
    display: grid;
    place-items: center;
    min-height: 436px;
    padding: 20px 20px 18px;
}

.single-product div.product .woocommerce-product-gallery__image img {
    width: auto;
    max-width: 100%;
    max-height: 396px;
    margin: 0 auto;
}

.single-product .aps-single-summary {
    gap: 16px;
}

.single-product .aps-single-summary__main {
    gap: 16px;
    padding: 22px;
}

.single-product .aps-single-summary__price-card {
    gap: 8px;
    padding: 16px 18px;
    border-radius: 22px;
}

.single-product .aps-single-summary__price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.single-product .aps-single-summary__price-prefix {
    color: #78645f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.single-product .aps-single-summary__price-current {
    margin-top: 0;
    font-size: clamp(34px, 3vw, 44px);
    line-height: .94;
}

.single-product .aps-single-summary__price-compare {
    gap: 6px;
}

.single-product .aps-single-summary__price-compare-label {
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.single-product .aps-single-summary__description {
    color: #75605b;
    font-size: 14px;
    line-height: 1.65;
}

.single-product .aps-single-summary__actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.single-product .aps-single-summary__call {
    min-width: 192px;
    height: 56px;
    min-height: 56px;
    align-self: start;
    padding-inline: 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none;
}

.single-product .aps-single-summary__buy .single_add_to_cart_button {
    border: 1px solid rgba(12, 69, 116, .14) !important;
    background: linear-gradient(180deg, #c0392b 0%, #b33528 100%) !important;
    box-shadow:
        0 16px 28px rgba(192, 57, 43, .22),
        0 6px 14px rgba(15, 23, 42, .08),
        inset 0 1px 0 rgba(255, 255, 255, .24);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.single-product .aps-single-summary__buy .single_add_to_cart_button:hover {
    transform: translateY(-1px);
    filter: brightness(1.01);
    box-shadow:
        0 18px 30px rgba(192, 57, 43, .26),
        0 8px 18px rgba(15, 23, 42, .10),
        inset 0 1px 0 rgba(255, 255, 255, .28);
}

.single-product .aps-single-summary__buy .single_add_to_cart_button:active {
    transform: translateY(0);
    box-shadow:
        0 12px 20px rgba(192, 57, 43, .22),
        0 4px 10px rgba(15, 23, 42, .08),
        inset 0 1px 0 rgba(255, 255, 255, .22);
}

.single-product .aps-single-summary__assist {
    padding: 14px 15px;
}

.single-product .aps-single-summary__details {
    border-radius: 22px;
}

.single-product .aps-single-summary__detail {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 16px;
}

.single-product .aps-single-summary__detail-label {
    font-size: 11px;
}

.single-product .aps-single-summary__detail-value {
    font-size: 13.5px;
}

.single-product .aps-single-product__section {
    padding: 22px 24px;
}

.single-product .aps-single-product__section--details {
    padding: 24px;
}

.single-product .aps-product-details {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(320px, .86fr);
    gap: 24px;
    align-items: start;
}

.single-product .aps-product-details__column {
    min-width: 0;
}

.single-product .aps-product-details__title {
    margin: 0 0 16px;
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.single-product .aps-product-details__content {
    color: #6a5651;
    font-size: 15px;
    line-height: 1.8;
}

.single-product .aps-product-details__content > :first-child {
    margin-top: 0;
}

.single-product .aps-product-details__content > :last-child {
    margin-bottom: 0;
}

.single-product .aps-product-details__content p + p {
    margin-top: 14px;
}

.single-product .aps-product-details__content ul,
.single-product .aps-product-details__content ol {
    margin: 14px 0 0;
    padding-left: 20px;
}

.single-product .aps-product-details__content li + li {
    margin-top: 8px;
}

.single-product .aps-product-details__column--specs .aps-single-summary__details {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(246, 250, 254, .98) 100%);
}

.single-product .aps-product-details__column--specs .aps-single-summary__detail {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px;
    min-height: 0;
}

.single-product .aps-single-product__section--tabs .woocommerce-tabs {
    max-width: 920px;
    margin: 0 auto;
}

.single-product .aps-single-product__section--tabs .woocommerce-tabs .panel {
    max-width: 740px;
}

.single-product .aps-single-product__section--tabs .woocommerce-tabs .panel p,
.single-product .aps-single-product__section--tabs .woocommerce-tabs .panel li {
    line-height: 1.75;
}

.single-product .aps-single-product__section--related .related.products ul.products,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
    gap: 18px !important;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product,
.single-product .aps-single-product__section--related .related.products ul.products li.product.aps-product-card,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product.aps-product-card {
    border-radius: 22px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__thumb,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__thumb {
    padding: 12px 12px 0;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__media,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__media {
    aspect-ratio: 1 / .68;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__body,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__body {
    gap: 10px;
    padding: 14px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__badges,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__badges {
    min-height: 24px;
    margin-bottom: 6px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.3em;
    font-size: 16px;
    line-height: 1.32;
    -webkit-line-clamp: 2;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price {
    min-height: 76px;
    margin-top: 0;
    padding: 10px 12px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-head,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-head {
    min-height: 22px;
    margin-bottom: 4px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-current,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-current {
    font-size: 24px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__meta,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__meta {
    min-height: 0;
    margin-top: 8px;
    padding-top: 8px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__actions,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__actions {
    padding-top: 10px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .button,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .button {
    height: 46px;
    min-height: 46px !important;
    border-radius: 14px !important;
}

@media (max-width: 1140px) {
    .single-product div.product {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .88fr);
        column-gap: 24px;
    }

    .single-product .aps-single-product__title {
        font-size: clamp(22px, 2.35vw, 30px);
    }

    .single-product .aps-product-details {
        grid-template-columns: minmax(0, 1.04fr) minmax(280px, .96fr);
        gap: 20px;
    }
}

@media (max-width: 980px) {
    .single-product div.product {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "header"
            "gallery"
            "summary";
        row-gap: 20px;
    }

    .single-product .aps-single-product__header {
        grid-column: auto;
        grid-row: auto;
        align-self: start;
        padding-top: 0;
    }

    .single-product .aps-single-product__title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .single-product div.product .woocommerce-product-gallery {
        grid-column: auto;
        grid-row: auto;
        position: relative;
        top: 0;
    }

    .single-product .summary.entry-summary {
        grid-column: auto;
        grid-row: auto;
    }

    .single-product .aps-product-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .single-product .aps-single-summary__actions {
        grid-template-columns: 1fr;
    }

    .single-product .aps-single-summary__call {
        min-width: 0;
    }
}

@media (max-width: 700px) {
    .single-product div.product .woocommerce-product-gallery__image a {
        min-height: 340px;
        padding: 18px;
    }

    .single-product div.product .woocommerce-product-gallery__image img {
        max-height: 304px;
    }

    .single-product .aps-single-product__section--tabs .woocommerce-tabs,
    .single-product .aps-single-product__section--tabs .woocommerce-tabs .panel {
        max-width: none;
    }
}

/* =====================================================================
   SINGLE PRODUCT PRICE / RELATED CARD POLISH — ITERATION 7
   ===================================================================== */
.single-product div.product {
    align-items: stretch;
}

.single-product div.product .woocommerce-product-gallery,
.single-product .summary.entry-summary {
    align-self: stretch;
    height: 100%;
}

.single-product div.product .woocommerce-product-gallery {
    display: flex;
    flex-direction: column;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery .flex-viewport {
    flex: 1 1 auto;
}

.single-product div.product .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery__image a {
    height: 100%;
}

.single-product div.product .woocommerce-product-gallery__image a {
    min-height: 474px;
}

.single-product .summary.entry-summary {
    display: flex;
}

.single-product .aps-single-summary {
    width: 100%;
}

/* =====================================================================
   WOOCOMMERCE CART BLOCKS
   ===================================================================== */
.woocommerce-cart .wp-block-woocommerce-cart.alignwide {
    margin-top: 18px;
}

.woocommerce-cart .wp-block-woocommerce-empty-cart-block.aps-empty-cart {
    width: 100%;
    padding: 8px 0 12px;
}

.woocommerce-cart .aps-empty-cart .wc-block-cart__empty-cart__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 42px 40px 0;
    color: var(--cb-dark);
    font-size: clamp(30px, 3.1vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    text-align: center;
}

.woocommerce-cart .aps-empty-cart .wc-block-cart__empty-cart__title::before {
    content: "";
    width: 88px;
    height: 88px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 58%),
        linear-gradient(180deg, rgba(214, 62, 48, .18), rgba(192, 57, 43, .1));
    box-shadow: inset 0 0 0 1px rgba(192, 57, 43, .14), 0 20px 44px rgba(192, 57, 43, .12);
}

.woocommerce-cart .aps-empty-cart .aps-empty-cart__lead {
    max-width: 620px;
    margin: 18px auto 0;
    padding: 0 24px;
    color: #6e5a55;
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

.woocommerce-cart .aps-empty-cart .aps-empty-cart__actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding: 0 24px;
}

.woocommerce-cart .aps-empty-cart .aps-empty-cart__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid rgba(164, 32, 24, .92);
    border-radius: 16px;
    background: linear-gradient(180deg, #d24a3c 0%, #b92f21 100%);
    box-shadow: 0 14px 28px rgba(192, 57, 43, .18);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
    transition: transform var(--cb-transition), box-shadow var(--cb-transition), filter var(--cb-transition);
}

.woocommerce-cart .aps-empty-cart .aps-empty-cart__button:hover {
    color: #fff;
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(192, 57, 43, .22);
}

.woocommerce-cart .aps-empty-cart .aps-empty-cart__button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, .16), 0 16px 32px rgba(192, 57, 43, .22);
}

.woocommerce-cart .aps-empty-cart .wp-block-separator {
    width: min(100%, 1160px);
    margin: 38px auto 34px;
    border-color: rgba(192, 57, 43, .12);
}

.woocommerce-cart .aps-empty-cart .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
    margin: 0 auto 24px;
    color: #2d1b18;
    font-size: clamp(24px, 2.1vw, 32px);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.woocommerce-cart .aps-empty-cart .wp-block-product-new,
.woocommerce-cart .aps-empty-cart .wc-block-grid {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(237, 232, 230, .96);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 251, 251, .94));
    box-shadow: 0 16px 36px rgba(15, 23, 42, .07);
    overflow: hidden;
    transition: transform var(--cb-transition), box-shadow var(--cb-transition), border-color var(--cb-transition);
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product:hover {
    transform: translateY(-3px);
    border-color: rgba(192, 57, 43, .22);
    box-shadow: 0 20px 40px rgba(15, 23, 42, .1);
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    max-width: none;
    color: inherit;
    text-decoration: none;
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    padding: 18px;
    background: linear-gradient(180deg, rgba(247, 243, 242, .96), rgba(255, 255, 255, .88));
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product-title {
    display: -webkit-box;
    min-height: 3.8em;
    width: 100%;
    margin: 0;
    padding: 18px 18px 0;
    overflow: hidden;
    color: #2d1b18;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product-price {
    margin: 0;
    width: 100%;
    padding: 14px 18px 0;
    color: var(--cb-primary);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product-add-to-cart {
    margin-top: auto;
    width: 100%;
    padding: 18px;
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product-add-to-cart .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    background: rgba(192, 57, 43, .08);
    color: var(--cb-primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background var(--cb-transition), color var(--cb-transition), transform var(--cb-transition);
}

.woocommerce-cart .aps-empty-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background: var(--cb-primary);
    color: #fff;
    transform: translateY(-1px);
}

.woocommerce-cart .wc-block-components-sidebar-layout {
    gap: 28px;
}

@media (min-width: 901px) {
    .woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
        display: block !important;
    }

    .woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart::after {
        content: "";
        display: block;
        clear: both;
    }

    .woocommerce-cart .wc-block-components-main,
    .woocommerce-cart .wc-block-cart__sidebar {
        min-width: 0;
    }

    .woocommerce-cart .wc-block-components-main {
        float: left;
        width: calc(100% - 280px - 28px) !important;
        max-width: calc(100% - 280px - 28px);
    }

    .woocommerce-cart .wc-block-cart__sidebar {
        float: right;
        width: 280px !important;
        max-width: 280px;
        margin-top: 0 !important;
    }

    .woocommerce-cart .wc-block-cart-items {
        width: 100%;
    }
}

.woocommerce-cart .wc-block-cart-items,
.woocommerce-cart .wc-block-cart__sidebar {
    border-radius: 24px;
}

.woocommerce-cart .wc-block-cart-items {
    overflow: hidden;
}

.woocommerce-cart .wc-block-cart-item__wrap {
    gap: 10px;
}

.woocommerce-cart .wc-block-cart-item__quantity {
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block {
    border-top: 0 !important;
    padding-top: 0 !important;
}

.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-wrapper {
    border-top: 0 !important;
}

.woocommerce-cart .wc-block-components-quantity-selector {
    display: inline-grid;
    grid-template-columns: 28px 34px 28px !important;
    align-items: center;
    width: auto;
    min-width: 0;
    min-height: 34px !important;
    border: 1px solid rgba(192, 57, 43, .18);
    border-radius: 11px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96);
    overflow: hidden;
}

.woocommerce-cart .wc-block-components-quantity-selector::after {
    display: none;
}

.woocommerce-cart .wc-block-components-quantity-selector__button {
    width: 28px !important;
    min-width: 28px !important;
    height: 32px !important;
    padding: 0;
    border: 0;
    background: rgba(192, 57, 43, .06);
    color: var(--cb-primary);
    font-size: 15px;
    line-height: 1;
    transition: background var(--cb-transition), color var(--cb-transition);
}

.woocommerce-cart .wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background: rgba(192, 57, 43, .14);
}

.woocommerce-cart .wc-block-components-quantity-selector__button:disabled {
    opacity: .45;
}

.woocommerce-cart .wc-block-components-quantity-selector__input {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0;
    padding: 0 !important;
    border: 0;
    background: #fff;
    color: var(--cb-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 32px !important;
    text-align: center !important;
    box-shadow: none;
}

.woocommerce-cart .wc-block-components-quantity-selector__input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(192, 57, 43, .22);
}

.woocommerce-cart .wc-block-components-totals-shipping {
    display: none !important;
}

.woocommerce-cart .wc-block-components-totals-footer-item-shipping,
.woocommerce-cart .wc-block-components-totals-item__description:has(.wc-block-components-totals-footer-item-shipping) {
    display: none !important;
}

/* Hide cart coupon form and heading — must stay in DOM for React hydration, hidden via CSS */
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block,
.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block {
    display: none !important;
}

.woocommerce-cart .wc-block-cart__submit {
    margin-top: 20px;
}

.woocommerce-cart .wc-block-cart__submit-container {
    border: 0;
    padding: 0;
}

.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button,
.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button.contained,
.woocommerce-cart .wc-block-cart__submit-button.wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 100%;
    max-width: none;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(164, 32, 24, .92);
    border-radius: 16px;
    background: linear-gradient(180deg, #d24a3c 0%, #b92f21 100%);
    box-shadow: 0 12px 26px rgba(192, 57, 43, .18);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
    transition: transform var(--cb-transition), box-shadow var(--cb-transition), filter var(--cb-transition);
}

.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button.contained:hover,
.woocommerce-cart .wc-block-cart__submit-button.wp-element-button:hover {
    color: #fff;
    filter: brightness(1.03);
    box-shadow: 0 14px 28px rgba(192, 57, 43, .22);
    transform: translateY(-1px);
}

.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button:focus-visible,
.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button.contained:focus-visible,
.woocommerce-cart .wc-block-cart__submit-button.wp-element-button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, .16), 0 12px 26px rgba(192, 57, 43, .18);
}

@media (max-width: 900px) {
    .woocommerce-cart .aps-empty-cart .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .woocommerce-cart .wc-block-components-sidebar-layout {
        display: block !important;
        gap: 18px;
    }

    .woocommerce-cart .wc-block-components-main,
    .woocommerce-cart .wc-block-cart__sidebar {
        float: none;
        width: 100% !important;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .woocommerce-cart .wp-block-woocommerce-cart.alignwide {
        margin-top: 10px;
    }

    .woocommerce-cart .aps-empty-cart .wc-block-cart__empty-cart__title {
        gap: 16px;
        padding: 28px 18px 0;
        font-size: 28px;
    }

    .woocommerce-cart .aps-empty-cart .wc-block-cart__empty-cart__title::before {
        width: 72px;
        height: 72px;
        border-radius: 22px;
    }

    .woocommerce-cart .aps-empty-cart .aps-empty-cart__lead {
        margin-top: 16px;
        padding: 0 16px;
        font-size: 15px;
    }

    .woocommerce-cart .aps-empty-cart .aps-empty-cart__actions {
        margin-top: 20px;
        padding: 0 16px;
    }

    .woocommerce-cart .aps-empty-cart .aps-empty-cart__button {
        width: 100%;
        min-height: 50px;
        padding: 0 20px;
        border-radius: 14px;
        font-size: 13px;
    }

    .woocommerce-cart .aps-empty-cart .wp-block-separator {
        margin: 28px auto 24px;
    }

    .woocommerce-cart .aps-empty-cart .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
        margin-bottom: 18px;
        padding: 0 10px;
        font-size: 24px;
    }

    .woocommerce-cart .aps-empty-cart .wc-block-grid__products {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .woocommerce-cart .aps-empty-cart .wc-block-grid__product {
        border-radius: 20px;
    }

    .woocommerce-cart .aps-empty-cart .wc-block-grid__product-image {
        padding: 14px;
    }

    .woocommerce-cart .aps-empty-cart .wc-block-grid__product-title {
        min-height: 0;
        padding: 16px 16px 0;
        font-size: 15px;
    }

    .woocommerce-cart .aps-empty-cart .wc-block-grid__product-price {
        padding: 12px 16px 0;
        font-size: 20px;
    }

    .woocommerce-cart .aps-empty-cart .wc-block-grid__product-add-to-cart {
        padding: 16px;
    }

    .woocommerce-cart .wc-block-cart-items,
    .woocommerce-cart .wc-block-cart__sidebar {
        border-radius: 18px;
    }

    .woocommerce-cart .wc-block-components-quantity-selector {
        grid-template-columns: 28px 36px 28px;
        min-height: 34px;
        border-radius: 12px;
    }

    .woocommerce-cart .wc-block-components-quantity-selector__button {
        width: 28px;
        min-width: 28px;
        height: 32px;
        font-size: 15px;
    }

    .woocommerce-cart .wc-block-components-quantity-selector__input {
        width: 36px;
        min-width: 36px;
        max-width: 36px;
        height: 32px;
        font-size: 13px;
        line-height: 32px;
    }

    .woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button,
    .woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button.contained,
    .woocommerce-cart .wc-block-cart__submit-button.wp-element-button {
        min-height: 48px;
        border-radius: 16px;
        font-size: 14px;
        padding: 0 18px;
    }
}

/* =====================================================================
   WOOCOMMERCE CHECKOUT BLOCKS
   ===================================================================== */
.woocommerce-checkout .wp-block-woocommerce-checkout {
    margin-top: 18px;
}

.woocommerce-checkout .wc-block-components-sidebar {
    color: #493a38;
}

.woocommerce-checkout .wc-block-components-checkout-order-summary__title,
.woocommerce-checkout .wc-block-components-order-summary__button-text {
    color: #493a38;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.woocommerce-checkout .wc-block-components-order-summary-item {
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image {
    flex: 0 0 48px;
    width: 48px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    border-radius: 8px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 0;
}

.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    display: none !important;
}

.woocommerce-checkout .wc-block-components-product-name,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    color: #4f3d3b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.28;
}

.woocommerce-checkout .wc-block-components-product-metadata,
.woocommerce-checkout .wc-block-components-product-metadata__description,
.woocommerce-checkout .wc-block-components-product-metadata p {
    color: #6f5d59;
    font-size: 11.5px;
    line-height: 1.35;
}

.woocommerce-checkout .wc-block-components-product-metadata {
    margin-top: 5px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices .wc-block-formatted-money-amount,
.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices .woocommerce-Price-amount {
    color: #2c1e1b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices {
    order: 2;
    margin-top: 8px;
}

.woocommerce-checkout .wc-block-components-totals-item,
.woocommerce-checkout .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-totals-item__value,
.woocommerce-checkout .wc-block-components-totals-footer-item,
.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 13px;
    line-height: 1.35;
}

.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: #2c1e1b;
    font-weight: 800;
}

.woocommerce-checkout [data-aps-hidden-summary-row="true"],
.woocommerce-checkout [data-aps-hidden-field="true"] {
    display: none !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.woocommerce-checkout .wc-block-components-totals-coupon,
.woocommerce-checkout .wc-block-components-panel:has(.wc-block-components-totals-coupon),
.woocommerce-checkout .wc-block-components-totals-wrapper:has(.wc-block-components-totals-coupon) {
    display: none !important;
}

.woocommerce-checkout .wc-block-components-totals-wrapper {
    padding-top: 14px;
    padding-bottom: 14px;
}

.woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 26px;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading-container {
    margin-bottom: 16px;
}

.woocommerce-checkout .wc-block-components-checkout-step__description {
    margin-top: 4px;
    max-width: 44ch;
}

.woocommerce-checkout .wc-block-components-checkout-step__content {
    gap: 14px;
}

.woocommerce-checkout .wc-block-components-address-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px !important;
    row-gap: 20px !important;
    align-items: start;
    grid-auto-flow: row dense;
}

.woocommerce-checkout .wc-block-components-address-form > *,
.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-combobox,
.woocommerce-checkout .wc-block-components-country-input,
.woocommerce-checkout .wc-block-components-state-input,
.woocommerce-checkout .wc-block-components-phone-input,
.woocommerce-checkout .wc-block-checkout__guest-checkout-notice {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input,
.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input {
    align-self: stretch;
}

.woocommerce-checkout .wc-block-components-address-form .wc-blocks-components-select,
.woocommerce-checkout .wc-block-components-address-form .wc-blocks-components-select__container {
    width: 100%;
    min-height: 56px;
}

.woocommerce-checkout .wc-block-components-address-form__email,
.woocommerce-checkout .wc-block-checkout__guest-checkout-notice,
.woocommerce-checkout .wc-block-components-address-form__country,
.woocommerce-checkout .wc-block-components-address-form__address_1,
.woocommerce-checkout .wc-block-components-address-form__auto-parts-store-branch-number {
    grid-column: 1 / -1;
}

.woocommerce-checkout .wc-block-components-address-form__first_name,
.woocommerce-checkout .wc-block-components-address-form__last_name,
.woocommerce-checkout .wc-block-components-address-form__city,
.woocommerce-checkout .wc-block-components-address-form__state,
.woocommerce-checkout .wc-block-components-address-form__phone {
    grid-column: auto;
}

.woocommerce-checkout .wc-block-components-address-form__address_2-toggle,
.woocommerce-checkout .wc-block-components-address-form__address_2-hidden-input {
    display: none !important;
}

.woocommerce-checkout [data-aps-branch-field="true"] {
    grid-column: 1 / -1;
    order: 8;
    margin-bottom: 8px;
}

.woocommerce-checkout .wc-block-components-address-form__city {
    order: 6;
}

.woocommerce-checkout .wc-block-components-address-form__state {
    order: 7;
}

.woocommerce-checkout .wc-block-components-address-form__phone {
    order: 9;
    margin-top: 8px;
}

@media (max-width: 781px) {
    .woocommerce-checkout .wc-block-components-address-form {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        row-gap: 14px;
    }

    .woocommerce-checkout .wc-block-components-address-form__first_name,
    .woocommerce-checkout .wc-block-components-address-form__last_name,
    .woocommerce-checkout .wc-block-components-address-form__city,
    .woocommerce-checkout .wc-block-components-address-form__state,
    .woocommerce-checkout .wc-block-components-address-form__phone {
        grid-column: 1 / -1;
    }

    .woocommerce-checkout .wc-block-components-address-form__phone {
        margin-top: 0;
    }
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__secondary-label,
.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-checkout__shipping-option--free,
.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-formatted-money-amount,
.woocommerce-checkout .wc-block-checkout__shipping-option .woocommerce-Price-amount {
    display: none !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 16px 24px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #d63e30 0%, #c0392b 100%) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .01em;
    text-align: center;
    box-shadow: 0 16px 30px rgba(192, 57, 43, .24);
    transition: transform var(--cb-transition), box-shadow var(--cb-transition), background var(--cb-transition), filter var(--cb-transition);
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: linear-gradient(180deg, #d94234 0%, #ae3125 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(192, 57, 43, .28);
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:active {
    transform: translateY(0);
    box-shadow: 0 10px 18px rgba(192, 57, 43, .22);
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible {
    outline: 3px solid rgba(192, 57, 43, .26);
    outline-offset: 3px;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button[disabled],
.woocommerce-checkout .wc-block-components-checkout-place-order-button[aria-disabled="true"],
.woocommerce-checkout .wc-block-components-checkout-place-order-button.is-busy {
    background: linear-gradient(180deg, #d7b9b5 0%, #bf9c95 100%) !important;
    color: rgba(255, 255, 255, .95) !important;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

@media (max-width: 780px) {
    .woocommerce-checkout .wc-block-components-checkout-place-order-button {
        min-height: 56px;
        padding: 15px 20px;
        border-radius: 14px;
        font-size: 14px;
    }
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option,
.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control-accordion-option {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option + .wc-block-components-radio-control__option,
.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option {
    margin-top: 0;
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control::after,
.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option::after,
.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control-accordion-option::after {
    content: none !important;
    display: none !important;
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__input {
    flex: 0 0 20px;
    margin: 0;
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option-layout {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    padding-left: 34px;
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__label-group {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: flex-start;
    min-width: 0;
    text-align: left;
    width: 100%;
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__label {
    color: #2c1e1b;
    display: block;
    flex: 0 1 auto;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    text-align: left;
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option {
    background: #fff;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(109, 89, 85, 0.28);
}

.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked,
.woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option.wc-block-components-radio-control__option--checked-option-highlighted {
    box-shadow: inset 0 0 0 1.5px #6d5955;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block,
.woocommerce-checkout .wc-block-components-totals-shipping,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block:empty,
.woocommerce-checkout [data-aps-hidden-summary-block="true"],
.woocommerce-checkout [data-aps-empty-summary-container="true"] {
    display: none !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block:empty,
.woocommerce-checkout [data-aps-hidden-summary-block="true"],
.woocommerce-checkout [data-aps-empty-summary-container="true"] {
    padding-bottom: 0 !important;
    border-top: 0 !important;
}

.woocommerce-checkout .wc-block-checkout__guest-checkout-notice {
    padding-top: 2px;
}

.woocommerce-checkout .wc-block-components-checkout-step__title {
    color: #2c1e1b;
    font-size: 20px;
    line-height: 1.25;
}

.woocommerce-checkout .wc-block-components-checkout-step__description,
.woocommerce-checkout .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-components-radio-control__label,
.woocommerce-checkout .wc-block-components-radio-control__description {
    color: #604f4b;
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 780px) {
    body.woocommerce-checkout {
        overflow-x: hidden;
    }

    .woocommerce-checkout .content-area .container {
        display: block;
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        overflow: hidden;
    }

    .woocommerce-checkout .page-content-wrap {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        padding: 20px 14px;
        border-radius: 20px;
        overflow: hidden;
    }

    .woocommerce-checkout .entry-title {
        font-size: 25px;
        line-height: 1.12;
        white-space: normal;
    }

    .woocommerce-checkout .wc-block-components-sidebar-layout,
    .woocommerce-checkout .wc-block-checkout {
        display: block !important;
        width: calc(100vw - 52px) !important;
        max-width: calc(100vw - 52px) !important;
    }

    .woocommerce-checkout .wc-block-components-main,
    .woocommerce-checkout .wc-block-components-sidebar,
    .woocommerce-checkout .wp-block-woocommerce-checkout,
    .woocommerce-checkout .wc-block-components-checkout-step,
    .woocommerce-checkout .wc-block-components-checkout-step__container,
    .woocommerce-checkout .wc-block-components-checkout-step__content,
    .woocommerce-checkout .wc-block-components-address-form,
    .woocommerce-checkout .wc-block-components-address-card-wrapper {
        width: 100% !important;
        max-width: calc(100vw - 80px) !important;
        min-width: 0 !important;
    }

    .woocommerce-checkout .wc-block-components-sidebar {
        margin-top: 24px;
    }

    .woocommerce-checkout .wc-block-components-order-summary__button {
        width: 100%;
        min-width: 0;
    }

    .woocommerce-checkout .wc-block-components-address-form {
        display: block !important;
    }

    .woocommerce-checkout .wc-block-components-address-form > * + * {
        margin-top: 12px !important;
    }

    .woocommerce-checkout .wc-block-components-address-form > *,
    .woocommerce-checkout .wc-block-components-text-input,
    .woocommerce-checkout .wc-block-components-combobox,
    .woocommerce-checkout .wc-block-components-country-input,
    .woocommerce-checkout .wc-block-components-state-input,
    .woocommerce-checkout .wc-block-components-phone-input {
        display: block;
        width: 100% !important;
        max-width: calc(100vw - 80px) !important;
        min-width: 0 !important;
        grid-column: 1 / -1 !important;
    }

    .woocommerce-checkout .wc-block-components-radio-control__option {
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .woocommerce-checkout .wc-block-components-radio-control__label,
    .woocommerce-checkout .wc-block-components-radio-control__secondary-label,
    .woocommerce-checkout .wc-block-components-notice-banner,
    .woocommerce-checkout .wc-block-components-notice-banner__content {
        max-width: calc(100vw - 100px) !important;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .woocommerce-checkout .wc-block-components-radio-control,
    .woocommerce-checkout .wc-block-components-radio-control__option,
    .woocommerce-checkout .wc-block-components-notice-banner {
        width: calc(100vw - 80px) !important;
        min-width: 0 !important;
    }

    .woocommerce-checkout .wc-block-components-radio-control__secondary-label {
        font-size: 11px;
    }

    .woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control__option,
    .woocommerce-checkout .wc-block-checkout__shipping-option .wc-block-components-radio-control-accordion-option {
        padding: 13px 14px;
    }

    .woocommerce-checkout .wc-block-components-checkout-order-summary__title,
    .woocommerce-checkout .wc-block-components-order-summary__button-text {
        font-size: 18px;
    }

    .woocommerce-checkout .wc-block-components-order-summary-item {
        gap: 12px;
        padding: 16px 14px;
    }

    .woocommerce-checkout .wc-block-components-order-summary-item__image {
        flex-basis: 44px;
        width: 44px;
    }

    .woocommerce-checkout .wc-block-components-product-name,
    .woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
        font-size: 15.5px;
        line-height: 1.3;
    }

    .woocommerce-checkout .wc-block-components-product-metadata,
    .woocommerce-checkout .wc-block-components-product-metadata__description,
    .woocommerce-checkout .wc-block-components-product-metadata p {
        font-size: 11px;
    }

    .woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
    .woocommerce-checkout .wc-block-components-order-summary-item__individual-prices .wc-block-formatted-money-amount,
    .woocommerce-checkout .wc-block-components-order-summary-item__individual-prices .woocommerce-Price-amount {
        font-size: 13.5px;
    }
}

.single-product .aps-single-summary__price-line {
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.single-product .aps-single-summary__price-prefix {
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-height: 40px;
    color: #77625e;
    font-size: 14px;
    line-height: 1;
}

.single-product .aps-single-summary__price-current {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.single-product .aps-single-summary__price-current .woocommerce-Price-amount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.single-product .aps-single-summary__price-compare {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.single-product .aps-single-summary__price-compare-label {
    color: #a58d86;
    font-size: 12px;
    font-weight: 700;
}

.single-product .aps-single-summary__old-price,
.single-product .aps-single-summary__old-price .woocommerce-Price-amount,
.single-product .aps-single-summary__old-price .woocommerce-Price-currencySymbol {
    color: #c45858;
    text-decoration: line-through;
    text-decoration-color: rgba(196, 88, 88, .72);
    text-decoration-thickness: 1.5px;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price {
    display: grid;
    gap: 7px;
    min-height: 0;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(220, 229, 239, .96);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(250, 252, 255, .98) 0%, rgba(244, 248, 253, .98) 100%);
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    text-align: left;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-label {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #826c64;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-current {
    min-height: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    text-align: left;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-current .woocommerce-Price-amount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-caption {
    color: #ad948d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-was,
.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-was .woocommerce-Price-amount,
.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-was .woocommerce-Price-currencySymbol {
    color: #c15a5a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: rgba(193, 90, 90, .7);
    text-decoration-thickness: 1.3px;
}

.woocommerce ul.products li.product.aps-product-card .aps-product-card__price-discount {
    min-height: 24px;
    padding: 0 8px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price {
    min-height: 0;
    gap: 6px;
    padding: 10px 12px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-line,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-line {
    gap: 8px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-current,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-current {
    font-size: 22px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-meta,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-meta {
    gap: 6px;
}

@media (max-width: 980px) {
    .single-product div.product .woocommerce-product-gallery,
    .single-product .summary.entry-summary {
        height: auto;
    }
}

@media (max-width: 700px) {
    .single-product div.product .woocommerce-product-gallery__image a {
        min-height: 360px;
    }

    .woocommerce ul.products li.product.aps-product-card .aps-product-card__price-line {
        flex-wrap: wrap;
    }

    .woocommerce ul.products li.product.aps-product-card .aps-product-card__price-current {
        justify-content: flex-start;
    }
}

/* =====================================================================
   HOME HERO SELECTOR POLISH — ITERATION 3
   ===================================================================== */
.home__blocks {
    grid-template-columns: minmax(0, 1fr) clamp(420px, 32vw, 480px);
    gap: 24px;
}

.home__blocks-right {
    width: 100%;
    max-width: 480px;
    justify-self: end;
}

.cars__form-block {
    padding: 32px 28px;
}

.cars__form-subtitle {
    margin-bottom: 22px;
}

.cars__form {
    gap: 12px;
}

.cars__form-item {
    gap: 14px;
    padding: 12px 14px;
    transition:
        border-color var(--cb-transition),
        box-shadow var(--cb-transition),
        background-color var(--cb-transition),
        opacity var(--cb-transition);
}

.cars__form-item:last-child {
    margin-top: 8px;
}

.cars__form-number {
    width: 40px;
    height: 40px;
    border-color: rgba(214, 226, 239, .96);
    background: #f1ebe9;
    color: #a88f88;
    box-shadow: none;
}

.home__blocks-slider-pagination {
    left: auto;
    right: 28px;
    bottom: 24px;
    justify-content: flex-end;
}

.cars__form-select {
    min-height: 52px;
    padding: 0 48px 0 16px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, .98);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.25L6 6.25L11 1.25' stroke='%23788CA5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.cars__form-item.active {
    background: rgba(255, 255, 255, .98);
}

.cars__form-item.active .cars__form-number {
    border-color: rgba(192, 57, 43, .18);
    background: var(--cb-primary);
    color: var(--cb-white);
    box-shadow: 0 8px 18px rgba(192, 57, 43, .24);
}

.cars__form-item.is-disabled {
    background: linear-gradient(180deg, rgba(246, 249, 252, .98) 0%, rgba(240, 244, 248, .98) 100%);
    border-color: rgba(216, 225, 236, .94);
    box-shadow: none;
}

.cars__form-item.is-disabled .cars__form-number {
    border-color: rgba(214, 226, 239, .96);
    background: #f1ebe9;
    color: #a88f88;
    box-shadow: none;
}

.cars__form-item.is-disabled .cars__form-select,
.cars__form-select:disabled {
    background-color: #f8f4f3;
    background-image: none !important;
    border-color: #e5d8d5;
    color: #b59b94;
    -webkit-text-fill-color: #b59b94;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.cars__selector-submit:disabled,
.cars__form-item.is-disabled .cars__selector-submit {
    background: linear-gradient(180deg, #e6dbd8 0%, #ddd2cf 100%) !important;
    color: #8e766e !important;
    box-shadow: none !important;
    border-color: rgba(208, 219, 230, .98);
    cursor: not-allowed;
    filter: none;
}

.cars__form-select::-ms-expand {
    display: none;
}

@media (max-width: 1180px) {
    .home__blocks {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 22px;
    }

    .cars__form-block {
        padding: 30px 24px;
    }
}

@media (max-width: 1024px) {
    .home__blocks {
        grid-template-columns: 1fr;
    }

    .home__blocks-right {
        max-width: none;
    }

    .cars__form-block {
        padding: 28px 24px;
    }
}

@media (max-width: 560px) {
    .cars__form-block {
        padding: 22px 18px;
    }

    .home__blocks-slider-pagination {
        right: 18px;
        bottom: 18px;
    }

    .cars__form-item {
        padding: 10px 12px;
    }

    .cars__form-select {
        min-height: 48px;
        padding: 0 44px 0 14px;
        background-position: right 16px center;
    }
}

/* =====================================================================
   SHOP CARD PRICE BLOCK — CATALOG ONLY
   ===================================================================== */
.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog {
    display: grid;
    align-content: start;
    justify-content: start;
    justify-items: start;
    gap: 8px;
    min-height: 0;
    text-align: left;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog.has-sale {
    gap: 10px;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-meta {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    width: 100%;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-note {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 7px;
    margin: 0;
    color: #a3515e;
    min-width: 0;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-caption {
    color: #ad948d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-was,
.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-was .woocommerce-Price-amount,
.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-was .woocommerce-Price-currencySymbol {
    color: #c15a5a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: rgba(193, 90, 90, .7);
    text-decoration-thickness: 1.3px;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-line {
    display: grid;
    grid-template-columns: 48px max-content;
    align-items: center;
    justify-content: flex-start;
    justify-items: start;
    gap: 6px;
    width: 100%;
    text-align: left;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-label {
    display: inline-flex;
    align-items: center;
    width: 48px;
    color: #8e7770;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-current {
    min-height: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    flex: 0 0 auto;
    width: max-content;
    min-width: auto;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-current .woocommerce-Price-amount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-current .amount,
.aps-shop-page .woocommerce ul.products li.product.aps-product-card .aps-product-card__price--catalog .aps-product-card__price-current bdi {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card.is-no-price .aps-product-card__price--catalog {
    gap: 4px;
}

.aps-shop-page .woocommerce ul.products li.product.aps-product-card.is-no-price .aps-product-card__price--catalog .aps-product-card__price-current {
    justify-content: flex-start;
    font-size: 15px;
    letter-spacing: 0;
}

/* =====================================================================
   SINGLE PRODUCT / SCHEDULE / RELATED FIXES — ITERATION 8
   ===================================================================== */
.single-product div.product {
    align-items: start;
}

.single-product div.product .woocommerce-product-gallery,
.single-product .summary.entry-summary {
    position: relative !important;
    top: auto !important;
    align-self: start !important;
    height: auto !important;
}

.single-product div.product .woocommerce-product-gallery {
    display: block;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery .flex-viewport,
.single-product div.product .woocommerce-product-gallery__image {
    height: auto !important;
}

.single-product div.product .woocommerce-product-gallery__image a {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: auto !important;
    min-height: 500px;
}

.single-product div.product .woocommerce-product-gallery__image img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 470px;
    object-fit: contain;
}

.single-product .summary.entry-summary {
    display: block;
}

.single-product .aps-single-product__section--related .related.products ul.products,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price {
    display: grid;
    justify-content: start;
    justify-items: start;
    align-content: start;
    text-align: left;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-line,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-line {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    text-align: left;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-label,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-label {
    display: inline-flex !important;
    align-items: center;
    color: #826c64;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__title,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__title {
    display: block;
    min-height: 4.7em;
    max-height: 4.7em;
    overflow-y: auto;
    padding-right: 6px;
    text-wrap: pretty;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #d7bcb6 transparent;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__title a,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__title a {
    display: block;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__title::-webkit-scrollbar,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__title::-webkit-scrollbar {
    width: 4px;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__title::-webkit-scrollbar-track,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__title::-webkit-scrollbar-track {
    background: transparent;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__title::-webkit-scrollbar-thumb,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__title::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d7bcb6;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-current,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-current {
    justify-content: flex-start;
    text-align: left;
}

.single-product .aps-single-product__section--related .related.products ul.products li.product .aps-product-card__price-current .woocommerce-Price-amount,
.single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products li.product .aps-product-card__price-current .woocommerce-Price-amount {
    justify-content: flex-start;
}

@media (max-width: 1200px) {
    .single-product .aps-single-product__section--related .related.products ul.products,
    .single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1024px) {
    .single-product div.product .woocommerce-product-gallery__image a {
        min-height: 420px;
    }

    .single-product .aps-single-product__section--related .related.products ul.products,
    .single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .single-product div.product .woocommerce-product-gallery__image a {
        min-height: 320px;
    }

    .single-product .aps-single-product__section--related .related.products ul.products,
    .single-product .aps-single-product__section--upsells .up-sells.upsells.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
   Shop Reviews Block (CPT-driven, marquee + modal)
   ========================================================== */
.aps-reviews {
    margin: 48px 0 16px;
    padding: 32px 0 8px;
}

.aps-reviews__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.aps-reviews__title {
    margin: 0;
}

.aps-reviews__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: #e30613;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
}

.aps-reviews__cta:hover,
.aps-reviews__cta:focus-visible {
    background: #c00510;
    outline: none;
}

.aps-reviews__cta:active {
    transform: translateY(1px);
}

.aps-reviews__viewport {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.aps-reviews__track {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    width: max-content;
}

.aps-reviews__track.is-marquee {
    animation: aps-reviews-marquee 48s linear infinite;
    will-change: transform;
}

.aps-reviews__viewport:hover .aps-reviews__track.is-marquee {
    animation-play-state: paused;
}

@keyframes aps-reviews-marquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .aps-reviews__track.is-marquee {
        animation: none;
    }
    .aps-reviews__viewport {
        overflow-x: auto;
    }
}

.aps-reviews__card {
    flex: 0 0 320px;
    width: 320px;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 10px rgba(20, 22, 35, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aps-reviews__card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aps-reviews__avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e30613, #ff6b76);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aps-reviews__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.aps-reviews__name {
    font-weight: 600;
    font-size: 15px;
    color: #161722;
    line-height: 1.2;
}

.aps-reviews__stars {
    display: inline-flex;
    gap: 2px;
    line-height: 0;
}

.aps-reviews__star {
    fill: #e0e2eb;
}

.aps-reviews__star.is-active {
    fill: #e30613;
}

.aps-reviews__text {
    margin: 0;
    color: #3a3d4a;
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aps-reviews__date {
    margin-top: auto;
    color: #8a8f9c;
    font-size: 12px;
}

.aps-reviews__empty {
    color: #5a5f6c;
    font-size: 15px;
    background: #f5f6f9;
    padding: 18px 20px;
    border-radius: 12px;
    margin: 0;
}

/* Modal */
.aps-reviews-modal[hidden] { display: none; }

.aps-reviews-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.aps-reviews-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 22, 35, 0.55);
    backdrop-filter: blur(2px);
}

.aps-reviews-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 28px 28px 24px;
    box-shadow: 0 24px 64px rgba(20, 22, 35, 0.25);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.aps-reviews-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #5a5f6c;
    cursor: pointer;
}

.aps-reviews-modal__close:hover { background: #f2f3f7; }

.aps-reviews-modal__title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
    color: #161722;
}

.aps-reviews-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aps-reviews-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aps-reviews-form__label {
    font-size: 13px;
    font-weight: 600;
    color: #3a3d4a;
}

.aps-reviews-form__field input[type="text"],
.aps-reviews-form__field textarea {
    width: 100%;
    border: 1px solid #d8dae3;
    border-radius: 10px;
    padding: 11px 14px;
    font: inherit;
    color: #161722;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.aps-reviews-form__field input[type="text"]:focus,
.aps-reviews-form__field textarea:focus {
    border-color: #e30613;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, .12);
    outline: none;
}

.aps-reviews-form__field textarea {
    resize: vertical;
    min-height: 110px;
}

.aps-reviews-form__stars {
    display: inline-flex;
    gap: 4px;
    direction: rtl;
}

.aps-reviews-form__star {
    cursor: pointer;
    line-height: 0;
}

.aps-reviews-form__star input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aps-reviews-form__star svg {
    fill: #e0e2eb;
    transition: fill .12s ease, transform .12s ease;
}

.aps-reviews-form__star:hover svg,
.aps-reviews-form__star:hover ~ .aps-reviews-form__star svg,
.aps-reviews-form__star input:checked ~ svg,
.aps-reviews-form__star input:checked + svg,
.aps-reviews-form__star:has(input:checked) svg,
.aps-reviews-form__star:has(input:checked) ~ .aps-reviews-form__star svg {
    fill: #e30613;
}

.aps-reviews-form__star:focus-within svg {
    transform: scale(1.08);
}

.aps-reviews-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.aps-reviews-form__status {
    min-height: 18px;
    font-size: 13px;
}

.aps-reviews-form__status.is-error { color: #c00510; }
.aps-reviews-form__status.is-success { color: #137a3a; }

.aps-reviews-form__actions {
    display: flex;
    justify-content: flex-end;
}

.aps-reviews-form__submit {
    background: #e30613;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.aps-reviews-form__submit:hover,
.aps-reviews-form__submit:focus-visible { background: #c00510; outline: none; }

.aps-reviews-form__submit[disabled] { opacity: .65; cursor: progress; }

body.aps-reviews-modal-open { overflow: hidden; }

@media (max-width: 768px) {
    .aps-reviews { padding: 16px 0; margin: 24px 0 8px; }
    .aps-reviews__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .aps-reviews__cta { width: 100%; }
    .aps-reviews__card { flex: 0 0 78vw; width: 78vw; max-width: 320px; padding: 18px; }
    .aps-reviews__track.is-marquee { animation-duration: 36s; }
    .aps-reviews-modal { padding: 12px; align-items: flex-end; }
    .aps-reviews-modal__dialog { max-width: 100%; padding: 22px 18px 18px; border-radius: 16px 16px 0 0; max-height: 92vh; }
}

/* ==========================================================
   Shop Reviews v2 — multi-modal, truncation, all-reviews list
   ========================================================== */
.aps-reviews__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aps-reviews__cta--ghost {
    background: #fff;
    color: #161722;
    border: 1px solid #d8dae3;
}

.aps-reviews__cta--ghost:hover,
.aps-reviews__cta--ghost:focus-visible {
    background: #f5f6f9;
    border-color: #b9bcc7;
    color: #161722;
}

.aps-reviews__card {
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
    min-height: 240px;
    position: relative;
}

.aps-reviews__card:hover,
.aps-reviews__card:focus-visible {
    border-color: #d2d4df;
    box-shadow: 0 6px 18px rgba(20, 22, 35, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.aps-reviews__readmore {
    align-self: flex-start;
    background: transparent;
    border: 0;
    padding: 0;
    margin: -2px 0 0;
    font: inherit;
    font-weight: 600;
    font-size: 13px;
    color: #e30613;
    cursor: pointer;
    text-decoration: none;
}

.aps-reviews__readmore:hover,
.aps-reviews__readmore:focus-visible {
    text-decoration: underline;
    outline: none;
}

/* Detail modal */
.aps-reviews-modal--detail .aps-reviews-modal__dialog {
    max-width: 560px;
}

.aps-reviews-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aps-reviews-detail__head {
    display: flex;
    gap: 14px;
    align-items: center;
}

.aps-reviews-detail__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.aps-reviews-modal--detail .aps-reviews-modal__title {
    margin: 0;
    font-size: 19px;
}

.aps-reviews-detail__rating {
    display: inline-flex;
    gap: 2px;
}

.aps-reviews-detail__date {
    color: #8a8f9c;
    font-size: 12px;
}

.aps-reviews-detail__text {
    color: #2c2f3a;
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-height: 55vh;
    overflow-y: auto;
}

/* All-reviews modal */
.aps-reviews-modal--all .aps-reviews-modal__dialog {
    max-width: 720px;
    display: flex;
    flex-direction: column;
}

.aps-reviews-modal__scroll {
    overflow-y: auto;
    max-height: 70vh;
    margin: 12px -8px 0;
    padding: 0 8px 4px;
}

.aps-reviews-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aps-reviews__card--list {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    cursor: pointer;
}

.aps-reviews__card--list .aps-reviews__text {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
    white-space: pre-wrap;
}

.aps-reviews__card--list .aps-reviews__readmore {
    display: none;
}

@media (max-width: 768px) {
    .aps-reviews__actions { width: 100%; flex-direction: column; }
    .aps-reviews__actions .aps-reviews__cta { width: 100%; }
    .aps-reviews-modal--detail .aps-reviews-modal__dialog,
    .aps-reviews-modal--all .aps-reviews-modal__dialog { max-width: 100%; }
    .aps-reviews-modal__scroll { max-height: 70vh; }
    .aps-reviews-detail__text { max-height: 50vh; font-size: 14.5px; }
}

/* ==========================================================
   Shop Reviews v2.1 — sort UI + mobile all-modal width fix
   ========================================================== */
.aps-reviews-modal__sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 0;
    font-size: 13px;
    color: #5b6072;
    flex-wrap: wrap;
}

.aps-reviews-modal__sort-label {
    font-weight: 600;
    color: #2c2f3a;
    margin: 0;
}

.aps-reviews-modal__sort-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%235b6072' d='M0 0l5 6 5-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
    border: 1px solid #d8dae3;
    border-radius: 10px;
    padding: 8px 32px 8px 12px;
    font: inherit;
    color: #161722;
    cursor: pointer;
    line-height: 1.2;
    min-width: 200px;
}

.aps-reviews-modal__sort-select:focus-visible {
    outline: 2px solid #e30613;
    outline-offset: 2px;
    border-color: #e30613;
}

/* Mobile: make all-reviews modal use full screen width and let cards fill it. */
@media (max-width: 768px) {
    .aps-reviews-modal--all { padding: 0; align-items: stretch; }
    .aps-reviews-modal--all .aps-reviews-modal__dialog {
        max-width: 100%;
        width: 100%;
        padding: 18px 14px 14px;
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
    }
    .aps-reviews-modal--all .aps-reviews-modal__scroll {
        margin: 12px -2px 0;
        padding: 0 2px 8px;
        max-height: none;
        flex: 1 1 auto;
        min-height: 0;
    }
    .aps-reviews-list { gap: 12px; }
    /* Override the marquee-card mobile rule when card is rendered in the list. */
    .aps-reviews__card--list {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        padding: 16px 14px;
        min-height: 0;
    }
    .aps-reviews-modal__sort { gap: 8px; margin-top: 12px; }
    .aps-reviews-modal__sort-select { flex: 1 1 auto; min-width: 0; width: 100%; }
}
