/* TireShire - Bootstrap Enhanced CSS */

:root {
    --tireshire-blue: #1E5AC8;
    --tireshire-light-blue: #3B82F6;
    --tireshire-dark-blue: #1E40AF;
    --tireshire-accent: #1D4ED8;
}

/* RTL Support */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl * {
    text-align: right;
}

.rtl .text-center {
    text-align: center !important;
}

.rtl .navbar-nav {
    margin-left: auto;
    margin-right: 0;
}

.rtl .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.rtl .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

.rtl .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

.rtl .ms-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

.rtl .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

.rtl .dropdown-menu-end {
    left: 0 !important;
    right: auto !important;
}

.rtl .text-end {
    text-align: left !important;
}

.rtl .text-start {
    text-align: right !important;
}

.rtl .navbar-brand {
    margin-left: 1rem;
    margin-right: 0;
}

.rtl .nav-link {
    padding-left: 0.5rem;
    padding-right: 1rem;
}

.rtl .d-flex {
    flex-direction: row-reverse;
}

.rtl .align-items-center {
    text-align: right;
}

/* Fix for Bootstrap containers in RTL */
.rtl .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

.rtl .row {
    margin-left: 0;
    margin-right: 0;
}

/* Language floating button RTL adjustments */
.rtl .language-float {
    left: 20px;
    right: auto;
}

/* Font family for Arabic */
.rtl {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-weight: 400;
    line-height: 1.8;
}

/* Language notification styles */
.language-notification {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Custom Bootstrap overrides */
.btn-primary {
    background-color: var(--tireshire-blue);
    border-color: var(--tireshire-blue);
}

.btn-primary:hover {
    background-color: var(--tireshire-dark-blue);
    border-color: var(--tireshire-dark-blue);
}

.nav-pills .nav-link.active {
    background-color: var(--tireshire-blue);
}

.text-info {
    color: var(--tireshire-light-blue) !important;
}

/* Professional Container Enhancement */
.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Enhanced Tire Search Widget Styles - matching store page design */
.tire-search-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(30, 90, 200, 0.15);
    padding: 2rem;
    border: 1px solid rgba(30, 90, 200, 0.1);
    position: relative;
    overflow: hidden;
}

.tire-search-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tireshire-blue) 0%, var(--tireshire-light-blue) 100%);
}

.tire-search-select {
    border: 2px solid rgba(30, 90, 200, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    height: 50px;
}

.tire-search-select:focus {
    border-color: var(--tireshire-blue);
    box-shadow: 0 0 0 0.25rem rgba(30, 90, 200, 0.15);
    background: white;
    transform: translateY(-1px);
}

.search-action-btn {
    background: linear-gradient(135deg, var(--tireshire-blue) 0%, var(--tireshire-light-blue) 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(30, 90, 200, 0.25);
    height: 50px;
}

.search-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 90, 200, 0.35);
    background: linear-gradient(135deg, var(--tireshire-dark-blue) 0%, var(--tireshire-blue) 100%);
}

.nav-pills .nav-link {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    margin-right: 8px;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    color: #64748b;
}

.nav-pills .nav-link:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-1px);
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--tireshire-blue) 0%, var(--tireshire-light-blue) 100%);
    color: white !important;
    border-color: var(--tireshire-blue);
    box-shadow: 0 4px 15px rgba(30, 90, 200, 0.25);
}

.search-tips {
    background: rgba(30, 90, 200, 0.05);
    border: 1px solid rgba(30, 90, 200, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.search-tips h6 {
    color: var(--tireshire-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.search-tips ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.search-tips li {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

/* Header Styles - Ultra Compact Design */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 2px 12px rgba(30, 90, 200, 0.04);
    border-bottom: 1px solid rgba(30, 90, 200, 0.06);
    backdrop-filter: blur(20px);
    z-index: 1000;
    position: relative;
}

.navbar {
    background: white !important;
    padding: 0.15rem 0;
    transition: all 0.3s ease;
    min-height: 48px;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.navbar-brand {
    margin-right: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

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

.tireshire-main-logo {
    height: 40px !important;
    filter: drop-shadow(0 2px 6px rgba(30, 90, 200, 0.1));
    transition: all 0.3s ease;
}

/* Professional Navbar Toggler - Ultra Compact */
.navbar-toggler {
    border: 2px solid var(--tireshire-blue);
    border-radius: 4px;
    padding: 4px 8px;
    transition: all 0.3s ease;
    width: 36px;
    height: 30px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(30, 90, 200, 0.25);
}

.navbar-toggler:hover {
    background-color: rgba(30, 90, 200, 0.1);
    transform: scale(1.02);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 90, 200, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Enhanced Navigation Links - Ultra Compact */
.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 13px;
    padding: 0.4rem 0.6rem !important;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.1px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border-radius: 4px;
}

.navbar-nav .nav-link:hover {
    color: var(--tireshire-blue) !important;
    transform: translateY(-1px);
    background: rgba(30, 90, 200, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--tireshire-blue) !important;
    background: rgba(30, 90, 200, 0.1);
    font-weight: 700;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    background: linear-gradient(135deg, var(--tireshire-blue) 0%, var(--tireshire-light-blue) 100%);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

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

.navbar-nav .nav-item {
    margin-right: 0.15rem;
}

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

/* Navbar Collapse Alignment */
.navbar-collapse {
    align-items: center;
}

.navbar-nav {
    align-items: center;
    gap: 0.1rem;
}

/* Right side elements container - Ultra Compact */
.ms-auto {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Compact navigation with minimal spacing */
.navbar-nav.nav-compact .nav-item {
    margin-right: 0.1rem;
    display: flex;
    align-items: center;
}

.navbar-nav.nav-compact .nav-link {
    padding: 0.4rem 0.5rem !important;
}

/* Special Offers Icon - Ultra Compact */
.navbar-nav .nav-item.special-offers-icon {
    margin-right: 0.5rem;
    position: relative;
}

.navbar-nav .special-offers-btn {
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.special-offer-badge {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 50%, #ff8a8a 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 14px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 10px rgba(255, 68, 68, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    animation: pulse-glow 3s infinite;
}

.special-offer-badge i {
    font-size: 10px;
    margin-right: 2px;
    animation: fire-flicker 2s infinite;
}

.offer-text {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s;
}

.navbar-nav .special-offers-btn:hover .special-offer-badge {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6);
    background: linear-gradient(135deg, #ff3333 0%, #ff5555 50%, #ff7777 100%);
}

.navbar-nav .special-offers-btn:hover .badge-shine {
    left: 100%;
}

.navbar-nav .special-offers-btn::after {
    display: none;
}

/* Popup text animation */
.special-offers-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    z-index: 1001;
    pointer-events: none;
    animation: pulse-glow 2s infinite;
}

.special-offers-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #ff4444;
}

.special-offers-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Special Offers Text Below Icon */
.special-offers-text {
    font-size: 10px;
    font-weight: 700;
    color: #ff4444;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    animation: text-pulse 2s infinite;
}

.navbar-nav .special-offers-btn:hover .special-offers-text {
    color: #ff6b6b;
}

@keyframes text-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Keyframe animations for special offers */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.7);
    }
}

@keyframes fire-flicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-2deg);
    }
    50% {
        transform: scale(1.05) rotate(1deg);
    }
    75% {
        transform: scale(1.1) rotate(-1deg);
    }
}

/* Remove old styles */
.special-offers-popup,
.special-offers-text {
    display: none;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scale(0.8);
    }
    50% {
        transform: translateX(-50%) translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px) scale(1);
    }
}

.special-offers-popup.show {
    animation: bounce-in 0.4s ease-out;
}

/* Floating Special Offers Button */
.special-offers-float {
    position: fixed;
    right: 20px;
    bottom: 140px; /* Above WhatsApp button */
    z-index: 999;
    display: none;
    animation: float 3s ease-in-out infinite;
}

.special-offers-float .floating-special-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 68, 68, 0.4);
    position: relative;
    overflow: visible;
}

.special-offers-float .floating-special-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 68, 68, 0.5);
    background: linear-gradient(135deg, #ff3333 0%, #ff5555 100%);
    color: white;
}

.special-offers-float .floating-special-btn i {
    font-size: 24px;
}

/* Floating popup for the floating button */
.floating-popup {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
    z-index: 1002;
    pointer-events: none;
}

.floating-popup::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #ff4444;
}

.floating-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Center the navigation */
.navbar-nav.mx-auto {
    justify-content: center;
    flex: 1;
    max-width: 60%;
}

/* GET ESTIMATE Button Styling - Ultra Compact */
.get-estimate-btn {
    background: linear-gradient(135deg, var(--tireshire-blue) 0%, var(--tireshire-light-blue) 100%);
    border: none;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(30, 90, 200, 0.2);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    white-space: nowrap;
    color: white !important;
}

.get-estimate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 90, 200, 0.4);
    background: linear-gradient(135deg, var(--tireshire-light-blue) 0%, var(--tireshire-blue) 100%);
    color: white !important;
}

/* Header Icon Buttons */
.header-icons {
    display: flex;
    align-items: center;
}

.icon-btn-text {
    display: flex;
    align-items: center;
    color: #666 !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.icon-btn-text:hover {
    color: var(--tireshire-blue) !important;
    background-color: rgba(30, 90, 200, 0.05);
    transform: translateY(-1px);
}

.icon-text {
    margin-left: 0.15rem;
    font-size: 11px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 90, 200, 0.1);
    border: 1px solid rgba(30, 90, 200, 0.2);
    border-radius: 50%;
    color: var(--tireshire-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.icon-btn:hover {
    background: var(--tireshire-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 90, 200, 0.3);
    border-color: var(--tireshire-blue);
}

/* Header Icons Styling - Improved and Simplified */
.header-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.icon-btn-text {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: rgba(30, 90, 200, 0.06);
    border: 1px solid rgba(30, 90, 200, 0.15);
    border-radius: 16px;
    color: var(--tireshire-blue);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 11px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    min-height: 30px;
    cursor: pointer;
}

.icon-btn-text:hover {
    background: var(--tireshire-blue);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 90, 200, 0.25);
    border-color: var(--tireshire-blue);
}

.icon-btn-text:active {
    transform: translateY(0px);
    transition: all 0.1s ease;
}

.icon-btn-text i {
    font-size: 13px;
    transition: transform 0.2s ease;
    margin-right: 4px;
}

/* Dashboard Button Visibility Control */
.dashboard-btn {
    display: none !important;
    transition: all 0.3s ease;
}

.dashboard-btn.show {
    display: inline-flex !important;
}

.profile-verified .dashboard-btn {
    display: inline-flex !important;
}

.profile-unverified .dashboard-btn {
    display: none !important;
}

/* Override any other display settings for dashboard button */
.header-icons .dashboard-btn {
    display: none !important;
}

.header-icons .dashboard-btn.show {
    display: inline-flex !important;
}

body.profile-verified .header-icons .dashboard-btn {
    display: inline-flex !important;
}

.icon-btn-text:hover i {
    transform: scale(1.05);
}

.icon-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Simplified Cart Count for better performance */
.icon-btn-text .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    transition: all 0.2s ease;
    z-index: 10;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.icon-btn-text:hover .cart-count {
    background: #ff1744;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

/* Remove old styles */
.icon-label {
    display: none;
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Removed Language Selector - No longer needed */

.dropdown-menu {
    border: 1px solid rgba(30, 90, 200, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(30, 90, 200, 0.15);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

/* Navigation styling - clean and simple */

/* Clean navigation without dropdowns */

/* Navigation clean-up complete */

/* Clean navigation */

/* Clean navigation complete */

/* Professional navigation items */
.nav-link {
    font-weight: 500;
    color: #374151 !important;
    transition: color 0.2s ease;
    padding: 0.75rem 1.25rem !important;
    font-size: 15px;
}

.nav-link:hover {
    color: var(--tireshire-blue) !important;
}

/* Better navbar spacing */
.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-item {
    margin: 0 0.25rem;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(30, 90, 200, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover {
    background: transparent;
    color: var(--tireshire-blue);
    transform: translateX(8px);
    text-decoration: none;
    border-color: rgba(30, 90, 200, 0.2);
    box-shadow: 0 4px 15px rgba(30, 90, 200, 0.1);
}

.dropdown-item:hover::before {
    width: 100%;
}

/* Clean dropdown - no headers needed */

.dropdown-divider {
    display: none;
}

/* Clean navigation - no dropdown arrows needed */

/* Navigation items clean and professional */

/* Make sure the dropdown stays visible when hovering over it */
.navbar-nav .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Enhanced visual effects for dropdown items */
.dropdown-item {
    position: relative;
    z-index: 1;
}

.dropdown-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Special styling for featured items */
.dropdown-item[href="#special-offers"] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    font-weight: 600;
}

.dropdown-item[href="#all-brands"] {
    font-weight: 600;
    color: var(--tireshire-blue);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 12px 20px;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-radius: 8px;
    margin: 0 8px;
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(30, 90, 200, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
    color: var(--tireshire-blue);
    transform: translateX(4px);
}

/* Clean navigation - no dropdown styling needed */

/* Mobile responsive - Ultra Compact Enhanced */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
        min-height: 50px;
    }
    
    .navbar-brand {
        margin-right: 1rem;
    }
    
    .tireshire-main-logo {
        height: 35px !important;
    }
    
    .navbar-nav .nav-item {
        margin-right: 0;
        margin-bottom: 0.4rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.6rem 0.8rem !important;
        border-radius: 8px;
        background: rgba(248, 250, 255, 0.9);
        margin-bottom: 0.3rem;
        font-size: 13px;
        border: 1px solid rgba(30, 90, 200, 0.1);
        text-align: center;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(30, 90, 200, 0.1);
        border-color: var(--tireshire-blue);
    }
    
    /* Mobile dropdown styles */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 8px;
        background: rgba(248, 250, 255, 0.95);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(30, 90, 200, 0.12);
        border: 1px solid rgba(30, 90, 200, 0.1);
        min-width: auto;
        max-width: none;
        display: block !important;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
        opacity: 1;
        visibility: visible;
        transform: none;
        left: auto;
    }
    
    .dropdown-section {
        margin-bottom: 24px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 12px;
        border: 1px solid rgba(30, 90, 200, 0.1);
    }
    
    .dropdown-section h6 {
        font-size: 14px;
        margin-bottom: 16px;
        padding: 10px 12px;
    }
    
    .dropdown-item {
        margin: 0 0 6px 0;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .dropdown-header {
        padding: 8px 16px 6px;
        font-size: 12px;
    }
    
    .dropdown-divider {
        margin: 8px 16px;
    }
    
    /* Mobile hover behavior */
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .header-icons {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .icon-btn {
        margin: 0 0.2rem;
    }
    
    .get-estimate-btn {
        width: 100%;
        margin-top: 0.5rem;
        margin-right: 0 !important;
        padding: 10px 18px;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav.mx-auto {
        margin-bottom: 0.5rem;
    }
    
    .ms-auto {
        flex-direction: row !important;
        justify-content: center;
        gap: 0.4rem;
    }
    
    .header-icons .icon-btn-text {
        margin: 0 0.15rem;
        padding: 5px 8px;
        font-size: 10px;
        min-height: 28px;
    }
    
    .get-estimate-btn {
        padding: 6px 12px;
        font-size: 10px;
        min-width: 100px;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 0.4rem 0;
        min-height: 45px;
    }
    
    .tireshire-main-logo {
        height: 32px !important;
    }
    
    .container-fluid {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 0.6rem 0.75rem !important;
    }
    
    .ms-auto {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .header-icons {
        order: 1;
        margin-bottom: 0.5rem;
        gap: 3px;
    }
    
    .header-icons .icon-btn-text {
        padding: 4px 6px;
        font-size: 9px;
        min-height: 26px;
    }
    
    .header-icons .icon-text {
        display: none;
    }
    
    .get-estimate-btn {
        order: 2;
        padding: 8px 14px;
        font-size: 10px;
    }
}

/* Tablet portrait - Ultra compact */
@media (max-width: 1024px) and (min-width: 992px) {
    .navbar {
        padding: 0.2rem 0;
        min-height: 50px;
    }
    
    .tireshire-main-logo {
        height: 38px !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 0.45rem 0.55rem !important;
    }
    
    .header-icons {
        gap: 3px;
    }
    
    .icon-btn-text {
        padding: 4px 6px;
        font-size: 10px;
        min-height: 26px;
    }
    
    .icon-btn-text:hover {
        transform: translateY(-1px) scale(1.03);
        box-shadow: 0 6px 20px rgba(30, 90, 200, 0.35);
    }
    
    .get-estimate-btn {
        padding: 5px 12px;
        font-size: 10px;
        min-height: 28px;
    }
}

/* Extra small screens - Extremely compact */
@media (max-width: 480px) {
    .navbar {
        padding: 0.3rem 0;
        min-height: 42px;
    }
    
    .tireshire-main-logo {
        height: 30px !important;
    }
    
    .container-fluid {
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }
    
    .navbar-toggler {
        width: 32px;
        height: 26px;
        padding: 3px 6px;
    }
    
    .header-icons {
        gap: 2px;
    }
    
    .header-icons .icon-btn-text {
        padding: 2px 4px;
        font-size: 8px;
        min-height: 22px;
        border-radius: 10px;
    }
    
    .header-icons .icon-btn-text:hover {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 4px 15px rgba(30, 90, 200, 0.3);
    }

    .header-icons .icon-btn-text i {
        font-size: 11px;
    }
    
    .header-icons .icon-btn-text:hover i {
        transform: scale(1.05) rotate(3deg);
    }
    
    /* Reduce animation intensity on mobile */
    .header-icons .icon-btn-text:hover .bi-question-circle,
    .header-icons .icon-btn-text:hover .bi-person-circle,
    .header-icons .icon-btn-text:hover .bi-bag {
        animation: none;
        transform: scale(1.05) rotate(3deg);
    }
    
    .header-icons .icon-btn-text:hover .cart-count {
        transform: scale(1.08) rotate(-3deg);
        animation: none;
        border-color: rgba(255, 255, 255, 0.8);
    }    .get-estimate-btn {
        padding: 6px 10px;
        font-size: 9px;
        min-height: 26px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.6rem !important;
        font-size: 11px;
    }
    
    /* Special offers badge even smaller on mobile */
    .special-offer-badge {
        padding: 3px 6px;
        border-radius: 10px;
        font-size: 7px;
    }
    
    .special-offer-badge i {
        font-size: 8px;
        margin-right: 1px;
    }
    
    .offer-text {
        font-size: 6px;
        letter-spacing: 0.3px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

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

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--tireshire-light-blue);
    border-color: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Search Widget */
.search-widget {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Trust Indicators */
.trust-indicator {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trust-indicator .display-5 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.trust-indicator small {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .search-widget {
        margin: 0 1rem;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .trust-indicator .display-5 {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .search-widget {
        padding: 1.5rem !important;
    }
}

/* Section Spacing */
.py-section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .py-section {
        padding: 3rem 0;
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Custom spacing */
.mt-navbar {
    margin-top: 76px;
}

/* Ensure navbar items are properly styled */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(30, 90, 200, 0.2);
    border-radius: 16px;
    padding: 16px 0;
    margin-top: 12px;
    min-width: 320px;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    backdrop-filter: blur(30px);
    animation: slideDown 0.3s ease-out;
}

/* Logo adjustments */
.logo {
    height: 40px !important;
    width: auto !important;
}

/* Main element */
main {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 6rem 1rem 4rem;
    margin-top: 0;
    padding-top: 8rem;
    text-align: center;
    border-top: none;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--tireshire-light-blue);
    border-color: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Widget */
.search-widget {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 3rem auto;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.search-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 0.25rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.search-tab {
    display: none;
}

.search-tab.active {
    display: block;
}

.size-inputs, .vehicle-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.size-inputs select, .vehicle-inputs select {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: white;
}

.separator {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.search-btn {
    width: 100%;
    background: var(--tireshire-blue);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--tireshire-dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.indicator {
    text-align: center;
}

.indicator .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tireshire-light-blue);
    margin-bottom: 0.5rem;
}

.indicator .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* How It Works Section - Enhanced */
.how-it-works {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #f8faff 0%, #eef4ff 50%, #e0eaff 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0eaff" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(30, 90, 200, 0.1);
    position: relative;
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--tireshire-blue), var(--tireshire-light-blue));
    border-radius: 2px;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

/* Add connecting arrows between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 12%, 
        rgba(30, 90, 200, 0.2) 12%, 
        rgba(30, 90, 200, 0.2) 88%, 
        transparent 88%);
    z-index: 0;
    transform: translateY(-50%);
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tireshire-blue);
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 3;
    background: linear-gradient(135deg, #f8faff 0%, #eef4ff 100%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(30, 90, 200, 0.2);
}

.step {
    background: linear-gradient(145deg, #ffffff 0%, #fcfdff 100%);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(30, 90, 200, 0.08),
        0 4px 15px rgba(30, 90, 200, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(30, 90, 200, 0.03) 0%, 
        rgba(59, 130, 246, 0.02) 50%, 
        rgba(30, 90, 200, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(30, 90, 200, 0.12),
        0 8px 25px rgba(30, 90, 200, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(30, 90, 200, 0.2);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 18px;
    background: linear-gradient(135deg, 
        rgba(30, 90, 200, 0.1) 0%, 
        rgba(59, 130, 246, 0.08) 100%);
    border-radius: 50%;
    border: 3px solid rgba(30, 90, 200, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step:hover .step-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, 
        rgba(30, 90, 200, 0.15) 0%, 
        rgba(59, 130, 246, 0.12) 100%);
    border-color: rgba(30, 90, 200, 0.25);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Services Overview */
.services-overview {
    padding: 5rem 1rem;
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--tireshire-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--tireshire-dark-blue);
}

/* Featured Brands */
/* Our Trusted Brands Section - PitStopArabia Style */
.trusted-brands {
    padding: 5rem 0;
    background: #ffffff;
}

.trusted-brands .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 4rem;
}

.trusted-brands .section-title .text-danger {
    color: #dc3545 !important;
}

.brands-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 1rem;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    width: 150px;
    height: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.brand-item:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #dc3545;
}

.brand-item img {
    max-height: 50px;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.1) contrast(0.9);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.brand-item:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
    transform: scale(1.05);
}

.brand-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.brand-item:hover .brand-name {
    color: #333;
}

.btn-outline-danger {
    border: 2px solid #dc3545;
    color: #dc3545;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .brand-row {
        justify-content: space-around;
        gap: 0.5rem;
    }
    
    .brand-item {
        width: 140px;
        height: 110px;
        padding: 1rem 0.5rem;
    }
    
    .trusted-brands .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .brand-row {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .brand-item {
        width: 120px;
        height: 100px;
        padding: 0.8rem 0.5rem;
    }
    
    .brand-item img {
        max-height: 40px;
        max-width: 80px;
    }
    
    .brand-name {
        font-size: 0.75rem;
    }
    
    .trusted-brands .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .brands-grid {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .brand-row {
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .brand-item {
        width: 100px;
        height: 90px;
        padding: 0.5rem;
    }
    
    .brand-item img {
        max-height: 35px;
        max-width: 70px;
    }
    
    .brand-name {
        font-size: 0.7rem;
    }
}

.btn-outline-primary:hover {
    background-color: var(--tireshire-blue);
    border-color: var(--tireshire-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 90, 200, 0.3);
}

/* Special Offers */
.special-offers {
    padding: 5rem 1rem;
}

.special-offers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.offer-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fff5f2 0%, white 100%);
}

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

.offer-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
}

.offer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.offer-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.offer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.offer-btn {
    background: var(--tireshire-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    background: var(--tireshire-dark-blue);
    transform: translateY(-2px);
}

.offer-link {
    color: var(--tireshire-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.offer-link:hover {
    color: var(--tireshire-dark-blue);
}

/* Quick Actions */
.quick-actions {
    padding: 5rem 1rem;
    background: var(--bg-secondary);
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.action-card.emergency {
    background: linear-gradient(135deg, #fed7d7 0%, white 100%);
    border: 2px solid var(--danger-color);
}

.action-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.action-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.emergency-btn {
    background: var(--danger-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.location-btn {
    background: var(--tireshire-blue);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: var(--tireshire-dark-blue);
    transform: translateY(-2px);
}

/* Newsletter */
.newsletter {
    padding: 5rem 1rem;
    background: var(--tireshire-blue);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--tireshire-light-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--tireshire-dark-blue);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Enhanced Cart & Shopping Styles */
.cart-item-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.cart-item-card:hover {
    border-color: var(--tireshire-blue);
    box-shadow: 0 4px 12px rgba(30, 90, 200, 0.1);
    transform: translateY(-2px);
}

.product-image {
    border-radius: 8px;
    object-fit: cover;
}

.product-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.1rem;
}

.product-brand {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-display {
    font-weight: 700;
    color: var(--tireshire-blue);
    font-size: 1.25rem;
}

.original-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.quantity-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    color: #374151 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.quantity-btn:hover {
    background: var(--tireshire-blue) !important;
    color: white !important;
    border-color: var(--tireshire-blue) !important;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #1f2937;
}

.remove-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.remove-btn:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
    transform: scale(1.05);
}

.order-summary-card {
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
}

.order-summary-header {
    background: linear-gradient(135deg, var(--tireshire-blue), var(--tireshire-light-blue));
    padding: 1.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: #1f2937;
}

.total-amount {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--tireshire-blue) !important;
}

.savings-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.delivery-option {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.delivery-option:hover {
    border-color: var(--tireshire-blue);
    background: #f8fafc;
}

.delivery-option.selected {
    border-color: var(--tireshire-blue);
    background: #eff6ff;
}

.delivery-option .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.payment-method {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.payment-method:hover {
    border-color: var(--tireshire-blue);
    background: #f8fafc;
}

.payment-method.selected {
    border-color: var(--tireshire-blue);
    background: #eff6ff;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-methods span {
    font-size: 0.9rem;
    color: #a0aec0;
}

.checkout-btn {
    background: linear-gradient(135deg, var(--tireshire-blue), var(--tireshire-light-blue));
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 90, 200, 0.3);
}

.promo-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.promo-input:focus {
    border-color: var(--tireshire-blue);
    box-shadow: 0 0 0 3px rgba(30, 90, 200, 0.1);
}

.recommended-products {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.product-recommendation {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.product-recommendation:hover {
    border-color: var(--tireshire-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Additional Cart Enhancements */
.cart-progress {
    background: linear-gradient(90deg, var(--tireshire-blue) 33%, #e5e7eb 33%);
    height: 4px;
    border-radius: 2px;
    margin-bottom: 2rem;
}

.installation-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.secure-checkout {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background: #f9fafb;
    margin-top: 1rem;
}

.secure-checkout i {
    color: #10b981;
    font-size: 1.5rem;
}

.cart-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #d1d5db;
}

.cart-empty-state i {
    font-size: 4rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.continue-shopping-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
    color: white;
}

/* Cart animations */
@keyframes cartItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item {
    animation: cartItemSlideIn 0.5s ease forwards;
}

.cart-item:nth-child(1) { animation-delay: 0.1s; }
.cart-item:nth-child(2) { animation-delay: 0.2s; }
.cart-item:nth-child(3) { animation-delay: 0.3s; }

/* Enhanced Mobile optimizations */
@media (max-width: 768px) {
    .quantity-controls {
        justify-content: center;
    }
    
    .order-summary-card {
        position: static !important;
        margin-top: 2rem;
    }
    
    .cart-item-card {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .size-inputs, .vehicle-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .size-inputs select, .vehicle-inputs select {
        min-width: auto;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .trust-indicators {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Loading states and animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* TireShire Footer Styles */
.tireshire-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.tireshire-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.footer-brand {
    position: relative;
    z-index: 1;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-info {
    position: relative;
    z-index: 1;
}

.contact-item {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item strong {
    color: #ffffff;
}

.workshop-hours {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.workshop-hours .contact-item {
    white-space: normal;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.workshop-hours .contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    margin-right: 0;
}

.social-links {
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer Navigation Lists */
.footer-nav,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.footer-nav li,
.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-nav a,
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover,
.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Footer Bottom Sections */
.footer-bottom-left {
    position: relative;
    z-index: 1;
}

.footer-bottom-left p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.85rem;
}

.footer-bottom-right {
    position: relative;
    z-index: 1;
}

.footer-bottom-right a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-right a:first-child {
    margin-left: 0;
}

/* Footer Divider */
.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 3rem 0 2rem;
}

/* Contact Info Styling */
.contact-info {
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.3;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.contact-item i {
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.contact-item a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item strong {
    color: #ffffff;
    display: inline;
    margin-right: 0.25rem;
}

.copyright-text,
.ownership-text {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.85rem;
    white-space: nowrap;
}

.ownership-text {
    font-weight: 500;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

/* Offers Floating Button */
.offers-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.offers-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 50%, #ff8a8a 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
    transition: all 0.3s ease;
    animation: offers-pulse 2s infinite;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.offers-btn:hover {
    background: linear-gradient(135deg, #ff3333 0%, #ff5555 50%, #ff7777 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 68, 68, 0.6);
}

.offers-btn i {
    font-size: 1.5rem;
    z-index: 2;
    position: relative;
    animation: fire-flicker 2s infinite;
}

.offers-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    z-index: 3;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    min-width: 85px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.offers-text.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.offers-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes offers-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 68, 68, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.4);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes fire-flicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-2deg);
    }
    50% {
        transform: scale(1.05) rotate(1deg);
    }
    75% {
        transform: scale(1.1) rotate(-1deg);
    }
}

/* Language Floating Button */
.language-float {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 1000;
}

.language-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1E5AC8 0%, #3B82F6 50%, #1D4ED8 100%);
    color: white;
    border: none;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(30, 90, 200, 0.4);
    transition: all 0.3s ease;
    animation: language-pulse 3s infinite;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 8px;
}

.language-float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.language-float-btn:hover::before {
    transform: translateX(100%);
}

.language-float-btn:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1D4ED8 50%, #3B82F6 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(30, 90, 200, 0.6);
}

.language-float-btn:focus {
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(30, 90, 200, 0.25);
}

.float-flag-icon {
    width: 26px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.float-language-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1;
    font-family: 'Inter', Arial, sans-serif;
}

.language-float .dropdown-menu {
    min-width: 160px;
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 12px 0;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.language-float .dropdown-item {
    padding: 12px 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    margin: 2px 8px;
}

.language-float .dropdown-item:hover {
    background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
    color: var(--tireshire-blue);
    transform: translateX(3px);
}

.language-float .flag-icon {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Language button animation */
@keyframes language-pulse {
    0% {
        box-shadow: 0 6px 25px rgba(30, 90, 200, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(30, 90, 200, 0.6), 0 0 0 0 rgba(30, 90, 200, 0.7);
    }
    100% {
        box-shadow: 0 6px 25px rgba(30, 90, 200, 0.4), 0 0 0 15px rgba(30, 90, 200, 0);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.scroll-top-btn:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.5);
}

.scroll-top-btn i {
    font-size: 1.2rem;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .tireshire-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 1.3rem;
    }
    
    .scroll-to-top {
        bottom: 75px;
        right: 15px;
    }
    
    .scroll-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .scroll-top-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-top: 0.5rem;
    }
    
    .copyright-text,
    .ownership-text {
        font-size: 0.8rem;
    }
}

/* Footer Section Spacing */
.footer-section {
    position: relative;
    z-index: 1;
}

/* How It Works Responsive Enhancements */
@media (max-width: 992px) {
    .how-it-works {
        padding: 4rem 1rem;
    }
    
    .how-it-works h2 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }
    
    .steps {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .steps::before {
        display: none;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 280px;
        padding: 2rem 1.5rem;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 3rem 1rem;
    }
    
    .how-it-works h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .steps::before {
        display: none;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step {
        flex: 1;
        min-width: auto;
        padding: 2rem 1.5rem;
        border-radius: 16px;
        min-height: 280px;
    }
    
    .step-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .how-it-works {
        padding: 2.5rem 0.75rem;
    }
    
    .how-it-works h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .steps {
        max-width: 100%;
    }
    
    .step {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }
    
    .step-icon {
        font-size: 2.5rem;
        padding: 12px;
        margin-bottom: 1rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Enhanced Animation for How It Works */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step {
    animation: fadeInUp 0.6s ease-out;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

/* Mobile Responsive Styles for Floating Buttons */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 1.2rem;
    }
    
    .language-float {
        top: 100px;
        right: 15px;
    }
    
    .language-float-btn {
        width: 60px;
        height: 60px;
    }
    
    .float-flag-icon {
        width: 22px;
        height: 16px;
        margin-bottom: 2px;
    }
    
    .float-language-text {
        font-size: 0.6rem;
    }
    
    .scroll-to-top {
        bottom: 75px;
        right: 15px;
    }
    
    .scroll-top-btn {
        width: 45px;
        height: 45px;
    }
}

/* ===== TIRE STORE CAROUSEL STYLES ===== */
.tire-store {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.tire-store::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(20px) rotate(2deg); }
}

.tire-carousel-container {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.tire-row {
    position: relative;
}

.tire-slider {
    display: flex;
    gap: 1.5rem;
    animation: slideLeft 25s linear infinite;
    width: calc(200% + 1.5rem);
}

.tire-slider[data-direction="reverse"] {
    animation: slideRight 25s linear infinite;
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@keyframes slideRight {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

.tire-product {
    flex: 0 0 auto;
    width: calc((100% - 13.5rem) / 10);
    min-width: 200px;
    max-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tire-product:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
    position: relative;
}

.tire-product .card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tire-product:hover .card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--tireshire-light-blue);
}

.tire-image-container {
    position: relative;
    height: 140px;
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.tire-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease;
}

.tire-product:hover .tire-image {
    transform: scale(1.1) rotate(5deg);
}

.tire-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tire-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tire-rating .text-warning {
    font-size: 0.9rem;
    line-height: 1;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.current-price {
    font-size: 1.1rem;
    color: var(--tireshire-blue) !important;
}

.original-price {
    font-size: 0.85rem;
}

.tire-product .btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: var(--tireshire-blue);
    border-color: var(--tireshire-blue);
}

.tire-product .btn:hover {
    background: var(--tireshire-dark-blue);
    border-color: var(--tireshire-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.tire-product h6 {
    font-size: 0.95rem;
    line-height: 1.3;
    height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.tire-product .text-muted {
    font-size: 0.8rem;
    color: #6c757d !important;
}

/* Pause animation on hover */
.tire-carousel-container:hover .tire-slider {
    animation-play-state: paused;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .tire-product {
        width: calc((100% - 10.5rem) / 8);
        min-width: 180px;
    }
}

@media (max-width: 992px) {
    .tire-product {
        width: calc((100% - 7.5rem) / 6);
        min-width: 160px;
    }
    
    .tire-image-container {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .tire-carousel-container {
        mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    }
    
    .tire-product {
        width: calc((100% - 4.5rem) / 4);
        min-width: 140px;
        max-width: 180px;
    }
    
    .tire-slider {
        gap: 1rem;
        width: calc(200% + 1rem);
    }
    
    @keyframes slideLeft {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 0.5rem)); }
    }
    
    @keyframes slideRight {
        0% { transform: translateX(calc(-50% - 0.5rem)); }
        100% { transform: translateX(0); }
    }
    
    .tire-image-container {
        height: 100px;
    }
    
    .tire-product h6 {
        font-size: 0.85rem;
        height: 2.4rem;
    }
    
    .tire-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .current-price {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .tire-product {
        width: calc((100% - 3rem) / 3);
        min-width: 120px;
        max-width: 160px;
    }
    
    .tire-slider {
        gap: 0.75rem;
        width: calc(200% + 0.75rem);
    }
    
    @keyframes slideLeft {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 0.375rem)); }
    }
    
    @keyframes slideRight {
        0% { transform: translateX(calc(-50% - 0.375rem)); }
        100% { transform: translateX(0); }
    }
    
    .tire-image-container {
        height: 90px;
    }
    
    .tire-product .card-body {
        padding: 0.75rem;
    }
    
    .tire-product h6 {
        font-size: 0.8rem;
        height: 2.2rem;
    }
    
    .tire-badge {
        font-size: 0.6rem;
        padding: 2px 5px;
    }
    
    .current-price {
        font-size: 0.95rem;
    }
    
    .tire-product .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Special effects for better visual appeal */
.tire-store h2 {
    position: relative;
    background: linear-gradient(135deg, var(--tireshire-dark-blue), var(--tireshire-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tire-store .lead {
    color: #6c757d;
    font-weight: 500;
}

/* Enhanced hover effects */
@media (hover: hover) {
    .tire-product:hover {
        animation: hoverFloat 0.6s ease-in-out;
    }
}

@keyframes hoverFloat {
    0%, 100% { transform: translateY(-8px) scale(1.02); }
    50% { transform: translateY(-12px) scale(1.03); }
}

/* Loading state for images */
.tire-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--tireshire-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.tire-image-container .tire-image {
    z-index: 2;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hide loading spinner when image loads */
.tire-image-container:has(.tire-image)::before {
    display: none;
}

/* Celebration Popup Styles */
.celebration-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out;
}

.celebration-popup {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    animation: popupEnter 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupEnter {
    from {
        transform: scale(0.5) rotateY(180deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
}

/* Confetti Animation */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(1) { left: 10%; animation-delay: 0s; background: #ff6b6b; }
.confetti:nth-child(2) { left: 20%; animation-delay: 0.1s; background: #4ecdc4; }
.confetti:nth-child(3) { left: 30%; animation-delay: 0.2s; background: #45b7d1; }
.confetti:nth-child(4) { left: 40%; animation-delay: 0.3s; background: #96ceb4; }
.confetti:nth-child(5) { left: 50%; animation-delay: 0.4s; background: #ffeaa7; }
.confetti:nth-child(6) { left: 60%; animation-delay: 0.5s; background: #dda0dd; }
.confetti:nth-child(7) { left: 70%; animation-delay: 0.6s; background: #98d8c8; }
.confetti:nth-child(8) { left: 80%; animation-delay: 0.7s; background: #ff7675; }
.confetti:nth-child(9) { left: 90%; animation-delay: 0.8s; background: #fd79a8; }
.confetti:nth-child(10) { left: 15%; animation-delay: 0.9s; background: #fdcb6e; }
.confetti:nth-child(11) { left: 25%; animation-delay: 1s; background: #6c5ce7; }
.confetti:nth-child(12) { left: 35%; animation-delay: 1.1s; background: #fd79a8; }
.confetti:nth-child(13) { left: 45%; animation-delay: 1.2s; background: #00b894; }
.confetti:nth-child(14) { left: 55%; animation-delay: 1.3s; background: #e17055; }
.confetti:nth-child(15) { left: 65%; animation-delay: 1.4s; background: #0984e3; }
.confetti:nth-child(16) { left: 75%; animation-delay: 1.5s; background: #a29bfe; }
.confetti:nth-child(17) { left: 85%; animation-delay: 1.6s; background: #fd79a8; }
.confetti:nth-child(18) { left: 95%; animation-delay: 1.7s; background: #fdcb6e; }
.confetti:nth-child(19) { left: 5%; animation-delay: 1.8s; background: #00cec9; }
.confetti:nth-child(20) { left: 95%; animation-delay: 1.9s; background: #ff7675; }

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotateZ(0deg);
    }
    100% {
        transform: translateY(100vh) rotateZ(720deg);
    }
}

/* Party Poppers */
.party-popper {
    position: absolute;
    font-size: 4rem;
    animation: popperPop 2s ease-in-out infinite;
}

.left-popper {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.right-popper {
    top: 20px;
    right: 20px;
    animation-delay: 0.5s;
}

@keyframes popperPop {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
}

/* Main Content */
.celebration-main {
    position: relative;
    z-index: 10;
}

.celebration-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 1rem;
    animation: iconBounce 1s ease-in-out;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.celebration-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    animation: titleSlide 0.8s ease-out 0.3s both;
}

@keyframes titleSlide {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.celebration-message {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 0.5rem;
    animation: messageSlide 0.8s ease-out 0.5s both;
}

.celebration-submessage {
    font-size: 1rem;
    color: #777;
    margin-bottom: 2rem;
    animation: messageSlide 0.8s ease-out 0.7s both;
}

@keyframes messageSlide {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Progress Bar */
.celebration-progress {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
    animation: progressShow 0.8s ease-out 0.9s both;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 3px;
    animation: progressFill 3s ease-out 1s both;
}

@keyframes progressShow {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.redirect-text {
    color: #6c757d;
    font-size: 0.9rem;
    animation: textFade 0.8s ease-out 1.1s both;
}

@keyframes textFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Profile Page Specific Styles */
.profile-header {
    background: linear-gradient(135deg, var(--tireshire-blue) 0%, var(--tireshire-dark-blue) 100%);
    color: white;
    padding: 2rem 0;
}

.profile-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.profile-type-btn {
    border: 2px solid var(--tireshire-blue);
    background: transparent;
    color: var(--tireshire-blue);
    border-radius: 15px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.profile-type-btn:hover, .profile-type-btn.active {
    background: var(--tireshire-blue);
    color: white;
    transform: scale(1.05);
}

.btn-submit {
    background: linear-gradient(45deg, var(--tireshire-blue), var(--tireshire-dark-blue));
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(45deg, var(--tireshire-dark-blue), #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
    color: white;
}

/* Simple, Clear Tire Size Guide */
.tire-size-guide {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #dee2e6;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.tire-size-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tireshire-blue), var(--tireshire-light-blue), var(--tireshire-blue));
    border-radius: 20px 20px 0 0;
}

.tire-diagram-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
}

.tire-visual {
    position: relative;
    margin: 1rem 0;
    width: 100%;
    max-width: 600px;
}

/* Simple Tire Guide Layout */
.simple-tire-guide {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Clear Tire Size Display */
.tire-size-display {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 3px solid var(--tireshire-blue);
    position: relative;
    flex: 1;
    min-width: 280px;
}

.size-title {
    color: var(--tireshire-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tire-size-large {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    margin: 1rem 0;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.size-part {
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
}

.size-part:hover {
    transform: scale(1.1);
    background: var(--tireshire-light-blue);
    color: white;
}

.size-part.active-width {
    background: #ff6b6b;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.size-part.active-profile {
    background: #4ecdc4;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

.size-part.active-diameter {
    background: #ffd93d;
    color: #333;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 217, 61, 0.5);
}

.size-slash, .size-r {
    color: #666;
    margin: 0 0.25rem;
}

.size-location {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Simple Tire Illustration */
.tire-illustration {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.tire-outer {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, #4a4a4a 0%, #2a2a2a 60%, #1a1a1a 100%);
    border: 6px solid #000;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tire-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, #c0c0c0 0%, #888 50%, #666 100%);
    border: 2px solid #444;
}

.tire-rim {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ddd;
    border: 1px solid #999;
}

.tire-brand-simple {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.other-markings {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc;
    font-size: 0.6rem;
    text-align: center;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Clear Instructions */
.clear-instructions {
    margin-top: 2rem;
    max-width: 600px;
    width: 100%;
}

.instruction-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.instruction-header h5 {
    color: var(--tireshire-blue);
    font-weight: 700;
    margin: 0;
}

.instruction-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step:hover {
    border-color: var(--tireshire-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 90, 200, 0.15);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tireshire-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-text p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Example Breakdown */
.example-breakdown {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
}

.breakdown-title {
    text-align: center;
    font-weight: 600;
    color: var(--tireshire-blue);
    margin-bottom: 1rem;
}

.breakdown-parts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.breakdown-part {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.breakdown-part:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.width-breakdown:hover {
    border-left: 4px solid #ff6b6b;
}

.profile-breakdown:hover {
    border-left: 4px solid #4ecdc4;
}

.diameter-breakdown:hover {
    border-left: 4px solid #ffd93d;
}

.part-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.5rem;
    color: var(--tireshire-blue);
}

.part-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Arrow Indicators */
.tire-arrow-indicator {
    position: absolute;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 10;
}

.tire-arrow-indicator.show {
    opacity: 1;
    animation: pointToTire 2s ease-in-out infinite;
}

@keyframes pointToTire {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.arrow-pointer {
    width: 3px;
    height: 30px;
    background: var(--tireshire-blue);
    margin: 0 auto 8px;
    border-radius: 2px;
    position: relative;
}

.arrow-pointer::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--tireshire-blue);
}

.arrow-label {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 2px solid var(--tireshire-blue);
    min-width: 80px;
}

.arrow-label strong {
    display: block;
    color: var(--tireshire-blue);
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.arrow-label span {
    color: #666;
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .simple-tire-guide {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .tire-size-large {
        font-size: 2.5rem;
    }
    
    .tire-illustration {
        width: 150px;
        height: 150px;
    }
    
    .instruction-steps {
        grid-template-columns: 1fr;
    }
    
    .breakdown-parts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .tire-size-guide {
        padding: 1.5rem;
    }
    
    .tire-size-display {
        padding: 1.5rem;
        min-width: auto;
    }
    
    .tire-size-large {
        font-size: 2rem;
    }
    
    .step {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.tire-base {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.4),
        inset 0 0 0 8px rgba(0, 0, 0, 0.9);
    background: 
        radial-gradient(ellipse at 30% 30%, #4a4a4a 0%, #2a2a2a 40%, #1a1a1a 100%);
    transition: all 0.3s ease;
}

.tire-base:hover {
    transform: rotateY(-15deg) rotateX(5deg) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 0 8px rgba(0, 0, 0, 0.9);
}

/* Enhanced Tire Tread Area */
.tire-tread {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: 
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            #1a1a1a 0deg 4deg,
            #2a2a2a 4deg 8deg,
            #1a1a1a 8deg 12deg,
            #333 12deg 16deg
        ),
        radial-gradient(circle at 50% 50%, #2a2a2a 55%, #1a1a1a 100%);
    border: 12px solid #0f0f0f;
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.7),
        inset 0 10px 20px rgba(255, 255, 255, 0.05);
}

.tread-line {
    position: absolute;
    width: 5px;
    height: 35px;
    background: linear-gradient(180deg, #555 0%, #333 50%, #111 100%);
    border-radius: 3px;
    top: 3px;
    left: 50%;
    transform-origin: 50% 195px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.7),
        0 1px 2px rgba(255, 255, 255, 0.1);
}

.tread-line:nth-child(1) { transform: translateX(-50%) rotate(0deg); }
.tread-line:nth-child(2) { transform: translateX(-50%) rotate(45deg); }
.tread-line:nth-child(3) { transform: translateX(-50%) rotate(90deg); }
.tread-line:nth-child(4) { transform: translateX(-50%) rotate(135deg); }
.tread-line:nth-child(5) { transform: translateX(-50%) rotate(180deg); }
.tread-line:nth-child(6) { transform: translateX(-50%) rotate(225deg); }
.tread-line:nth-child(7) { transform: translateX(-50%) rotate(270deg); }
.tread-line:nth-child(8) { transform: translateX(-50%) rotate(315deg); }

/* Tire Sidewalls */
.tire-sidewall {
    position: absolute;
    top: 50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

.left-sidewall {
    left: 50px;
    background: 
        radial-gradient(ellipse at 40% 40%, #4a4a4a 0%, #3a3a3a 40%, #2a2a2a 70%, #1a1a1a 100%);
    transform: translateZ(20px);
    box-shadow: 
        inset 8px 8px 25px rgba(0, 0, 0, 0.5),
        inset -8px -8px 25px rgba(255, 255, 255, 0.1),
        0 5px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.right-sidewall {
    right: 50px;
    background: 
        radial-gradient(ellipse at 60% 40%, #1a1a1a 0%, #0f0f0f 100%);
    transform: translateZ(-20px);
    opacity: 0.7;
}

.sidewall-shadow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: 
        radial-gradient(ellipse at 30% 30%, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Enhanced Tire Markings on Sidewall */
.sidewall-markings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f0f0f0;
    text-align: center;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.tire-brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 8px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tire-model {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 18px;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Main Size Marking - The Key Element */
.tire-size-marking {
    margin: 20px 0;
    position: relative;
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.size-highlight-box {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border: 3px solid rgba(30, 144, 255, 0.6);
    border-radius: 12px;
    padding: 12px 20px;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(30, 144, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.size-highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.size-number {
    font-size: 2rem;
    font-weight: 900;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.size-sep {
    font-size: 1.8rem;
    color: #ddd;
    margin: 0 4px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.size-number:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.size-number.active {
    transform: scale(1.2);
    text-shadow: 0 0 15px currentColor;
    animation: activeGlow 1.5s ease-in-out infinite alternate;
}

@keyframes activeGlow {
    0% { box-shadow: 0 0 20px currentColor; }
    100% { box-shadow: 0 0 30px currentColor, 0 0 40px currentColor; }
}

.width-number.active {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.8);
}

.profile-number.active {
    background: linear-gradient(135deg, #4ecdc4, #26a69a);
    color: white;
    box-shadow: 0 0 25px rgba(78, 205, 196, 0.8);
}

.diameter-number.active {
    background: linear-gradient(135deg, #ffd93d, #ffb300);
    color: #333;
    box-shadow: 0 0 25px rgba(255, 217, 61, 0.8);
}

/* Additional Tire Information */
.tire-additional-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.7rem;
    color: #aaa;
    opacity: 0.8;
}

.load-speed-index, .dot-code, .max-pressure, .treadwear, .country {
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Size Arrow Pointer */
.size-arrow-pointer {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 20;
}

.size-arrow-pointer.show {
    opacity: 1;
    animation: pointingPulse 2s ease-in-out infinite;
}

.arrow-line {
    width: 3px;
    height: 40px;
    background: var(--tireshire-blue);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(30, 90, 200, 0.5);
}

.arrow-head {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid var(--tireshire-blue);
    margin: 0 auto;
    filter: drop-shadow(0 0 5px rgba(30, 90, 200, 0.5));
}

.arrow-label {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-top: 8px;
    border: 2px solid var(--tireshire-blue);
    min-width: 120px;
}

.label-title {
    font-weight: 700;
    color: var(--tireshire-blue);
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.label-desc {
    font-size: 0.7rem;
    color: #666;
}

@keyframes pointingPulse {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* Tire Rim */
.tire-rim {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, #e0e0e0 0%, #c0c0c0 40%, #a0a0a0 80%, #808080 100%);
    box-shadow: 
        inset 0 5px 20px rgba(255, 255, 255, 0.3),
        inset 0 -5px 20px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid #666;
}

.rim-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, #f0f0f0 0%, #d0d0d0 50%, #b0b0b0 100%);
    box-shadow: 
        inset 0 2px 8px rgba(255, 255, 255, 0.5),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.rim-spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 50px;
    background: 
        linear-gradient(180deg, #e0e0e0 0%, #c0c0c0 50%, #a0a0a0 100%);
    transform-origin: 50% 0;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

.rim-spoke:nth-child(2) { transform: translate(-50%, -100%) rotate(0deg); }
.rim-spoke:nth-child(3) { transform: translate(-50%, -100%) rotate(72deg); }
.rim-spoke:nth-child(4) { transform: translate(-50%, -100%) rotate(144deg); }
.rim-spoke:nth-child(5) { transform: translate(-50%, -100%) rotate(216deg); }
.rim-spoke:nth-child(6) { transform: translate(-50%, -100%) rotate(288deg); }

/* Measurement Indicators */
.measurement-indicator {
    position: absolute;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: scale(0.8);
    z-index: 15;
}

.measurement-indicator.show {
    opacity: 1;
    transform: scale(1);
}

.width-indicator {
    top: -80px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
}

.width-indicator.show {
    transform: translateX(-50%) scale(1);
}

.profile-indicator {
    top: 20%;
    right: -150px;
}

.diameter-indicator {
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
}

.diameter-indicator.show {
    transform: translateX(-50%) scale(1);
}

.measure-line {
    width: 3px;
    height: 50px;
    background: var(--tireshire-blue);
    margin: 0 auto 10px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(30, 90, 200, 0.5);
    position: relative;
}

.measure-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid var(--tireshire-blue);
}

.measure-label {
    background: white;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    min-width: 120px;
    border: 2px solid var(--tireshire-blue);
}

.measure-label strong {
    display: block;
    color: var(--tireshire-blue);
    font-size: 0.8rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.measure-label span {
    display: block;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.measure-label small {
    display: block;
    color: #666;
    font-size: 0.7rem;
}

/* Tire Finding Guide */
.tire-finding-guide {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.guide-step {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guide-step.active {
    border-color: var(--tireshire-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 90, 200, 0.2);
}

.guide-step.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tireshire-blue);
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--tireshire-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.step-content strong {
    display: block;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

/* Active States */
.tire-visual.active-width .width-tire-highlight,
.tire-visual.active-width .width-indicator,
.tire-visual.active-width .size-arrow-pointer {
    opacity: 1;
    transform: scale(1);
}

.tire-visual.active-width .width-number {
    background: #ff6b6b;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
}

.tire-visual.active-profile .profile-tire-highlight,
.tire-visual.active-profile .profile-indicator {
    opacity: 1;
    transform: scale(1);
}

.tire-visual.active-profile .profile-number {
    background: #4ecdc4;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.6);
}

.tire-visual.active-diameter .diameter-tire-highlight,
.tire-visual.active-diameter .diameter-indicator {
    opacity: 1;
    transform: scale(1);
}

.tire-visual.active-diameter .diameter-number {
    background: #ffd93d;
    color: #333;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 217, 61, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .realistic-tire {
        width: 320px;
        height: 320px;
    }
    
    .tire-base {
        transform: rotateY(-10deg) rotateX(3deg);
    }
    
    .left-sidewall {
        width: 240px;
        height: 240px;
        left: 40px;
        top: 40px;
    }
    
    .tire-brand-name {
        font-size: 1.1rem;
    }
    
    .size-number {
        font-size: 1.3rem;
    }
    
    .tire-finding-guide {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .profile-indicator {
        right: -120px;
    }
}

@media (max-width: 576px) {
    .tire-size-guide {
        padding: 1rem;
    }
    
    .realistic-tire {
        width: 280px;
        height: 280px;
    }
    
    .left-sidewall {
        width: 200px;
        height: 200px;
        left: 40px;
        top: 40px;
    }
    
    .tire-brand-name {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .size-number {
        font-size: 1.1rem;
    }
    
    .profile-indicator {
        position: static;
        margin-top: 1rem;
    }
    
    .measure-line {
        display: none;
    }
    
    .guide-step {
        padding: 0.75rem;
    }
    
    .step-content strong {
        font-size: 0.8rem;
    }
    
    .step-content p {
        font-size: 0.75rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tire-sidewall {
        width: 280px;
        height: 280px;
    }
    
    .tire-outer-ring {
        width: 250px;
        height: 250px;
    }
    
    .tire-inner-ring {
        width: 140px;
        height: 140px;
    }
    
    .tire-size-main {
        font-size: 1.4rem;
    }
    
    .tire-brand {
        font-size: 1rem;
    }
    
    .profile-pointer {
        right: -100px;
    }
    
    .tire-instructions {
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .tire-size-guide {
        padding: 1rem;
    }
    
    .tire-sidewall {
        width: 250px;
        height: 250px;
    }
    
    .tire-outer-ring {
        width: 220px;
        height: 220px;
    }
    
    .tire-inner-ring {
        width: 120px;
        height: 120px;
    }
    
    .tire-size-main {
        font-size: 1.2rem;
        padding: 6px 12px;
    }
    
    .tire-brand {
        font-size: 0.9rem;
    }
    
    .profile-pointer {
        position: static;
        margin-top: 1rem;
    }
    
    .pointer-line {
        display: none;
    }
    
    .tire-instructions {
        max-width: 100%;
    }
    
    .instruction-step {
        font-size: 0.8rem;
    }
}

/* Size breakdown */
.size-breakdown {
    margin-top: 1rem;
}

.size-display {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.size-part {
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
}

.size-part:hover {
    background: rgba(30, 90, 200, 0.1);
    transform: scale(1.1);
}

.size-part.highlight-width {
    background: #ff6b6b;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

.size-part.highlight-profile {
    background: #4ecdc4;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.4);
}

.size-part.highlight-diameter {
    background: #ffd93d;
    color: #333;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(255, 217, 61, 0.4);
}

.separator {
    color: #6c757d;
    margin: 0 0.25rem;
}

.guide-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.guide-actions .btn {
    transition: all 0.3s ease;
    border-radius: 20px;
    font-weight: 500;
}

.guide-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animation keyframes */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes drawLine {
    from {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
    }
}

/* Active state animations */
.tire-visual.active-width .width-line,
.tire-visual.active-width .width-dot {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

.tire-visual.active-profile .profile-line,
.tire-visual.active-profile .profile-dot {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

.tire-visual.active-diameter .diameter-line,
.tire-visual.active-diameter .diameter-dot {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tire-svg {
        max-width: 200px;
    }
    
    .profile-label {
        right: -70px;
        font-size: 0.8rem;
    }
    
    .size-display {
        font-size: 1.5rem;
    }
    
    .guide-actions {
        gap: 0.25rem;
    }
    
    .guide-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .tire-size-guide {
        padding: 1rem;
    }
    
    .tire-svg {
        max-width: 180px;
    }
    
    .profile-label {
        position: static;
        margin-top: 0.5rem;
        transform: scale(1) !important;
    }
    
    .size-display {
        font-size: 1.2rem;
    }
}

/* Realistic Tire Sidewall Guide Styles */
.realistic-tire-guide {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #dee2e6;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.realistic-tire-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tireshire-blue), var(--tireshire-light-blue), var(--tireshire-blue));
    border-radius: 20px 20px 0 0;
}

.tire-sidewall-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.tire-sidewall-svg {
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 400px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

/* Front-facing tire view styling (like reference image) */
.tire-outer-ring {
    fill: url(#tireGradient);
    filter: drop-shadow(6px 8px 20px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.wheel-rim {
    fill: url(#wheelGradient);
    filter: drop-shadow(3px 4px 10px rgba(0, 0, 0, 0.3));
}

.wheel-spokes {
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.2));
}

.tread-pattern {
    opacity: 0.7;
}

/* Curved tire size text */
.curved-tire-size {
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.curved-tire-size:hover {
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.9));
}

/* Green label indicators (like reference image) */
.green-label-indicator {
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.green-label-indicator:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.green-label-indicator line {
    transition: all 0.3s ease;
}

.green-label-indicator:hover line {
    stroke-width: 3;
    stroke: #2ecc71;
}

.green-label-indicator rect {
    transition: all 0.3s ease;
}

.green-label-indicator:hover rect {
    fill: #2ecc71;
    filter: drop-shadow(2px 2px 6px rgba(46, 204, 113, 0.4));
}

/* Active states for tire parts */
.width-number.active,
.aspect-number.active,
.construction-letter.active,
.rim-number.active,
.load-speed.active {
    fill: #2ecc71 !important;
    filter: drop-shadow(0 0 10px #2ecc71);
    animation: pulseGlow 2s infinite;
}

/* Clean, professional container styling */
.tire-sidewall-container {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid #e9ecef;
}

.tire-sidewall-svg {
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 600px;
    margin: 0 auto;
    display: block;
}

/* Clickable tire size parts */
.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable:hover {
    fill: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Active states for tire parts */
.width-number.active {
    fill: #ff4757 !important;
    filter: drop-shadow(0 0 10px #ff4757);
    animation: pulseGlow 2s infinite;
}

.aspect-number.active {
    fill: #2ed573 !important;
    filter: drop-shadow(0 0 10px #2ed573);
    animation: pulseGlow 2s infinite;
}

.construction-letter.active {
    fill: #3742fa !important;
    filter: drop-shadow(0 0 10px #3742fa);
    animation: pulseGlow 2s infinite;
}

.rim-number.active {
    fill: #ffa502 !important;
    filter: drop-shadow(0 0 10px #ffa502);
    animation: pulseGlow 2s infinite;
}

.load-speed.active {
    fill: #a55eea !important;
    filter: drop-shadow(0 0 10px #a55eea);
    animation: pulseGlow 2s infinite;
}

/* Arrow indicators */
.arrow-indicator {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.arrow-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.arrow-indicator.active {
    opacity: 1;
    transform: translateY(0);
    animation: arrowPulse 2s infinite;
}

/* Arrow animations */
@keyframes arrowPulse {
    0%, 100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: translateY(-3px) scale(1.05); 
    }
}

@keyframes pulseGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px currentColor);
    }
    50% { 
        filter: drop-shadow(0 0 20px currentColor) drop-shadow(0 0 30px currentColor);
    }
}

/* Guide note styling */
.guide-note {
    color: var(--tireshire-blue);
    font-size: 0.9rem;
    margin-top: 15px;
    padding: 10px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--tireshire-blue);
}

.guide-note i {
    animation: pointBlink 2s infinite;
}

@keyframes pointBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Responsive design for realistic tire guide */
@media (max-width: 768px) {
    .realistic-tire-guide {
        padding: 1.5rem;
    }
    
    .tire-sidewall-container {
        padding: 15px;
    }
    
    .tire-sidewall-svg {
        max-height: 300px;
    }
    
    .tire-size-text {
        font-size: 24px;
    }
    
    .arrow-indicator text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .realistic-tire-guide {
        padding: 1rem;
    }
    
    .tire-size-text {
        font-size: 20px;
    }
    
    .arrow-indicator text {
        font-size: 10px;
    }
    
    .guide-note {
        font-size: 0.8rem;
    }
}

/* Enhanced hover effects */
.tire-sidewall:hover {
    filter: drop-shadow(5px 5px 12px rgba(0, 0, 0, 0.4));
}

/* Smooth transitions for all interactive elements */
.realistic-tire-guide * {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.clickable:focus {
    outline: 2px solid var(--tireshire-blue);
    outline-offset: 2px;
}

/* Loading animation for tire guide */
.realistic-tire-guide.loading .tire-sidewall-svg {
    opacity: 0.5;
    animation: loadingPulse 1.5s infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}
