/* ============================================
   MasalToys E-Commerce - Colorful Kids Theme
   Inspired by logo colors: Blue, Pink, Purple, Yellow, Orange
   Mobile-First Responsive Design
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Baloo+2:wght@400;500;600;700;800&display=swap');

:root {
    /* Logo Colors */
    --color-blue: #6ec6ff;
    --color-blue-dark: #4db6f5;
    --color-pink: #ff9ebc;
    --color-pink-dark: #ff7aa8;
    --color-purple: #c9a0dc;
    --color-purple-dark: #b07cc6;
    --color-yellow: #ffd93d;
    --color-yellow-dark: #ffc107;
    --color-orange: #ff8c42;
    --color-orange-dark: #ff6b00;
    --color-green: #7dd87d;
    --color-green-dark: #4caf50;
    --color-coral: #ff6b6b;

    /* Primary Colors */
    --primary-color: #ff9ebc;
    --primary-dark: #ff7aa8;
    --secondary-color: #6ec6ff;
    --accent-color: #ffd93d;

    /* Semantic Colors */
    --success-color: #7dd87d;
    --danger-color: #ff6b6b;
    --warning-color: #ffd93d;
    --info-color: #6ec6ff;

    /* Neutral Colors */
    --text-color: #3d3d3d;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --border-color: #e8e8e8;
    --bg-light: #fef6f8;
    --bg-gray: #f8f9fa;
    --bg-gradient-1: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --bg-gradient-2: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --bg-gradient-3: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    --bg-gradient-rainbow: linear-gradient(90deg, #ff9ebc, #c9a0dc, #6ec6ff, #7dd87d, #ffd93d, #ff8c42);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-colored: 0 4px 20px rgba(255,158,188,0.3);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Animated Rainbow Border
   ============================================ */
@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   Top Bar - Colorful Announcement
   ============================================ */
.top-bar {
    background: var(--bg-gradient-rainbow);
    background-size: 200% 200%;
    animation: rainbow 10s ease infinite;
    color: var(--text-white);
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.top-bar .announcement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.top-bar .announcement i {
    animation: bounce 1.5s ease infinite;
}

.top-bar a {
    color: var(--text-white);
    text-decoration: underline;
    font-weight: 700;
}

/* ============================================
   Header - Playful Design
   ============================================ */
.header {
    background: var(--text-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
   
    transition: var(--transition);
}

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

 

/* Search Box */
.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 55px 14px 24px;
    border: 3px solid var(--color-pink);
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    background: var(--bg-light);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,158,188,0.2);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-box button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-pink);
    color: var(--text-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--color-pink-dark);
    transform: translateY(-50%) scale(1.1);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001; /* Above header */
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--bg-light);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.header-icon i {
    font-size: 24px;
    margin-bottom: 4px;
    transition: var(--transition);
}

.header-icon:hover {
    background: var(--bg-light);
    color: var(--color-pink);
}

.header-icon:hover i {
    transform: scale(1.1);
}

.header-icon .badge {
    position: absolute;
    top: 0;
    right: 5px;
    background: var(--color-pink);
    color: white;
    font-size: 11px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    animation: pulse 2s ease infinite;
}

/* Language & Currency */
.lang-currency {
    display: flex;
    gap: 8px;
}

.lang-currency select {
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.lang-currency select:hover {
    border-color: var(--color-blue);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--color-pink);
    border: none;
    font-size: 24px;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--color-pink-dark);
    transform: scale(1.05);
}

/* ============================================
   Main Navigation - Colorful
   ============================================ */
.main-nav {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 50%, var(--color-blue) 100%);
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 25px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    color: var(--text-white);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    border-radius: var(--radius);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 1000;
    overflow: hidden;
}

.nav-menu > li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mega-menu a:last-child {
    border-bottom: none;
}

.mega-menu a:hover {
    background: var(--bg-light);
    color: var(--color-pink);
    padding-left: 28px;
}

.mega-menu a i {
    color: var(--color-purple);
    font-size: 18px;
}

/* ============================================
   Hero Slider - Colorful & Fun
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--bg-gradient-2);
}

.slider-item {
    position: relative;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slider-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,158,188,0.85) 0%, rgba(201,160,220,0.7) 50%, transparent 100%);
}

.slider-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 650px;
    padding: 40px 50px;
}

.slider-content h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.slider-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 500;
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--color-yellow);
    color: var(--text-color);
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 4px 15px rgba(255,217,61,0.4);
    transition: var(--transition-bounce);
}

.slider-btn:hover {
    background: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.slider-btn i {
    transition: var(--transition);
}

.slider-btn:hover i {
    transform: translateX(5px);
}

/* Video Slider */
.video-slider video {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* ============================================
   Features Section - Cute Icons
   ============================================ */
.features-section {
    padding: 40px 0;
    background: white;
    border-bottom: 3px solid var(--bg-light);
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 65px;
    height: 65px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.feature-item:nth-child(1) .feature-icon { background: var(--color-blue); }
.feature-item:nth-child(2) .feature-icon { background: var(--color-pink); }
.feature-item:nth-child(3) .feature-icon { background: var(--color-purple); }
.feature-item:nth-child(4) .feature-icon { background: var(--color-yellow); color: var(--text-color); }

.feature-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-color);
}

.feature-content p {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   Section Headers - Playful Style
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 5px;
    background: var(--bg-gradient-rainbow);
    border-radius: var(--radius-full);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: white;
    border: 3px solid var(--color-pink);
    border-radius: var(--radius-full);
    font-weight: 700;
    color: var(--color-pink);
    transition: var(--transition);
}

.view-all-btn:hover {
    background: var(--color-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

/* ============================================
   Product Cards - Fun & Animated
   ============================================ */
.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-pink);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #ffeef4 0%, #e8f4ff 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Product Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1;
}

.badge {
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: var(--color-coral);
    color: white;
}

.badge-new {
    background: var(--color-green);
    color: white;
}

.badge-hot {
    background: var(--color-orange);
    color: white;
    animation: pulse 2s ease infinite;
}

/* Wishlist Button - Sağ üst */
.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    z-index: 2;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wishlist-btn i {
    font-size: 16px;
    color: #9ca3af;
    transition: color 0.2s;
}

.wishlist-btn:hover i,
.wishlist-btn.active i {
    color: #ef4444;
}

/* Product Actions (eski - hover'da görünen) */
.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

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

.product-actions button {
    width: 44px;
    height: 44px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-color);
}

.product-actions button:hover {
    background: var(--color-pink);
    color: white;
    transform: scale(1.15);
}

.product-actions button.wishlist-active {
    background: var(--color-pink);
    color: white;
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-category {
    font-size: 11px;
    color: var(--color-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 700;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.product-title a:hover {
    color: var(--color-pink);
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.stars {
    color: var(--color-yellow);
    font-size: 14px;
}

.rating-count {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.old-price,
.original-price {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Discount Badge - Fiyat yanında */
.product-price .discount-badge {
    background: #dc2626;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
}

.discount-percent {
    font-size: 12px;
    color: white;
    font-weight: 700;
    background: var(--color-coral);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-colored);
}

.add-to-cart-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.add-to-cart-btn i {
    font-size: 16px;
}

/* ============================================
   Categories Section - Colorful Cards
   ============================================ */
.categories-section {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.category-card {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,158,188,0.8) 0%, rgba(110,198,255,0.7) 100%);
    z-index: 1;
    transition: var(--transition);
}

.category-card:hover::before {
    background: linear-gradient(135deg, rgba(201,160,220,0.85) 0%, rgba(255,217,61,0.7) 100%);
}

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

.category-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 25px;
    z-index: 2;
}

.category-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-content span {
    font-size: 15px;
    opacity: 0.95;
    font-weight: 500;
}

/* ============================================
   Newsletter Section - Fun Design
   ============================================ */
.newsletter-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 50%, var(--color-orange) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 10%);
    background-size: 30px 30px;
    animation: float 20s ease infinite;
}

.newsletter-section h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.newsletter-section p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
    position: relative;
}

.newsletter-form {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    gap: 12px;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 28px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}

.newsletter-form button {
    padding: 18px 35px;
    background: var(--color-yellow);
    color: var(--text-color);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 16px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: white;
    transform: scale(1.05);
}

/* ============================================
   Footer - Playful & Organized
   ============================================ */
.footer {
    background: linear-gradient(180deg, #2d2d44 0%, #1a1a2e 100%);
    color: white;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    font-family: 'Baloo 2', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--bg-gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:nth-child(1) { background: #1877f2; }
.social-links a:nth-child(2) { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-links a:nth-child(3) { background: #1da1f2; }
.social-links a:nth-child(4) { background: #ff0000; }
.social-links a:nth-child(5) { background: #25d366; }

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-pink);
    border-radius: var(--radius-full);
}

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

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

.footer-links a {
    opacity: 0.8;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-pink);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0.8;
    font-size: 14px;
}

.footer-contact i {
    margin-top: 4px;
    color: var(--color-pink);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-methods img {
    height: 28px;
    opacity: 0.9;
    transition: var(--transition);
}

.payment-methods img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================
   Breadcrumb Navigation (Global)
   ============================================ */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    font-size: 14px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.breadcrumb-nav a:hover {
    color: var(--color-pink);
}

.breadcrumb-nav a i.fa-home {
    font-size: 15px;
}

.breadcrumb-sep {
    font-size: 10px;
    color: #ccc;
}

.breadcrumb-current {
    color: var(--color-pink);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

@media (max-width: 576px) {
    .breadcrumb-nav {
        padding: 10px 12px;
        gap: 8px;
        font-size: 13px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .breadcrumb-nav a i.fa-home {
        font-size: 14px;
    }

    .breadcrumb-sep {
        font-size: 8px;
    }

    .breadcrumb-current {
        max-width: 120px;
    }
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail-section {
    padding: 15px 0;
}

/* ============================================
   PRODUCT DETAIL - TEMU STYLE LAYOUT
   ============================================ */

.product-detail-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 30px;
}

/* Sol Kolon - Galeri */
.product-gallery-column {
    display: flex;
    flex-direction: row;
    gap: 12px;
    position: sticky;
    top: 100px;
    align-self: start;
}

/* Thumbnail Sidebar - Sol Dikey Sütun */
.product-thumbnails-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90px;
    flex-shrink: 0;
}

/* Thumbnail Kutuları */
.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
    background: #fff;
    flex-shrink: 0;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover {
    border-color: var(--color-pink, #ec4899);
}

.thumb-item.active {
    border-color: var(--color-pink, #ec4899);
}

.thumb-item.out-of-stock {
    opacity: 0.6;
}

.thumb-out-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    font-size: 8px;
    font-weight: 600;
    text-align: center;
    padding: 2px 0;
}

/* Ana Görsel Alanı */
.product-gallery-column .product-gallery {
    flex: 1;
    min-width: 0;
}

.product-gallery {
    /* sticky kaldırıldı - column'da var */
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hover effect için isteğe bağlı */
.main-image:hover img {
    /* transform: scale(1.02); */
}

/* Mobile zoom indicator */
@media (hover: none) and (pointer: coarse) {
    .main-image {
        cursor: zoom-in;
    }

    .main-image::after {
        content: '\f00e'; /* FontAwesome search-plus */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        bottom: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        background: rgba(255,255,255,0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: var(--text-color);
        box-shadow: var(--shadow);
        pointer-events: none;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    .main-image:hover img {
        transform: none; /* Disable hover zoom on touch devices */
    }
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.thumbnail-list img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail-list img:hover,
.thumbnail-list img.active {
    border-color: var(--color-pink);
    transform: scale(1.05);
}

.product-detail-info h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.product-detail-price .current-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-pink-dark);
}

.product-detail-price .original-price {
    font-size: 20px;
}

.product-variants {
    margin-bottom: 30px;
}

.variant-label {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 15px;
}

.variant-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.variant-option {
    padding: 12px 24px;
    border: 3px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    background: white;
}

.variant-option:hover,
.variant-option.selected {
    border-color: var(--color-pink);
    background: var(--bg-light);
    color: var(--color-pink-dark);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.quantity-selector label {
    font-weight: 700;
    font-size: 15px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 3px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.quantity-input button {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.quantity-input button:hover {
    background: var(--color-pink);
    color: white;
}

.quantity-input input {
    width: 70px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.quantity-input input:focus {
    outline: none;
}

.product-detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.btn-add-cart {
    flex: 1;
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-add-cart:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-colored);
}

.btn-wishlist {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border-color);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: var(--transition);
    color: var(--text-light);
}

.btn-wishlist:hover {
    border-color: var(--color-pink);
    color: var(--color-pink);
    transform: scale(1.1);
}

.btn-wishlist.active {
    background: var(--color-pink);
    border-color: var(--color-pink);
    color: white;
}

.product-meta {
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.product-meta p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.product-meta strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Product Description Tabs */
.product-tabs {
    margin-top: 60px;
    border-top: 2px solid var(--border-color);
    padding-top: 40px;
}

.tab-headers {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-header {
    padding: 14px 28px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.tab-header.active,
.tab-header:hover {
    background: var(--color-pink);
    color: white;
}

.tab-content {
    display: none;
    line-height: 1.8;
}

.tab-content.active {
    display: block;
}

/* ============================================
   Cart Page
   ============================================ */
.cart-section {
    padding: 50px 0;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty i {
    font-size: 80px;
    color: var(--color-pink);
    margin-bottom: 25px;
}

.cart-empty h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.cart-items {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 18px 20px;
    background: var(--bg-light);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-table td {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cart-product img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-product-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cart-product-info p {
    font-size: 13px;
    color: var(--text-light);
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-quantity button {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    touch-action: manipulation; /* Prevent double-tap zoom delay */
}

.cart-quantity button:hover {
    background: var(--color-pink);
    color: white;
}

.cart-quantity input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-weight: 700;
}

.cart-remove {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
}

.cart-remove:hover {
    color: var(--color-coral);
    transform: scale(1.2);
}

.cart-summary {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-summary h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
}

.summary-row.total {
    font-size: 22px;
    font-weight: 800;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 2px solid var(--border-color);
    color: var(--color-pink-dark);
}

.free-shipping-bar {
    background: var(--bg-light);
    padding: 18px;
    border-radius: var(--radius);
    margin-bottom: 25px;
}

.free-shipping-bar p {
    font-size: 14px;
    margin-bottom: 10px;
}

.free-shipping-bar strong {
    color: var(--color-green);
}

.progress-bar {
    height: 10px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-green) 0%, var(--color-blue) 100%);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.coupon-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.coupon-form input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.coupon-form input:focus {
    outline: none;
    border-color: var(--color-pink);
}

.coupon-form button {
    padding: 14px 22px;
    background: var(--color-purple);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
}

.coupon-form button:hover {
    background: var(--color-purple-dark);
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-colored);
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-section {
    padding: 50px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
}

.checkout-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.checkout-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-card h3 i {
    color: var(--color-pink);
}

.checkout-form-group {
    margin-bottom: 22px;
}

.checkout-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
}

.checkout-form-group label span {
    color: var(--color-coral);
}

.checkout-form-group input,
.checkout-form-group select,
.checkout-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.checkout-form-group input:focus,
.checkout-form-group select:focus,
.checkout-form-group textarea:focus {
    outline: none;
    border-color: var(--color-pink);
    box-shadow: 0 0 0 4px rgba(255,158,188,0.15);
}

.checkout-form-group .error {
    border-color: var(--color-coral);
}

.checkout-form-group .error-message {
    color: var(--color-coral);
    font-size: 13px;
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option.selected {
    border-color: var(--color-pink);
    background: var(--bg-light);
}

.payment-option input {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    accent-color: var(--color-pink);
}

.payment-option label {
    font-weight: 600;
    cursor: pointer;
}

.payment-option img {
    height: 30px;
    margin-left: auto;
}

.order-summary {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.order-items {
    margin-bottom: 25px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: var(--radius);
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-item-info p {
    font-size: 13px;
    color: var(--text-light);
}

.order-item-price {
    font-weight: 700;
    color: var(--color-pink-dark);
}

.place-order-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-blue) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 25px;
    transition: var(--transition);
}

.place-order-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(125,216,125,0.4);
}

/* Order Success */
.order-success {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.order-success i {
    font-size: 100px;
    color: var(--color-green);
    margin-bottom: 30px;
    animation: bounce 1s ease infinite;
}

.order-success h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.order-success p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 15px;
}

.order-number {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin: 30px 0;
}

.order-number strong {
    font-size: 24px;
    color: var(--color-pink-dark);
}

/* ============================================
   Product Listing Page
   ============================================ */
.products-page {
    padding: 50px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar Filters */
.products-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.filter-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-card h4 i {
    color: var(--color-purple);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-list a,
.filter-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-list a:hover,
.filter-list label:hover {
    color: var(--color-pink);
}

.filter-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-pink);
}

.filter-list .count {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range input {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    text-align: center;
}

.price-range span {
    color: var(--text-light);
}

.filter-btn {
    width: 100%;
    padding: 12px;
    background: var(--color-pink);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    margin-top: 15px;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--color-pink-dark);
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.products-count {
    color: var(--text-light);
    font-size: 15px;
}

.products-count strong {
    color: var(--text-color);
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-sort label {
    font-weight: 600;
    font-size: 14px;
}

.products-sort select {
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-toggle button {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.view-toggle button.active,
.view-toggle button:hover {
    border-color: var(--color-pink);
    color: var(--color-pink);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--color-pink);
    color: var(--color-pink);
}

.pagination .active {
    background: var(--color-pink);
    border-color: var(--color-pink);
    color: white;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   Modal - Cute Design
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
}

.modal-header h3 i {
    color: var(--color-green);
    font-size: 28px;
}

.modal-close {
    background: var(--bg-light);
    border: none;
    font-size: 20px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: var(--transition);
    touch-action: manipulation;
}

.modal-close:hover {
    background: var(--color-coral);
    color: white;
}

.cart-modal-content {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.cart-modal-content img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-modal-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.cart-modal-content p {
    color: var(--color-pink-dark);
    font-weight: 700;
}

.cart-modal-actions {
    display: flex;
    gap: 15px;
}

.cart-modal-actions a,
.cart-modal-actions button {
    flex: 1;
    padding: 15px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.btn-continue {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.btn-continue:hover {
    border-color: var(--color-pink);
    color: var(--color-pink);
}

.btn-go-cart {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-go-cart:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-colored);
}

/* Quick View Modal */
#quickViewModal .modal {
    max-width: 900px;
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.quick-view-image img {
    width: 100%;
    border-radius: var(--radius);
}

/* ============================================
   Account Pages
   ============================================ */
.account-section {
    padding: 50px 0;
}

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.account-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.account-user {
    text-align: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
}

.account-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 15px;
}

.account-user h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.account-user p {
    font-size: 14px;
    color: var(--text-light);
}

.account-menu {
    list-style: none;
}

.account-menu li {
    margin-bottom: 8px;
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.account-menu a:hover,
.account-menu a.active {
    background: var(--bg-light);
    color: var(--color-pink);
}

.account-menu a i {
    width: 20px;
    text-align: center;
}

.account-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
}

.account-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

/* Auth Pages */
.auth-section {
    padding: 60px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-card {
    background: white;
    max-width: 480px;
    margin: 0 auto;
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.auth-card h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 35px;
}

.auth-form .form-group {
    margin-bottom: 22px;
}

.auth-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--color-pink);
    box-shadow: 0 0 0 4px rgba(255,158,188,0.15);
}

.auth-form .submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.auth-form .submit-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-colored);
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.auth-links a {
    color: var(--color-pink);
    font-weight: 600;
}

/* ============================================
   Brands Section
   ============================================ */
.brands-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.brands-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.brands-slider span {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-light);
    opacity: 0.5;
    transition: var(--transition);
}

.brands-slider span:hover {
    opacity: 1;
    color: var(--color-purple);
}

/* ============================================
   Bundle Builder (Wigglitz Style)
   ============================================ */
.bundle-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f8 0%, #f0f7ff 100%);
}

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

.bundle-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    background: var(--bg-gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bundle-header p {
    font-size: 18px;
    color: var(--text-light);
}

.bundle-sizes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.bundle-size {
    background: white;
    padding: 25px 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
    box-shadow: var(--shadow-sm);
    min-width: 160px;
}

.bundle-size:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.bundle-size.selected {
    border-color: var(--color-pink);
    background: var(--bg-light);
}

.bundle-size.best-value {
    position: relative;
}

.bundle-size.best-value::before {
    content: 'En Ucuz!';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-green);
    color: white;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.bundle-size h3 {
    font-size: 28px;
    color: var(--color-pink-dark);
    margin-bottom: 5px;
}

.bundle-size p {
    font-size: 14px;
    color: var(--text-light);
}

.bundle-size .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    margin-top: 10px;
}

.bundle-size .per-item {
    font-size: 13px;
    color: var(--color-green);
    font-weight: 600;
}

.bundle-progress {
    background: white;
    padding: 20px 30px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto 40px;
    box-shadow: var(--shadow);
}

.bundle-progress-text {
    font-weight: 700;
}

.bundle-progress-text span {
    color: var(--color-pink);
    font-size: 20px;
}

.bundle-progress-bar {
    flex: 1;
    height: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    margin: 0 20px;
    overflow: hidden;
}

.bundle-progress-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-pink) 0%, var(--color-purple) 100%);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.bundle-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.bundle-category {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.bundle-category:hover,
.bundle-category.active {
    border-color: var(--color-purple);
    background: var(--color-purple);
    color: white;
}

.bundle-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.bundle-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.bundle-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.bundle-item.selected {
    border: 3px solid var(--color-green);
}

.bundle-item.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--color-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.bundle-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.bundle-item-info {
    padding: 15px;
    text-align: center;
}

.bundle-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.bundle-item-info p {
    font-size: 12px;
    color: var(--text-light);
}

.bundle-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1500; /* Above header, below modals */
}

.bundle-checkout-info h4 {
    font-size: 18px;
}

.bundle-checkout-info p {
    color: var(--text-light);
}

.bundle-checkout-btn {
    padding: 16px 50px;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.bundle-checkout-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-colored);
}

.bundle-checkout-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

/* Hide progress indicator on desktop - only show on mobile */
.bundle-checkout-progress {
    display: none;
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
}

.toast {
    background: white;
    padding: 18px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 350px;
}

.toast i {
    font-size: 24px;
}

.toast.success {
    border-left: 5px solid var(--color-green);
}

.toast.success i { color: var(--color-green); }

.toast.error {
    border-left: 5px solid var(--color-coral);
}

.toast.error i { color: var(--color-coral); }

.toast.warning {
    border-left: 5px solid var(--color-yellow);
}

.toast.warning i { color: var(--color-yellow); }

.toast.info {
    border-left: 5px solid var(--color-blue);
}

.toast.info i { color: var(--color-blue); }

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* ============================================
   Loading Spinner
   ============================================ */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--color-pink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-success { color: var(--color-green); }
.text-danger { color: var(--color-coral); }
.text-warning { color: var(--color-yellow); }
.text-info { color: var(--color-blue); }
.text-pink { color: var(--color-pink); }
.text-purple { color: var(--color-purple); }

.bg-light { background: var(--bg-light); }
.bg-white { background: white; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ============================================
   Responsive Design - Mobile First
   ============================================ */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .header-main {
        flex-wrap: wrap;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 5px;
    }

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

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

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

    .product-detail-grid,
    .cart-grid,
    .checkout-grid,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary,
    .order-summary,
    .products-sidebar {
        position: static;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        display: none;
    }

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

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

    .quick-view-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape (768px and below) */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        padding: 15px;
    }

    .nav-menu > li > a {
        padding: 14px 20px;
        border-radius: var(--radius);
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 5px;
        background: rgba(255,255,255,0.1);
        border-radius: var(--radius);
    }

    .mega-menu a {
        color: white;
        border-bottom-color: rgba(255,255,255,0.1);
        padding: 12px 30px;
    }

    .mega-menu a:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .slider-item {
        min-height: 400px;
    }

    .slider-content {
        padding: 25px;
    }

    .slider-content h2 {
        font-size: 32px;
    }

    .slider-content p {
        font-size: 16px;
    }

    .slider-btn {
        padding: 14px 30px;
        font-size: 15px;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

    .bundle-sizes {
        gap: 15px;
    }

    .bundle-size {
        min-width: 140px;
        padding: 20px 25px;
    }

    .bundle-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .bundle-checkout {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cart-table {
        display: block;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody {
        display: block;
    }

    .cart-table tr {
        display: flex;
        flex-wrap: wrap;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 15px;
    }

    .cart-table td {
        padding: 0;
        border: none;
    }

    .cart-table td:first-child {
        width: 100%;
    }

    .auth-card {
        padding: 30px 25px;
    }

    .checkout-card {
        padding: 25px;
    }
}

/* Mobile Portrait (576px and below) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .logo span {
        font-size: 24px;
    }

    .logo img {
        height: 45px;
    }

    .header-icons {
        gap: 8px;
    }

    .header-icon {
        padding: 6px 8px;
    }

    .header-icon span {
        display: none;
    }

    .lang-currency {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Categories section - compact on mobile */
    .categories-section {
        padding: 25px 0;
    }

    .products-section {
        padding: 30px 0;
    }

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

    /* Compact product cards for 2-column mobile view */
    .product-card {
        border-radius: 12px;
    }

    .product-card .product-info {
        padding: 10px 12px 12px;
    }

    .product-card .product-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-card .product-price {
        flex-wrap: wrap;
        gap: 4px;
    }

    .product-card .current-price {
        font-size: 15px;
    }

    .product-card .old-price {
        font-size: 12px;
    }

    .product-card .product-badges {
        top: 6px;
        left: 6px;
        gap: 4px;
    }

    .product-card .badge {
        font-size: 10px;
        padding: 3px 7px;
    }

    .product-card .add-to-cart-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .product-card .product-actions {
        right: 6px;
        top: 6px;
        gap: 4px;
    }

    .product-card .product-actions button {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

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

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

    .feature-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

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

    .slider-content h2 {
        font-size: 26px;
    }

    .product-gallery {
        position: static;
    }

    /* Mobile: Thumbnail'ler alta, yatay */
    .product-gallery-column {
        flex-direction: column-reverse;
        position: static;
    }

    .product-thumbnails-sidebar {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 4px;
    }

    .thumb-item {
        width: 50px;
        height: 50px;
    }

    .product-gallery-column .product-gallery {
        max-width: 100%;
    }

    .main-image {
        aspect-ratio: 1;
    }

    .product-detail-info h1 {
        font-size: 26px;
    }

    .product-detail-price .current-price {
        font-size: 28px;
    }

    /* Hide desktop quantity and actions on mobile - use sticky bar instead */
    .product-detail-page .quantity-selector,
    .product-detail-page .product-detail-actions {
        display: none !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bundle-sizes {
        flex-direction: column;
        align-items: center;
    }

    .bundle-size {
        width: 100%;
        max-width: 300px;
    }

    .bundle-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .bundle-progress {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .bundle-progress-bar {
        width: 100%;
        margin: 0;
    }

    .modal {
        padding: 25px;
        margin: 15px;
    }

    .cart-modal-content {
        flex-direction: column;
        text-align: center;
    }

    .cart-modal-actions {
        flex-direction: column;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 25px;
    }

    .pagination a,
    .pagination span {
        width: 34px;
        height: 34px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* Extra Small (400px and below) */
@media (max-width: 400px) {
    .bundle-items {
        grid-template-columns: 1fr;
    }

    .pagination a,
    .pagination span {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .header-main {
        gap: 10px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   Mobile Header Improvements
   ============================================ */
@media (max-width: 768px) {
    .header-main {
        padding: 10px 0;
    }

    /* Hide favorites on mobile - move to menu */
    .header-icon[href*="Wishlist"] {
        display: none;
    }

    /* Keep only cart, user, and menu toggle */
    .header-icons {
        gap: 5px;
    }

    /* Full width search on mobile */
    .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 0;
    }

    .search-box input {
        padding: 12px 50px 12px 18px;
        font-size: 16px;
    }

    .search-box button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    /* Smaller logo on mobile */
    .logo img {
        height: 40px;
    }

    /* Hide language/currency on mobile */
    .lang-currency {
        display: none;
    }

    /* Compact header icons */
    .header-icon {
        padding: 5px;
    }

    .header-icon i {
        font-size: 20px;
    }

    .header-icon span {
        display: none;
    }
}

/* ============================================
   Compact Product Card for Desktop
   ============================================ */
@media (min-width: 992px) {
    .product-card-compact {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .product-card-compact .product-image {
        width: 180px;
        min-width: 180px;
        aspect-ratio: auto;
        height: 100%;
    }

    .product-card-compact .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 15px;
    }

    .product-card-compact .add-to-cart-btn {
        margin-top: auto;
    }
}

/* ============================================
   Mobile Checkout Payment Options
   ============================================ */
@media (max-width: 768px) {
    .payment-option {
        padding: 12px !important;
        gap: 10px !important;
    }

    .payment-option i {
        font-size: 20px !important;
    }

    .payment-option strong {
        font-size: 14px !important;
    }

    .payment-option p {
        font-size: 11px !important;
    }

    .payment-option .badge,
    .payment-option span[style*="background"] {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }

    .payment-form-section > div {
        padding: 15px !important;
    }

    .payment-form-section h4 {
        font-size: 14px !important;
    }

    .payment-form-section p {
        font-size: 12px !important;
    }

    .payment-form-section ul {
        font-size: 12px !important;
    }

    /* Checkout form compact */
    .checkout-form-group label {
        font-size: 13px;
    }

    .checkout-form-group input,
    .checkout-form-group select,
    .checkout-form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .card-header h3 {
        font-size: 16px !important;
    }

    .card-body {
        padding: 15px !important;
    }

    /* Cart summary compact on mobile */
    .cart-summary {
        padding: 15px;
    }

    .cart-summary h3 {
        font-size: 16px;
    }

    .summary-row {
        font-size: 14px;
        padding: 8px 0;
    }

    .checkout-btn {
        padding: 14px;
        font-size: 15px;
    }
}

/* ============================================
   Mobile Features Section - Horizontal Scroll
   ============================================ */
@media (max-width: 768px) {
    .features-section {
        padding: 15px 0;
        overflow: hidden;
    }

    .features-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 12px;
        padding: 5px 15px;
        margin: 0 -15px;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-item {
        flex: 0 0 auto;
        min-width: 140px;
        max-width: 160px;
        padding: 12px;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .feature-content h4 {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .feature-content p {
        font-size: 10px;
        line-height: 1.3;
    }
}

/* ============================================
   Mobile Brands Section - Horizontal Scroll
   ============================================ */
@media (max-width: 768px) {
    .brands-section {
        padding: 20px 0;
    }

    .brands-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 15px;
        padding: 0 15px;
    }

    .brands-slider::-webkit-scrollbar {
        display: none;
    }

    .brand-item {
        flex: 0 0 auto;
        padding: 10px 20px;
        font-size: 13px;
        white-space: nowrap;
    }

    .brand-item img {
        max-height: 30px;
        width: auto;
    }
}

@media (max-width: 576px) {
    .payment-methods {
        gap: 8px !important;
    }

    .payment-option {
        padding: 10px !important;
        border-radius: 8px !important;
    }

    .payment-option > div:first-of-type {
        gap: 8px !important;
    }

    /* Hide extra text on very small screens */
    .payment-option p {
        display: none !important;
    }

    /* Stack bank info vertically */
    .payment-form-section div[style*="background: white"] p {
        font-size: 11px !important;
        margin-bottom: 5px !important;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .footer,
    .newsletter-section,
    .modal-overlay,
    .toast-container {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .container {
        max-width: 100%;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--color-pink);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Mobile Bundle Page - Compact Design
   ============================================ */
@media (max-width: 768px) {
    .bundle-section {
        padding: 20px 0 100px;
    }

    .bundle-header {
        margin-bottom: 20px;
    }

    .bundle-header h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .bundle-header h1 i {
        display: none;
    }

    .bundle-header p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Compact package sizes - horizontal scroll */
    .bundle-sizes {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
        margin-bottom: 15px;
        padding: 5px 0;
    }

    .bundle-sizes::-webkit-scrollbar {
        display: none;
    }

    .bundle-size {
        flex: 0 0 auto;
        min-width: 100px;
        padding: 12px 15px;
    }

    .bundle-size h3 {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .bundle-size p {
        font-size: 11px;
    }

    .bundle-size .price {
        font-size: 16px;
        margin-top: 5px;
    }

    .bundle-size .per-item {
        font-size: 10px;
    }

    .bundle-size .discount-badge {
        font-size: 9px;
        padding: 2px 6px;
        margin-top: 5px;
    }

    .bundle-size.best-value::before {
        font-size: 9px;
        padding: 2px 8px;
        top: -8px;
    }

    /* Compact progress bar */
    .bundle-progress {
        padding: 10px 15px;
        margin-bottom: 15px;
        border-radius: 25px;
        gap: 10px;
    }

    .bundle-progress-text {
        font-size: 12px;
    }

    .bundle-progress-text span {
        font-size: 14px;
    }

    .bundle-progress-bar {
        height: 8px;
        margin: 0 10px;
    }

    .btn-clear {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* Upgrade banner compact */
    .upgrade-banner {
        padding: 10px 12px;
        margin-bottom: 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .upgrade-content > i {
        font-size: 20px;
    }

    .upgrade-text strong {
        font-size: 13px;
    }

    .upgrade-text span {
        font-size: 11px;
    }

    .upgrade-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Category filters - horizontal scroll */
    .bundle-categories {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        margin-bottom: 15px;
        justify-content: flex-start;
        padding: 2px 0;
    }

    .bundle-categories::-webkit-scrollbar {
        display: none;
    }

    .bundle-category {
        flex: 0 0 auto;
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .bundle-category i {
        margin-right: 4px;
    }

    /* Product grid - 3 columns, more compact */
    .bundle-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .bundle-item {
        border-radius: 8px;
    }

    .bundle-item img {
        aspect-ratio: 1;
    }

    .bundle-item-info {
        padding: 8px;
    }

    .bundle-item-info h4 {
        font-size: 11px;
        margin-bottom: 2px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .bundle-item-info p {
        display: none;
    }

    /* Fix selected badge position - absolute positioning */
    .bundle-item {
        position: relative;
    }

    .bundle-item.selected::after {
        content: '\f00c';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 5px;
        right: 5px;
        width: 20px;
        height: 20px;
        background: var(--color-green);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        z-index: 10;
    }

    .bundle-item .selected-badge {
        position: absolute !important;
        top: 5px !important;
        right: 5px !important;
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
        z-index: 10;
    }

    /* Fixed checkout bar - redesigned for mobile */
    .bundle-checkout {
        padding: 10px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Info on left - force display */
    .bundle-checkout-info {
        display: block !important;
        flex: 1 !important;
        order: 1 !important;
    }

    /* Price in center */
    .bundle-checkout-price {
        order: 2;
        text-align: center;
        flex: 0 0 auto;
    }

    .bundle-checkout-price .total-price {
        font-size: 18px;
        font-weight: 800;
        color: var(--color-pink-dark);
    }

    /* Progress indicator hidden on mobile */
    .bundle-checkout-progress {
        display: none;
    }

    /* Compact button on right */
    .bundle-checkout-btn {
        order: 3;
        padding: 12px 16px;
        font-size: 13px;
        white-space: nowrap;
        border-radius: 25px;
    }

    /* FAB button */
    .bundle-fab {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 80px;
        right: 15px;
    }

    .fab-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .bundle-header h1 {
        font-size: 18px;
    }

    .bundle-header p {
        font-size: 12px;
    }

    .bundle-size {
        min-width: 85px;
        padding: 10px 12px;
    }

    .bundle-size h3 {
        font-size: 16px;
    }

    .bundle-size .price {
        font-size: 14px;
    }

    .bundle-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .bundle-item-info {
        padding: 6px;
    }

    .bundle-item-info h4 {
        font-size: 10px;
    }

    /* Even more compact checkout on very small screens */
    .bundle-checkout {
        padding: 8px 12px;
    }

    .bundle-checkout-price .total-price {
        font-size: 16px;
    }

    .bundle-checkout-progress {
        font-size: 12px;
        padding: 5px 10px;
        min-width: 45px;
    }

    .bundle-checkout-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* ============================================
   Mobile Bottom Navigation Bar
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
    gap: 3px;
    position: relative;
    padding: 5px 0;
    transition: color 0.2s;
}

.mobile-bottom-nav .mobile-nav-item i {
    font-size: 20px;
}

.mobile-bottom-nav .mobile-nav-item.active {
    color: var(--color-pink);
}

.mobile-bottom-nav .mobile-nav-item.active i {
    color: var(--color-pink);
}

.mobile-bottom-nav .mobile-cart-badge {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(12px);
    background: var(--color-pink);
    color: white;
    font-size: 9px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Mobile Language Selector */
.mobile-lang-selector {
    position: relative;
    cursor: pointer;
}

.mobile-lang-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    z-index: 1001;
}

.mobile-lang-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-lang-menu::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    color: var(--text-color);
}

.mobile-lang-option:hover {
    background: #f5f5f5;
}

.mobile-lang-option.active {
    background: var(--bg-light);
    color: var(--color-pink);
    font-weight: 600;
}

.mobile-lang-option .lang-name {
    color: var(--text-light);
    font-size: 12px;
}

.mobile-lang-option.active .lang-name {
    color: var(--color-pink);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
    }

    /* Add padding to body for bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }

    /* Minimal mobile header */
    .header {
        position: sticky;
        top: 0;
        z-index: 999;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .header-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    /* Smaller logo on mobile */
    .logo img {
        height: 40px;
    }

    /* Hide lang/currency and text labels */
    .lang-currency,
    .header-icon span:not(.badge) {
        display: none !important;
    }

    /* Hide favorites and account from header - they're in bottom nav */
    .header-icon[href*="Wishlist"],
    .header-icon[href*="Account"]:not([href*="Login"]) {
        display: none !important;
    }

    /* Keep only essential header icons */
    .header-icons {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .header-icon {
        padding: 8px;
        position: relative;
    }

    .header-icon i {
        font-size: 20px;
        color: #333;
    }

    /* Search box full width */
    .search-box {
        flex: 1;
        max-width: none;
        order: 0;
    }

    .search-box input {
        padding: 10px 45px 10px 15px;
        font-size: 14px;
        border-radius: 25px;
        border: 1px solid #e5e7eb;
        background: #f9fafb;
    }

    .search-box button {
        width: 36px;
        height: 36px;
        right: 2px;
    }

    /* Hide main navigation on mobile */
    .main-nav {
        display: none;
    }

    /* Menu toggle button */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        font-size: 22px;
        color: #333;
        cursor: pointer;
    }

    /* Hide desktop cart in header on mobile - use bottom nav */
    .header-icon[href="/Cart"] {
        display: none !important;
    }

    /* Newsletter section compact */
    .newsletter-section {
        padding: 30px 15px;
    }

    .newsletter-section h3 {
        font-size: 18px;
    }

    .newsletter-section p {
        font-size: 13px;
    }

    /* Footer compact */
    .footer {
        padding-bottom: 80px;
    }

    /* Adjust bundle checkout bar position */
    .bundle-checkout {
        bottom: 60px;
    }

    .bundle-fab {
        bottom: 140px;
    }

    /* Hide bottom nav on product detail page */
    .product-detail-page .mobile-bottom-nav {
        display: none !important;
    }

    /* Product detail page - no extra bottom padding */
    .product-detail-page {
        padding-bottom: 80px !important;
    }
}

/* ============================================
   Mobile Sticky Add to Cart Bar
   ============================================ */
.mobile-sticky-cart {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 12px 15px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.mobile-sticky-cart-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sticky-qty {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 4px;
}

.mobile-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pink);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mobile-qty-value {
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.mobile-sticky-add-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-purple) 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-sticky-add-btn:active {
    transform: scale(0.98);
}

.mobile-sticky-wishlist {
    width: 48px;
    height: 48px;
    border: 2px solid #eee;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #999;
}

.mobile-sticky-wishlist.active,
.mobile-sticky-wishlist:hover {
    color: var(--color-pink);
    border-color: var(--color-pink);
}

@media (max-width: 768px) {
    .mobile-sticky-cart {
        display: block;
    }
}
