/* Retail Page Specific Styles */

/* Retail Hero Section */
.retail-hero {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    padding: 60px 0;
    margin-bottom: 60px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 40px;
    color: var(--primary-color);
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.stat-item span {
    font-size: 14px;
    color: #666;
}

.btn-explore {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.btn-explore:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Retail Categories */
.retail-categories {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #666;
}

.categories-grid-retail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.category-card-retail {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.category-card-retail:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s;
}

.category-card-retail:hover .category-icon {
    transform: scale(1.1);
}

.category-icon i {
    font-size: 36px;
    color: var(--white);
}

.category-card-retail h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.category-card-retail p {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.category-card-retail:hover .category-link {
    gap: 10px;
}

/* Featured Products Retail */
.featured-products-retail {
    padding: 60px 0;
    background: var(--light-gray);
}

.header-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.tab-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.products-grid-retail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card-retail {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card-retail:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-image-retail {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.product-card-retail:hover .product-image-retail img {
    transform: scale(1.05);
}

.badge-retail {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    z-index: 2;
}

.badge-retail.hot-deal {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
}

.badge-retail.limited {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

.stock-indicator {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.stock-indicator.in-stock {
    background: rgba(39, 174, 96, 0.9);
}

.stock-indicator.low-stock {
    background: rgba(231, 76, 60, 0.9);
}

.product-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card-retail:hover .product-overlay {
    opacity: 1;
    transform: translateX(0);
}

.overlay-btn {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.overlay-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.product-details-retail {
    padding: 12px;
}

.product-category-tag {
    display: inline-block;
    background: var(--light-gray);
    color: #999;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-details-retail h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rating-retail {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 12px;
}

.rating-count {
    color: #999;
    font-size: 11px;
    margin-left: 4px;
}

.price-retail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.price-retail .current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-retail .old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #FFEBEE;
    color: #E74C3C;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

.btn-add-cart-retail {
    width: 100%;
    background: #F5F5F5;
    color: #333;
    border: 1px solid #E0E0E0;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-add-cart-retail:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.view-all-center {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background: var(--secondary-color);
    gap: 15px;
}

/* Why Retail Section */
.why-retail {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.feature-icon i {
    font-size: 36px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Top Stores */
.top-stores-retail {
    padding: 60px 0;
    background: var(--light-gray);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.store-card-retail {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.store-card-retail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.store-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.store-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.store-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.store-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.stat i {
    color: var(--primary-color);
}

.btn-visit-store {
    width: 100%;
    background: var(--light-gray);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-visit-store:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Special Offers */
.special-offers-retail {
    padding: 60px 0;
}

.offers-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.offer-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.offer-card.big {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 40px;
}

.offer-content {
    flex: 1;
    color: var(--white);
}

.offer-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.offer-content h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.offer-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.countdown {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
}

.countdown-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.countdown-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.btn-shop-now {
    background: var(--white);
    color: #667EEA;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-shop-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.offer-image {
    flex: 1;
    max-width: 300px;
}

.offer-image img {
    width: 100%;
    border-radius: 15px;
}

.offer-cards-small {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.offer-card.small {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 30px;
    color: var(--white);
}

.offer-card.small h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.offer-card.small p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.offer-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s;
    gap: 5px;
}

.offer-link:hover {
    gap: 10px;
}

/* Newsletter Retail */
.newsletter-retail {
    padding: 60px 0;
    background: var(--light-gray);
}

.newsletter-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.newsletter-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-icon i {
    font-size: 50px;
    color: var(--white);
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 20px;
}

.newsletter-form-retail {
    display: flex;
    gap: 15px;
    max-width: 500px;
}

.newsletter-form-retail input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
}

.newsletter-form-retail button {
    background: var(--dark-color);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form-retail button:hover {
    background: #1A252F;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .offers-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .products-grid-retail {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .offer-card.big {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .newsletter-form-retail {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .products-grid-retail {
        grid-template-columns: 1fr;
    }

    .categories-grid-retail {
        grid-template-columns: 1fr;
    }

    .newsletter-form-retail {
        flex-direction: column;
    }
}
