
/* Dynamic Redesign Styles based on reference image */

:root {
    --smart-green: var(--color-primary);
    --smart-purple: var(--color-primary);
    --smart-purple-dark: var(--color-primary-dark);
    --smart-text-gray: var(--color-text-secondary);
    --smart-bg-light: var(--color-background);
}

/* Header Adjustments */
.header {
    background: white !important;
    border-bottom: 1px solid var(--color-border);
    height: 80px;
}

@media (max-width: 768px) {
    .header { height: 70px; }
}

.active-mobile-link {
    background-color: var(--color-primary-light) !important;
    color: white !important;
    border-left-color: var(--color-primary-dark) !important;
    font-weight: 700 !important;
}

#header-placeholder {
    min-height: 80px;
}

.search-input-container {
    background: #f1f3f5;
    border-radius: 99px;
    padding: 2px 2px 2px 15px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 450px;
}

.search-input-container input {
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 10px;
    flex: 1;
    font-size: 14px;
}

.search-btn-purple {
    background: var(--smart-purple);
    color: white;
    border-radius: 99px;
    padding: 8px 25px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}

.search-btn-purple:hover {
    background: var(--smart-purple-dark);
}

.nav-link-custom {
    color: var(--smart-text-gray);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--smart-green);
}

.nav-link-offers {
    color: #e67e22;
    font-weight: 600;
}

/* Hero Section */
.hero-carousel-container {
    border-radius: 0 !important;
    height: 450px !important;
}

.hero-slide {
    background: var(--smart-green) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-slide-simple-content {
    max-width: 800px;
    padding: 20px;
}

.hero-slide-simple-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-slide-simple-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-btn-white {
    background: white;
    color: var(--smart-green);
    padding: 12px 40px;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.hero-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Categories Section */
.section-title-custom {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.category-card-custom {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card-custom:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border-color: var(--smart-purple);
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--smart-purple);
    font-size: 28px;
}

.category-name-custom {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.category-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fdf2f2;
    color: var(--smart-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-family-display, 'Outfit', sans-serif);
    border: 1px solid #fee2e2;
}

/* Product Cards */
.product-card-custom {
    background: white;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    padding: 20px;
    position: relative;
    transition: all 0.3s;
}

.product-card-custom:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.badge-offer {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
}

.product-image-custom {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-image-custom img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-cat-tag {
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title-custom {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.product-info-custom {
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

.product-price-old {
    font-size: 11px;
    color: #bbb;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.product-price-new {
    font-size: 18px;
    font-weight: 800;
    color: var(--smart-purple);
    margin-bottom: 20px;
}

.btn-add-custom {
    width: 100%;
    background: var(--smart-green);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-custom:hover {
    background: #00764a;
}

/* Discount Banner */
.discount-banner-custom {
    background: linear-gradient(90deg, #6c5ce7 0%, #008b57 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    text-align: center;
    margin: 50px 0;
}

.discount-banner-custom h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.discount-banner-custom p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-participate-white {
    background: white;
    color: var(--smart-purple);
    padding: 12px 35px;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-participate-white:hover {
    transform: scale(1.05);
}

/* Footer Custom */
.footer-custom {
    background: var(--color-neutral-800);
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--color-neutral-700);
    color: var(--color-neutral-300);
}

.footer-column h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-neutral-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.newsletter-form-container {
    position: relative;
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 12px 20px;
    border-radius: 8px;
    outline: none;
}

.newsletter-btn {
    background: var(--smart-purple);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.footer-bottom-custom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--color-neutral-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--color-neutral-500);
}

.payment-icons-list {
    display: flex;
    gap: 15px;
    font-size: 20px;
    color: #ccc;
}

/* Product Carousel Styles */
.product-carousel-container {
    position: relative;
}

.product-carousel-list {
    display: flex !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    gap: 20px !important;
    padding: 10px 4px 20px 4px !important;
    margin: 0 -4px -10px -4px !important;
    scroll-snap-type: x mandatory !important;
}

.product-carousel-list::-webkit-scrollbar {
    display: none !important;
}

.product-carousel-list > * {
    flex: 0 0 280px !important; /* Fixed width for items in carousel */
    scroll-snap-align: start !important;
}

@media (max-width: 640px) {
    .product-carousel-list > * {
        flex: 0 0 240px !important;
    }
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.carousel-nav-btn:hover {
    background: #f8fafc;
    color: #005a4b;
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn.prev {
    left: -22px;
}

.carousel-nav-btn.next {
    right: -22px;
}

/* Show navigation on mobile since user requested, with better positioning */
@media (max-width: 1024px) {
    .carousel-nav-btn.prev {
        left: 0;
    }
    .carousel-nav-btn.next {
        right: 0;
    }
}

.section-header-carousel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

