* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}

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

/* Modern Top Bar */
.top-bar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

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

.top-bar p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-bar i {
    color: #3498db;
    font-size: 16px;
}

/* Modern Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #e8f4f8;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    gap: 15px;
}

.header:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}
.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons .icon {
    color: #34495e;
    font-size: 20px;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

.header-icons .icon:hover {
    color: #3498db;
    background: #f0f8ff;
    transform: translateY(-2px);
}

/* User Area */
.user-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.user-area a {
    color: #34495e;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.user-area a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.user-area a:hover::before {
    width: 200px;
    height: 200px;
}

.user-area a:hover {
    color: #3498db;
    background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.user-area .logout-link {
    color: #e74c3c;
}

.user-area .logout-link:hover {
    color: white;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.user-area .login-link {
    color: #3498db;
    font-weight: 600;
}

.user-area .login-link:hover {
    color: white;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* Cart badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}


.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}
/* =========================
   HEADER SEARCH DROPDOWN
========================= */

.search-dropdown {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-width: 90vw;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 25px;
    display: none;
    z-index: 999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
    backdrop-filter: blur(10px);
}

/* show */
.search-dropdown.active {
    display: block;
}

/* search box */
.search-box {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 12px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-box:focus-within {
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    background: white;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #2c3e50;
    padding: 0 10px;
}

.search-box input::placeholder {
    color: #95a5a6;
}

.search-box i {
    color: #3498db;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.search-box:focus-within i {
    transform: scale(1.1);
    color: #2980b9;
}

/* suggestions */
.search-suggestions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.search-suggestions a {
    font-size: 14px;
    color: #34495e;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-suggestions a::before {
    content: '🔍';
    font-size: 12px;
}

.search-suggestions a:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    transform: translateX(5px);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}


/* mobile */
@media (max-width: 768px) {
    .search-dropdown {
        width: 90%;
        top: 90px;
    }
}


/* =========================
   MEGA MENU
========================= */

.nav {
    display: flex;
    gap: 18px;
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    text-decoration: none;
    color: #34495e;
    padding: 12px 18px;
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-item > a:hover {
    color: #3498db;
    background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%);
    transform: translateY(-2px);
}

.nav-item > a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hover behavior for mega menu */
.nav-item.has-mega:hover .mega-menu {
    display: flex;
}

.nav-item.has-mega .mega-menu:hover {
    display: flex;
}

/* mega menu box */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 750px;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 2px solid #e8f4f8;
    border-radius: 20px;
    padding: 35px;
    display: none;
    z-index: 999;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* show when active */
.mega-menu.active {
    display: flex;
    gap: 50px;
}

/* columns */
.mega-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.mega-column a {
    font-size: 14px;
    color: #34495e;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    font-weight: 500;
}

.mega-column a::before {
    content: '→';
    opacity: 0;
    transition: all 0.3s ease;
    color: #3498db;
    font-weight: 700;
}

.mega-column a:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    transform: translateX(8px);
    padding-left: 20px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.mega-column a:hover::before {
    opacity: 1;
    transform: translateX(-5px);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #34495e;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle:hover {
    background: #f0f8ff;
    color: #3498db;
}

/* mobile */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        flex-wrap: wrap;
        position: relative;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
    }
    
    .logo {
        order: 1;
    }
    
    .logo img {
        height: 50px;
    }
    
    .header-icons {
        order: 3;
        gap: 12px;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 2px solid #e8f4f8;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-item > a {
        display: block;
        padding: 15px;
        width: 100%;
        text-align: left;
        border-radius: 8px;
        margin: 0;
    }
    
    .mega-menu {
        position: static;
        width: 100%;
        border: none;
        padding: 15px 0;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
        display: none;
        background: #f8f9fa;
    }
    
    .mega-menu.active {
        display: flex;
        flex-direction: column;
    }
    
    .mega-column {
        width: 100%;
        padding: 0 15px;
    }
    
    .mega-column a {
        padding: 12px 15px;
    }
    
    .user-area {
        font-size: 12px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .nav-item > a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .mega-menu {
        width: 600px;
    }
}


.nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}

.hero {
    position: relative;
}

.hero img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 40%;
    left: 10%;
    color: white;
}

.brands, .products {
    padding: 40px;
    text-align: center;
}

.brand-list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.brand {
    padding: 15px 25px;
    background: #f5f5f5;
    border-radius: 5px;
}


/* =========================
   BRAND CAROUSEL
========================= */
.leading-brands {
    padding: 100px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.leading-brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #3498db);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.brands-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.brands-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease;
}

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

.brands-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brands-carousel {
    display: flex;
    gap: 50px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none; /* Firefox */
}

.brands-carousel::-webkit-scrollbar {
    display: none; /* Chrome */
}

.brands-carousel img {
    height: 100px;
    width: auto;
    flex-shrink: 0;
    opacity: 0.95;
    transition: transform 0.3s ease;
}
.brands-header .line {
    height: 3px;
    width: 250px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    border-radius: 2px;
}

.brands-carousel img:hover {
    transform: scale(1.05);
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.brand-item img {
    height: 100px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    margin: 0;
    margin-bottom: 8px;
    opacity: 0.95;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(20%);
    cursor: pointer;
    background: transparent;
}

.brand-item span {
    font-size: 11px;
    color: #666;
    font-weight: 600;
    text-align: center;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item:hover span {
    color: #3498db;
}

/* Arrow button */
.brand-arrow {
    margin-left: 20px;
    border: 2px solid #e0e0e0;
    background: white;
    font-size: 20px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #34495e;
}

.brand-arrow:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Mobile */
@media (max-width: 768px) {
    .brands-carousel img {
        height: 45px;
    }
    
    .brand-item img {
        height: 45px;
    }
    
    .brand-item span {
        font-size: 9px;
    }

    .brand-arrow {
        display: none;
    }
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.product-link,
.product-link:link,
.product-link:visited,
.product-link:hover,
.product-link:active,
.product-link:focus {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
    outline: none !important;
    border: none !important;
}

.product-link *,
.product-link h4,
.product-link p,
.product-link div,
.product-link span,
.product-link small,
.product-link .product-image,
.product-link .product-price,
.product-link .price,
.product-link .quantity,
.product-link .stock-info {
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}

.product-card {
    border: 2px solid #e0e0e0;
    padding: 20px;
    border-radius: 15px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 240px;
    max-width: 280px;
    width: 100%;
    height: 100%;
    min-height: 450px;
    flex: 0 0 auto;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    margin: 0 0 15px 0;
    padding: 0;
    transition: transform 0.3s ease;
    display: block;
}

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

.product-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 15px 0 8px 0;
    min-height: 48px;
    max-height: 48px;
    line-height: 1.4;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .price {
    font-size: 20px;
    font-weight: 700;
    color: #27ae60;
    margin: 10px 0;
}

.product-card button {
    margin-top: 15px;
    padding: 12px;
    width: 100%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    z-index: 10;
    position: relative;
}

.product-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* =========================
   PRODUCT CAROUSEL
========================= */

.products {
    padding: 100px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.products-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease;
}

.products-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-header p {
    font-size: 18px;
    color: #7f8c8d;
    font-style: italic;
}

.products-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
    scrollbar-width: none;
    align-items: stretch;
    width: 100%;
}

.products-carousel .product-card {
    flex: 0 0 auto;
    min-width: clamp(200px, 18vw, 280px);
    max-width: clamp(200px, 18vw, 280px);
}

.products-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 260px;
    border: 2px solid #e8f4f8;
    padding: 0;
    text-align: center;
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #3498db);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.3);
    border-color: #3498db;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: transform 0.4s ease;
}

.product-card h4 {
    margin: 15px 20px 8px;
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    min-height: 50px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-flavour {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0 0 10px 0;
    font-style: italic;
    padding: 0;
    line-height: 1.4;
    min-height: 20px;
    max-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    padding: 0;
    margin: 10px 0 15px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    justify-content: flex-start;
}

.product-price .price {
    font-size: 26px;
    font-weight: 800;
    color: #27ae60;
    display: block;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Info Layout - New Structure for Homepage */
.product-line-1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.product-line-1 .product-brand {
    margin-bottom: 0;
    font-weight: 700;
}

.product-line-1 .product-flavour {
    font-size: 14px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0;
    font-style: normal;
    min-height: auto;
    max-height: none;
    display: inline;
    -webkit-line-clamp: none;
    line-clamp: none;
    -webkit-box-orient: unset;
    overflow: visible;
    text-overflow: unset;
}

.product-made-in {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.product-pack {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 400;
}

.product-line-5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 10px;
}

.product-stock {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.product-line-5 .product-price {
    margin: 0;
    font-size: 20px;
    padding: 0;
    display: inline;
    flex-direction: row;
    align-items: center;
    flex-grow: 0;
    justify-content: flex-end;
}

.product-price .quantity {
    font-size: 12px;
    color: #7f8c8d;
    display: block;
    margin-top: 5px;
}

.price-btn {
    padding: 16px 20px;
    width: calc(100% - 40px);
    margin: 15px 20px 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.price-btn:hover::before {
    width: 300px;
    height: 300px;
}

.price-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.price-btn.add-to-cart {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.price-btn.add-to-cart:hover {
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
}

/* Product Quantity Wrapper for Index Page */
.product-quantity-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 40px);
    margin: 15px 20px 0;
}

.product-quantity-wrapper .qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    width: 100%;
}

.product-quantity-wrapper .qty-btn {
    background: #f7fafc;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2d3748;
    font-size: 12px;
    flex-shrink: 0;
}

.product-quantity-wrapper .qty-btn:hover:not(:disabled) {
    background: #e9ecef;
    color: #3498db;
}

.product-quantity-wrapper .qty-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.product-quantity-wrapper .qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-quantity-wrapper .qty-btn.minus {
    border-right: 2px solid #e2e8f0;
}

.product-quantity-wrapper .qty-btn.plus {
    border-left: 2px solid #e2e8f0;
}

.product-qty-input {
    flex: 1;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    background: white;
    outline: none;
    -moz-appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-quantity-wrapper .price-btn,
.product-quantity-wrapper .login-btn {
    margin: 0;
    width: 100%;
}

/* Arrow */
.product-arrow {
    margin-left: 15px;
    border: 2px solid #e0e0e0;
    background: white;
    font-size: 20px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #34495e;
}

.product-arrow:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Mobile */
@media (max-width: 768px) {
    .product-arrow {
        display: none;
    }
}

/* =========================
   PRODUCT HOVER OVERLAY
========================= */

.product-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

/* overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9) 0%, rgba(41, 128, 185, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* overlay content */
.overlay-content {
    color: white;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.overlay-content .plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    color: #3498db;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.product-card:hover .overlay-content .plus {
    transform: rotate(90deg) scale(1.1);
}

.overlay-content .text {
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* hover effects */
.product-card:hover .product-overlay {
    opacity: 1;
}

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

/* Product Badge */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    animation: pulse 2s infinite;
}

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

.product-badge.new {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.product-badge.sale {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* =========================
   GRAB YOUR CANDY
========================= */

.candy-section {
    padding: 100px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.candy-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease;
}

.candy-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.candy-header .line {
    width: 250px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    border-radius: 2px;
}

/* carousel */
.candy-carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.candy-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    align-items: stretch;
    padding: 10px;
    width: 100%;
}

.candy-carousel .candy-card-simple {
    flex: 0 0 auto;
    min-width: clamp(200px, 18vw, 280px);
    max-width: clamp(200px, 18vw, 280px);
}

.candy-carousel::-webkit-scrollbar {
    display: none;
}

/* card */
.candy-card {
    min-width: 200px;
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    position: relative;
    border-radius: 2px;
}

.candy-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* wishlist */
.wishlist {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 18px;
    cursor: pointer;
    color: #555;
}

/* text */
.candy-title {
    font-size: 13px;
    font-weight: 500;
}

.candy-pack {
    font-size: 12px;
}

.candy-stock {
    font-size: 12px;
    margin-bottom: 10px;
}

/* button */
.candy-btn {
    font-size: 11px;
    padding: 6px;
    width: 100%;
    background: #b8d8ea;
    border: none;
    cursor: pointer;
}

/* arrow */
.candy-arrow {
    margin-left: 20px;
    border: 2px solid #e0e0e0;
    background: white;
    font-size: 20px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #34495e;
}

.candy-arrow:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* mobile */
/* Responsive Design for Product Cards */
@media (max-width: 1400px) {
    .products-carousel .product-card,
    .candy-carousel .candy-card-simple {
        min-width: clamp(200px, 16vw, 260px);
        max-width: clamp(200px, 16vw, 260px);
    }
}

@media (max-width: 1200px) {
    .products-carousel .product-card,
    .candy-carousel .candy-card-simple {
        min-width: clamp(180px, 20vw, 240px);
        max-width: clamp(180px, 20vw, 240px);
        min-height: 420px;
    }
}

@media (max-width: 992px) {
    .products-carousel .product-card,
    .candy-carousel .candy-card-simple {
        min-width: clamp(200px, 25vw, 280px);
        max-width: clamp(200px, 25vw, 280px);
    }
}

@media (max-width: 768px) {
    .candy-arrow,
    .product-arrow {
        display: none;
    }
    
    .products-carousel .product-card,
    .candy-carousel .candy-card-simple {
        min-width: clamp(180px, 35vw, 240px);
        max-width: clamp(180px, 35vw, 240px);
        min-height: 400px;
    }
    
    .product-card h4,
    .candy-card-simple .candy-name {
        font-size: 14px;
        min-height: 42px;
        max-height: 42px;
    }
    
    .product-card img,
    .candy-card-simple img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .products-carousel .product-card,
    .candy-carousel .candy-card-simple {
        min-width: clamp(160px, 45vw, 220px);
        max-width: clamp(160px, 45vw, 220px);
        min-height: 380px;
    }
    
    .product-card h4,
    .candy-card-simple .candy-name {
        font-size: 13px;
        min-height: 38px;
        max-height: 38px;
    }
    
    .product-card img,
    .candy-card-simple img {
        height: 160px;
    }
    
    .product-quantity-wrapper {
        width: calc(100% - 20px);
        margin: 10px 10px 0;
        gap: 8px;
    }
    
    .product-quantity-wrapper .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    
    .product-qty-input {
        height: 32px;
        font-size: 14px;
    }
    
    .product-card button,
    .login-btn {
        font-size: 13px;
        padding: 10px 15px;
    }
}

/* =========================
   SIMPLE CANDY CARD
========================= */

.candy-link,
.candy-link:link,
.candy-link:visited,
.candy-link:hover,
.candy-link:active,
.candy-link:focus {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
    outline: none !important;
    border: none !important;
    min-height: 0;
}

.candy-link *,
.candy-link h4,
.candy-link p,
.candy-link div,
.candy-link span,
.candy-link small,
.candy-link img,
.candy-link .candy-name,
.candy-link .flavour,
.candy-link .pack-info,
.candy-link .candy-price,
.candy-link .price,
.candy-link .stock-info {
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}

.candy-card-simple {
    min-width: 240px;
    max-width: 280px;
    width: 100%;
    background: white;
    border: 2px solid #e8f4f8;
    padding: 0;
    text-align: center;
    position: relative;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
    flex: 0 0 auto;
}

.candy-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.candy-card-simple:hover::before {
    left: 100%;
}

.candy-card-simple:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.3);
    border-color: #3498db;
}

/* wishlist */
.candy-card-simple .wishlist {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #e74c3c;
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.candy-card-simple .wishlist:hover {
    transform: scale(1.2);
    color: #c0392b;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.candy-card-simple .wishlist.active {
    color: #e74c3c;
    background: #fee;
}

/* Wishlist toggle */
.wishlist {
    color: #777;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s ease;
}

.wishlist:hover {
    color: #000;
}

/* when active (clicked) */
.wishlist.active {
    color: #000;
}


/* image */
.candy-card-simple img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin: 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: transform 0.4s ease;
    border-radius: 0;
    display: block;
}

.candy-card-simple:hover img {
    transform: scale(1.08);
}

/* title */
.candy-card-simple h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.candy-card-simple:hover h4 {
    color: #3498db;
}

.candy-card-simple .candy-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 15px 20px 8px 20px;
    padding: 0;
    line-height: 1.4;
    min-height: 48px;
    max-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candy-card-simple .flavour {
    color: #7f8c8d;
    font-weight: 400;
    font-style: italic;
}

.candy-card-simple .pack-info {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0 20px 10px 20px;
    padding: 0;
    line-height: 1.4;
    min-height: 18px;
}

.candy-card-simple .candy-price {
    padding: 0 20px;
    margin: 10px 0 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-start;
    min-height: 60px;
}

.candy-card-simple .candy-price .price {
    font-size: 24px;
    font-weight: 800;
    color: #27ae60;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* button */
.login-btn {
    width: calc(100% - 40px);
    margin: auto 20px 20px 20px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    margin-top: auto;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.login-btn.add-to-cart {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.login-btn.add-to-cart:hover {
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}



/* =========================
   ABOUT SECTION
========================= */

.about-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(52,152,219,0.1)"/></svg>');
    opacity: 0.3;
}

.about-section h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease;
}

.about-subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.9;
    color: #34495e;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 0.8s ease;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    flex: 1;
    animation: fadeInRight 0.8s ease;
}

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

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-section {
        padding: 40px 20px;
    }
}


/* =========================
   NEWSLETTER
========================= */

.newsletter-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.newsletter-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.newsletter-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* form */
.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    margin: auto;
    gap: 10px;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.newsletter-form button {
    padding: 14px 30px;
    border: none;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* =========================
   FOOTER
========================= */

.footer {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #3498db);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px 25px;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    animation: fadeInUp 0.5s ease;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 3px solid rgba(52, 152, 219, 0.3);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.footer-column h4 i {
    color: #3498db;
    font-size: 22px;
    background: rgba(52, 152, 219, 0.1);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-column:hover h4 i {
    background: rgba(52, 152, 219, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.footer-column a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.footer-column a::before {
    content: '→';
    opacity: 0;
    transition: all 0.3s ease;
    color: #3498db;
    font-weight: 700;
    transform: translateX(-10px);
}

.footer-column a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(8px);
    padding-left: 20px;
}

.footer-column a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* social */
.footer-social .social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 20px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d5fcc 100%);
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.google:hover {
    background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
    color: white;
}

.social-icon.twitter:hover {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
}

.footer-bottom p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* Footer social icons */

/* =========================
   FOOTER SOCIAL ICON FIX
========================= */

.footer-social {
    text-align: left;
}

.social-icons {
    display: flex;              /* makes them straight */
    flex-direction: row;        /* horizontal */
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border: 1px solid #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;                /* icon color */
    font-size: 16px;
    text-decoration: none;
    background: transparent;
    transition: all 0.3s ease;
}

.social-icons a i {
    color: #fff;                /* FORCE icon visible */
}

/* hover effect */
.social-icons a:hover {
    background: #fff;
}

.social-icons a:hover i {
    color: #000;
}

/*.social-icons a {
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #d2d1d1;
    color: #fff;
}
*/

/* responsive */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }
}




.newsletter {
    background: #f4f4f4;
    padding: 60px;
    text-align: center;
}

.newsletter input {
    padding: 10px;
    width: 250px;
}

.newsletter button {
    padding: 10px 20px;
}

.footer {
    background: #313131;
    color: white;
    text-align: center;
    padding: 20px;
}

/* =========================
   HERO SLIDER
========================= */

/* =========================
   SIDE SLIDER WITH DOTS
========================= */

.hero-slider {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 20px 20px;
  margin-bottom: 20px;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s ease;
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-slide:hover img {
  transform: scale(1.05);
}

/* dark overlay */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* caption */
.hero-caption {
  position: absolute;
  left: 10%;
  bottom: 20%;
  z-index: 2;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInLeft 1s ease;
}

.hero-caption h1 {
  font-size: 68px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  line-height: 1.2;
}

.hero-caption.big h1 {
  font-size: 96px;
  font-weight: 800;
}

.hero-caption p {
  margin-top: 20px;
  font-size: 20px;
  max-width: 600px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7);
}

/* arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

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

.hero-dot:hover {
  transform: scale(1.3);
  background: rgba(255, 255, 255, 0.5);
}

.hero-dot.active {
  background: white;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* responsive */
@media (max-width: 768px) {
  .hero-slider { height: 60vh; }

  .hero-caption h1 { font-size: 32px; }
  .hero-caption.big h1 { font-size: 42px; }
  .hero-caption p { font-size: 14px; }

  .hero-arrow { font-size: 28px; }
}



/* =========================
   RESPONSIVE DESIGN
========================= */

/* Tablets */
@media (max-width: 1024px) {

    .header {
        flex-direction: column;
        gap: 10px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about img {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .menu-btn {
        display: block;
        font-size: 26px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 15px 0;
        border-top: 1px solid #ddd;
        z-index: 999;
    }

    .nav a {
        padding: 12px 20px;
        display: block;
        text-align: center;
    }

    .nav.active {
        display: flex;
    }
}

.menu-btn {
    display: none;
}


/* Small Mobile */
@media (max-width: 480px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-text {
        left: 5%;
        top: 35%;
    }

    .hero-text h1 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 38px;
    }
}


.menu-btn {
    display: none;
    background: none;
    font-size: 24px;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}
