/* Petio Theme - Main Styles */

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    flex-shrink: 0;
    order: 1;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: white;
    order: 2;
    margin-left: var(--spacing-2);
}

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

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #06b6d4;
    
    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #fff7f9;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 204, 221, 0.45) 0%, rgba(255, 204, 221, 0) 55%),
        radial-gradient(circle at 88% 12%, rgba(255, 223, 186, 0.45) 0%, rgba(255, 223, 186, 0) 55%),
        radial-gradient(circle at 50% 96%, rgba(204, 236, 255, 0.5) 0%, rgba(204, 236, 255, 0) 60%),
        radial-gradient(circle, rgba(255, 255, 255, 0.65) 1px, rgba(255, 255, 255, 0) 3px),
        linear-gradient(180deg, #fff7f9 0%, #fffaf1 100%);
    background-size: 60rem 60rem, 60rem 60rem, 80rem 80rem, 22px 22px, 100% 100%;
    background-position: 10% 20%, 90% 15%, 50% 95%, 0 0, center;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
    background-attachment: fixed, fixed, fixed, fixed, fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-4);
    color: var(--gray-900);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-4);
}

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

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-2);
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: var(--spacing-4);
    z-index: 9998; /* High z-index to ensure dropdown appears above other elements */
}

.language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.language-current:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-current .flag {
    font-size: 16px;
}

.language-current .lang-name {
    font-size: 13px;
}

.language-current .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-switcher:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999; /* Increased z-index to bring to front */
}

.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    margin: 0;
}

.language-dropdown .language-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.language-dropdown .language-link:hover {
    background: #f3f4f6;
    color: #000000;
    box-shadow: inset 0 0 0 1px #e2e8f0;
    transform: translateX(2px);
}

.language-dropdown li.active .language-link {
    background: #f8fafc;
    color: #7c3aed;
    font-weight: 600;
    box-shadow: inset 2px 0 0 #7c3aed, inset 0 0 0 1px #e2e8f0;
}

.language-dropdown .flag {
    font-size: 16px;
}

.language-dropdown .lang-name {
    font-size: 14px;
}

/* Loading and Success States */
.language-switcher.loading .language-current {
    opacity: 0.7;
    pointer-events: none;
}

.language-switcher.loading .language-current::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 8px;
    width: 12px;
    height: 12px;
    border: 2px solid #374151;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translateY(-50%);
}

.language-current.success {
    background: rgba(34, 197, 94, 0.2);
    color: #059669;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 10px;
    }
    
    .language-current {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .language-current .lang-name {
        display: none;
    }
    
    .language-dropdown {
        min-width: 140px;
    }
}

/* Top Bar */
/* Top bar removed */

.top-link:hover {
    color: var(--primary-color);
}

/* Header */
.top-bar {
    background-color: var(--gray-800);
    color: white;
    padding: var(--spacing-2) 0;
    font-size: var(--font-size-sm);
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-links {
    display: flex;
    gap: var(--spacing-6);
    align-items: center;
}

.top-link {
    color: white;
    font-weight: 500;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.top-link:hover {
    color: var(--primary-color);
}

/* Site Header */
.site-header {
    background-color: #8b5cf6;
    padding: var(--spacing-4) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-6);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 var(--spacing-8);
    position: relative;
}

.search-form {
    position: relative;
    display: flex;
    flex-direction: column;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    border: 2px solid transparent;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background-color: white;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    border-right: none;
}

.search-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.search-submit {
    background: #000;
    color: white;
    border: none;
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background: #333;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    margin-top: 2px;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-3);
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

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

.suggestion-item:hover {
    background-color: var(--gray-50);
}

.suggestion-image {
    width: 60px;
    height: 60px;
    margin-right: var(--spacing-3);
    flex-shrink: 0;
}

.suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-900);
    margin: 0 0 var(--spacing-1) 0;
    line-height: 1.4;
}

.suggestion-price {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-color);
}

.suggestion-price .old-price {
    text-decoration: line-through;
    color: var(--gray-500);
    margin-right: var(--spacing-2);
}

.suggestion-price .new-price {
    color: var(--primary-color);
}

/* Search Loading and Error States */
.search-loading,
.no-results,
.search-error {
    padding: var(--spacing-4);
    text-align: center;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.search-loading {
    color: var(--primary-color);
}

.search-error {
    color: var(--error-color, #ef4444);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    position: relative;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--error-color);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: var(--spacing-2);
}

/* Navigation */
.main-navigation {
    background-color: #7c3aed;
    padding: var(--spacing-3) 0;
    border-top: none;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-right {
    display: none;
}

.nav-links {
    display: flex !important;
    list-style: none;
    gap: var(--spacing-8);
    margin: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    font-weight: 500;
    padding: var(--spacing-2) var(--spacing-4);
    transition: all var(--transition-fast);
    position: relative;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a svg {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-fast);
}

.nav-links a:hover svg {
    transform: translateY(2px);
}

.shipping-banner {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.nav-links a:hover::after {
    width: 100%;
}

.shipping-banner {
    color: white;
    font-weight: 500;
    font-size: var(--font-size-sm);
}


.category-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-align: center;
}

/* Homepage Layout */
.homepage-wrapper {
    background-color: #f8fafc;
    min-height: 100vh;
}

.homepage-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-8);
    padding: var(--spacing-8) 0;
}

/* Hero Section Layout */
.hero-section-layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
    width: 100%;
}

.hero-section-layout .homepage-sidebar {
    flex: 0 0 240px;
    width: 240px;
}

.hero-section-layout .hero-banner-slider {
    flex: 1;
    width: auto;
    min-width: 0;
}

/* Hero Banner Slider */
.hero-banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%);
    min-height: 400px;
    width: 100% !important;
    flex: 1 !important;
    display: block !important;
    min-width: 300px;
    border: 2px solid red; /* Debug border - remove later */
}

.hero-slides {
    position: relative;
    width: 100% !important;
    height: 400px;
    display: block;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide .hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    height: 100%;
}

.hero-slide .hero-text {
    flex: 1;
    color: white;
}

.hero-slide .hero-tagline {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-slide .hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-slide .hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-slide .hero-btn {
    display: inline-block;
    background: white;
    color: #5b21b6;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-slide .hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
}

.hero-slide .hero-image {
    flex: 0 0 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.hero-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-dots .dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* Slide-specific backgrounds */
.hero-slide[data-slide="1"] {
    background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%);
}

.hero-slide[data-slide="2"] {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.hero-slide[data-slide="3"] {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slide {
        padding: 20px;
    }
    
    .hero-slide .hero-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-slide .hero-title {
        font-size: 32px;
    }
    
    .hero-slide .hero-image {
        flex: 0 0 200px;
        height: 200px;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
    }
    
    .hero-prev {
        left: 10px;
    }
    
    .hero-next {
        right: 10px;
    }
}

/* Homepage Sidebar - Dark Theme Design */
.homepage-sidebar {
    width: 240px;
    background: transparent;
    border: none;
    padding: 0 !important;
    height: 400px;
    position: static;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.categories-widget {
    background: linear-gradient(180deg, rgba(214, 245, 232, 0.9) 0%, rgba(243, 255, 243, 0.78) 100%);
    padding: 0 !important;
    margin: 0 !important;
    color: #0f172a;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

.categories-header {
    background: linear-gradient(135deg, #6366f1, #f97316);
    padding: 20px;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 18px 30px rgba(99, 102, 241, 0.25);
    position: relative;
    overflow: hidden;
}

.categories-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 40%);
    animation: sparkle 8s linear infinite;
}

@keyframes sparkle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.categories-icon {
    font-size: 24px;
    color: white;
    font-weight: bold;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.categories-title {
    font-family: 'Baloo 2', cursive;
    font-size: 22px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.categories-widget .category-list {
    list-style: none;
    margin: 0 !important;
    padding: 12px !important;
    background: linear-gradient(135deg, #d9fbe2, #ffffff);
    flex: 1;
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid;
    gap: 8px;
    position: relative;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    border: 1px solid rgba(139, 210, 174, 0.5);
    box-shadow: 0 24px 40px -28px rgba(15, 23, 42, 0.22);
}

.categories-widget .category-item {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.categories-widget .category-item:hover {
    transform: none;
}

.categories-widget .category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    min-height: 60px;
    color: #1f2937;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.3s ease, color 0.2s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Baloo 2', cursive;
    font-size: 15px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    font-weight: 700;
    margin-bottom: 0;
}

.categories-widget .category-link:hover {
    color: #b45309;
    background: #ffffff;
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 20px 38px rgba(217, 119, 6, 0.18);
    transform: translateY(-0.5px);
}

.categories-widget .category-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(201, 250, 255, 0.2), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.categories-widget .category-link:hover::before {
    opacity: 1;
}

.categories-widget .category-link:hover .category-icon {
    background: linear-gradient(135deg, rgba(255, 246, 235, 0.95), rgba(252, 211, 77, 0.4));
    border-color: rgba(217, 119, 6, 0.35);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.18);
    transform: scale(1.05);
}

.categories-widget .category-icon {
    --category-accent: var(--category-accent, #34b987);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 244, 0.62));
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(52, 186, 154, 0.18);
    box-shadow: 0 6px 18px rgba(14, 116, 144, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.categories-widget .category-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 10%, transparent 40%);
    animation: iconSparkle 4s linear infinite;
    opacity: 0.5;
}

@keyframes iconSparkle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.categories-widget .category-icon img,
.categories-widget .category-icon-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(14, 116, 144, 0.18));
    transition: transform 0.3s ease;
}

.categories-widget .category-link:hover .category-icon img {
    transform: translateY(-1px) scale(1.05);
}

.categories-widget .icon-emoji {
    font-size: 24px;
    line-height: 1;
    display: block;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--category-accent, #38bdf8);
    transition: transform 0.3s ease;
}

.categories-widget .category-link:hover .icon-emoji {
    transform: translateY(-1px) scale(1.05);
}

.categories-widget .category-link:hover .category-name {
    color: #b45309;
}

.categories-widget .category-name {
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
    transition: color 0.3s ease;
    flex: 1;
    letter-spacing: -0.01em;
    line-height: 1.15;
    text-shadow: 0 1px 1px rgba(15, 23, 42, 0.08);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-12);
    margin-bottom: var(--spacing-8);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-tagline {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    opacity: 0.9;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-4);
    color: white;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-8);
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-4) var(--spacing-8);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--font-size-lg);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.hero-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-xl);
}

.hero-dots {
    position: absolute;
    bottom: var(--spacing-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-2);
    z-index: 3;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Brands Section */
.brands-section {
    background-color: white;
    padding: var(--spacing-8) 0;
    margin-bottom: var(--spacing-8);
    border-radius: var(--radius-xl);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-6);
    align-items: center;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.brand-item:hover {
    background-color: var(--gray-50);
    transform: translateY(-2px);
}

.brand-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter var(--transition-fast);
}

.brand-item:hover img {
    filter: grayscale(0%);
}

.brand-placeholder {
    background-color: var(--gray-100);
    color: var(--gray-500);
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    font-weight: 500;
    text-align: center;
}

/* Category Gallery */
.category-gallery {
    margin-bottom: var(--spacing-12);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
}

.category-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    transition: all var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.category-card-large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.category-card-featured {
    position: relative;
}

.category-card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

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

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: var(--spacing-6);
    display: flex;
    align-items: flex-end;
}

.category-card-btn {
    background-color: white;
    color: var(--gray-900);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.category-card-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.sale-badge-large {
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
    background-color: var(--error-color);
    color: white;
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    z-index: 2;
}

.sale-text {
    display: block;
    font-size: var(--font-size-sm);
}

.sale-discount {
    display: block;
    font-size: var(--font-size-lg);
}

/* Best Deals Section */
.best-deals-section {
    margin-bottom: var(--spacing-12);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-8);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.section-nav {
    display: flex;
    gap: var(--spacing-2);
}

.nav-arrow {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.nav-arrow:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.products-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-5);
}

.product-card-deal {
    background-color: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    border: 1px solid var(--gray-200);
}

.product-card-deal:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-image-wrapper::after {
    content: none;
}

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

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

.sale-badge {
    position: absolute;
    top: var(--spacing-4);
    left: calc(var(--spacing-1) * -1);
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    padding: var(--spacing-2) var(--spacing-5) var(--spacing-2) var(--spacing-6);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-top-right-radius: var(--radius-full);
    border-bottom-right-radius: var(--radius-full);
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.25);
    z-index: 2;
}

.sale-badge::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--spacing-2);
    border-top-left-radius: var(--radius-full);
    border-bottom-left-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.18);
}

.sale-badge::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    border-width: 6px 6px 0 0;
    border-style: solid;
    border-color: #b91c1c transparent transparent transparent;
}

.hot-badge {
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.product-actions-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: var(--spacing-3);
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    z-index: 2;
}

.product-card-deal:hover .product-actions-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.02);
}

.action-btn {
    background-color: white;
    border: none;
    color: var(--gray-600);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

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

.countdown-timer {
    position: absolute;
    bottom: var(--spacing-3);
    left: var(--spacing-3);
    right: var(--spacing-3);
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-2);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    gap: var(--spacing-2);
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 2;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 800;
}


.product-info {
    padding: var(--spacing-6);
}

.product-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-3);
    line-height: 1.3;
}

.product-title a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.product-rating {
    margin-bottom: var(--spacing-3);
}

.star-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
}

.star {
    color: var(--gray-300);
    font-size: var(--font-size-sm);
}

.star.filled {
    color: var(--warning-color);
}

.rating-count {
    margin-left: var(--spacing-2);
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-5);
    font-weight: 600;
}

.product-price > * {
    display: block;
}

.product-price .amount {
    display: block;
}

.product-price del {
    color: var(--gray-400);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.product-price ins {
    color: #5b21b6;
    background: rgba(124, 58, 237, 0.12);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    text-decoration: none;
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    line-height: 1;
}

.product-actions {
    margin-top: var(--spacing-5);
    display: flex;
    justify-content: center;
}

.product-actions .button,
.product-actions .add_to_cart_button {
    min-width: 70%;
    text-align: center;
}

/* Buttons */
.button, .btn {
    display: inline-block;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    font-size: var(--font-size-base);
}

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

.button.primary:hover, .btn.primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.button.secondary, .btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.button.secondary:hover, .btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .homepage-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .homepage-sidebar {
        position: static;
        order: 2;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        text-align: center;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-card-large {
        grid-column: span 1;
        aspect-ratio: 1;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: var(--spacing-4);
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        margin: var(--spacing-4) 0 0 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation .nav-links {
        display: none;
    }
    
    .categories-track {
        gap: var(--spacing-4);
    }
    
    .category-item {
        min-width: 80px;
        padding: var(--spacing-3);
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .products-carousel {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: var(--spacing-5);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-3);
    }
    
    .hero-banner {
        padding: var(--spacing-8);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .products-carousel {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-6 { margin-bottom: var(--spacing-6); }
.mb-8 { margin-bottom: var(--spacing-8); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--spacing-2); }
.mt-4 { margin-top: var(--spacing-4); }
.mt-6 { margin-top: var(--spacing-6); }
.mt-8 { margin-top: var(--spacing-8); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

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

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

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .top-bar,
    .site-header,
    .main-navigation,
    .product-type-categories,
    .homepage-sidebar,
    .section-nav,
    .product-actions-overlay {
        display: none;
    }
    
    .homepage-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-banner {
        background: none;
        color: black;
    }
    
    .hero-title,
    .hero-tagline,
    .hero-subtitle {
        color: black;
    }
}

/* Footer Styles */
.footer-top-section {
    background: #f8fafc;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

.footer-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.service-info {
    display: flex;
    gap: 40px;
    flex: 1;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.service-icon {
    width: 24px;
    height: 24px;
    color: #7c3aed;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 5px 0;
}

.service-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.newsletter-section {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.newsletter-offer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-icon {
    width: 24px;
    height: 24px;
    color: #7c3aed;
    flex-shrink: 0;
}

.newsletter-text {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
}

.newsletter-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.newsletter-form input[type="email"] {
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    width: 250px;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.newsletter-btn {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background: #6d28d9;
}

.newsletter-paw-icon {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Main Footer */
.site-footer {
    background: white;
    padding: 60px 0 20px;
    border-top: 1px solid #e2e8f0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column ul li a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #7c3aed;
}

/* Footer Brand Column */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1f2937;
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.footer-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.contact-email {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
}

.contact-item svg {
    width: 16px;
    height: 16px;
    color: #7c3aed;
    flex-shrink: 0;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

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

.payment-method {
    width: 50px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-top-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .service-info {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .newsletter-section {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .newsletter-paw-icon {
        position: static;
        transform: none;
        align-self: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input[type="email"] {
        width: 100%;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .payment-methods {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Summer Essentials Hero Banner */
.hero-banner-summer {
    margin: 0 0 var(--spacing-12);
    position: relative;
}

.summer-hero-slider {
    position: relative;
    width: 100%;
    height: clamp(360px, 56.25vw, 680px);
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #ffeef7 0%, #fff6e4 100%);
    box-shadow: 0 30px 60px rgba(255, 170, 180, 0.28);
    isolation: isolate;
}

.summer-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.7s ease, transform 1.1s ease;
    z-index: 0;
}

.summer-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(132deg, rgba(12, 7, 5, 0.24) 0%, rgba(12, 7, 5, 0.16) 34%, rgba(12, 7, 5, 0.05) 68%, rgba(12, 7, 5, 0) 100%);
    transition: opacity 0.7s ease, background 0.45s ease;
    pointer-events: none;
}

.summer-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.summer-hero-slide.is-active::after {
    opacity: 1;
}

.summer-hero-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 clamp(1.5rem, 4.5vw, 4rem);
}

.summer-hero-text-block {
    max-width: clamp(280px, 32vw, 420px);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    background: linear-gradient(155deg, rgba(18, 9, 4, 0.82) 0%, rgba(18, 9, 4, 0.68) 60%, rgba(18, 9, 4, 0.48) 100%);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(8, 3, 2, 0.18);
}

.summer-hero-tagline {
    font-size: var(--font-size-lg);
    color: #ffffff;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.summer-hero-title {
    font-size: clamp(2.6rem, 4vw, 3.3rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.summer-hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
}

.summer-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    background: linear-gradient(135deg, #ff80a1 0%, #ffb347 100%);
    color: #ffffff;
    padding: var(--spacing-4) var(--spacing-9);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 800;
    font-size: var(--font-size-base);
    letter-spacing: 0.08em;
    box-shadow: 0 24px 44px rgba(255, 138, 163, 0.42);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.summer-hero-btn::after {
    content: '→';
    font-size: 0.95em;
    transition: transform 0.35s ease;
}

.summer-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 58px rgba(255, 128, 161, 0.55);
}

.summer-hero-btn:hover::after {
    transform: translateX(6px);
}

.summer-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 24px rgba(255, 160, 180, 0.35);
    color: #4c2350;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
}

.summer-hero-nav:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 18px 30px rgba(255, 150, 180, 0.4);
}

.summer-hero-nav span {
    font-size: 1.2rem;
    font-weight: 700;
}

.summer-hero-nav-prev {
    left: clamp(0.75rem, 2vw, 1.5rem);
}

.summer-hero-nav-next {
    right: clamp(0.75rem, 2vw, 1.5rem);
}

.summer-hero-dots {
    position: absolute;
    bottom: clamp(1rem, 2vw, 1.8rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.summer-hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.summer-hero-dot.is-active {
    width: 28px;
    background: linear-gradient(135deg, #ff9ab6 0%, #ffc27b 100%);
    box-shadow: 0 6px 14px rgba(255, 155, 175, 0.4);
}

.summer-hero-slider[data-slide-count="1"] .summer-hero-nav,
.summer-hero-slider[data-slide-count="1"] .summer-hero-dots {
    display: none;
}

@media (max-width: 1024px) {
    .summer-hero-slider {
        height: clamp(320px, 56.25vw, 560px);
        border-radius: 0;
    }

    .summer-hero-slide::after {
        background: linear-gradient(128deg, rgba(12, 7, 5, 0.26) 0%, rgba(12, 7, 5, 0.16) 52%, rgba(12, 7, 5, 0.06) 86%, rgba(12, 7, 5, 0) 100%);
    }

    .summer-hero-slide-content {
        justify-content: center;
        text-align: center;
    }

    .summer-hero-text-block {
        align-items: center;
    }

    .summer-hero-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .summer-hero-slider {
        height: clamp(280px, 56.25vw, 420px);
        border-radius: 0;
    }

    .summer-hero-slide::after {
        background: linear-gradient(176deg, rgba(12, 7, 5, 0.32) 0%, rgba(12, 7, 5, 0.2) 62%, rgba(12, 7, 5, 0.08) 90%, rgba(12, 7, 5, 0) 100%);
    }

    .summer-hero-dot {
        width: 9px;
        height: 9px;
    }

    .summer-hero-dot.is-active {
        width: 22px;
    }
}

/* Homepage Layout */
.homepage-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-8);
}

.homepage-sidebar {
    background: #1f2937;
    border-radius: 16px;
    padding: 0 !important;
    height: 100%;
    position: static;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #374151;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.categories-widget {
    position: relative;
}

.categories-toggle {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-4);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.categories-toggle:hover {
    background: var(--primary-dark);
}

.categories-icon {
    font-size: var(--font-size-lg);
    margin-right: var(--spacing-2);
}

.categories-title {
    flex: 1;
    text-align: left;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-4) 0 0 0;
    background: #374151;
    border-radius: var(--radius-md);
    padding: var(--spacing-2);
}

.category-item {
    margin-bottom: var(--spacing-1);
}

.category-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffecd2 0%, #ffd5a5 100%);
    border: none;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(255, 178, 102, 0.15);
    backdrop-filter: blur(8px);
    font-weight: 700;
}

.category-link:hover {
    color: #000000;
    background: linear-gradient(135deg, #2d5a27 0%, #1a4314 100%);
    box-shadow: 0 6px 16px rgba(45, 90, 39, 0.2);
    transform: scale(1.005);
}

.category-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
}

.category-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Brands Section */
.brands-section {
    margin: var(--spacing-8) 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-6);
    align-items: center;
    background: white;
    padding: var(--spacing-8);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-4);
    transition: transform 0.3s ease;
}

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

.brand-placeholder {
    text-align: center;
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    font-weight: 500;
    padding: var(--spacing-4);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .homepage-layout {
        grid-template-columns: 200px 1fr;
        gap: var(--spacing-6);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-8);
    }
    
    .product-display {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .homepage-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .homepage-sidebar {
        order: 2;
    }
    
    .homepage-main {
        order: 1;
    }
    
    .nav-content {
        flex-direction: column;
        gap: var(--spacing-4);
    }
    
    .nav-center {
        order: 2;
    }
    
    .nav-left {
        order: 1;
    }
    
    .nav-right {
        order: 3;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-4);
    }
    
    .product-display {
        grid-template-columns: repeat(3, 1fr);
        max-width: 250px;
    }

}