/* ========================================
   www.shina-russia.com Premium - Modern Clean Design
   ======================================== */

:root {
    --rich-black: #0d0d0d;
    --gunmetal: #1c1c1e;
    --gunmetal-2: #121214;
    --line: #222222;
    --white: #ffffff;
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.62);
    --muted-2: rgba(255, 255, 255, 0.46);

    --cta-blue: #2f80ff;
    --cta-blue-2: #0a5bff;
    --gold: #c8a44d;
    --gold-2: #b8923e;

    --primary: var(--cta-blue);
    --primary-dark: var(--cta-blue-2);
    --secondary: var(--gold);
    --accent: var(--gold);
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: var(--gold);
    --info: var(--cta-blue);

    --dark: var(--rich-black);
    --gray: var(--muted);
    --light: var(--gunmetal);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-warning {
    background: linear-gradient(135deg, rgba(200, 164, 77, 0.98) 0%, rgba(220, 187, 105, 0.98) 100%);
    color: rgba(13, 13, 13, 0.92);
    box-shadow: 0 18px 55px rgba(200, 164, 77, 0.20);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 80px rgba(200, 164, 77, 0.26);
    color: rgba(13, 13, 13, 0.96);
}

.btn-outline-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.02);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.28);
}

.navbar-cart-btn {
    background: rgba(18, 18, 20, 0.72) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 14px;
    padding: 0.55rem 1.1rem;
    font-weight: 800;
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.navbar-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.60);
    border-color: rgba(255, 255, 255, 0.22) !important;
    background: rgba(18, 18, 20, 0.80) !important;
}

.navbar-cart-btn:active {
    transform: translateY(0);
    background: rgba(18, 18, 20, 0.66) !important;
}

.navbar .badge.bg-danger {
    background: rgba(245, 77, 77, 0.95) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.contact-fab {
    position: fixed;
    right: 0;
    bottom: 36px;
    top: auto;
    transform: none;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.contact-fab-toggle {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(18, 180, 95, 0.98) 0%, rgba(46, 204, 113, 0.98) 100%);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 16px 0 0 16px;
    padding: 0.75rem 0.55rem;
    font-weight: 900;
    box-shadow: 0 18px 50px rgba(46, 204, 113, 0.18), 0 18px 55px rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(16px);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    width: 56px;
    min-height: 190px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-fab-toggle::after {
    content: none;
}

.contact-fab-toggle::before {
    content: none;
}

.contact-fab-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    filter: brightness(1.03);
}

.contact-fab-toggle-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: rgba(18, 180, 95, 0.98);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.contact-fab-toggle-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    line-height: 1;
}

.lt-label {
    display: block;
}

.lt-label .lt-chat-label {
    appearance: none;
    border: none;
    cursor: pointer;
}

.lt-label .lt-label-block__txt {
    display: inline-block;
}

.contact-fab-panel {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    right: calc(100% + 12px);
    bottom: 0;
    top: auto;
    transform: none;
}

.contact-fab.is-open .contact-fab-panel {
    display: flex;
}

.contact-fab-action {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(18, 18, 20, 0.72);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 0.75rem 0.95rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(16px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-fab-action:hover {
    transform: translateY(-2px);
    background: rgba(18, 18, 20, 0.86);
    border-color: rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.98);
}

.contact-fab-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-fab-telegram .contact-fab-action-icon {
    background: rgba(47, 128, 255, 0.18);
    color: rgba(120, 180, 255, 0.96);
}

.contact-fab-whatsapp .contact-fab-action-icon {
    background: rgba(46, 204, 113, 0.16);
    color: rgba(142, 255, 196, 0.96);
}

@media (max-width: 768px) {
    .contact-fab {
        right: 12px;
        bottom: 12px;
        top: auto;
        transform: none;
    }

    .contact-fab-toggle {
        border-radius: 999px;
        padding: 0;
        width: 54px;
        height: 54px;
        min-height: 54px;
        flex-direction: row;
        justify-content: center;
    }

    .contact-fab-toggle-text {
        display: none !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    .lt-label .lt-label-block__txt {
        display: none !important;
    }

    .contact-fab-toggle-icon {
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   Typography
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: radial-gradient(1200px 600px at 25% -10%, rgba(47, 128, 255, 0.18), rgba(13, 13, 13, 0)) , var(--rich-black);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    color-scheme: dark;
}

a {
    color: var(--text);
}

a:hover {
    color: var(--white);
}

a {
    text-decoration-thickness: from-font;
    text-underline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
}

.text-muted {
    color: rgba(255, 255, 255, 0.55) !important;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

.text-dark {
    color: rgba(255, 255, 255, 0.88) !important;
}

.text-white {
    color: rgba(255, 255, 255, 0.96) !important;
}

.bg-dark {
    background-color: rgba(0, 0, 0, 0.55) !important;
}

.alert {
    background: rgba(18, 18, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
}

.btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

.badge.bg-light {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

hr {
    border-color: rgba(255, 255, 255, 0.10);
    opacity: 1;
}

.pagination .page-link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pagination .page-item + .page-item .page-link {
    margin-left: 0.35rem;
}

.pagination .page-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.95);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.20), rgba(200, 164, 77, 0.14));
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.96);
}

.input-group.input-group-lg .form-control {
    border-radius: 999px 0 0 999px;
}

.input-group.input-group-lg .btn {
    border-radius: 0 999px 999px 0;
}

/* ========================================
   Navbar (Sticky Premium)
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(13, 13, 13, 0.96) !important;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 128, 255, 0), rgba(47, 128, 255, 0.55), rgba(200, 164, 77, 0.45), rgba(200, 164, 77, 0));
    opacity: 0.55;
    pointer-events: none;
}

body {
    padding-top: 80px;
}

.navbar.scrolled {
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
}

.navbar-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0.5rem 0 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    transition: transform 0.3s ease !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .brand-logo-badge {
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    padding: 8px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
}

.navbar-brand .brand-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

 .navbar-brand img.brand-logo {
     width: 100% !important;
     height: 100% !important;
     max-width: 100% !important;
     max-height: 100% !important;
     object-fit: contain !important;
 }

.navbar-brand .brand-wordmark {
    font-family: 'Russo One', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
}

@media (max-width: 576px) {
    .navbar-brand .brand-wordmark {
        font-size: 0.95rem !important;
        letter-spacing: 0.06em !important;
    }
    .navbar-brand .brand-logo-badge {
        width: 50px !important;
        height: 50px !important;
    }
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.84) !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(47, 128, 255, 0.9), rgba(200, 164, 77, 0.85));
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.06);
}

.navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover::after {
    width: 60%;
}

.btn-link-style {
    background: none;
    border: none;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.84) !important;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-link-style:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.06);
}

/* Cart Button */
.btn-warning {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    color: #0b0b0b;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Hero Section
   ======================================== */

.hero-block {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 6rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

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

.legal-page .alert {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

.legal-page .alert * {
    color: inherit !important;
}

.legal-page .alert-success {
    background-color: #d1e7dd !important;
    border-color: #badbcc !important;
    color: #0f5132 !important;
}

.legal-page .alert-warning {
    background-color: #fff3cd !important;
    border-color: #ffecb5 !important;
    color: #664d03 !important;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.btn-hero {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-dark);
}

/* ========================================
   Product Cards (Premium)
   ======================================== */

.product-card {
    border-radius: var(--radius-lg);
    border: none;
    overflow: hidden;
    transition: var(--transition);
    background: white;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-list-page .card {
    background: linear-gradient(180deg, rgba(18, 18, 20, 0.92), rgba(13, 13, 13, 0.92));
    border: 1px solid var(--line);
    box-shadow: 0 14px 55px rgba(0, 0, 0, 0.40);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-radius: 14px;
    overflow: hidden;
}

.product-list-page .card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.10),
        0 0 34px rgba(47, 128, 255, 0.16),
        0 0 26px rgba(200, 164, 77, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
}

.product-list-page .card-img-top-wrapper {
    position: relative;
    text-align: center;
    padding: 18px;
    background: #ffffff;
    overflow: hidden;
}

.product-list-page .card-img-top-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
    opacity: 0;
}

.product-list-page .card-img-top {
    max-height: 180px;
    object-fit: contain;
    width: auto;
    display: inline-block;
    position: relative;
    z-index: 1;
    mix-blend-mode: normal;
    filter: none;
}

.product-list-page .card-img-top-wrapper {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-list-page .card-img-top-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: none;
    pointer-events: none;
    opacity: 0;
}

.product-title {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.product-title .product-link {
    color: rgba(255, 255, 255, 0.90);
}

.product-price {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.92);
}

.season-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    margin-left: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    vertical-align: middle;
}

.product-title .season-icon.season-summer {
    background: rgba(200, 164, 77, 0.12);
    color: rgba(250, 204, 21, 0.95) !important;
}

.season-all-season {
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.88);
}

.season-winter {
    background: rgba(47, 128, 255, 0.12);
    color: rgba(255, 255, 255, 0.90);
}

.product-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--light);
}

.product-card .card-img-top {
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .card-img-top {
    transform: scale(1.1);
}

.season-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 1.75rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 0.5rem;
}

.price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.75rem;
}

/* Buttons */
.btn {
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cta-blue) 0%, var(--cta-blue-2) 100%);
    box-shadow: 0 14px 40px rgba(47, 128, 255, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 55px rgba(47, 128, 255, 0.30);
}

.btn-detail {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.02);
}

.btn-detail:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.26);
}

.btn-outline-primary {
    border: 1px solid rgba(47, 128, 255, 0.60);
    color: rgba(255, 255, 255, 0.92);
    background: rgba(47, 128, 255, 0.08);
}

.btn-outline-primary:hover {
    background: rgba(47, 128, 255, 0.18);
    color: var(--white) !important;
    border-color: rgba(47, 128, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

/* ========================================
   Filter Card
   ======================================== */

.filter-card {
    position: sticky;
    top: 120px;
    border-radius: 14px;
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.55);
    background: rgba(18, 18, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px);
}

.product-detail-page {
    padding-top: 2.0rem;
}

.product-detail-page .product-main {
    margin-top: 0.75rem;
}

.product-detail-page .product-buy-card .price-display {
    font-size: 2.1rem;
    line-height: 1.05;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.94);
    letter-spacing: -0.02em;
}

.product-detail-page .product-buy-card .price-display::after {
    content: '';
    display: block;
    height: 1px;
    margin-top: 0.75rem;
    background: linear-gradient(90deg, rgba(200, 164, 77, 0.55), rgba(255, 255, 255, 0));
    opacity: 0.9;
}

.btn-add-to-cart-green {
    background: linear-gradient(135deg, rgba(18, 180, 95, 0.95) 0%, rgba(46, 204, 113, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(13, 13, 13, 0.92) !important;
    font-weight: 900;
}

.btn-add-to-cart-green:hover {
    filter: brightness(1.05);
    box-shadow: 0 22px 70px rgba(46, 204, 113, 0.22);
    transform: translateY(-1px);
}

.product-detail-page .btn-add-to-cart-green:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn-add-to-cart-green:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.product-detail-page .btn-add-to-cart-green:focus {
    box-shadow: 0 0 0 0.20rem rgba(46, 204, 113, 0.22), 0 22px 70px rgba(46, 204, 113, 0.18) !important;
}

.btn-add-to-cart-green:focus {
    box-shadow: 0 0 0 0.20rem rgba(46, 204, 113, 0.22), 0 22px 70px rgba(46, 204, 113, 0.18) !important;
}

.product-detail-page .product-tabs .product-detail-card {
    background: rgba(18, 18, 20, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(18px);
}

.product-detail-page .product-tabs .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
    --bs-table-color: rgba(255, 255, 255, 0.86);
    color: rgba(255, 255, 255, 0.86);
}

.product-detail-page .product-tabs .table th {
    color: rgba(255, 255, 255, 0.70);
}

.product-detail-page .product-tabs .table td {
    color: rgba(255, 255, 255, 0.90);
}

.filter-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.form-select, .form-control {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.90);
}

select option {
    background: #121214;
    color: rgba(255, 255, 255, 0.92);
}

select option:hover,
select option:checked,
select option:focus {
    background: #1c1c1e;
    color: rgba(255, 255, 255, 0.96);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-select:focus, .form-control:focus {
    border-color: rgba(47, 128, 255, 0.65);
    box-shadow: 0 0 0 0.20rem rgba(47, 128, 255, 0.16);
}

.form-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 0.5rem;
}

.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.70) !important;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.55rem 0.95rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-tabs .nav-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.90) !important;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.18), rgba(200, 164, 77, 0.12));
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94) !important;
}

.sticky-top {
    top: 100px;
    z-index: 1000;
}

.filter-reset-link {
    display: inline-block;
    text-align: center;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0;
}

.filter-reset-link:hover {
    color: #111827;
    text-decoration: underline;
}

.catalog-toolbar {
    border-radius: 14px;
    background: rgba(18, 18, 20, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.55);
    padding: 0.9rem;
}

.catalog-toolbar-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.catalog-search {
    flex: 1 1 auto;
}

.catalog-sort {
    flex: 0 0 260px;
}

@media (max-width: 991.98px) {
    .product-list-page .catalog-sidebar {
        margin-bottom: 0.75rem;
    }

    .product-list-page .catalog-filters {
        margin-bottom: 0.75rem;
    }

    .product-list-page .catalog-main > .btn.d-lg-none {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.90);
        font-weight: 800;
        border-radius: 16px;
        padding: 0.9rem 1rem;
        box-shadow: 0 18px 65px rgba(0, 0, 0, 0.45);
    }

    .product-list-page .filter-card {
        top: 0;
    }

    .product-list-page .catalog-toolbar {
        padding: 0.75rem;
    }

    .product-list-page .card-img-top {
        max-height: 150px;
    }

    .product-list-page .row.row-cols-1.row-cols-sm-2.row-cols-lg-3.g-4 {
        --bs-gutter-x: 0.85rem;
        --bs-gutter-y: 0.85rem;
    }

    .product-list-page .card {
        border-radius: 16px;
    }

    .product-list-page .card-body {
        padding: 0.95rem;
    }

    .product-list-page .card-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-list-page .card .btn {
        width: 100%;
        justify-content: center;
        min-height: 46px;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {
    .catalog-toolbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-sort {
        flex: 1 1 auto;
        width: 100%;
    }
}

.benefits-strip {
    padding: 1.75rem 0;
    margin-top: 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.00) 100%);
}

.benefits-strip .row > [class^="col-"] {
    display: flex;
}

.benefit-item {
    background: rgba(18, 18, 20, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 1.25rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    width: 100%;
    height: 100%;
}

.benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    flex: 0 0 auto;
}

.benefit-title {
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2px;
}

.benefit-text {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
    line-height: 1.35;
}

.home-map-card {
    background: rgba(18, 18, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
}

.home-map-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(560px 260px at 20% 0%, rgba(200, 164, 77, 0.14), rgba(255, 255, 255, 0));
}

.home-map-title {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.home-map-address {
    color: rgba(255, 255, 255, 0.62);
}

.home-map-frame iframe {
    display: block;
}

.home-map-empty {
    padding: 1.25rem;
    color: rgba(255, 255, 255, 0.70);
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        top: 0;
    }
}

.pagination-modern {
    margin-bottom: 0;
}

.page-link-modern {
    color: #1d1d1f;
    background: transparent;
    border: 2px solid #e9ecef;
    border-radius: 999px;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-weight: 600;
    transition: var(--transition);
}

.page-link-modern:hover {
    color: #1d1d1f;
    border-color: #1d1d1f;
}

.page-link-modern.is-active {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #ffffff;
}

.page-link-modern.is-ellipsis {
    border-color: transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
}

.pagination-modern .page-item.disabled .page-link-modern {
    opacity: 0.7;
}

.product-list-page .pagination-modern {
    flex-wrap: wrap;
}

.product-list-page .page-link-modern {
    color: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.product-list-page .page-link-modern:hover {
    color: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.product-list-page .page-link-modern.is-active {
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.22), rgba(200, 164, 77, 0.16));
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 576px) {
    .product-list-page .pagination-modern {
        gap: 0.4rem !important;
    }
    .product-list-page .page-link-modern {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .product-list-page .catalog-toolbar .input-group {
        width: 100%;
    }

    .product-list-page .catalog-toolbar .input-group .form-control {
        width: 100%;
        border-radius: 14px 14px 0 0;
    }

    .product-list-page .catalog-toolbar .input-group .btn {
        width: 100%;
        border-radius: 0 0 14px 14px;
    }
}

.legal-page {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-page[data-aos],
.legal-page.aos-init,
.legal-page.aos-animate {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.legal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #34495e;
}

.legal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50 !important;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.legal-page .text-muted {
    color: rgba(44, 62, 80, 0.70) !important;
}

.legal-page a {
    color: #2c3e50;
}

.legal-page a:hover {
    color: #1b2a38;
}

.legal-page .table {
    color: #2c3e50;
}

.legal-page .table,
.legal-page .table-responsive {
    opacity: 1 !important;
    visibility: visible !important;
}

.legal-page .table td,
.legal-page .table th {
    color: #2c3e50;
}

.legal-page .card,
.legal-page .card-body {
    color: #2c3e50;
}

.legal-page .consent-alert {
    background: rgba(18, 18, 20, 0.92);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
    position: relative;
    z-index: 1;
}

.legal-page .requisites-table td {
    color: #2c3e50;
}

.legal-page .requisites-table a,
.legal-page .requisites-table a:hover,
.legal-page .requisites-table a span,
.legal-page .requisites-table a:hover span,
.legal-page .requisites-table .__cf_email__ {
    color: #2c3e50 !important;
}

.advantage-card {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h5 {
    color: #667eea;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.contact-card h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.requisites-table {
    margin-top: 1rem;
}

.requisites-table td {
    padding: 1rem;
}

.requisites-table .fw-bold {
    background: #f8f9fa;
    width: 40%;
}

.delivery-option, .payment-method {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.delivery-option h4, .payment-method h4 {
    color: #667eea;
    font-weight: 700;
    margin-bottom: 1rem;
}

.order-detail-header {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.status-badge-large {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.info-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.order-items-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.orders-page .order-detail-header,
.orders-page .info-card,
.orders-page .order-items-section {
    background: rgba(18, 18, 20, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
}

.orders-page .info-card-title {
    color: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.orders-page .info-row {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.orders-page .info-label {
    color: rgba(255, 255, 255, 0.62) !important;
}

.orders-page .info-value {
    color: rgba(255, 255, 255, 0.90) !important;
}

.orders-page .order-detail-title {
    color: rgba(255, 255, 255, 0.92);
}

.orders-page .text-muted {
    color: rgba(255, 255, 255, 0.62) !important;
}

.orders-page .section-title-detail {
    color: rgba(255, 255, 255, 0.92);
}

.orders-page .order-items-table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(255, 255, 255, 0.86);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-striped-color: rgba(255, 255, 255, 0.86);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
    --bs-table-hover-color: rgba(255, 255, 255, 0.90);
    --bs-table-border-color: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.86);
}

.orders-page .order-items-table thead th {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.orders-page .order-items-table > :not(caption) > * > * {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.orders-page .order-items-table tfoot tr.table-active {
    background: rgba(255, 255, 255, 0.03) !important;
}

.orders-page .order-items-table tfoot tr.table-total {
    background: rgba(255, 255, 255, 0.05) !important;
}

.orders-page .order-items-table tfoot td,
.orders-page .order-items-table tfoot strong,
.orders-page .order-items-table tfoot h5 {
    color: rgba(255, 255, 255, 0.90) !important;
}

.orders-page .order-items-table .text-success {
    color: rgba(46, 204, 113, 0.95) !important;
}

.orders-page .item-image {
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.orders-page .quantity-badge {
    background: rgba(47, 128, 255, 0.80) !important;
}

.orders-page .order-items-table .text-primary {
    color: rgba(200, 164, 77, 0.95) !important;
}

.section-title-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #667eea;
}

.order-items-table {
    margin-bottom: 0;
}

.order-items-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
    border: none;
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.order-items-table tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    border: 2px solid #f0f0f0;
}

.quantity-badge {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.table-total {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-top: 3px solid #667eea;
}

.table-total td {
    padding: 1.5rem 1rem;
}

.form-control-readonly {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.5rem;
}

.phone-edit-form {
    margin-top: 1rem;
}

.phone-edit-form .form-control {
    margin-top: 0.5rem;
}

.btn-profile-save {
    width: 100%;
    margin-top: 1rem;
    padding: 0.875rem;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.btn-profile-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
}

#id_email, #id_first_name, #id_last_name, #id_phone, #id_password1, #id_password2 {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #2c3e50;
    background-color: #f8f9fa;
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}


#id_email:focus, #id_first_name:focus, #id_last_name:focus, #id_phone:focus, #id_password1:focus, #id_password2:focus {
    color: #2c3e50;
    background-color: #fff;
    border-color: #667eea;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.15);
}

/* ========================================
   Footer (Premium Dark) - FIXED
   ======================================== */

footer {
    background:
        radial-gradient(900px 420px at 18% 0%, rgba(47, 128, 255, 0.16), rgba(13, 13, 13, 0)),
        radial-gradient(760px 420px at 78% 0%, rgba(200, 164, 77, 0.14), rgba(13, 13, 13, 0)),
        rgba(10, 10, 12, 0.85);
    color: #ecf0f1 !important;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 -30px 90px rgba(0, 0, 0, 0.45);
}

/* Footer Fix - перебиваем Bootstrap .text-muted */
footer, footer a, footer .text-muted, footer h6, footer p {
    color: #ecf0f1 !important;
}

footer h6 {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 900;
    letter-spacing: -0.01em;
}

footer h5 {
    color: #ecf0f1 !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
    opacity: 0.88;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.96) !important;
    transform: translateX(6px);
    opacity: 1;
}

footer hr {
    border-color: rgba(255,255,255,0.2) !important;
}

footer .container > .row {
    row-gap: 1.25rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer small {
    color: #bdc3c7 !important;
}

/* ========================================
   Button Fixes
   ======================================== */

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-secondary:hover {
    color: #fff !important;
}

.btn-outline-success:hover {
    color: #fff !important;
}

.btn-outline-danger:hover {
    color: #fff !important;
}

.btn-outline-warning:hover {
    color: #000 !important;
}

.btn-outline-info:hover {
    color: #fff !important;
}

/* ========================================
   Professional Calculator Styles
   ======================================== */

.calculator-hero {
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(47, 128, 255, 0.22), rgba(13, 13, 13, 0)),
        linear-gradient(180deg, rgba(18, 18, 20, 0.65), rgba(13, 13, 13, 0.85));
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.tire-params-card {
    background: rgba(18, 18, 20, 0.62);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    transition: var(--transition);
    overflow: hidden;
}

.tire-params-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.tire-params-card .card-body-custom {
    color: rgba(255, 255, 255, 0.86);
}

.current-tire {
    border: 1px solid rgba(47, 128, 255, 0.45);
}

.new-tire {
    border: 1px solid rgba(200, 164, 77, 0.38);
}

.card-header-custom {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.card-header-custom h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.badge-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 0.5rem;
}

.badge-current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.card-body-custom {
    padding: 2rem;
}

.param-group {
    margin-bottom: 1.5rem;
}

.param-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.param-label svg {
    color: var(--primary);
}

.form-select-custom {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.90);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select-custom:focus {
    outline: none;
    border-color: rgba(47, 128, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 0.20rem rgba(47, 128, 255, 0.16);
}

.tire-size-display {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 12px;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    border: 2px dashed #667eea;
}

.results-section,
.visualization-section {
    background: rgba(18, 18, 20, 0.62);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary);
}

.results-table {
    margin-bottom: 0;
}

.results-table thead th {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    border: none;
    padding: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    vertical-align: middle;
}

.results-table tbody td {
    padding: 1.25rem;
    vertical-align: middle;
    border-color: #e9ecef;
}

.visualization-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.viz-title {
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tire-viz-svg {
    width: 100%;
    height: auto;
    background: white;
    border-radius: 8px;
    padding: 1rem;
}

/* SVG Tire Visualization Styles */
.tire-rubber {
    fill: url(#tireRubberGradient);
    stroke: #1a1a1a;
    stroke-width: 2;
}

.tire-rim {
    fill: url(#tireRimGradient);
    stroke: #7f8c8d;
    stroke-width: 2;
}

.tire-hub {
    fill: url(#hubGradient);
    stroke: #34495e;
    stroke-width: 2;
}

.tire-tread {
    fill: url(#treadGradient);
    stroke: #1a1a1a;
    stroke-width: 3;
}

.tire-sidewall {
    fill: rgba(44, 62, 80, 0.6);
    stroke: none;
}

.tread-groove {
    stroke: #95a5a6;
    stroke-width: 2;
    opacity: 0.7;
}

.dimension-line {
    stroke: #667eea;
    stroke-width: 2;
    stroke-dasharray: 5, 5;
}

.dimension-text {
    fill: #667eea;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.tire-label {
    fill: #2c3e50;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .tire-size-display {
        font-size: 1.5rem;
    }
    
    .results-table {
        font-size: 0.85rem;
    }
    
    .results-table thead th,
    .results-table tbody td {
        padding: 0.75rem 0.5rem;
    }
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.tire-selector-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.tire-selector-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.tire-selector-card.current {
    border: 3px solid #667eea;
}

.tire-selector-card.new {
    border: 3px solid #f5576c;
}

.card-header-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.card-header-custom h5 {
    margin: 0;
    font-weight: 700;
    color: var(--dark);
}

.badge-indicator {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.current-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.new-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.selector-group {
    margin-bottom: 1.25rem;
}

.selector-group label {
    display: block;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-select-custom {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.90);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select-custom:focus {
    outline: none;
    border-color: rgba(47, 128, 255, 0.65);
    box-shadow: 0 0 0 0.20rem rgba(47, 128, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.size-display {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
}

.current-display {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
}

.new-display {
    background: linear-gradient(135deg, #f093fb15 0%, #f5576c15 100%);
    color: #f5576c;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--cta-blue);
}

.visualization-section {
    background: rgba(18, 18, 20, 0.62);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    margin-bottom: 2rem;
}

.view-panel {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
}

.view-title {
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.svg-container {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* SVG Tire Styles */
.tire-profile {
    fill: url(#tireGradient);
    stroke: #2c3e50;
    stroke-width: 3;
}

.tire-profile-new {
    fill: url(#tireGradientNew);
    stroke: #2c3e50;
    stroke-width: 3;
}

.tire-rim {
    fill: url(#rimGradient);
    stroke: #7f8c8d;
    stroke-width: 2;
}

.tire-center {
    fill: #34495e;
    stroke: #2c3e50;
    stroke-width: 2;
}

.tire-outer {
    fill: url(#tireGradient);
    stroke: #2c3e50;
    stroke-width: 4;
}

.tire-outer-new {
    fill: url(#tireGradientNew);
    stroke: #2c3e50;
    stroke-width: 4;
}

.tire-rim-side {
    fill: url(#rimGradient);
    stroke: #7f8c8d;
    stroke-width: 3;
}

.tire-label {
    fill: #667eea;
    font-weight: 700;
    font-size: 14px;
}

.tire-label-new {
    fill: #f5576c;
    font-weight: 700;
    font-size: 14px;
}

.dimension-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.info-label {
    color: var(--gray);
}

.info-current {
    color: #667eea;
    font-weight: 700;
}

.info-arrow {
    color: var(--gray);
    font-size: 1.2rem;
}

.info-new {
    color: #f5576c;
    font-weight: 700;
}

.info-diff {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 700;
}

.results-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.results-table {
    margin-bottom: 0;
}

.results-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
    border: none;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.results-table tbody tr {
    transition: var(--transition);
}

.results-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.results-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: rgba(255, 255, 255, 0.10);
}

.diff-cell {
    font-weight: 800;
    font-size: 1.1rem;
}

.diff-positive {
    color: #27ae60;
}

.diff-negative {
    color: #e74c3c;
}

.diff-neutral {
    color: var(--gray);
}

.highlight-row {
    background: #f8f9fa;
}

.highlight-row td {
    font-weight: 700;
}

/* Add gradients to page */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(47, 128, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 164, 77, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .dimension-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-arrow {
        transform: rotate(90deg);
    }
}

/* ========================================
   Auth Pages (Premium)
   ======================================== */

.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(47, 128, 255, 0.18), rgba(13, 13, 13, 0)),
        linear-gradient(180deg, rgba(18, 18, 20, 0.62), rgba(13, 13, 13, 0.90));
}

.auth-card {
    background: rgba(18, 18, 20, 0.62);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
}

.auth-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.auth-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 2rem;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-label-modern {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.80);
    margin-bottom: 0.5rem;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.form-control-modern {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.90);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.04);
}

.form-control-modern:focus {
    outline: none;
    border-color: rgba(47, 128, 255, 0.65);
    box-shadow: 0 0 0 0.20rem rgba(47, 128, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.btn-auth-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
}

.auth-footer-text {
    color: var(--gray);
    margin: 0;
}

.alert {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 18, 20, 0.72);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(16px);
}

.alert .btn-close {
    filter: invert(1) grayscale(1);
}

.alert-success {
    border-color: rgba(48, 209, 88, 0.30);
}

.alert-info {
    border-color: rgba(47, 128, 255, 0.30);
}

.alert-warning {
    border-color: rgba(200, 164, 77, 0.30);
}

.alert-danger {
    border-color: rgba(245, 77, 77, 0.35);
}

.auth-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.auth-footer a {
    color: rgba(255, 255, 255, 0.86);
}

.auth-footer a:hover {
    color: rgba(255, 255, 255, 0.96);
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.alert-modern {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Profile Page
   ======================================== */

.profile-wrapper {
    background: radial-gradient(1200px 600px at 25% -10%, rgba(47, 128, 255, 0.14), rgba(13, 13, 13, 0)) , var(--rich-black);
    min-height: 100vh;
    padding-bottom: 3rem;
}

.profile-header {
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(47, 128, 255, 0.22), rgba(13, 13, 13, 0)),
        linear-gradient(180deg, rgba(18, 18, 20, 0.62), rgba(13, 13, 13, 0.90));
    padding: 3rem 0;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.profile-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.profile-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.profile-card {
    background: rgba(18, 18, 20, 0.62);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    height: 100%;
}

.profile-card-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)) ,
        linear-gradient(135deg, rgba(47, 128, 255, 0.95) 0%, rgba(200, 164, 77, 0.80) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    position: relative;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0)) ,
        linear-gradient(135deg, rgba(47, 128, 255, 0.45), rgba(200, 164, 77, 0.30));
    filter: blur(0.2px);
    z-index: -1;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: radial-gradient(200px 140px at 30% 25%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    opacity: 0.65;
    pointer-events: none;
}

.avatar-text {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.profile-role {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
}

.profile-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-value {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.profile-actions {
    margin-top: 2rem;
}

.btn-profile-action {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-profile-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.profile-card-header-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

.badge-count {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
}

.orders-table-wrapper {
    overflow-x: auto;
}

.profile-wrapper .orders-table-wrapper {
    border-radius: 16px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(13, 13, 15, 0.35);
}

.orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.profile-wrapper .orders-table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(255, 255, 255, 0.86);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-striped-color: rgba(255, 255, 255, 0.86);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
    --bs-table-hover-color: rgba(255, 255, 255, 0.90);
    --bs-table-border-color: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.86);
}

.profile-wrapper .orders-table > :not(caption) > * > * {
    background-color: transparent !important;
}

.orders-table th {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    background: none;
    border: none;
}

.order-row {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: var(--transition);
}

.order-row:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.01);
}

.order-row td {
    padding: 1.25rem 1rem;
    border: none;
}

.order-row td:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.order-row td:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.id-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--primary);
}

.order-date {
    font-weight: 600;
}

.items-list {
    font-size: 0.9rem;
}

.item-mini {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
}

.price-value {
    color: var(--primary);
    font-size: 1.25rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.85rem;
}

.status-new { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.70); border: 1px solid rgba(255, 255, 255, 0.10); }
.status-paid { background: rgba(48, 209, 88, 0.10); color: rgba(255, 255, 255, 0.90); border: 1px solid rgba(48, 209, 88, 0.25); }
.status-shipped { background: rgba(47, 128, 255, 0.10); color: rgba(255, 255, 255, 0.90); border: 1px solid rgba(47, 128, 255, 0.25); }
.status-delivered { background: rgba(48, 209, 88, 0.10); color: rgba(255, 255, 255, 0.90); border: 1px solid rgba(48, 209, 88, 0.25); }
.status-cancelled { background: rgba(245, 77, 77, 0.10); color: rgba(255, 255, 255, 0.90); border: 1px solid rgba(245, 77, 77, 0.25); }

.profile-wrapper .btn-pay-green {
    background: linear-gradient(135deg, rgba(18, 180, 95, 0.95) 0%, rgba(46, 204, 113, 0.95) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(13, 13, 13, 0.92) !important;
    font-weight: 900;
    box-shadow: 0 14px 40px rgba(46, 204, 113, 0.18);
}

.profile-wrapper .btn-pay-green:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.profile-wrapper .btn-pay-green:active {
    transform: translateY(0);
}

/* ========================================
   Orders Pages (Premium Dark)
   ======================================== */

.orders-page {
    padding: 2.5rem 0;
    color: rgba(255, 255, 255, 0.86);
}

.orders-page .card {
    background: rgba(18, 18, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 26px 90px rgba(0,0,0,0.55);
    backdrop-filter: blur(18px);
    color: rgba(255, 255, 255, 0.86);
}

.orders-page .card-body {
    color: rgba(255, 255, 255, 0.86);
}

.orders-page .card-header,
.orders-page .card-header.bg-white {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.92);
}

.orders-page .card-title,
.orders-page h1,
.orders-page h2,
.orders-page h3,
.orders-page h4,
.orders-page h5,
.orders-page h6 {
    color: rgba(255, 255, 255, 0.92);
}

.orders-page .text-muted {
    color: rgba(255, 255, 255, 0.62) !important;
}

.orders-page .border-bottom {
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.orders-page .form-control,
.orders-page .form-control-sm,
.orders-page textarea,
.orders-page input[type="text"],
.orders-page input[type="email"],
.orders-page input[type="tel"],
.orders-page input[type="number"] {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.90) !important;
}

.orders-page .form-control:focus,
.orders-page .form-control-sm:focus,
.orders-page textarea:focus {
    box-shadow: 0 0 0 0.20rem rgba(47, 128, 255, 0.16) !important;
    border-color: rgba(47, 128, 255, 0.65) !important;
}

.orders-page hr {
    border-color: rgba(255, 255, 255, 0.10);
    opacity: 1;
}

.orders-page .btn-outline-danger {
    border-color: rgba(245, 77, 77, 0.55);
    color: rgba(255, 255, 255, 0.90);
    background: rgba(245, 77, 77, 0.08);
}

.orders-page .btn-outline-danger:hover {
    background: rgba(245, 77, 77, 0.16);
    border-color: rgba(245, 77, 77, 0.75);
}

/* ========================================
   Product Detail (Premium Dark)
   ======================================== */

.product-detail-page {
    padding: 2.5rem 0;
}

.product-detail-page .product-media-card,
.product-detail-page .product-detail-card,
.product-detail-page .product-similar-card {
    background: rgba(18, 18, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.86);
}

.product-detail-page .product-title,
.product-detail-page h1,
.product-detail-page h2,
.product-detail-page h3,
.product-detail-page h4,
.product-detail-page h5,
.product-detail-page h6 {
    color: rgba(255, 255, 255, 0.92);
}

.product-detail-page .text-muted {
    color: rgba(255, 255, 255, 0.62) !important;
}

.product-detail-page .product-media-frame {
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem;
}

.product-detail-page .product-media-frame img {
    max-height: 520px;
    object-fit: contain;
    filter: none;
}

.product-detail-page .input-group-text {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
}

.product-detail-page .table {
    color: rgba(255, 255, 255, 0.86);
}

.product-detail-page .table th,
.product-detail-page .table td {
    border-color: rgba(255, 255, 255, 0.10);
}

.product-detail-page .table th {
    color: rgba(255, 255, 255, 0.70);
    font-weight: 700;
}

.product-detail-page .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.product-detail-page .product-similar-card .card-body a {
    color: rgba(255, 255, 255, 0.86) !important;
}

.product-detail-page .product-similar-card .card-footer {
    color: rgba(255, 255, 255, 0.86);
}

.product-detail-page .product-similar-card .card-footer .fw-bold {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.96);
}

.product-detail-page .product-similar-card .card-footer .btn {
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-weight: 800;
}

.product-detail-page .product-similar-card .card-footer .btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.30);
    color: rgba(255, 255, 255, 0.98);
}

.product-detail-page .product-similar-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #ffffff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.product-detail-page .product-similar-img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.product-detail-page .product-similar-card .card-body {
    padding-top: 1rem;
}

.product-detail-page hr {
    border-color: rgba(255, 255, 255, 0.10);
    opacity: 1;
}

.product-detail-page .product-breadcrumb .breadcrumb {
    margin-bottom: 1.25rem;
}

.product-detail-page .product-breadcrumb .breadcrumb-item,
.product-detail-page .product-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

.product-detail-page .product-breadcrumb .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.86);
}

.product-detail-page .product-header {
    margin-bottom: 0.75rem;
}

.product-detail-page .product-breadcrumb {
    margin-bottom: 0.75rem;
}

.product-detail-page .product-breadcrumb .breadcrumb {
    margin-bottom: 0;
}

.product-detail-page .product-title {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0;
}

.product-detail-page .product-subtitle {
    margin-top: 0.35rem;
}

.product-detail-page .product-media-card {
    padding: 1.1rem;
}


.product-detail-page .product-media-frame {
    min-height: 520px;
}

.product-detail-page .product-buy-col {
    position: sticky;
    top: 96px;
}

.product-detail-page .product-buy-card {
    background: rgba(18, 18, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.product-detail-page .buy-meta {
    font-size: 0.95rem;
}


.product-detail-page .product-mini-card {
    background: rgba(18, 18, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.25rem;
}

.product-detail-page .mini-title {
    font-weight: 900;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.75rem;
}

.product-detail-page .mini-grid {
    display: grid;
    gap: 0.55rem;
}

.product-detail-page .mini-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
}

.product-detail-page .mini-row:last-child {
    border-bottom: 0;
}

.product-detail-page .mini-label {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 700;
}

.product-detail-page .mini-value {
    color: rgba(255, 255, 255, 0.90);
    font-weight: 800;
    text-align: right;
}

.product-detail-page .product-tabs {
    margin-top: 2rem;
}

.product-detail-page .product-tabs .nav {
    gap: 0.5rem;
}

.product-detail-page .product-tabs .nav-link {
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.70);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.product-detail-page .product-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
}

.product-detail-page .product-tabs .nav-link.active {
    color: rgba(13, 13, 13, 0.92);
    background: linear-gradient(135deg, rgba(200, 164, 77, 0.95) 0%, rgba(220, 187, 105, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 60px rgba(200, 164, 77, 0.18);
}

.product-sticky-bar {
    position: fixed;
    top: var(--product-sticky-top, 78px);
    left: 0;
    right: 0;
    z-index: 1030;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.product-sticky-bar.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product-sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    background: rgba(18, 18, 20, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
}

.product-sticky-left {
    min-width: 0;
}

.product-sticky-name {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 48vw;
}

.product-sticky-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.product-sticky-price {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 900;
    font-size: 1.15rem;
}

.product-sticky-form {
    margin: 0;
}

.product-sticky-cta {
    border-radius: 12px;
    padding: 0.55rem 0.95rem;
    font-weight: 900;
}

@media (max-width: 576px) {
    .product-sticky-name {
        max-width: 44vw;
    }
    .product-sticky-price {
        display: none;
    }
}

/* ========================================
   Catalog Filters: Segmented Control
   ======================================== */

.product-list-page .filter-card .nav-tabs {
    border-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
    padding: 2px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    align-items: stretch;
    overflow: hidden;
}

.product-list-page .filter-card .nav-tabs .nav-item {
    margin: 0;
}

.product-list-page .filter-card .nav-tabs .nav-link {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 0.85rem 0.75rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.70);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    min-height: 56px;
    text-align: center;
    white-space: normal;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

@media (max-width: 420px) {
    .product-list-page .filter-card .nav-tabs {
        padding: 0.3rem;
        gap: 0.35rem;
        grid-template-columns: 1fr;
    }
    .product-list-page .filter-card .nav-tabs .nav-link {
        font-size: 0.9rem;
        padding: 0.9rem 0.6rem;
        min-height: 60px;
        white-space: nowrap;
    }
}

.product-list-page .filter-card .nav-tabs .nav-link:hover {
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.06);
}

.product-list-page .filter-card .nav-tabs .nav-link.active {
    color: rgba(13, 13, 13, 0.92);
    background: linear-gradient(135deg, rgba(200, 164, 77, 0.95) 0%, rgba(220, 187, 105, 0.92) 100%);
    box-shadow: 0 12px 36px rgba(200, 164, 77, 0.16);
}

/* ========================================
   Catalog Price Range Slider (Dual)
   ======================================== */

.product-list-page .price-range {
    position: relative;
    margin-top: 0.75rem;
    padding: 0.35rem 0.15rem 0.2rem;
}

.product-list-page .price-range-track {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.90);
    opacity: 0.95;
}

.product-list-page .price-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.95) 0%, rgba(47, 128, 255, 0.75) 100%);
    box-shadow: 0 10px 26px rgba(47, 128, 255, 0.18);
}

.product-list-page .price-range-input {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.product-list-page .price-range-input::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}

.product-list-page .price-range-input::-moz-range-track {
    height: 6px;
    background: transparent;
    border: 0;
}

.product-list-page .price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.95) 0%, rgba(47, 128, 255, 0.78) 100%);
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 36px rgba(47, 128, 255, 0.22);
    cursor: pointer;
    margin-top: -6px;
}

.product-list-page .price-range-input::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.95) 0%, rgba(47, 128, 255, 0.78) 100%);
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 36px rgba(47, 128, 255, 0.22);
    cursor: pointer;
}

.product-list-page .price-range-input:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.20rem rgba(47, 128, 255, 0.22), 0 14px 36px rgba(47, 128, 255, 0.22);
}

.product-list-page .price-range-input:focus::-moz-range-thumb {
    box-shadow: 0 0 0 0.20rem rgba(47, 128, 255, 0.22), 0 14px 36px rgba(47, 128, 255, 0.22);
}

@media (min-width: 992px) {
    .product-list-page .catalog-sidebar {
        flex: 0 0 340px;
        width: 340px;
        max-width: 340px;
    }
    .product-list-page .catalog-main {
        flex: 0 0 calc(100% - 340px);
        width: calc(100% - 340px);
        max-width: calc(100% - 340px);
    }
}

@media (max-width: 420px) {
    .product-list-page .filter-card .nav-tabs .nav-link.active {
        box-shadow: 0 10px 28px rgba(200, 164, 77, 0.14);
    }
}

/* ========================================
   Calculator (Dark Mode Unification)
   ======================================== */

.calculator-page .badge-current {
    background: linear-gradient(135deg, rgba(47, 47, 52, 0.95) 0%, rgba(28, 28, 32, 0.95) 100%);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.calculator-page .badge-new {
    background: linear-gradient(135deg, rgba(200, 164, 77, 0.95) 0%, rgba(220, 187, 105, 0.92) 100%);
    color: rgba(13, 13, 13, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.calculator-page .tire-size-display {
    background:
        radial-gradient(520px 260px at 50% 0%, rgba(200, 164, 77, 0.20), rgba(200, 164, 77, 0.04)),
        rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.92);
    border: 1px dashed rgba(200, 164, 77, 0.55);
}

.calculator-page .results-table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(255, 255, 255, 0.86);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-striped-color: rgba(255, 255, 255, 0.86);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
    --bs-table-hover-color: rgba(255, 255, 255, 0.90);
    --bs-table-border-color: rgba(255, 255, 255, 0.10);
    background: transparent !important;
    color: rgba(255, 255, 255, 0.86) !important;
}

.calculator-page .results-table > :not(caption) > * > * {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.86);
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.calculator-page .results-table thead th {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.calculator-page .results-section {
    background: rgba(18, 18, 20, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
}

.calculator-page .results-section .table-responsive {
    background: transparent !important;
}

.calculator-page .results-table tbody td {
    border-color: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.86);
}

.calculator-page .results-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.calculator-page .visualization-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
}

.calculator-page .viz-head {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.calculator-page .viz-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.calculator-page .viz-metrics {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.calculator-page .viz-metric-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 65px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
}

.calculator-page .viz-metric-label {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
}

.calculator-page .viz-metric-value {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 950;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
}

.calculator-page .viz-metric-hint {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}

.calculator-page .viz-recommendation {
    border-radius: 16px;
    padding: 0.95rem 1.1rem;
    margin-bottom: 1.25rem;
    background: radial-gradient(520px 240px at 30% 0%, rgba(200, 164, 77, 0.20), rgba(200, 164, 77, 0.03));
    border: 1px solid rgba(200, 164, 77, 0.28);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.calculator-page .viz-title {
    color: rgba(255, 255, 255, 0.86);
}

.calculator-page .viz-caption {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 500;
    margin-top: 0.15rem;
    margin-bottom: 0.75rem;
}

.calculator-page .tire-viz-svg {
    background: rgba(13, 13, 13, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.calculator-page .tire-highlight {
    fill: rgba(255, 255, 255, 0.07);
}

.calculator-page .rim-spokes line {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 3;
    stroke-linecap: round;
    opacity: 0.95;
}

.calculator-page .hub-highlight {
    fill: rgba(255, 255, 255, 0.14);
}

.calculator-page .tire-tread-pattern {
    fill: url(#treadPattern);
    opacity: 0.55;
}

.calculator-page .tread-groove {
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 2;
    stroke-linecap: round;
}

.calculator-page .dimension-line {
    stroke: rgba(200, 164, 77, 0.75);
}

.calculator-page .dimension-text,
.calculator-page .tire-label {
    fill: rgba(255, 255, 255, 0.82);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.5rem;
}

.empty-text {
    color: var(--gray);
    margin-bottom: 2rem;
}

.btn-empty-action {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-empty-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* ========================================
   Pagination
   ======================================== */

.pagination .page-link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.pagination .page-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.95);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.20), rgba(200, 164, 77, 0.14));
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.96);
}

/* ========================================
   Home Landing
   ======================================== */

.home-hero {
    padding: 5.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(47, 128, 255, 0.22), rgba(13, 13, 13, 0)),
        radial-gradient(900px 500px at 80% 40%, rgba(200, 164, 77, 0.14), rgba(13, 13, 13, 0));
    pointer-events: none;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero-kicker {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.home-hero-title {
    font-size: clamp(2.2rem, 4.6vw, 3.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.home-hero-subtitle {
    color: rgba(255, 255, 255, 0.70);
    font-size: 1.15rem;
    max-width: 52rem;
    margin: 0 auto;
}

.home-glass-panel {
    padding: 1.6rem;
    border-radius: 16px;
    background: rgba(18, 18, 20, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(18px);
}

.home-panel-title {
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 1.2rem;
}

.home-panel-subtitle {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.2rem;
}

.home-section {
    padding: 3.5rem 0;
}

.home-section-head {
    margin-bottom: 1.25rem;
}

.home-section-title {
    font-size: 1.8rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.home-section-subtitle {
    color: rgba(255, 255, 255, 0.60);
}

.brand-tile {
    height: 72px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none !important;
    text-decoration-line: none !important;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.brand-tile:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.brand-tile:focus,
.brand-tile:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.category-card {
    display: block;
    padding: 1.6rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(18, 18, 20, 0.62), rgba(13, 13, 13, 0.62));
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 32px 110px rgba(0, 0, 0, 0.60);
}

.category-card-kicker {
    color: rgba(255, 255, 255, 0.60);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
}

.category-card-title {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 1.35rem;
    margin-top: 0.35rem;
}

.category-card-subtitle {
    color: rgba(255, 255, 255, 0.66);
    margin-top: 0.25rem;
}

/* ========================================
   Animations & Utilities
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    body {
        padding-top: 72px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar {
        padding-left: 6px;
        padding-right: 6px;
    }

    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-collapse {
        margin-top: 0.75rem;
        border-radius: 16px;
        background: rgba(18, 18, 20, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.10);
        padding: 0.75rem;
        box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(18px);
    }

    .navbar-nav .nav-link,
    .navbar-nav .btn-link-style {
        padding: 0.9rem 1rem !important;
        border-radius: 14px;
    }

    .navbar-nav .nav-item.ms-3 {
        margin-left: 0 !important;
        width: 100%;
    }

    .navbar-cart-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
    }

    .home-section {
        padding: 2.5rem 0;
    }

    .home-section-title {
        font-size: 1.55rem;
    }

    .brand-tile {
        height: 64px;
        letter-spacing: 0.14em;
    }

    .category-card {
        padding: 1.25rem;
    }

    footer {
        padding: 2.25rem 0 1.25rem;
    }
}

@media (max-width: 576px) {
    .btn,
    .btn-warning,
    .navbar-cart-btn {
        min-height: 48px;
        padding: 0.85rem 1rem;
        border-radius: 14px;
    }

    .form-control,
    .form-select,
    .form-select-custom,
    .form-control-readonly,
    #id_email, #id_first_name, #id_last_name, #id_phone, #id_password1, #id_password2 {
        min-height: 48px;
        border-radius: 14px;
    }

    .product-detail-page .product-buy-col {
        position: static;
        top: auto;
    }

    .product-sticky-bar-inner {
        padding: 0.65rem 0.85rem;
    }

    .product-sticky-name {
        max-width: 52vw;
    }

    .orders-page {
        padding: 1.75rem 0;
    }

    .orders-page .order-items-table {
        font-size: 0.92rem;
    }

    .calculator-page .viz-metric-value {
        font-size: 1.35rem;
    }
}

@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .navbar {
            padding-left: max(6px, env(safe-area-inset-left));
            padding-right: max(6px, env(safe-area-inset-right));
        }
        footer {
            padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
        }
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .filter-card {
        position: relative;
        top: 0;
    }
    
    .product-card .card-img-top {
        height: 200px;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .orders-table {
        font-size: 0.9rem;
    }
    
    .order-row td {
        padding: 1rem 0.75rem;
    }
}
