/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Promo Header */
.promo-header {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.promo-header p {
    margin: 0;
}

/* Navigation */
.navbar {
    background-color: #fff;
    border-bottom: 2px solid #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo span {
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.nav-link:hover {
    opacity: 0.6;
    border-bottom-color: #000;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #000;
    transition: opacity 0.3s;
}

.cart-icon:hover {
    opacity: 0.6;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #000;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-benefits p {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Featured Section */
.featured {
    padding: 60px 0;
}

.featured h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #000;
}

.product-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.product-card-info {
    padding: 20px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-card .brand {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.product-card .add-btn {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.product-card .add-btn:hover {
    background-color: #333;
}

.brand-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #000;
}

.brand-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.brand-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.brand-card a {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.brand-card a:hover {
    background-color: #333;
}

/* Filters */
.filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn.active {
    background-color: #000;
    color: #fff;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.product-brand {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.product-specs {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-specs p {
    margin: 5px 0;
}

.spec-label {
    font-weight: 600;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #333;
}

.add-to-cart-btn:active {
    background-color: #555;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.no-products {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #888;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer p {
    margin: 0;
}

/* Cart Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.close {
    color: #999;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-details strong {
    display: block;
    margin-bottom: 0;
    font-size: 16px;
}

.item-details small {
    color: #888;
    display: block;
    margin-bottom: 0;
    font-size: 13px;
}

.item-price {
    font-weight: bold;
    color: #000;
    margin-top: 5px;
}

.remove-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 12px;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #e0e0e0;
}

.empty-cart {
    text-align: center;
    padding: 30px;
    color: #888;
}

.cart-summary {
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-bottom: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.cart-total.final {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.promo-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.apply-btn {
    width: 100%;
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #e0e0e0;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.checkout-btn:hover:not(:disabled) {
    background-color: #333;
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Checkout Page */
.checkout-container {
    padding: 40px 0;
    min-height: 80vh;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.order-summary {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    height: fit-content;
}

.order-summary h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.item-info strong {
    display: block;
    margin-bottom: 5px;
}

.item-info small {
    color: #888;
    font-size: 12px;
}

.item-price {
    font-weight: bold;
    color: #000;
}

.order-totals {
    border-top: 2px solid #000;
    padding-top: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.total-row.final-total {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-top: 15px;
}

.total-row.discount-applied {
    color: #27ae60;
    font-weight: 600;
}

.billing-section, .payment-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.billing-section h2, .payment-section h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #000;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-tab {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 600;
}

.payment-tab:hover {
    border-color: #000;
}

.payment-tab.active {
    border-color: #000;
    background-color: #f5f5f5;
}

.payment-method {
    display: none;
}

.payment-method.active {
    display: block;
}

.payment-method h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.payment-option-btn {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.payment-option-btn:hover {
    background-color: #333;
}

#paypal-button-container {
    margin-top: 20px;
}

#crypto-invoice {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
}

#crypto-invoice p {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
        font-size: 12px;
    }

    .nav-link {
        padding: 5px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .featured h2 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 14px;
    }

    .checkout-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 20px;
    }
}

/* Contact & About Pages */
.contact-container, .about-container, .warehouse-container {
    padding: 60px 0;
    min-height: 80vh;
}

.contact-content, .about-content, .warehouse-content {
    background-color: #f9f9f9;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.contact-content h1, .about-content h1, .warehouse-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-align: center;
    color: #000;
}

.intro-text {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #333;
}

.success-message {
    background-color: #27ae60;
    color: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

/* About Page */
.about-sections {
    margin: 40px 0;
}

.about-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    border-left: 4px solid #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.about-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
}

.about-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.about-section.highlight {
    background-color: #f5f5f5;
    border-left-color: #333;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 12px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.features-list li:last-child {
    border-bottom: none;
}

.about-footer-message {
    background-color: #000;
    color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    margin-top: 40px;
    font-weight: 500;
}

/* Warehouse Page */
.warehouse-sections {
    margin: 40px 0;
}

.warehouse-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.warehouse-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
}

.warehouse-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.warehouse-section.highlight {
    background-color: #f5f5f5;
    border: 2px solid #000;
}

.warehouse-features {
    list-style: none;
    padding: 0;
}

.warehouse-features li {
    padding: 12px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.warehouse-features li:last-child {
    border-bottom: none;
}

.warehouse-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat {
    background-color: #000;
    color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.stat h3 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}

.stat p {
    font-size: 14px;
    color: #ddd;
}

/* Responsive Pages */
@media (max-width: 768px) {
    .contact-content, .about-content, .warehouse-content {
        padding: 30px 20px;
    }

    .contact-content h1, .about-content h1, .warehouse-content h1 {
        font-size: 32px;
    }

    .about-section, .warehouse-section {
        padding: 20px;
    }

    .warehouse-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 20px;
    }
}

/* Carousel Section */
.carousel-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 60px 20px;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-arrow {
    background-color: #000;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background-color: #333;
    transform: scale(1.1);
}

.carousel-arrow.left {
    order: -1;
}

#carouselSlide {
    flex: 1;
    min-height: 400px;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    height: 100%;
}

.slide-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #000;
    line-height: 1.3;
}

.slide-text p {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.slide-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.slide-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    animation: slideInRight 0.5s ease-in-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-dots {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #000;
    transform: scale(1.3);
}

.dot:hover {
    background-color: #666;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-container {
        flex-wrap: wrap;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slide-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .slide-text h2 {
        font-size: 24px;
    }

    .slide-text p {
        font-size: 20px;
    }

    .slide-image {
        min-height: 250px;
    }

    .slide-image img {
        max-height: 250px;
    }
}

/* Brands Slideshow Section */
.brands-slideshow-section {
    padding: 60px 0;
    border-top: 2px solid #eee;
}

.brands-slideshow-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.brands-slideshow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.brands-carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
}

.brands-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    animation: slideCarousel 0.5s ease-in-out;
}

.brand-slide {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 1px solid #eee;
    transition: all 0.3s;
    cursor: pointer;
}

.brand-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #000;
}

.brand-slide img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.brand-slide p {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.slide-btn {
    background-color: #000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

.slide-btn:hover {
    background-color: #333;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #000;
}

@keyframes slideCarousel {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .brands-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .brand-slide {
        min-height: 150px;
    }

    .brand-slide img {
        max-width: 80px;
        max-height: 80px;
    }

    .slide-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .brands-carousel {
        grid-template-columns: 1fr;
    }

    .brands-slideshow {
        gap: 10px;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideInToast 0.3s ease-in-out;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.success {
    background-color: #4CAF50;
}

.toast.error {
    background-color: #f44336;
}

.toast.info {
    background-color: #2196F3;
}

.toast.warning {
    background-color: #ff9800;
}

@keyframes slideInToast {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToast {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.hide {
    animation: slideOutToast 0.3s ease-in-out forwards;
}

/* Reviews Section */
.reviews-section {
    max-width: 1000px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.reviews-container {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.reviews-container h2 {
    font-size: 28px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.reviews-container h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

/* Rating Stats */
.rating-stats-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.rating-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
}

.average-rating-display {
    text-align: center;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.big-rating {
    font-size: 48px;
    font-weight: bold;
    color: #000;
}

.average-rating-display .stars {
    font-size: 24px;
    color: #f39c12;
    margin: 10px 0;
}

.total-reviews {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 50px 1fr 40px;
    gap: 15px;
    align-items: center;
}

.star-label {
    font-size: 14px;
    font-weight: bold;
    color: #f39c12;
}

.bar-container {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: #f39c12;
    transition: width 0.3s;
}

.bar-count {
    font-size: 14px;
    color: #999;
    text-align: right;
}

/* Review Form */
.add-review-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
    transition: background-color 0.3s;
}

.add-review-btn:hover {
    background-color: #333;
}

.review-form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.char-count {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cancel-btn,
.submit-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.cancel-btn {
    background-color: #e0e0e0;
    color: #333;
}

.cancel-btn:hover {
    background-color: #d0d0d0;
}

.submit-btn {
    background-color: #000;
    color: #fff;
}

.submit-btn:hover {
    background-color: #333;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.review-info h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.rating-number {
    font-weight: bold;
    color: #000;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-footer {
    display: flex;
    gap: 10px;
}

.helpful-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.helpful-btn:hover {
    background-color: #e0e0e0;
    border-color: #000;
}

.no-reviews {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .reviews-container {
        padding: 20px;
    }

    .rating-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .review-header {
        flex-direction: column;
        gap: 10px;
    }

    .review-date {
        text-align: left;
    }
}

/* Size Selector Styles */
.size-selector-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.size-selector-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.size-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 10px;
}

.size-option {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    background-color: #fff;
}

.size-option:hover {
    border-color: #000;
    background-color: #f5f5f5;
}

.size-option.selected {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

