/* Home Page Styles */

/* Notification Banner */
.notification-banner {
    width: 100%;
    height: 5vh;
    min-height: 40px;
    color: #fff;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 999;
    box-sizing: border-box;
}

.notification-banner.bg-red {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.notification-banner.bg-blue {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.notification-banner.bg-green {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.notification-banner.bg-orange {
    background: linear-gradient(135deg, #fd7e14 0%, #e55d00 100%);
}

.notification-banner.bg-purple {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

.notification-banner.bg-black {
    background: linear-gradient(135deg, #343a40 0%, #23272b 100%);
}

.notification-banner-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.notification-text {
    display: flex;
    white-space: nowrap;
    height: 100%;
    align-items: center;
}

.notification-text span {
    display: inline-block;
    padding: 0 50px;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-11.111%);
    }
}

/* Home Hero Styles */
.home-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff;
    color: #000;
    border: 2px solid #dc3545;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.home-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.home-hero p {
    font-size: 1.25rem;
}

.home-content {
    padding: 2rem 0;
}

.intro-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.intro-section h2 {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.intro-section p {
    color: #000;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Hero Slider Section */
.hero-slider-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    z-index: 1;
    /* Height will be set dynamically by JavaScript to fill remaining viewport */
    height: calc(100vh - var(--header-height, 100px) - var(--notification-height, 0px));
    min-height: 500px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100% !important;
    min-height: 500px;
    overflow: hidden;
}

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

.hero-slide.active {
    opacity: 1;
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 5;
    padding: 0;
    background: transparent;
    width: 100%;
    max-width: 800px;
}

/* Filter overlay styles for slider */
.hero-slide-content .filter-container {
    padding: 0.75rem 0;
}

.hero-slide-content .filter-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    backdrop-filter: blur(15px);
}

.hero-slide-content .filter-title {
    text-align: center;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.hero-slide-content .filter-title h1 {
    color: #ff4444;
    margin-bottom: 0.1rem;
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 68, 68, 0.5);
}

.hero-slide-content .filter-title p {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.hero-slide-content .filter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-slide-content .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-slide-content .form-group label {
    font-weight: 700;
    color: #fff;
    font-size: 0.875rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-slide-content .form-group input,
.hero-slide-content .form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.hero-slide-content .form-group select::-ms-expand {
    display: none;
}

.hero-slide-content .form-group select option {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 0.75rem;
}

.hero-slide-content .form-group input:hover,
.hero-slide-content .form-group select:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-slide-content .form-group select:focus,
.hero-slide-content .form-group input:focus {
    background-color: rgba(0, 0, 0, 0.6);
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
    outline: none;
}

.hero-slide-content .size-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-top: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-slide-content .size-fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.hero-slide-content .find-tyres-btn {
    padding: 0.5rem 1.5rem;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.25rem;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.hero-slide-content .find-tyres-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.hero-slide-content .loading-spinner {
    display: none;
    text-align: center;
    padding: 0.5rem;
}

.hero-slide-content .loading-spinner.active {
    display: block;
}

.hero-slide-content .spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #dc3545;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
}

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

.slider-dot.active {
    background: #dc3545;
    border-color: #dc3545;
}

/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
}

.section-title i {
    color: #dc3545;
    margin-left: 0.5rem;
}

/* Hot Sales Products Section */
.hot-sales-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
    width: 100%;
    box-sizing: border-box;
}

.hot-sales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.hot-sales-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 1.5s ease, transform 1.5s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}

.hot-sales-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Badges for hot sales products */
.hot-sales-card .badge-sale,
.hot-sales-card .badge-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.hot-sales-card .badge-sale {
    background-color: #dc3545;
    color: #fff;
}

.hot-sales-card .badge-featured {
    background-color: #ffc107;
    color: #000;
    top: 45px;
}

/* Hide quantity selection and product actions by default */
.hot-sales-card .quantity-selection-section,
.hot-sales-card .product-actions-row {
    display: none;
}

/* Hide image on hover */
.hot-sales-card:hover .product-image-link {
    display: none;
}

/* Show elements on hover */
.hot-sales-card:hover .quantity-selection-section,
.hot-sales-card:hover .product-actions-row {
    display: flex;
}

/* Keep elements visible when an option is selected */
.hot-sales-card.has-selection .quantity-selection-section,
.hot-sales-card.has-selection .product-actions-row {
    display: flex;
}

.hot-sales-card.has-selection .product-image-link {
    display: none;
}

/* Fallback for browsers that support :has() */
.hot-sales-card:has(.quantity-option input[type="radio"]:checked) .quantity-selection-section,
.hot-sales-card:has(.quantity-option input[type="radio"]:checked) .product-actions-row {
    display: flex;
}

.hot-sales-card:has(.quantity-option input[type="radio"]:checked) .product-image-link {
    display: none;
}

.product-image-wrapper,
.product-image-link {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: block;
    margin-bottom: 15px;
    border-radius: 5px;
    transition: transform 1.5s ease;
}

.product-image-link {
    cursor: pointer;
    text-decoration: none;
}

.hot-sales-card:hover .product-image-link {
    transform: scale(0.95);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    max-width: 100%;
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
    min-height: 2.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #dc3545;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    margin: 0;
}

/* Tyre Size Display */
.hot-sales-card .tyre-size {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 1.5s ease;
}

.hot-sales-card .tyre-size:hover {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.15);
    transform: translateY(-2px);
}

.hot-sales-card .tyre-size strong {
    color: #dc3545;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Quantity Selection Styles */
.hot-sales-card .quantity-selection-section {
    margin-top: 10px;
    margin-bottom: 10px;
    flex-direction: column;
    gap: 6px;
}

.hot-sales-card .quantity-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.hot-sales-card .quantity-option:hover {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.hot-sales-card .quantity-option input[type="radio"] {
    margin: 0;
    margin-right: 12px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #dc3545;
}

.hot-sales-card .quantity-option input[type="radio"]:checked + .quantity-label {
    color: #dc3545;
    font-weight: 600;
}

.hot-sales-card .quantity-option input[type="radio"]:checked ~ .quantity-price {
    color: #dc3545;
}

.hot-sales-card .quantity-option.selected,
.hot-sales-card .quantity-option:has(input[type="radio"]:checked) {
    border-color: #dc3545;
    background-color: #fff5f5;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.2);
}

.hot-sales-card .quantity-label {
    flex: 1;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

.hot-sales-card .quantity-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

.hot-sales-card .quantity-price .price-value {
    font-weight: 700;
}

/* Product Actions Row */
.hot-sales-card .product-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    align-items: stretch;
}

.hot-sales-card .product-details-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-align: center;
}

.hot-sales-card .product-details-link:hover {
    background-color: #dc3545;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.hot-sales-card .btn-add-to-cart {
    flex: 1;
    padding: 8px 12px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hot-sales-card .btn-add-to-cart:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

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

.add-to-cart-btn i {
    font-size: 1rem;
}

.no-products-message {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Offers Section */
.offers-section {
    padding: 4rem 0;
    background-color: #fff;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
    justify-items: center;
}

.offer-image-item {
    width: 298px;
    height: 445px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #f5f5f5;
}

.offer-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.offer-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Design */

/* Large Tablets and Small Desktops (1024px - 1199px) */
@media (max-width: 1199px) {
    .hot-sales-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }

    /* Tyre Pattern: 3 columns for medium screens (≤1199px) */
    .tyre-pattern-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .service-van-content {
        gap: 2.5rem;
    }

    .service-van-text h2 {
        font-size: 1.875rem;
    }
}

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
    .notification-banner {
        height: 5vh;
        min-height: 38px;
    }

    .notification-text span {
        font-size: 0.9rem;
        padding: 0 40px;
    }

    .hero-slider-section {
        min-height: 450px;
    }

    .hero-slider {
        min-height: 450px;
    }

    .hero-slide-content {
        max-width: 90%;
        padding: 1rem;
    }

    .hero-slide-content .filter-wrapper {
        padding: 1.25rem;
    }

    .hero-slide-content .filter-title h1 {
        font-size: 1.5rem;
    }

    .hero-slide-content .filter-title p {
        font-size: 0.85rem;
    }

    .hot-sales-section {
        padding: 3rem 0;
    }

    .hot-sales-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-van-section {
        padding: 3rem 0;
    }

    .service-van-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .service-van-text {
        text-align: center;
    }

    .service-van-text h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .service-van-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .service-van-cta {
        margin-top: 1.25rem;
    }

    .service-van-cta .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .service-van-placeholder {
        min-height: 350px;
    }

    /* Tyre Pattern: 3 columns for tablets (≤1023px) */
    .tyre-pattern-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Small Tablets and Large Phones (481px - 767px) */
@media (max-width: 768px) {
    .notification-banner {
        height: 5vh;
        min-height: 35px;
    }

    .notification-text span {
        font-size: 0.85rem;
        padding: 0 30px;
    }

    .hero-slider {
        min-height: 400px;
    }
    
    .hero-slider-section {
        min-height: 400px;
        /* Height will still be calculated dynamically by JavaScript */
    }

    .hero-slide-content {
        padding: 1rem;
        max-width: 95%;
    }

    .hero-slide-content .filter-wrapper {
        padding: 1rem;
    }

    .hero-slide-content .filter-title h1 {
        font-size: 1.25rem;
    }

    .hero-slide-content .filter-title p {
        font-size: 0.8rem;
    }

    .hero-slide-content .size-fields-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .hero-slide-content .size-fields {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .hero-slide-content .find-tyres-btn {
        width: 100%;
        max-width: 100%;
    }

    .home-hero h1 {
        font-size: 2rem;
    }
    
    .home-hero p {
        font-size: 1rem;
    }
    
    .intro-section h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .offers-section {
        padding: 2rem 0;
    }

    .hot-sales-section {
        padding: 2rem 0;
    }

    .hot-sales-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-info {
        padding: 1.25rem;
    }

    .product-name {
        font-size: 1rem;
        min-height: 2.4rem;
    }

    .product-price {
        font-size: 1.25rem;
    }

    .add-to-cart-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .offer-image-item {
        width: 100%;
        max-width: 100%;
    }

    .how-it-works-content {
        flex-direction: column;
        gap: 2rem;
    }

    .how-it-works-image {
        max-width: 100%;
        order: 1;
        transform: translateY(-30px);
    }

    .how-it-works-image.animate-in {
        transform: translateY(0);
    }

    .how-it-works-text {
        max-width: 100%;
        order: 2;
        transform: translateY(30px);
    }

    .how-it-works-text.animate-in {
        transform: translateY(0);
    }

    .how-it-works-text h2 {
        font-size: 2.25rem;
        text-align: center;
    }

    .services-section {
        padding: 2rem 0;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .accordion-header {
        padding: 1rem;
    }

    .accordion-header h3 {
        font-size: 1.1rem;
    }

    .accordion-item.active .accordion-content {
        padding: 1rem;
    }

    .reviews-section {
        padding: 2rem 0;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .service-van-section {
        padding: 2.5rem 0;
    }

    .service-van-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-van-text {
        text-align: center;
    }

    .service-van-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-van-text p {
        font-size: 0.95rem;
        margin-bottom: 0.875rem;
    }

    .service-van-cta {
        margin-top: 1rem;
    }

    .service-van-cta .btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }

    .service-van-placeholder {
        min-height: 300px;
    }

    .tyre-pattern-section {
        padding: 3rem 0;
    }

    /* Tyre Pattern: 2 columns for small screens (≤768px) */
    .tyre-pattern-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem;
        padding: 0 1rem;
    }
}

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
    .notification-banner {
        height: 5vh;
        min-height: 32px;
    }

    .notification-text span {
        font-size: 0.75rem;
        padding: 0 20px;
    }

    .hero-slider-section {
        min-height: 350px;
    }

    .hero-slider {
        min-height: 350px;
    }

    .hero-slide-content {
        padding: 0.75rem;
        max-width: 98%;
    }

    .hero-slide-content .filter-wrapper {
        padding: 0.875rem;
    }

    .hero-slide-content .filter-title h1 {
        font-size: 1.1rem;
    }

    .hero-slide-content .filter-title p {
        font-size: 0.75rem;
    }

    .hero-slide-content .form-group label {
        font-size: 0.8rem;
    }

    .hero-slide-content .form-group input,
    .hero-slide-content .form-group select {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }

    .hero-slide-content .size-fields {
        padding: 0.75rem;
    }

    .slider-dots {
        bottom: 15px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .section-title {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }

    .hot-sales-section {
        padding: 1.5rem 0;
    }

    .hot-sales-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .product-image-wrapper {
        height: 180px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 0.95rem;
        min-height: 2.2rem;
    }

    .product-price {
        font-size: 1.15rem;
    }

    .add-to-cart-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .service-van-section {
        padding: 2rem 0;
    }

    .service-van-content {
        padding: 0 0.75rem;
        gap: 1.25rem;
    }

    .service-van-text h2 {
        font-size: 1.35rem;
        margin-bottom: 0.875rem;
    }

    .service-van-text p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .service-van-cta {
        margin-top: 0.875rem;
    }

    .service-van-cta .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-van-placeholder {
        min-height: 250px;
        font-size: 0.9rem;
        padding: 1.5rem;
    }

    .tyre-pattern-section {
        padding: 2rem 0;
    }

    /* Tyre Pattern: 1 column for very small screens (≤480px) */
    .tyre-pattern-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 1rem;
        padding: 0 0.75rem;
    }

    .reviews-section {
        padding: 1.5rem 0;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .review-rating .star {
        font-size: 1.1rem;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .review-author {
        font-size: 0.85rem;
    }

    .reviews-cta .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Phones (max-width: 360px) */
@media (max-width: 360px) {
    .notification-text span {
        font-size: 0.7rem;
        padding: 0 15px;
    }

    .hero-slider-section {
        min-height: 320px;
    }

    .hero-slider {
        min-height: 320px;
    }

    .hero-slide-content .filter-title h1 {
        font-size: 1rem;
    }

    .hero-slide-content .filter-title p {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .hot-sales-grid {
        gap: 1rem;
        padding: 0 0.75rem;
    }

    .product-image-wrapper {
        height: 160px;
    }

    .product-info {
        padding: 0.875rem;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .service-van-section {
        padding: 1.5rem 0;
    }

    .service-van-content {
        padding: 0 0.5rem;
        gap: 1rem;
    }

    .service-van-text h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-van-text p {
        font-size: 0.85rem;
        margin-bottom: 0.625rem;
    }

    .service-van-cta {
        margin-top: 0.75rem;
    }

    .service-van-cta .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }

    .service-van-placeholder {
        min-height: 220px;
        font-size: 0.85rem;
        padding: 1rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #f5f5f5 0%, rgba(220, 53, 69, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto 1.5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.how-it-works-image {
    flex: 1;
    max-width: 50%;
    position: relative;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 1rem;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.how-it-works-image.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.how-it-works-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

.how-it-works-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

.how-it-works-text {
    flex: 1;
    max-width: 50%;
    opacity: 0;
    transform: translateX(30px);
}

.how-it-works-text.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.how-it-works-text h2 {
    font-size: 2.75rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.how-it-works-description {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.8;
}

.how-it-works-description p {
    margin-bottom: 1rem;
    font-weight: 400;
    position: relative;
    padding-left: 1.5rem;
}

.how-it-works-description p::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #dc3545;
    font-weight: bold;
    font-size: 1.4rem;
}

.how-it-works-description p:first-of-type {
    font-weight: 700;
    color: #222;
    font-size: 1.35rem;
    padding-left: 0;
}

.how-it-works-description p:first-of-type::before {
    display: none;
}

.cta-button {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-button .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.cta-button .btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: #fff;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.services-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.accordion-item.active {
    border-color: #dc3545;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.3s;
}

.accordion-item.active .accordion-header {
    background: #f5f5f5;
}

.accordion-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc3545;
    transition: transform 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 1.5rem;
}

.accordion-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Customer Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background-color: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.review-image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
    grid-row: span 1;
}

.review-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.review-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-image-tall {
    grid-row: span 2;
}

.review-image-card .placeholder {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

.reviews-cta {
    text-align: center;
    margin-top: 2rem;
}

.reviews-cta .btn {
    padding: 0.75rem 2rem;
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.reviews-cta .btn:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Service Van Section */
.service-van-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-van-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-van-text {
    flex: 1;
}

.service-van-text h2 {
    font-size: 2rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.service-van-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-van-cta {
    margin-top: 1.5rem;
}

.service-van-cta .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.service-van-cta .btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.service-van-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}


.service-van-slider {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}

.service-van-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.service-van-slide.active {
    opacity: 1;
    z-index: 1;
}

.service-van-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-van-placeholder {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #6c757d;
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
}

/* Tyre Pattern Section */
.tyre-pattern-section {
    padding: 4rem 0;
    background-color: #fff;
}

/* Tyre Pattern Grid - Default: 4 columns for large screens (1200px and above) */
.tyre-pattern-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.tyre-pattern-card {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
    aspect-ratio: 2 / 3;
    box-sizing: border-box;
}

.tyre-pattern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tyre-pattern-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    max-width: 100%;
}

.tyre-pattern-card:hover img {
    transform: scale(1.05);
}

.tyre-pattern-card .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

