/* ============================================
   MARIA FACEIRA KIDS - Design System Premium
   Direção Estética: Candy Boutique
   ============================================ */

:root {
    /* Cores Primárias */
    --pink-light: #FFF0F5;
    --pink-main: #FFB6C1;
    --pink-dark: #E75480;
    --pink-accent: #FF69B4;

    /* Cores Secundárias */
    --coral: #FF7F7F;
    --peach: #FFDAB9;
    --gold: #FFD700;
    --mint: #98FB98;

    /* Cores Neutras */
    --white: #FFFFFF;
    --off-white: #FFFAF5;
    --gray-light: #F8F8F8;
    --gray: #666666;
    --gray-dark: #333333;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #E75480 0%, #FF69B4 50%, #FFB6C1 100%);
    --gradient-soft: linear-gradient(135deg, #FFF0F5 0%, #FFE4E1 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(231, 84, 128, 0.1);
    --shadow-md: 0 4px 20px rgba(231, 84, 128, 0.15);
    --shadow-lg: 0 10px 40px rgba(231, 84, 128, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 105, 180, 0.3);

    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Animações */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--off-white);
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Floating Decorations */
.floating-decoration {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-decoration::before,
.floating-decoration::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.03;
    animation: float 20s ease-in-out infinite;
}

.floating-decoration::before {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.floating-decoration::after {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -100px;
    animation-delay: -10s;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.logo img {
    height: 55px;
    transition: transform var(--transition-normal);
}

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

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--pink-dark);
}

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

.cart-btn {
    position: relative;
    background: var(--gradient-primary);
    border: none;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: white;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold);
    color: var(--gray-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--pink-dark);
    border: 2px solid var(--pink-dark);
}

.btn-secondary:hover {
    background: var(--pink-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn svg {
    flex-shrink: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 140px 0 100px;
    background: var(--gradient-soft);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #FFB6C1 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation: pulse 4s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #FFDAB9 0%, transparent 70%);
    bottom: 20%;
    left: 5%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FFD700 0%, transparent 70%);
    top: 40%;
    right: 5%;
    animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--gray-dark);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.hero-text h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 480px;
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    padding: 30px;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    max-width: 350px;
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* ============================================
   CATALOG SECTION
   ============================================ */

.catalog {
    padding: 100px 0;
    background: var(--white);
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pink-light);
    color: var(--pink-dark);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gray-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Category Filters - Etiquetas de Roupa */
.category-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px dashed var(--pink-main);
    background: var(--white);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-dark);
    transition: all var(--transition-normal);
    position: relative;
}

.category-tag::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--pink-light);
    border: 2px dashed var(--pink-main);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.tag-icon {
    font-size: 1.1rem;
}

.category-tag:hover,
.category-tag.active {
    background: var(--pink-light);
    border-style: solid;
    border-color: var(--pink-dark);
    color: var(--pink-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-tag:hover::before,
.category-tag.active::before {
    background: var(--pink-dark);
    border-style: solid;
}

/* Products Grid - 3D Container */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    transition: all var(--transition-normal);
    perspective: 1000px;
}

/* Product Card - 3D Effect */
.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0) rotateY(0);
}

.product-card:hover {
    transform: translateY(-3px) rotateX(2deg) rotateY(-2deg) scale(1.01);
    box-shadow:
        var(--shadow-lg),
        -5px 10px 20px rgba(231, 84, 128, 0.1),
        0 15px 35px rgba(0, 0, 0, 0.08);
}

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

/* Shine effect on hover */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 11;
}

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

/* Color Swatches */
.color-swatches {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    justify-content: center;
    background: var(--gray-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-fast);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px var(--pink-dark), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-swatch.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Product Image */
.product-image {
    position: relative;
    height: 380px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff5f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: all var(--transition-slow);
    cursor: zoom-in;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--gray-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Product Info */
.product-info {
    padding: 24px;
    text-align: center;
}

.product-name {
    font-family: 'Baloo 2', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 4px;
}

.product-fabric {
    display: inline-block;
    background: var(--peach);
    color: var(--gray-dark);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-color {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pink-dark);
    margin-bottom: 16px;
}

.btn-add {
    width: 100%;
    padding: 14px 24px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 80px 0;
    background: var(--gradient-soft);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    text-align: center;
}

.contact h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    color: var(--gray-dark);
    margin-bottom: 12px;
}

.contact-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--gray-dark);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--pink-main);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-whatsapp {
    background: #25D366;
    color: white;
}

.contact-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
}

.contact-whatsapp svg {
    fill: white;
}

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

.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 0;
    text-align: center;
}

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

.footer p {
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   CART SIDEBAR
   ============================================ */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1001;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-normal);
    z-index: 1002;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--gray-light);
}

.cart-header h3 {
    font-family: 'Baloo 2', cursive;
    color: var(--gray-dark);
    font-size: 1.5rem;
}

.cart-close {
    background: var(--gray-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cart-close:hover {
    background: var(--pink-light);
    color: var(--pink-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    position: relative;
}

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

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

.cart-item-name {
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 4px;
}

.cart-item-details {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.cart-item-price {
    color: var(--pink-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

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

.qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--pink-dark);
    background: white;
    color: var(--pink-dark);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

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

.qty-value {
    font-weight: 700;
    color: var(--gray-dark);
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--pink-dark);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.cart-item-remove:hover {
    background: var(--coral);
    transform: scale(1.1);
}

.cart-empty {
    text-align: center;
    padding: 60px 40px;
    color: var(--gray);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-empty p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.cart-empty span {
    font-size: 0.9rem;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-light);
    display: none;
}

.cart-footer.active {
    display: block;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

#cartTotal {
    color: var(--pink-dark);
}

.btn-checkout {
    width: 100%;
}

/* ============================================
   IMAGE ZOOM MODAL
   ============================================ */

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    cursor: zoom-out;
    padding: 20px;
}

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

.image-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: all var(--transition-normal);
}

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

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--pink-light);
    color: var(--pink-dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.image-modal-close:hover {
    background: var(--pink-dark);
    color: white;
    transform: scale(1.1);
}

/* ============================================
   SIZE SELECTION MODAL
   ============================================ */

.size-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 20px;
}

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

.size-modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all var(--transition-normal);
}

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

.size-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gray-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1;
    transition: all var(--transition-fast);
}

.size-modal-close:hover {
    background: var(--pink-light);
    color: var(--pink-dark);
}

.size-modal-header {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--gray-light);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

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

.size-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.size-modal-info h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 4px;
}

.size-modal-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.size-modal-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink-dark);
}

.size-modal-body {
    padding: 24px;
}

.size-modal-body h4 {
    font-family: 'Baloo 2', cursive;
    color: var(--gray-dark);
    font-size: 1.1rem;
    margin-bottom: 16px;
    text-align: center;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.size-option {
    padding: 16px 20px;
    border: 2px solid var(--pink-main);
    background: var(--white);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-dark);
    transition: all var(--transition-fast);
    text-align: center;
}

.size-option:hover {
    border-color: var(--pink-dark);
    background: var(--pink-light);
}

.size-option.selected {
    background: var(--pink-dark);
    color: white;
    border-color: var(--pink-dark);
    transform: scale(1.05);
}

.size-modal-content>.btn {
    margin: 0 24px 24px;
    width: calc(100% - 48px);
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */

.checkout-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 20px;
}

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

.checkout-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 32px;
    text-align: center;
    transform: scale(0.9);
    transition: all var(--transition-normal);
}

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

.checkout-header {
    margin-bottom: 32px;
}

.checkout-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 24px;
    border-radius: var(--radius-full);
}

.checkout-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.checkout-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.checkout-items {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.checkout-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.checkout-item-name {
    color: var(--gray-dark);
    font-weight: 600;
}

.checkout-item-details {
    grid-column: 1;
    font-size: 0.85rem;
    color: var(--gray);
}

.checkout-item-price {
    grid-column: 2;
    grid-row: 1 / 3;
    font-weight: 700;
    color: var(--pink-dark);
    display: flex;
    align-items: center;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 28px;
}

#checkoutTotal {
    color: var(--pink-dark);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.checkout-form input {
    padding: 16px 20px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 4px rgba(231, 84, 128, 0.1);
}

.btn-whatsapp {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    background: #25D366;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.btn-link {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

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

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gray-dark);
    color: white;
    padding: 18px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    opacity: 0;
    transition: all var(--transition-normal);
    max-width: 90%;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.toast-warning {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.toast-icon {
    font-size: 1.3rem;
    font-weight: bold;
}

.toast-message {
    font-size: 0.95rem;
    line-height: 1.4;
}

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

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-content {
        padding: 10px 16px;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 250px;
    }

    .catalog,
    .contact {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .category-filters {
        gap: 10px;
        margin-bottom: 30px;
    }

    .category-tag {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }

    .product-image {
        height: 280px;
    }

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

    .cart-sidebar {
        width: 100%;
        right: -100%;
        height: 100dvh;
    }

    .cart-footer {
        padding-bottom: calc(24px + 60px);
        /* Evita que a barra de navegação cubra o botão */
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        padding: 15px 16px;
        min-height: 70px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .product-image {
        height: 380px;
        /* Mantém altura desktop para não cortar */
    }

    .product-name {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .size-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .checkout-content {
        padding: 30px 20px;
    }
}

/* Accessibility - Focus States */
*:focus-visible {
    outline: 3px solid var(--pink-dark);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .header,
    .cart-btn,
    .cart-sidebar,
    .size-modal,
    .checkout-modal,
    .toast {
        display: none !important;
    }
}