/* =========================================
   TOYLAND - Kids Toys E-commerce Template
   Playful, Colorful Design
   ========================================= */

/* CSS Variables */
:root {
    --primary-red: #FF6B6B;
    --primary-teal: #4ECDC4;
    --primary-yellow: #FFE66D;
    --primary-mint: #95E1D3;
    --dark: #2D3436;
    --light: #FFFFFF;
    --gray: #636E72;
    --light-gray: #F8F9FA;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Comic Sans MS', cursive, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Fun Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Baloo 2', 'Comic Sans MS', cursive, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: 'Baloo 2', cursive;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), #ff8e8e);
    color: var(--light);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-teal), #6ee0d8);
    color: var(--light);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.5);
}

.btn-outline {
    background: transparent;
    border: 3px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--light);
    transform: translateY(-3px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light);
    font-size: 0.9rem;
}

.header-top-content a {
    color: var(--light);
}

.header-top-content a:hover {
    color: var(--primary-yellow);
}

.header-main {
    background: var(--light);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.header-main.scrolled {
    padding: 10px 0;
}

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

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

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    animation: wobble 3s ease-in-out infinite;
}

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

.logo-text {
    font-family: 'Baloo 2', cursive;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Baloo 2', cursive;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

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

.header-action {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.header-action:hover {
    background: var(--primary-yellow);
    transform: scale(1.1) rotate(10deg);
}

.header-action .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--primary-red);
    color: var(--light);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1s ease infinite;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    background: linear-gradient(135deg, #fff5f5 0%, #f0ffff 50%, #fffef0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B6B' fill-opacity='0.05'%3E%3Cpath d='M30 30l15-15v30l-15-15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    border-radius: 50%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 60%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: var(--primary-teal);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 1s;
}

.floating-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: var(--primary-mint);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation-delay: 2s;
}

.floating-shape:nth-child(4) {
    top: 30%;
    right: 20%;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 3s;
}

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

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    animation: fadeIn 0.8s ease;
}

.hero-slide.active {
    display: block;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 40px 0;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-yellow);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-2deg); }
    75% { transform: translateX(5px) rotate(2deg); }
}

.hero-title {
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    animation: floatImage 4s ease-in-out infinite;
}

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

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.hero-dot {
    width: 15px;
    height: 15px;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--primary-red);
    transform: scale(1.3);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, var(--primary-yellow), #ffd93d);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Categories */
.categories {
    background: linear-gradient(135deg, #f0ffff, #fff5f5);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--light);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-mint), var(--primary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-10deg);
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-red));
}

.category-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.category-count {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.product-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-badge.sale {
    background: var(--primary-red);
    color: var(--light);
}

.product-badge.new {
    background: var(--primary-teal);
    color: var(--light);
}

.product-badge.hot {
    background: var(--primary-yellow);
    color: var(--dark);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.product-actions {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 20px;
}

.product-action {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.product-action:hover {
    background: var(--primary-red);
    color: var(--light);
    transform: scale(1.1) rotate(10deg);
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.product-name:hover {
    color: var(--primary-red);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.product-rating i {
    color: var(--primary-yellow);
}

.product-rating span {
    color: var(--gray);
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.price-old {
    font-size: 1.1rem;
    color: var(--gray);
    text-decoration: line-through;
}

/* Special Offer Banner */
.special-offer {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.special-offer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.offer-text {
    color: var(--light);
}

.offer-text h2 {
    color: var(--light);
    margin-bottom: 20px;
}

.offer-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.countdown {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.countdown-number {
    display: block;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    line-height: 80px;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.offer-image img {
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Age Filter */
.age-filter {
    background: var(--light-gray);
}

.age-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.age-card {
    background: var(--light);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
}

.age-card:hover,
.age-card.active {
    border-color: var(--primary-teal);
    transform: translateY(-5px);
}

.age-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.age-range {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

/* Brands */
.brands {
    padding: 60px 0;
    background: var(--light);
}

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

.brand-item {
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}

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

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #fffef0, #f0ffff);
    padding: 100px 0;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--light);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow);
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 5px solid var(--primary-yellow);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark);
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-red);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary-yellow), #ffd93d);
    padding: 80px 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 30px;
    color: var(--dark);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: var(--shadow);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-red);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0 30px;
}

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px) rotate(10deg);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--light);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 10px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-teal);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

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

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

.payment-methods img:hover {
    opacity: 1;
}

/* Quick View Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background: var(--light);
    border-radius: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-red);
    color: var(--light);
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    height: 500px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 0 0 30px;
}

.modal-info {
    padding: 40px;
}

.modal-category {
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.modal-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-price .price-current {
    font-size: 2rem;
}

.modal-description {
    margin-bottom: 25px;
}

.modal-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-teal);
    color: var(--light);
}

.quantity-input {
    width: 80px;
    height: 45px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-family: inherit;
}

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

/* Shop Page */
.shop-header {
    background: linear-gradient(135deg, #fff5f5, #f0ffff);
    padding: 180px 0 80px;
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--primary-red);
}

.breadcrumb span {
    color: var(--primary-red);
    font-weight: 600;
}

.shop-content {
    padding: 80px 0;
}

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

.shop-sidebar {
    background: var(--light);
    border-radius: 25px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 160px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    transition: var(--transition);
}

.filter-option:hover {
    background: var(--light-gray);
}

.filter-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-red);
}

.price-range {
    margin-top: 15px;
}

.price-range input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: var(--light-gray);
    border-radius: 5px;
    outline: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border-radius: 50%;
    cursor: pointer;
}

.price-display {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-weight: 600;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-count {
    color: var(--gray);
}

.sort-select {
    padding: 12px 25px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-option {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.view-option.active,
.view-option:hover {
    background: var(--primary-teal);
    color: var(--light);
}

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

.pagination-btn {
    width: 50px;
    height: 50px;
    background: var(--light);
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn.active,
.pagination-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--light);
}

/* Product Detail Page */
.product-detail {
    padding: 180px 0 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery {
    position: sticky;
    top: 160px;
}

.product-main-image {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 15px;
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 3px solid transparent;
}

.product-thumbnail.active,
.product-thumbnail:hover {
    opacity: 1;
    border-color: var(--primary-red);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    padding: 20px 0;
}

.product-detail-category {
    display: inline-block;
    background: var(--primary-mint);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.product-detail-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.product-detail-price .price-current {
    font-size: 2.5rem;
}

.product-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-gray);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-item i {
    color: var(--primary-teal);
}

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

.option-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.color-options {
    display: flex;
    gap: 15px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.color-option.active,
.color-option:hover {
    border-color: var(--dark);
    transform: scale(1.1);
}

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

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

.product-features {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

/* Product Tabs */
.product-tabs {
    padding: 80px 0;
    background: var(--light-gray);
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 30px;
    background: var(--light);
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-teal);
    color: var(--light);
}

.tab-content {
    background: var(--light);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow);
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, #fff5f5, #f0ffff);
    padding: 180px 0 80px;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
}

.about-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--primary-yellow);
    border-radius: 50%;
    z-index: -1;
}

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

.stat-card {
    background: var(--light);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
}

.stat-label {
    color: var(--gray);
}

.values-section {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--light);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-mint), var(--primary-teal));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.team-section {
    background: var(--light-gray);
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

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

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

.team-info {
    padding: 25px;
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-teal);
    font-weight: 600;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, #fff5f5, #f0ffff);
    padding: 180px 0 80px;
    text-align: center;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-cards {
    display: grid;
    gap: 25px;
}

.contact-info-card {
    background: var(--light);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-mint), var(--primary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark);
    flex-shrink: 0;
}

.contact-info-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-info-text {
    color: var(--gray);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--light);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.map-section {
    height: 400px;
    background: var(--light-gray);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Cart Page */
.cart-section {
    padding: 180px 0 80px;
}

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

.cart-items {
    background: var(--light);
    border-radius: 25px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
    font-weight: 700;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--light-gray);
    align-items: center;
}

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

.cart-product-image {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-name {
    font-weight: 700;
    color: var(--dark);
}

.cart-product-category {
    font-size: 0.9rem;
    color: var(--gray);
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-quantity button {
    width: 35px;
    height: 35px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.cart-quantity button:hover {
    background: var(--primary-teal);
    color: var(--light);
}

.cart-quantity input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.cart-remove {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-remove:hover {
    color: var(--primary-red);
}

.cart-summary {
    background: var(--light);
    border-radius: 25px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 160px;
}

.summary-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

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

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid var(--light-gray);
    margin-top: 15px;
}

.summary-row.total .amount {
    color: var(--primary-red);
}

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

.coupon-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-family: inherit;
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
}

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

.cart-empty-icon {
    font-size: 5rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

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

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-buttons {
        justify-content: center;
    }

    .offer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .countdown {
        justify-content: center;
    }

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

    .shop-sidebar {
        position: static;
    }

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

    .product-gallery {
        position: static;
    }

    .about-hero-content {
        grid-template-columns: 1fr;
    }

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

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

    .cart-summary {
        position: static;
    }

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

    .modal-image {
        height: 300px;
    }

    .modal-image img {
        border-radius: 30px 30px 0 0;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .header-top {
        display: none;
    }

    .hero {
        padding-top: 100px;
    }

    .cart-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-product {
        flex-direction: column;
    }

    .cart-quantity {
        justify-content: center;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .countdown-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        line-height: 60px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

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

    .countdown {
        gap: 10px;
    }

    .countdown-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        line-height: 50px;
    }

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

/* Mobile Menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--light);
    padding: 30px;
    box-shadow: var(--shadow);
    gap: 20px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-gray);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: var(--light);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    transform: translateX(150%);
    transition: var(--transition);
    z-index: 3000;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: var(--primary-teal);
}

.toast.error {
    background: var(--primary-red);
}
