:root {
    --bg: #f3f4f6;
    --surface: #ffffff;
    --surface-soft: #f8f9fa;
    --surface-dark: #1b1d20;

    --text: #17191c;
    --text-secondary: #454a50;
    --muted: #777d84;

    --border: #dfe2e6;
    --border-dark: #cdd1d6;

    --accent: #ff5a1f;
    --accent-dark: #e94b13;
    --accent-soft: #fff0ea;

    --success: #238454;
    --success-soft: #eaf7f0;

    --danger: #b64b4b;

    --container: 1240px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;

    --shadow-sm: 0 3px 12px rgba(20, 24, 28, 0.05);
    --shadow-md: 0 12px 30px rgba(20, 24, 28, 0.08);
    --shadow-lg: 0 24px 60px rgba(20, 24, 28, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(
        var(--container),
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 20;

    height: 76px;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);

    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8);
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 42px;
}

.logo {
    flex-shrink: 0;

    font-size: 27px;
    line-height: 1;

    font-weight: 850;
    letter-spacing: -1.7px;
}

.logo span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    position: relative;

    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 650;

    transition:
        color 0.15s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.header-actions {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search {
    height: 42px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 0 14px;

    background: #f0f1f3;
    border: 1px solid transparent;
    border-radius: 11px;

    color: var(--muted);

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.header-search:hover {
    background: #e9ebed;
    border-color: var(--border);
    color: var(--text);
}

.header-search span:first-child {
    font-size: 20px;
    line-height: 1;
}

.header-search span:last-child {
    font-size: 13px;
    font-weight: 600;
}

.header-link {
    padding: 10px 8px;

    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 650;

    transition:
        color 0.15s ease;
}

.header-link:hover {
    color: var(--accent);
}

.account-button {
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 17px;

    background: var(--text);
    color: #ffffff;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.account-button:hover {
    background: #2d3136;
    transform: translateY(-1px);
}


/* =========================================================
   MAIN
   ========================================================= */

main {
    min-height: calc(100vh - 76px);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 92px 0 105px;

    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(255, 90, 31, 0.14),
            transparent 29%
        ),
        radial-gradient(
            circle at 12% 85%,
            rgba(255, 90, 31, 0.055),
            transparent 28%
        ),
        var(--bg);
}

.hero::before {
    content: "";

    position: absolute;
    width: 500px;
    height: 500px;

    top: -280px;
    right: -160px;

    border-radius: 50%;

    border: 1px solid rgba(255, 90, 31, 0.09);
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 800px;
}

.hero-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;
    padding: 8px 12px;

    background: var(--accent-soft);
    border: 1px solid rgba(255, 90, 31, 0.16);
    border-radius: 8px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.1px;
}

.hero h1 {
    margin: 0;

    max-width: 850px;

    color: var(--text);

    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.99;

    letter-spacing: -4px;
    font-weight: 850;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    max-width: 610px;

    margin: 27px 0 0;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(255, 90, 31, 0.18);
}

.button-primary:hover {
    background: var(--accent-dark);

    box-shadow:
        0 9px 24px rgba(255, 90, 31, 0.24);
}

.button-secondary {
    background: #ffffff;

    border: 1px solid var(--border);

    color: var(--text);
}

.button-secondary:hover {
    background: var(--surface-soft);
}


/* =========================================================
   CAR PICKER
   ========================================================= */

.car-picker {
    position: relative;
    z-index: 2;

    margin-top: 54px;

    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.car-picker-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.car-picker-label {
    display: block;

    margin-bottom: 7px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.1px;
}

.car-picker h2 {
    margin: 0;

    color: var(--text);

    font-size: 24px;
    line-height: 1.2;

    letter-spacing: -0.7px;
}

.car-picker-step {
    flex-shrink: 0;

    padding: 7px 10px;

    background: #f1f2f4;

    border-radius: 8px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
}

.car-picker-fields {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.picker-field label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 700;
}

.picker-field select {
    width: 100%;
    height: 50px;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid var(--border-dark);
    border-radius: 10px;

    color: var(--text);

    font-size: 14px;
    font-weight: 550;

    outline: none;

    cursor: pointer;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.picker-field select:hover:not(:disabled) {
    border-color: #bfc4c9;
}

.picker-field select:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(255, 90, 31, 0.11);
}

.picker-field select:disabled {
    background: #f1f2f4;

    color: #9ca1a7;

    border-color: #e2e4e7;

    cursor: not-allowed;
}

.car-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 21px;
    padding-top: 21px;

    border-top: 1px solid var(--border);
}

.car-description {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.45;
}

.car-picker-footer .button:disabled {
    background: #d5d8dc;

    color: #8b9096;

    box-shadow: none;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   PRODUCTS SECTION
   ========================================================= */

.products-section {
    padding: 86px 0 100px;

    background: var(--surface);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.section-label {
    display: block;

    margin-bottom: 8px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.1px;
}

.section-heading h2 {
    margin: 0;

    color: var(--text);

    font-size: 34px;
    line-height: 1.1;

    letter-spacing: -1.3px;
}

.section-link {
    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 750;

    transition:
        color 0.15s ease;
}

.section-link:hover {
    color: var(--accent);
}


/* =========================================================
   PRODUCT CARDS
   ========================================================= */

.products-grid,
.catalog-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.product-card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.product-card:hover {
    transform: translateY(-3px);

    border-color: #d5d8dc;

    box-shadow: var(--shadow-md);
}

.product-image {
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0,
            #f5f6f7 68%
        );

    border-bottom: 1px solid #eceef0;
}

.product-image img {
    width: 100%;
    height: 100%;

    padding: 24px;

    object-fit: contain;
}

.product-placeholder {
    width: 88px;
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #dfe2e5;
    border-radius: 50%;

    color: #a1a6ac;

    font-size: 20px;
    font-weight: 850;

    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 18px;
}

.product-manufacturer {
    margin-bottom: 7px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.product-card h3 {
    min-height: 43px;

    margin: 0;

    color: var(--text);

    font-size: 15px;
    line-height: 1.4;

    letter-spacing: -0.15px;
}

.product-sku {
    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 18px;
}

.product-price {
    color: var(--text);

    font-size: 20px;
    line-height: 1;

    font-weight: 850;

    letter-spacing: -0.5px;
}

.product-old-price {
    margin-top: 4px;

    color: #a4a8ad;

    font-size: 11px;

    text-decoration: line-through;
}

.add-to-cart {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--accent);

    border-radius: 10px;

    color: #ffffff;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 6px 15px rgba(255, 90, 31, 0.16);

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.add-to-cart:hover {
    background: var(--accent-dark);

    transform: translateY(-1px);

    box-shadow:
        0 8px 19px rgba(255, 90, 31, 0.24);
}

.product-stock {
    margin-top: 13px;

    color: var(--success);

    font-size: 11px;
    font-weight: 700;
}

.product-stock-empty {
    color: var(--danger);
}


/* =========================================================
   CATALOG
   ========================================================= */

.catalog-page {
    padding: 54px 0 100px;
}

.catalog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 34px;
}

.catalog-heading h1 {
    margin: 0;

    color: var(--text);

    font-size: 44px;
    line-height: 1;

    letter-spacing: -1.8px;
}

.catalog-heading p {
    margin: 11px 0 0;

    color: var(--muted);

    font-size: 14px;
}

.catalog-count {
    flex-shrink: 0;

    padding: 9px 12px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 9px;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 700;
}

.catalog-layout {
    display: grid;

    grid-template-columns: 245px minmax(0, 1fr);

    gap: 26px;

    align-items: start;
}

.catalog-filters {
    position: sticky;
    top: 20px;

    padding: 21px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 17px;
}

.filter-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 750;
}

.filter-group input,
.filter-group select {
    width: 100%;
    height: 44px;

    padding: 0 11px;

    background: #ffffff;

    border: 1px solid var(--border-dark);
    border-radius: 9px;

    color: var(--text);

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(255, 90, 31, 0.09);
}

.filter-button {
    width: 100%;

    margin-top: 3px;

    border: 0;
}

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

.catalog-empty {
    padding: 80px 20px;

    text-align: center;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.catalog-empty-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    background: #f0f1f3;

    border-radius: 50%;

    color: var(--muted);

    font-weight: 850;
}

.catalog-empty h2 {
    margin: 0;

    font-size: 22px;
}

.catalog-empty p {
    max-width: 400px;

    margin: 10px auto 24px;

    color: var(--muted);

    line-height: 1.5;
}


/* =========================================================
   PRODUCT PAGE
   ========================================================= */

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    padding-top: 30px;

    color: #858b92;

    font-size: 12px;
}

.breadcrumbs a {
    color: var(--text-secondary);

    transition:
        color 0.15s ease;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.product-page {
    display: block;

    margin-top: 24px;
}

.product-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(400px, 0.95fr);

    gap: 60px;

    align-items: start;
}

.product-gallery {
    min-height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0,
            #f0f2f4 72%
        );

    border: 1px solid var(--border);
    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-sm);
}

.product-gallery img {
    width: 100%;
    height: 560px;

    padding: 48px;

    object-fit: contain;
}

.product-gallery .product-placeholder {
    width: 170px;
    height: 170px;

    border-radius: 32px;

    font-size: 40px;
}


/* Product information */

.product-main > .product-info {
    padding-top: 18px;
}

.product-category {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    background: var(--accent-soft);

    border: 1px solid rgba(255, 90, 31, 0.14);
    border-radius: 999px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    margin-bottom: 17px;
}

.product-main .product-info h1 {
    max-width: 650px;

    margin: 0;

    color: var(--text);

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.03;

    letter-spacing: -2.3px;

    font-weight: 850;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 9px 22px;

    margin-top: 22px;

    color: var(--muted);

    font-size: 13px;
}

.product-meta strong {
    color: var(--text-secondary);
}

.product-description {
    max-width: 620px;

    margin: 27px 0 0;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.7;
}

.product-buy {
    margin-top: 34px;
    padding-top: 27px;

    border-top: 1px solid var(--border);
}

.product-buy > .product-price {
    color: var(--text);

    font-size: 42px;
    line-height: 1;

    font-weight: 850;

    letter-spacing: -1.5px;
}

.product-buy > .product-stock {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 12px;

    color: var(--success);

    font-size: 13px;
}

.stock-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    background: var(--success);

    border-radius: 50%;
}

.product-buy .product-stock-empty {
    color: var(--danger);
}

.product-actions {
    display: flex;

    gap: 10px;

    margin-top: 22px;
}

.product-actions input {
    width: 82px;
    height: 54px;

    padding: 0 12px;

    background: #ffffff;

    border: 1px solid var(--border-dark);
    border-radius: 12px;

    color: var(--text);

    font-size: 15px;
    font-weight: 700;

    text-align: center;

    outline: none;
}

.product-actions input:focus {
    border-color: var(--accent);
}

.product-actions button {
    min-height: 54px;

    flex: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 25px;

    background: var(--accent);

    border-radius: 12px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(255, 90, 31, 0.18);

    transition:
        background 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.product-actions button:hover:not(:disabled) {
    background: var(--accent-dark);

    transform: translateY(-1px);

    box-shadow:
        0 12px 27px rgba(255, 90, 31, 0.24);
}

.product-actions button:disabled {
    background: #d6d9dc;

    color: #8b9096;

    box-shadow: none;

    cursor: not-allowed;
}


/* =========================================================
   COMPATIBILITY
   ========================================================= */

.compatibility-section {
    margin-top: 100px;
    padding-top: 65px;

    border-top: 1px solid var(--border);
}

.compatibility-section > .section-heading {
    display: block;

    max-width: 720px;
}

.eyebrow {
    display: block;

    margin-bottom: 9px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}

.compatibility-section .section-heading h2 {
    margin: 0;

    color: var(--text);

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;

    letter-spacing: -1.5px;
}

.compatibility-section .section-heading p {
    margin: 13px 0 0;

    color: var(--muted);

    line-height: 1.6;
}

.compatible-cars {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 30px;
}

.compatible-car {
    min-height: 130px;

    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 19px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.compatible-car:hover {
    transform: translateY(-2px);

    border-color: #d2d6da;

    box-shadow: var(--shadow-md);
}

.compatible-car-title {
    color: var(--text);

    font-size: 15px;
    font-weight: 800;
}

.compatible-car-version {
    color: var(--text-secondary);

    font-size: 13px;
    font-weight: 650;
}

.compatible-car-details {
    margin-top: auto;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   RELATED PRODUCTS
   ========================================================= */

.related-products {
    margin-top: 100px;

    padding-top: 65px;
    padding-bottom: 80px;

    border-top: 1px solid var(--border);
}

.related-products .products-grid {
    margin-top: 30px;

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


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    margin-top: 0;

    padding: 55px 0;

    background: var(--surface-dark);

    color: #ffffff;
}

.footer-inner {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        auto;

    gap: 50px;

    align-items: start;
}

.footer-logo {
    margin-bottom: 12px;
}

.site-footer p {
    margin: 0;

    color: #9da2a8;

    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-links a {
    color: #c8ccd1;

    font-size: 13px;

    transition:
        color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copy {
    color: #777d84;

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

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

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

    .related-products .products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .product-main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.9fr);

        gap: 40px;
    }
}


@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .header-actions {
        gap: 7px;
    }

    .header-link {
        display: none;
    }

    .car-picker-fields {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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

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

    .catalog-filters {
        position: static;
    }

    .product-main {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .product-gallery {
        min-height: 440px;
    }

    .product-gallery img {
        height: 440px;
    }

    .compatible-cars {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .related-products .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(
            var(--container),
            calc(100% - 28px)
        );
    }

    .site-header {
        height: 64px;
    }

    main {
        min-height: calc(100vh - 64px);
    }

    .logo {
        font-size: 23px;
    }

    .header-search {
        width: 40px;
        height: 40px;

        justify-content: center;

        padding: 0;
    }

    .header-search span:last-child {
        display: none;
    }

    .account-button {
        height: 40px;

        padding: 0 12px;
    }


    /* HERO */

    .hero {
        padding: 68px 0 75px;
    }

    .hero h1 {
        font-size: 45px;

        letter-spacing: -2.6px;
    }

    .hero p {
        margin-top: 22px;

        font-size: 16px;
    }


    /* PICKER */

    .car-picker {
        margin-top: 38px;

        padding: 20px;

        border-radius: 16px;
    }

    .car-picker-fields {
        grid-template-columns: 1fr;
    }

    .car-picker-footer {
        align-items: stretch;

        flex-direction: column;
    }

    .car-picker-footer .button {
        width: 100%;
    }


    /* PRODUCTS */

    .products-section {
        padding: 60px 0 75px;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .products-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 240px;
    }


    /* CATALOG */

    .catalog-page {
        padding: 35px 0 70px;
    }

    .catalog-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .catalog-heading h1 {
        font-size: 35px;
    }

    .catalog-count {
        align-self: flex-start;
    }


    /* PRODUCT */

    .breadcrumbs {
        padding-top: 20px;
    }

    .product-main {
        margin-top: 8px;
    }

    .product-gallery {
        min-height: 320px;

        border-radius: 20px;
    }

    .product-gallery img {
        height: 320px;

        padding: 28px;
    }

    .product-gallery .product-placeholder {
        width: 130px;
        height: 130px;

        font-size: 32px;
    }

    .product-main .product-info h1 {
        font-size: 35px;

        letter-spacing: -1.5px;
    }

    .product-buy > .product-price {
        font-size: 35px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions input {
        width: 100%;
    }

    .product-actions button {
        width: 100%;
    }


    /* COMPATIBILITY */

    .compatibility-section,
    .related-products {
        margin-top: 70px;

        padding-top: 48px;
    }

    .compatible-cars {
        grid-template-columns: 1fr;
    }

    .related-products .products-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CART
   ========================================================= */

.cart-page {
    padding: 55px 0 100px;
}

.cart-heading {
    margin-bottom: 32px;
}

.cart-heading h1 {
    margin: 0;

    font-size: 44px;
    line-height: 1;

    letter-spacing: -1.8px;
}

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 24px;

    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.cart-item {
    display: grid;

    grid-template-columns: 150px minmax(0, 1fr);

    min-height: 180px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.cart-item-image {
    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f4f5f6;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    padding: 20px;

    object-fit: contain;
}

.cart-item-image .product-placeholder {
    width: 70px;
    height: 70px;
}

.cart-item-info {
    display: flex;
    flex-direction: column;

    padding: 22px;
}

.cart-item-info h2 {
    margin: 0;

    color: var(--text);

    font-size: 17px;
    line-height: 1.35;
}

.cart-item-sku {
    margin-top: 7px;

    color: var(--muted);

    font-size: 11px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-top: auto;
    padding-top: 20px;
}

.cart-item-quantity {
    padding: 7px 10px;

    background: #f0f1f3;

    border-radius: 8px;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 700;
}

.cart-item-price {
    color: var(--text);

    font-size: 20px;
    font-weight: 850;
}

.cart-remove {
    margin-left: auto;

    color: var(--muted);

    font-size: 12px;
    font-weight: 650;
}

.cart-remove:hover {
    color: var(--danger);
}

.cart-summary {
    position: sticky;
    top: 20px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);
}

.cart-summary-label {
    color: var(--muted);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1px;
}

.cart-summary-total {
    margin-top: 8px;

    color: var(--text);

    font-size: 34px;
    font-weight: 850;

    letter-spacing: -1px;
}

.cart-summary-note {
    margin-top: 12px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}

.cart-checkout {
    width: 100%;

    margin-top: 22px;
}

.cart-continue {
    display: block;

    margin-top: 15px;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 700;

    text-align: center;
}

.cart-continue:hover {
    color: var(--accent);
}

.cart-empty {
    padding: 90px 20px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    text-align: center;

    box-shadow: var(--shadow-sm);
}

.cart-empty-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    background: var(--accent-soft);

    border-radius: 50%;

    font-size: 25px;
}

.cart-empty h2 {
    margin: 0;

    font-size: 24px;
}

.cart-empty p {
    margin: 10px auto 25px;

    max-width: 420px;

    color: var(--muted);

    line-height: 1.5;
}

@media (max-width: 850px) {

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

    .cart-summary {
        position: static;
    }
}

@media (max-width: 600px) {

    .cart-page {
        padding: 35px 0 70px;
    }

    .cart-heading h1 {
        font-size: 35px;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-image {
        min-height: 210px;
    }

    .cart-item-bottom {
        flex-wrap: wrap;
    }

    .cart-remove {
        margin-left: 0;
    }
}
/* =========================================================
   CAR PICKER PAGE
   ========================================================= */

.car-picker-page {
    padding: 70px 0 100px;
}

.car-picker-page-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.car-picker-page-heading h1 {
    margin: 0;

    color: var(--text);

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;

    letter-spacing: -3px;
    font-weight: 850;
}

.car-picker-page-heading h1 span {
    color: var(--accent);
}

.car-picker-page-heading p {
    max-width: 600px;

    margin: 24px 0 0;

    color: var(--text-secondary);

    font-size: 16px;
    line-height: 1.6;
}

.car-picker-page-card {
    margin-top: 0;

    max-width: 1100px;

    box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {

    .car-picker-page {
        padding: 45px 0 70px;
    }

    .car-picker-page-heading {
        margin-bottom: 30px;
    }

    .car-picker-page-heading h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

}

.add-to-cart.is-adding {
    animation: cart-button-pop 0.45s ease;
}

.add-to-cart.is-added {
    background: var(--success);
}

@keyframes cart-button-pop {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.18);
    }

    100% {
        transform: scale(1);
    }

}

.cart-count {
    min-width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 5px;
    padding: 0 5px;

    background: var(--accent);
    color: #ffffff;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;

    vertical-align: middle;
}

.cart-count.is-bumped {
    animation: cart-count-bump 0.4s ease;
}

@keyframes cart-count-bump {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }

}

.add-to-cart {
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.add-to-cart.is-adding {
    animation: cart-button-pop 0.4s ease;
}

.add-to-cart.is-added {
    background: var(--success);
    color: #ffffff;
}

@keyframes cart-button-pop {

    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }

}

.cart-count.is-bumped {
    animation: cart-count-bump 0.4s ease;
}

@keyframes cart-count-bump {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }

}
.favorite-button {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);
    color: var(--text);

    font-size: 20px;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.favorite-button:hover {
    transform: scale(1.08);
}

.favorite-button.is-favorite {
    color: var(--accent);
    background: var(--accent-soft);
}

.favorite-button.is-loading {
    transform: scale(0.9);
}

.favorite-count {
    min-width: 19px;
    height: 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 5px;
    padding: 0 5px;

    background: var(--accent);
    color: #fff;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
}
.header-search {
    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 220px;
    height: 42px;

    padding: 0 10px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.header-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.header-search > span {
    flex-shrink: 0;

    color: var(--muted);

    font-size: 20px;
    line-height: 1;
}

.header-search input {
    width: 100%;

    padding: 0;

    border: 0;
    outline: none;

    background: transparent;
    color: var(--text);

    font: inherit;
}

.header-search input::placeholder {
    color: var(--muted);
}

.header-search button {
    flex-shrink: 0;

    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 7px;

    background: var(--accent);
    color: #fff;

    cursor: pointer;

    font-size: 15px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.header-search button:hover {
    background: var(--accent-dark);
    transform: translateX(2px);
}

.info-page {
    padding: 80px 0 100px;
}

.info-heading {
    max-width: 760px;
    margin-bottom: 56px;
}

.info-heading h1 {
    margin: 14px 0 20px;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.info-heading p {
    max-width: 620px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.6;
}


.info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 24px;
}

.info-card {
    min-height: 250px;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);
}

.info-card-number {
    margin-bottom: 70px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.info-card h2 {
    margin: 0 0 12px;

    font-size: 25px;
    letter-spacing: -0.02em;
}

.info-card p {
    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}


.info-note {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 28px 30px;

    border-radius: 20px;

    background: var(--surface-dark);
    color: #fff;
}

.info-note strong {
    display: block;

    margin-bottom: 7px;

    font-size: 18px;
}

.info-note p {
    margin: 0;

    color: #b8bdc3;

    line-height: 1.5;
}


.contacts-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 24px;
}

.contact-card {
    padding: 32px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);
}

.contact-label {
    display: block;

    margin-bottom: 24px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.contact-card h2 {
    margin: 0 0 12px;

    font-size: 24px;
    letter-spacing: -0.02em;
}

.contact-card p {
    min-height: 52px;

    margin: 0 0 24px;

    color: var(--muted);

    line-height: 1.6;
}

.contact-link {
    display: inline-flex;

    color: var(--text);

    font-weight: 700;

    text-decoration: none;
}

.contact-link:hover {
    color: var(--accent);
}


@media (max-width: 900px) {

    .info-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .info-note {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .info-page {
        padding: 55px 0 70px;
    }

    .info-heading {
        margin-bottom: 38px;
    }

    .info-heading h1 {
        font-size: 42px;
    }

    .info-card,
    .contact-card {
        padding: 24px;
    }

    .info-card-number {
        margin-bottom: 45px;
    }

}
.auth-page {
    min-height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;

    padding: 42px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--surface);

    box-shadow: var(--shadow-md);
}

.auth-card h1 {
    margin: 14px 0 14px;

    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.auth-description {
    margin: 0 0 30px;

    color: var(--muted);

    line-height: 1.6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-field label {
    font-size: 13px;
    font-weight: 700;
}

.auth-field input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface-soft);
    color: var(--text);

    font: inherit;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-field input:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px var(--accent-soft);
}

.auth-submit {
    width: 100%;
    margin-top: 6px;
}

.auth-footer {
    margin-top: 26px;

    color: var(--muted);

    text-align: center;
    font-size: 14px;
}

.auth-footer a {
    color: var(--text);

    font-weight: 700;
    text-decoration: none;
}

.auth-footer a:hover {
    color: var(--accent);
}

.auth-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-bottom: 20px;
}

.auth-message {
    padding: 12px 14px;

    border-radius: 10px;

    background: #fff0ea;
    color: var(--danger);

    font-size: 14px;
}


.account-page {
    padding: 70px 0 100px;
}

.account-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 40px;
}

.account-heading h1 {
    margin: 14px 0 0;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.account-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.account-card {
    display: block;

    min-height: 190px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);

    color: var(--text);

    text-decoration: none;
}

.account-card-label {
    display: block;

    margin-bottom: 55px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.account-card h2 {
    margin: 0 0 8px;

    font-size: 23px;
}

.account-card p {
    margin: 0;

    color: var(--muted);
}

.account-card-link {
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.account-card-link:hover {
    transform: translateY(-3px);

    border-color: var(--accent);
}


@media (max-width: 800px) {

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

    .account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .auth-card {
        padding: 28px 22px;
    }

    .auth-card h1 {
        font-size: 36px;
    }

    .account-page {
        padding: 50px 0 70px;
    }

}
.checkout-page {
    padding: 70px 0 100px;
}

.checkout-heading {
    margin-bottom: 45px;
}

.checkout-heading h1 {
    margin: 14px 0 14px;

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.checkout-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 17px;
}


.checkout-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        380px;

    gap: 24px;

    align-items: start;
}


.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.checkout-section {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface);

    box-shadow: var(--shadow-sm);
}


.checkout-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 26px;
}

.checkout-section-heading span {
    color: var(--accent);

    font-size: 12px;
    font-weight: 800;
}

.checkout-section-heading h2 {
    margin: 0;

    font-size: 22px;
}


.checkout-fields {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.checkout-fields .auth-field:first-child {
    grid-column: 1 / -1;
}


.checkout-form textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface-soft);
    color: var(--text);

    font: inherit;

    resize: vertical;
    outline: none;
}

.checkout-form textarea:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px var(--accent-soft);
}


.delivery-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 20px;
}

.delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 17px;

    border: 1px solid var(--border);
    border-radius: 12px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.delivery-option:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.delivery-option input {
    margin-top: 4px;
    accent-color: var(--accent);
}

.delivery-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.delivery-option strong {
    font-size: 14px;
}

.delivery-option small {
    color: var(--muted);

    line-height: 1.4;
}


.checkout-address {
    display: none;
}


.checkout-summary {
    position: sticky;
    top: 24px;

    padding: 28px;

    border-radius: 20px;

    background: var(--surface-dark);
    color: #fff;
}

.checkout-items {
    display: flex;
    flex-direction: column;

    margin-top: 24px;
}

.checkout-item {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid #34373b;
}

.checkout-item div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.checkout-item strong {
    font-size: 14px;
}

.checkout-item span {
    color: #9fa5ac;

    font-size: 12px;
}

.checkout-total {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding-top: 22px;
    margin-top: 4px;
}

.checkout-total span {
    color: #b8bdc3;
}

.checkout-total strong {
    font-size: 28px;
}

.checkout-submit {
    width: 100%;

    min-height: 52px;
}


.order-success {
    padding: 100px 0;
}

.order-success-card {
    max-width: 650px;

    margin: 0 auto;

    padding: 55px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background: var(--surface);

    box-shadow: var(--shadow-md);

    text-align: center;
}

.order-success-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 28px;

    border-radius: 50%;

    background: var(--success-soft);
    color: var(--success);

    font-size: 28px;
    font-weight: 800;
}

.order-success-card h1 {
    margin: 14px 0;

    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.order-success-card > p {
    margin: 0 auto 30px;

    max-width: 480px;

    color: var(--muted);

    line-height: 1.6;
}

.order-success-details {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 30px;
}

.order-success-details div {
    padding: 18px;

    border-radius: 12px;

    background: var(--surface-soft);
}

.order-success-details span {
    display: block;

    margin-bottom: 6px;

    color: var(--muted);

    font-size: 12px;
}

.order-success-details strong {
    font-size: 17px;
}

.order-success-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 22px;
}


@media (max-width: 850px) {

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

    .checkout-summary {
        position: static;
        order: -1;
    }

}


@media (max-width: 600px) {

    .checkout-page {
        padding: 50px 0 70px;
    }

    .checkout-section {
        padding: 22px;
    }

    .checkout-fields,
    .delivery-options {
        grid-template-columns: 1fr;
    }

    .checkout-fields .auth-field:first-child {
        grid-column: auto;
    }

    .order-success {
        padding: 60px 0;
    }

    .order-success-card {
        padding: 35px 22px;
    }

    .order-success-card h1 {
        font-size: 38px;
    }

    .order-success-details {
        grid-template-columns: 1fr;
    }

    .order-success-actions {
        flex-direction: column;
    }

}
.account-page {
    padding: 56px 0 80px;
}

.account-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.account-heading h1 {
    margin: 8px 0 10px;
}

.account-heading p {
    margin: 0;
    color: #6f6f6f;
}

.account-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.account-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.account-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.account-card-heading h2 {
    margin: 0;
}

.account-order-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f1f1f1;
    font-size: 13px;
    font-weight: 700;
}

.account-info {
    display: flex;
    flex-direction: column;
}

.account-info-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
}

.account-info-row:first-child {
    padding-top: 0;
}

.account-info-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.account-info-row span {
    color: #888;
    font-size: 13px;
}

.account-info-row strong {
    font-size: 15px;
}

.account-orders {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-order {
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 20px;
}

.account-order-main {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.account-order-main > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.account-order-main > div:last-child {
    align-items: flex-end;
}

.account-order-main span {
    color: #888;
    font-size: 13px;
}

.account-order-main strong {
    font-size: 16px;
}

.account-order-items {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eeeeee;
}

.account-order-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 7px 0;
    color: #555;
    font-size: 14px;
}

.account-order-item span:last-child {
    white-space: nowrap;
    color: #888;
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px !important;
    font-weight: 700;
}

.order-status-new {
    background: #fff3df;
    color: #c66a00 !important;
}

.order-status-processing {
    background: #e9f1ff;
    color: #3569b8 !important;
}

.order-status-packed {
    background: #eeeaff;
    color: #6750b8 !important;
}

.order-status-shipped {
    background: #e8f7ef;
    color: #25804d !important;
}

.order-status-completed {
    background: #e7f6ed;
    color: #217a48 !important;
}

.order-status-cancelled {
    background: #f9e8e8;
    color: #b33a3a !important;
}

.account-empty {
    text-align: center;
    padding: 48px 20px;
}

.account-empty-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.account-empty h3 {
    margin: 0 0 8px;
}

.account-empty p {
    max-width: 420px;
    margin: 0 auto 24px;
    color: #777;
}


@media (max-width: 900px) {

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

}


@media (max-width: 600px) {

    .account-page {
        padding: 36px 0 60px;
    }

    .account-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-card {
        padding: 20px;
        border-radius: 16px;
    }

    .account-order-main {
        flex-direction: column;
    }

    .account-order-main > div:last-child {
        align-items: flex-start;
    }

    .account-order-item {
        flex-direction: column;
        gap: 3px;
    }

}

/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 900px) {

    .site-header {
        height: auto;
    }

    .header-inner {
        min-height: 76px;
        height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .logo {
        font-size: 25px;
    }

    .main-nav {
        gap: 20px;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        gap: 8px;
    }

    .header-search {
        min-width: 0;
        width: 100%;
    }

    .header-search input {
        min-width: 0;
        width: 100%;
    }

    .header-link {
        padding: 10px 6px;
        white-space: nowrap;
    }

    .account-button {
        white-space: nowrap;
    }
}


@media (max-width: 600px) {

    .header-inner {
        gap: 12px;
    }

    .logo {
        font-size: 25px;
    }

    .account-button {
        margin-left: auto;
        width: auto;
        height: 34px;
        padding: 0 12px;
        border-radius: 9px;
        font-size: 12px;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        order: 3;
    }

    .main-nav a {
        font-size: 13px;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        order: 4;
    }

    .header-search {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }

    .header-search input {
        width: 100%;
        min-width: 0;
    }

    .header-link {
        text-align: center;
        white-space: nowrap;
        padding: 10px 6px;
    }
}


@media (max-width: 400px) {

    .header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .main-nav {
        font-size: 12px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-link {
        font-size: 12px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .account-button {
        font-size: 12px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */

.header-top {
    display: contents;
}

.mobile-account {
    display: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .site-header {
        height: auto;
    }

    .header-inner {
        min-height: 76px;
        height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .header-top {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }

    .mobile-account {
        display: none;
    }

    .desktop-account {
        display: block;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        gap: 8px;
    }

    .header-search {
        min-width: 0;
        width: 100%;
    }

    .header-search input {
        min-width: 0;
        width: 100%;
    }

    .header-link {
        white-space: nowrap;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .header-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .logo {
        font-size: 25px;
    }

    .mobile-account {
        display: inline-flex;

        height: 34px;
        padding: 0 13px;

        border-radius: 9px;

        font-size: 12px;
        font-weight: 700;

        white-space: nowrap;
    }

    .desktop-account {
        display: none;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .header-actions {
        width: 100%;
        margin-left: 0;

        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .header-search {
        grid-column: 1 / -1;

        width: 100%;
        min-width: 0;
    }

    .header-search input {
        width: 100%;
        min-width: 0;
    }

    .header-link {
        padding: 10px 6px;

        text-align: center;
        white-space: nowrap;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .logo {
        font-size: 23px;
    }

    .mobile-account {
        height: 32px;
        padding: 0 11px;
        font-size: 11px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .header-link {
        font-size: 12px;
        padding-left: 4px;
        padding-right: 4px;
    }
}