/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

*,
*::before,
*::after {
    max-width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: auto;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* background: linear-gradient(90deg, rgba(255,255,255,0.92), rgba(250,250,255,0.85)); */
    background: linear-gradient(135deg, #e0c763 0%, #813807 100%);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(102,126,234,0.06);
}

.navbar.scrolled {
    background: linear-gradient(135deg, #e0c763 0%, #813807 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    /* border-radius: 4px solid rgb(0, 0, 0); */
}

.nav-container {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    order: -1; /* Ensures logo is always first */
    flex-shrink: 0; /* Prevents logo from shrinking */
}

.logo img {
    width: 100px;
    height: 60px;
}

.logo h2 {
    color: transparent;
    margin: 0;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.6px;
    background: black;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* small tasteful tagline under the logo (added via pseudo element) */
.logo h2::after {
    content: 'Handcrafted Memories';
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280; /* muted gray */
    margin-top: 4px;
    letter-spacing: 0.4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.6rem;
    align-items: center;
}

/* Hide mobile menu close button on desktop */
.mobile-menu-close {
    display: none;
}

/* Search Container */
.search-container {
    flex: 1;
    max-width: 450px;
    margin: 0 2rem;
    position: relative;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: none;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 50px;
}

.search-box:focus-within {
    background: white;
    border-color: transparent;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    left: 20px;
    color: #9ca3af;
    font-size: 1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #667eea;
    transform: scale(1.05);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 20px 14px 55px;
    font-size: 0.95rem;
    color: #374151;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
    transition: color 0.3s ease;
}

.search-box:focus-within .search-input::placeholder {
    color: #d1d5db;
}

.search-btn {
    position: absolute;
    right: 5px;
    background: linear-gradient(135deg, #e0c763 0%, #d4af37 100%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5d76e 0%, #b8860b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-btn:hover::before {
    opacity: 1;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(224, 199, 99, 0.4);
}

.search-btn:active {
    transform: scale(0.98);
}

.search-btn i {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Search Box Advanced Effects */
.search-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.search-box:focus-within::after {
    opacity: 0.1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating label effect */
.search-input:focus + .search-floating-label,
.search-input:not(:placeholder-shown) + .search-floating-label {
    transform: translateY(-25px) translateX(-10px) scale(0.8);
    color: #667eea;
    background: white;
    padding: 0 8px;
}

.search-floating-label {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.search-box:focus-within .search-suggestions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-suggestion-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(102, 126, 234, 0.05);
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: rgba(102, 126, 234, 0.05);
    padding-left: 24px;
}

.search-suggestion-icon {
    color: #9ca3af;
    font-size: 0.9rem;
    width: 16px;
}

.search-suggestion-text {
    flex: 1;
    color: #374151;
    font-size: 0.9rem;
}

.search-suggestion-category {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Mobile Search Icon - Hidden on Desktop */
.mobile-search-icon {
    display: none;
}

/* Force search bar to show on mobile/tablet screens */
@media (max-width: 768px) {
    .search-container {
        display: block !important;
        position: fixed !important;
        top: 95px !important; /* Increased to ensure it's below navbar */
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        padding: 12px 15px !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
        z-index: 999 !important;
        max-width: none !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1) !important;
        backdrop-filter: blur(10px) !important;
    }
}

/* Ensure search bar is hidden on desktop */
@media (min-width: 769px) {
    .search-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        z-index: auto !important;
        border-bottom: none !important;
        flex: 1;
        max-width: 450px;
        margin: 0 2rem;
        display: flex !important;
    }
}

/* Mobile Search Overlay */
.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
}

.mobile-search-container {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mobile-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-search-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.close-search {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-search:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-search-box {
    padding: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.mobile-search-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.mobile-search-input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.mobile-search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 16px 20px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 60px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.mobile-search-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.nav-link {
    text-decoration: none;
    color: black;
    font-weight: 600;
    transition: color 0.25s cubic-bezier(.4,0,.2,1);
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: white;
    background: rgba(99,102,241,0.06);
    box-shadow: 0 6px 18px rgba(59,130,246,0.06);
}

.nav-link.active {
    color: #111827;
}

/* subtle indicator under active link */
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #d10622 0%, #4D0710 100%);
    border-radius: 3px;
    transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}

/* mobile hamburger contrast */
.hamburger .bar {
    background: #000 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bar {
    width: 24px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1001;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
}

/* Show hamburger on mobile and tablet */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        background: rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
        background: rgba(0, 0, 0, 0.1);
    }
}

/* Ensure hamburger shows on all mobile devices */
@media (max-width: 480px) {
    .hamburger {
        display: flex !important;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.2);
        padding: 10px;
        margin-left: 12px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 8px;
    }
    
    .hamburger .bar {
        width: 18px;
        height: 2px;
        margin: 2px 0;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        width: 280px;
    }
    
    .nav-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .hamburger {
        padding: 8px;
        margin-left: 8px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .hamburger .bar {
        width: 16px;
        height: 1.5px;
        margin: 1.5px 0;
    }
    
    .nav-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .logo img {
        width: 60px;
        height: 36px;
    }
    
    .logo h2 {
        font-size: 1.2rem;
    }
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Carousel Section */
.hero {
    padding: 120px 0 20px;
    /* background: linear-gradient(135deg, #f8f9ff 0%, #e8ecf7 100%); */
    background-color: #FFF8E7;
    position: relative;
    overflow: hidden;
}

.hero-header {
    text-align: center;
    /* margin-bottom: 2rem; */
    padding: 0 20px;
}

/* Category Navigation Styles */
.category-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbar for category navigation */
.category-navigation::-webkit-scrollbar {
    display: none;
}

.category-navigation {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.category-item {
    padding: 12px 20px;
    border-radius: 25px;
    background: white;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    white-space: nowrap;
}

.category-item:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.category-item.active {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #d10622 0%, #4D0710 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.category-item.active .category-name {
    color: white;
}

.category-item:hover .category-name {
    color: #667eea;
}

.category-item.active:hover .category-name {
    color: white;
}

/* Navigation Icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    color: black;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.nav-icon:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.icon-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    height: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
}

/* Hide scrollbar for carousel container */
.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.carousel-track {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 0;
    width: max-content;
    min-width: 100%;
}

.carousel-card {
    flex: 0 0 calc(40% - 1rem); /* More reasonable gap calculation */
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    height: 300px;
    scroll-snap-align: start;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transition: transform 0.3s ease;
}

.carousel-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FFD700;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.card-content {
    z-index: 5;
}

.card-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.card-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.6rem;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.card-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-buttons {
    display: flex;
    gap: 0.8rem;
}

.card-buttons .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.card-buttons .btn-primary {
    background: #FFD700;
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.card-buttons .btn-primary:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.highlight-white {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Carousel Navigation - Fixed positioning relative to hero section */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    z-index: 20;
    margin-top: 60px; /* Adjust for hero header */
}

.carousel-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 21;
}

.carousel-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Small Cards Section */
.small-cards-section {
    padding: 3% 0;
    background: #f8f9fa;
    width: 100%;
}

.small-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.small-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.small-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.small-card-image {
    height: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.small-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.small-card:hover .small-card-image img {
    transform: scale(1.05);
}

.small-card-content {
    display: none;
}

.small-card-content h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

/* Responsive Design for Small Cards */
@media (max-width: 1200px) {
    .small-cards-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 16px;
        padding: 0 16px;
    }
    
    .small-card-content {
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .small-cards-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 12px;
        padding: 0 12px;
    }
    
    .small-card-content h4 {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .small-card-content {
        padding: 4px 6px;
    }
    
    .small-card {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .small-cards-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
        padding: 0 8px;
    }
    
    .small-cards-section {
        padding: 3% 0;
    }
    
    .small-card-content h4 {
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .small-card-content {
        padding: 3px 4px;
    }
}

@media (max-width: 360px) {
    .small-cards-grid {
        gap: 6px;
        padding: 0 6px;
    }
    
    .small-card-content h4 {
        font-size: 0.6rem;
        line-height: 1.0;
    }
    
    .small-card-content {
        padding: 2px 3px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .carousel-card {
        flex: 0 0 calc(40% - 1rem); /* Ensures 2.5 cards visible */
        height: 180px;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
    
    .card-overlay {
        padding: 1.3rem;
    }
}

/* Medium screens - tablet landscape */
@media (max-width: 1024px) {
    .carousel-card {
        flex: 0 0 calc(40% - 1.5rem); /* Maintains 2.5 cards */
        height: 160px;
    }
    
    .carousel-container {
        padding: 0 15px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Hide carousel navigation on tablets too for better native scrolling */
    .carousel-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    .nav-container {
        padding: 0 10px; /* Reduce nav padding for mobile */
    }
    
    .carousel-container {
        padding: 0 10px; /* Reduce carousel padding for mobile */
        max-width: 100%;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .carousel-track {
        gap: 1rem; /* Reduced gap for mobile screens */
    }
    
    /* Hide carousel navigation arrows on mobile */
    .carousel-nav {
        display: none;
    }
    
    .hero {
        padding: 100px 0 15px;
        width: 100%;
    }
    
    .category-navigation {
        gap: 0.3rem;
        padding: 0.8rem 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .category-navigation::-webkit-scrollbar {
        display: none;
    }
    
    .category-item {
        padding: 8px 16px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .category-name {
        font-size: 0.8rem;
    }
    
    .carousel-card {
        flex: 0 0 calc(40% - 1rem); /* Ensures 2.5 cards visible on mobile */
        height: 140px;
    }
    
    .card-overlay {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .card-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .card-price {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .card-buttons {
        flex-direction: row;
        gap: 0.6rem;
    }
    
    .card-buttons .btn {
        flex: 1;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .carousel-nav {
        padding: 0 5px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    * {
        max-width: 100%;
    }
    
    .nav-container {
        padding: 0 8px; /* Minimal nav padding for small mobile */
    }
    
    .carousel-container {
        padding: 0 8px; /* Minimal carousel padding for small mobile */
        max-width: 100%;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .carousel-track {
        gap: 0.75rem; /* Even smaller gap for small mobile screens */
    }
    
    .category-navigation {
        gap: 0.25rem;
        padding: 0.6rem 0;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .category-navigation::-webkit-scrollbar {
        display: none;
    }
    
    .category-item {
        padding: 6px 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .category-name {
        font-size: 0.75rem;
    }
    
    .carousel-card {
        flex: 0 0 calc(40% - 0.5rem); /* Adjusted for better fit with reduced gap */
        height: 100px; /* Increased height for better visibility */
    }
    
    .card-overlay {
        padding: 0.8rem;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .card-description {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }
    
    .card-price {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .hero-header h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 100px 0 10px;
    }
    
    .card-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .card-description {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
    
    .card-price {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .card-buttons .btn {
        padding: 7px 12px;
        font-size: 0.75rem;
    }
    
    .card-badge {
        top: 0.8rem;
        right: 0.8rem;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}

/* Extra small mobile screens */
@media (max-width: 360px) {
    .carousel-card {
        flex: 0 0 calc(38% - 0.5rem); /* Even smaller for very small screens */
        height: 100px;
    }
    
    .carousel-track {
        gap: 0.8rem; /* Smaller gap for very small screens */
    }
    
    .carousel-container {
        padding: 0 5px;
    }
}

/* Animations for floating effects (can be used later) */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth scroll behavior */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: black;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.2rem;
}

.feature h4 {
    color: #333;
    margin-bottom: 0.3rem;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

.about-image .image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-radius: 15px;
    font-size: 3rem;
    transform: rotate(5deg);
}

/* Category Sections */
.category-section {
    padding: 100px 0;
    position: relative;
}

.keychains-section {
    background: linear-gradient(135deg, #e0c763 0%, #813807 100%);
    color: black;
}

.varmala-section {
    background: #FFF8E7;
    color: #BD0D10;
}

.clocks-section {
    /* background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); */
    background: linear-gradient(135deg, #e0c763 0%, #813807 100%);
    color: white;
}

.home-decor-section {
    background: #FFF8E7;
    color: #2c3e50;
}

.workshops-section {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    color: white;
}

.gift-sets-section {
    background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
    color: white;
}

.category-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.category-item {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.category-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.category-item.featured {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.category-item .image-placeholder {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.category-item .image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.category-item .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.category-item:hover .image-placeholder img {
    transform: scale(1.08);
}

/* Wishlist Heart Icon */
.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 18px;
    color: #666;
    transition: color 0.3s ease;
}

.wishlist-btn:hover i {
    color: white;
}

.product-info {
    padding: 24px;
    color: #333;
    position: relative;
}

.product-info h4 {
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.product-info p {
    color: #8e8e93;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.price-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price::before {
    display: none;
}

/* Price styling for original and discounted prices */
.price .original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.price .discounted-price {
    font-size: 1.3rem;
    color: #e74c3c;
    font-weight: 800;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.rating i {
    color: #FFD700;
    font-size: 14px;
}

.rating-text {
    margin-left: 8px;
    color: #8e8e93;
    font-size: 0.85rem;
    font-weight: 500;
}

.buy-now-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.buy-now-btn:hover::before {
    left: 100%;
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b4e9d 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.3);
}

.buy-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Override overlay styles since we're not using them anymore */
.category-item .overlay {
    display: none;
}

.category-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.category-cta {
    text-align: center;
}

.category-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    background: white;
    color: #ff6b35;
    border: 2px solid #ff6b35;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none;
    position: relative;
}

.category-cta .btn::after {
    content: '→';
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.category-cta .btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.category-cta .btn:hover::after {
    transform: translateX(3px);
}

.category-cta .btn:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Reference-style variant for existing category-item - 3 row layout */
.category-item.card-ref {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 320px;
}

/* Orange curved background */
.category-item.card-ref::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: black;
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

/* Orange curved bottom using CSS */
.category-item.card-ref::after {
    content: '';
    position: absolute;
    top: 42%;
    left: 0;
    right: 0;
    height: 8%;
    background: black;
    border-radius: 0 0 100% 100% / 0 0 60px 60px;
    z-index: 1;
}

/* Row 1: Title and Price */
.card-ref .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    min-height: 60px;
    position: relative;
    z-index: 2;
}

.card-ref .product-info { 
    position: static; 
    padding: 0; 
    flex: 1;
    margin-right: 10px;
    z-index: 2;
    position: relative;
}

.card-ref .product-info h4 { 
    position: static;
    font-family: 'Inter', sans-serif; 
    font-weight: 800; 
    color: #fff; 
    font-size: 1.1rem; 
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.card-ref .product-info p { 
    position: static;
    color: rgba(255,255,255,0.9); 
    font-size: 0.85rem; 
    margin: 0;
}

.card-ref .price { 
    position: static;
    width: auto; 
    height: auto; 
    display: flex; 
    flex-direction: column;
    align-items: flex-start; 
    justify-content: center; 
    text-align: left; 
    background: transparent; 
    color: black; 
    font-weight: 800; 
    font-size: 1.2rem; 
    line-height: 1.2; 
    border-radius: 0; 
    box-shadow: none; 
    padding: 0; 
    margin: 0;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    gap: 2px;
}
.card-ref .price::before { display: none; }

/* Price styling for original and discounted prices */
.card-ref .price .original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.card-ref .price .discounted-price {
    font-size: 1.3rem;
    color: #e74c3c;
    font-weight: 800;
}

/* Row 2: Product Image */
.card-ref .image-placeholder { 
    background: transparent; 
    height: auto; 
    padding: 0; 
    position: static; 
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
}

.card-ref .image-placeholder img {
    position: static;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #f0eadf 0, #f7f4ef 62%, transparent 62%);
    margin: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    display: block;
}

/* Row 3: Heart and Add to Cart */
.card-ref .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    z-index: 2;
    position: relative;
}

.card-ref .wishlist-btn { 
    position: static;
    width: 44px; 
    height: 44px; 
    background: #ffe3d1; 
    color: #ff6b6b; 
    box-shadow: 0 6px 14px rgba(255,107,107,0.2);
}

.card-ref .buy-now-btn { 
    position: static;
    width: auto; 
    padding: 12px 20px; 
    background: black; 
    border-radius: 999px; 
    box-shadow: 0 6px 16px rgba(19,58,89,0.25);
}
.card-ref .buy-now-btn::before { display: none; }

/* Hide rating, collapse row so layout doesn't take space */
.card-ref .rating, .card-ref .rating-text { display: none; }
.card-ref .price-rating-row { 
    height: auto; 
    margin: 0; 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .card-ref .image-placeholder img { max-width: 200px; }
}

/* Workshop Grid */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.workshop-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.workshop-item:hover {
    transform: translateY(-5px);
}

.workshop-item.featured {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.workshop-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.workshop-item h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.workshop-item p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.workshop-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    flex-wrap: wrap;
}

.workshop-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Gift Sets Grid */
.gift-sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gift-set-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.gift-set-item:hover {
    transform: translateY(-5px);
}

.gift-set-item.featured {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.gift-set-image {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.gift-set-item h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.gift-set-item p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.gift-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Category Sections */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
        padding: 0;
    }
    
    .category-item {
        border-radius: 16px;
    }
    
    .category-item .image-placeholder {
        height: 120px;
    }
    
    /* Scale down card-ref elements for mobile */
    .category-item.card-ref {
        min-height: 200px;
        padding: 12px;
    }
    
    .card-ref .product-info h4 { 
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .card-ref .product-info p { 
        font-size: 0.65rem;
    }
    
    .card-ref .price { 
        font-size: 0.8rem;
    }
    
    .card-ref .wishlist-btn { 
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .card-ref .buy-now-btn { 
        font-size: 0.65rem;
        padding: 6px 8px;
    }
    
    .card-ref .card-header,
    .card-ref .card-footer {
        padding: 8px;
    }
}

    .wishlist-btn {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
    }
    
    .wishlist-btn i {
        font-size: 14px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-info h4 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .product-info p {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }
    
    .price-rating-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    .rating i {
        font-size: 12px;
    }
    
    .rating-text {
        font-size: 0.8rem;
        margin-left: 6px;
    }
    
    .buy-now-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
        border-radius: 14px;
    }
    
    .category-features {
        gap: 1.5rem;
    }
    
    .workshop-grid,
    .gift-sets-grid {
        grid-template-columns: 1fr;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .category-item {
        border-radius: 14px;
    }
    
    .category-item .image-placeholder {
        height: 100px;
    }
    
    /* Further scale down card-ref elements for small mobile */
    .category-item.card-ref {
        min-height: 160px;
        padding: 8px;
    }
    
    .card-ref .product-info h4 { 
        font-size: 0.65rem;
        line-height: 1.1;
    }
    
    .card-ref .product-info p { 
        font-size: 0.55rem;
    }
    
    .card-ref .price { 
        font-size: 0.7rem;
    }
    
    .card-ref .wishlist-btn { 
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
    
    .card-ref .buy-now-btn { 
        font-size: 0.55rem;
        padding: 10px 6px;
    }
    
    .card-ref .card-header,
    .card-ref .card-footer {
        padding: 6px;
    }
    
    .wishlist-btn {
        width: 30px;
        height: 30px;
        top: 16px;
        right: 16px;
    }
    
    .wishlist-btn i {
        font-size: 16px;
    }
    
    .product-info {
        padding: 24px;
    }
    
    .product-info h4 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .product-info p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .price-rating-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .rating i {
        font-size: 14px;
    }
    
    .rating-text {
        font-size: 0.85rem;
        margin-left: 8px;
    }
    
    .buy-now-btn {
        padding: 16px 24px;
        font-size: 0.95rem;
        border-radius: 16px;
    }
    
    .category-section {
        padding: 60px 0;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2x2 grid even on small mobile */
        gap: 0.4rem;
    }
    
    .category-item .image-placeholder {
        height: 130px;
    }
    
    .product-info {
        padding: 0.7rem;
    }
    
    .product-info h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .product-info p {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
    }
    
    .rating {
        margin-bottom: 0.6rem;
    }
    
    .rating i {
        font-size: 0.7rem;
    }
    
    .rating-text {
        font-size: 0.7rem;
    }
    
    .price {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .buy-now-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .workshop-item,
    .gift-set-item {
        padding: 1.5rem;
    }
    
    .category-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* About Our Work Section */
.about-work {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.work-overview {
    margin-bottom: 3rem;
}

.work-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.work-process-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.process-mini-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.process-mini-step:hover {
    transform: translateY(-5px);
}

.mini-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.process-mini-step h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #FFD700;
}

.process-mini-step p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.work-cta {
    text-align: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.btn-large:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for About Our Work */
@media (max-width: 768px) {
    .about-work {
        padding: 50px 0;
    }
    
    .work-stats {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns */
        gap: 1rem;
    }
    
    .work-process-mini {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns */
        gap: 1rem;
    }
    
    .stat-item,
    .process-mini-step {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mini-icon {
        font-size: 1.8rem;
    }
    
    .process-mini-step h4 {
        font-size: 1.1rem;
    }
    
    .process-mini-step p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .about-work {
        padding: 40px 0;
    }
    
    .work-stats {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns even on small screens */
        gap: 0.8rem;
    }
    
    .work-process-mini {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns even on small screens */
        gap: 0.8rem;
    }
    
    .stat-item,
    .process-mini-step {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .mini-icon {
        font-size: 1.5rem;
    }
    
    .process-mini-step h4 {
        font-size: 1.1rem;
    }
    
    .process-mini-step p {
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #667eea;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-card li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.service-card.featured li::before {
    color: white;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.service-card.featured .service-btn {
    background: white;
    color: #667eea;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    color: #333;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: #667eea;
    margin-top: 0.3rem;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .nav-menu {
        display: none !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        flex-direction: column;
        background-color: white;
        width: 300px;
        text-align: left;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px 2rem 2rem;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .hamburger {
        display: flex !important;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 6px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
    
    .hamburger .bar {
        width: 22px;
        height: 2.5px;
        margin: 2.5px 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
        flex: 0 0 auto;
    }
    
    .logo img {
        width: 80px;
        height: 48px;
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
    
    .logo h2::after {
        font-size: 0.7rem;
    }
    
    /* Show search bar below navbar on mobile */
    .search-container {
        display: block !important;
        position: fixed !important;
        top: 95px !important; /* Just below navbar */
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        padding: 12px 15px !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
        z-index: 999 !important;
        max-width: none !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1) !important;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px) !important;
    }
    
    .search-box {
        border-radius: 25px;
        box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
    }
    
    .search-input {
        padding: 14px 18px 14px 50px;
        font-size: 0.9rem;
    }
    
    .search-icon {
        left: 18px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 14px 18px;
        min-width: 50px;
    }
    
    .search-btn i {
        font-size: 0.9rem;
    }
    
    .search-floating-label {
        left: 50px;
        font-size: 0.9rem;
    }
    
    /* Hide search suggestions on mobile to save space */
    .search-suggestions {
        display: none;
    }
    
    /* Hide mobile search icon since search bar is visible */
    .mobile-search-icon {
        display: none;
    }
    
    .nav-icons {
        gap: 0.8rem;
        order: 2;
        flex-shrink: 0;
        flex: 0 0 auto;
    }
    
    .nav-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .icon-badge {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -4px;
        right: -4px;
    }
    
    .hamburger {
        display: flex !important;
        order: 3;
        flex-shrink: 0;
        flex: 0 0 auto;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 6px;
        padding: 8px;
        margin-left: 10px;
        border: 1px solid rgba(0, 0, 0, 0.15);
        min-width: 42px;
        min-height: 42px;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger .bar {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        background-color: white;
        width: 300px;
        text-align: left;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px 2rem 2rem;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Close button for mobile menu */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #666;
        cursor: pointer;
        padding: 10px;
        border-radius: 50%;
        transition: all 0.3s ease;
        display: block;
    }

    .mobile-menu-close:hover {
        background-color: #f3f4f6;
        color: #333;
    }

    .nav-menu li {
        margin: 1.5rem 0;
        border-bottom: 1px solid #f3f4f6;
        padding-bottom: 1rem;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        color: #374151;
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none;
        display: block;
        padding: 0.5rem 0;
        transition: color 0.3s ease;
    }

    .nav-link:hover {
        color: #667eea;
    }

    /* Mobile menu backdrop */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Mobile Carousel Optimization */
    .hero {
        padding: 155px 10px 30px; /* Increased top padding for navbar + search bar */
    }

    .carousel-container {
        height: auto;
        padding: 0 10px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .slide-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .slide-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .slide-category {
        font-size: 0.8rem;
        padding: 6px 15px;
        margin-bottom: 0.8rem;
    }

    .slide-features {
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .slide-buttons {
        justify-content: center;
        gap: 0.8rem;
        flex-direction: column;
        align-items: center;
    }

    .slide-buttons .btn {
        width: 200px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .slide-image .image-placeholder {
        width: 280px;
        height: 280px;
        font-size: 2.5rem;
        margin: 1rem auto;
    }

    /* Mobile Navigation Buttons */
    .carousel-nav {
        padding: 0 0.5rem;
        top: 45%;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    }

    /* Mobile Indicators */
    .carousel-indicators {
        bottom: 60px;
        gap: 0.8rem;
        margin-top: 0.5rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        transform: scale(1.4);
    }

    /* Mobile Product Info Cards */
    .product-info-cards {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin-top: 3rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .info-card {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .info-card i {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .info-card h4 {
        font-size: 0.85rem;
        margin-bottom: 0.1rem;
    }

    .info-card p {
        font-size: 0.75rem;
    }

    /* Other mobile optimizations */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: none;
    }

    .gallery-filter {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .logo img {
        width: 60px;
        height: 42px;
    }
    
    .logo h2 {
        font-size: 1.1rem;
    }
    
    .logo h2::after {
        font-size: 0.65rem;
        margin-top: 2px;
    }
    
    .nav-icons {
        gap: 0.6rem;
    }
    
    .nav-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .icon-badge {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
        top: -3px;
        right: -3px;
    }
    
    /* Adjust search bar for small mobile */
    .search-container {
        padding: 10px 10px;
    }
    
    .search-input {
        padding: 12px 16px 12px 45px;
        font-size: 0.85rem;
    }
    
    .search-icon {
        left: 16px;
    }
    
    .search-btn {
        padding: 12px 16px;
        min-width: 45px;
    }
    
    .search-floating-label {
        left: 45px;
        font-size: 0.85rem;
    }

    /* Extra small mobile optimization */
    .hero {
        padding: 180px 5px 2px; /* Adjusted for search bar */
    }

    .carousel-container {
        height: 120px;
        padding: 0 5px;
    }

    .slide-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .slide-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .slide-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .slide-image .image-placeholder {
        width: 240px;
        height: 240px;
        font-size: 2rem;
    }

    .carousel-nav {
        padding: 0 0.2rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-indicators {
        bottom: 45px;
        gap: 0.6rem;
        margin-top: 0.3rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .product-info-cards {
        padding: 0.8rem;
        margin-top: 1.5rem;
        max-width: 280px;
    }

    .info-card {
        padding: 0.6rem;
    }

    .info-card h4 {
        font-size: 0.8rem;
    }

    .info-card p {
        font-size: 0.7rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .slide-buttons .btn {
        width: 180px;
        padding: 8px 16px;
    }

    .slide-features {
        justify-content: center;
    }

    .slide-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    /* Floating elements optimization for mobile */
    .floating-elements {
        opacity: 0.6;
    }

    .bubble,
    .color-swirl,
    .crystal,
    .sparkle {
        animation-duration: 4s;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 10px 20px ;
    }

    .carousel-container {
        height: 400px;
    }

    .slide-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }

    .slide-image .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 1.8rem;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slide-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .slide-buttons .btn {
        width: auto;
        min-width: 100px; /* Reduce min-width for small screens */
    }

    .product-info-cards {
        flex-direction: row;
        bottom: -30px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: none;
        width: auto;
        margin: 0;
        z-index: 10;
    }

    .info-card {
        flex-direction: row;
        text-align: left;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .carousel-btn:hover {
        background: rgba(255, 255, 255, 0.95);
        color: #667eea;
        transform: none;
    }

    .slide-image .image-placeholder:hover {
        transform: rotate(-5deg);
    }

    .gallery-item:hover {
        transform: none;
    }

    .service-card:hover {
        transform: none;
    }
}

/* Categories Page Styles */
.categories-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.categories-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.categories-hero-content {
    position: relative;
    z-index: 2;
}

.categories-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.categories-hero .highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffd700;
}

.breadcrumb i {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.filter-left h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.product-count {
    color: #666;
    font-weight: 400;
    font-size: 1rem;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #555;
}

.filter-select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.view-toggle {
    display: flex;
    gap: 5px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 3px;
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.view-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Categories Layout */
.categories-main {
    padding: 40px 0;
    background: #fafafa;
}

.categories-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 200px;
    height: fit-content;
}

.filter-widget {
    margin-bottom: 30px;
}

.filter-widget:last-child {
    margin-bottom: 0;
}

.filter-widget h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-radius: 8px;
}

.filter-option:hover {
    background: rgba(102, 126, 234, 0.05);
    padding-left: 10px;
}

.filter-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-option input:checked + .checkmark {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-color: #667eea;
}

.filter-option input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.count {
    color: #999;
    font-size: 0.85rem;
    margin-left: auto;
}

/* Price Range */
.price-range {
    padding: 10px 0;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price-input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.price-input:focus {
    outline: none;
    border-color: #667eea;
}

.price-inputs span {
    color: #666;
    font-size: 0.9rem;
}

.price-slider {
    position: relative;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 20px 0;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-range {
    position: absolute;
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 3px;
}

.slider-thumb {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slider-thumb:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Rating Stars */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars i {
    color: #ffd700;
    font-size: 0.8rem;
}

.rating-stars span {
    font-size: 0.85rem;
    color: #666;
}

/* Filter Actions */
.filter-actions {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.clear-filters {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: #667eea;
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.products-grid.list-view .product-image {
    flex: 0 0 200px;
    height: 150px;
}

.products-grid.list-view .product-info {
    flex: 1;
    text-align: left;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.popular {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.badge.new {
    background: linear-gradient(45deg, #00d2d3, #54a0ff);
    color: white;
}

.badge.premium {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
}

.badge.trending {
    background: linear-gradient(45deg, #a55eea, #26de81);
    color: white;
}

.badge.sale {
    background: linear-gradient(45deg, #ff3838, #ff6b6b);
    color: white;
}

.badge.gift {
    background: linear-gradient(45deg, #fd79a8, #fdcb6e);
    color: white;
}

.badge.eco {
    background: linear-gradient(45deg, #00b894, #26de81);
    color: white;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-category {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffd700;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: #999;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.discount {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin-top: 40px;
}

.load-more-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.showing-text {
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile Responsive */
@media (max-width: 1024px) {
    .categories-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .filter-sidebar {
        position: static;
        order: 2;
    }

    .products-grid {
        order: 1;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-controls {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .categories-hero {
        padding: 100px 0 60px;
    }

    .categories-hero h1 {
        font-size: 2.5rem;
    }

    .filter-section {
        position: static;
        top: auto;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }

    .filter-controls {
        flex-direction: column;
        gap: 15px;
    }

    .filter-group {
        justify-content: space-between;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 20px 15px;
    }

    .filter-sidebar {
        background: transparent;
        box-shadow: none;
        padding: 20px 0;
    }

    .filter-widget {
        background: white;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .breadcrumb {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .categories-hero h1 {
        font-size: 2rem;
    }

    .categories-hero p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        border-radius: 10px;
    }

    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 15px 10px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .filter-sidebar {
        padding: 15px 0;
    }

    .filter-widget {
        padding: 15px;
    }

    .load-more-section {
        padding: 40px 0;
        margin-top: 30px;
    }
}
