/* ==========================================
   DOCES RJ - CSS COMPLETO E FUNCIONAL
   ========================================== */

/* RESET E VARIÁVEIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CORREÇÃO VIEWPORT MOBILE */
html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Previne elementos saindo da tela */
.ds-section,
.ds-container {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    /* Cores */
    --ds-pink: #FFB6C1;
    --ds-pink-dark: #FF91A4;
    --ds-brown: #8B4513;
    --ds-brown-light: #D2691E;
    --ds-cream: #FFF8DC;
    --ds-vanilla: #F3E5AB;
    --ds-chocolate: #3E2723;
    --ds-mint: #B2DFDB;
    --ds-berry: #FF69B4;
    --ds-caramel: #FFD59E;
    --ds-white: #FFFFFF;
    --ds-black: #212121;
    --ds-gray: #757575;
    --ds-gray-light: #F5F5F5;
    
    /* Espaçamentos */
    --ds-spacing-xs: 0.25rem;
    --ds-spacing-sm: 0.5rem;
    --ds-spacing-md: 1rem;
    --ds-spacing-lg: 1.5rem;
    --ds-spacing-xl: 2rem;
    --ds-spacing-xxl: 3rem;
    
    /* Fontes */
    --ds-font-primary: 'Open Sans', sans-serif;
    --ds-font-display: 'Pacifico', cursive;
    
    /* Sombras */
    --ds-shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --ds-shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --ds-shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    /* Z-index hierarchy */
    --z-navbar: 1000;
    --z-overlay: 1500;
    --z-sidebar: 2000;
    --z-lightbox: 3000;
    --z-notification: 10000;
}

/* BASE */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ds-font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ds-black);
    background-color: var(--ds-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ds-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ds-spacing-md);
}

/* TIPOGRAFIA */
.ds-section-title {
    font-family: var(--ds-font-display);
    font-size: 2.5rem;
    color: var(--ds-brown);
    text-align: center;
    margin-bottom: var(--ds-spacing-sm);
}

.ds-section-subtitle {
    font-size: 1.1rem;
    color: var(--ds-gray);
    text-align: center;
    margin-bottom: var(--ds-spacing-xl);
}

/* BOTÕES */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.ds-btn-primary {
    background: linear-gradient(135deg, var(--ds-pink), var(--ds-berry));
    color: var(--ds-white);
}

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

.ds-btn-whatsapp {
    background: #25D366;
    color: var(--ds-white);
    width: 100%;
}

.ds-btn-outline {
    background: transparent;
    color: var(--ds-brown);
    border: 2px solid var(--ds-brown);
}

.ds-btn-add {
    width: 100%;
    background: var(--ds-caramel);
    color: var(--ds-brown);
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 20px;
    min-height: 60px;
    border-radius: 12px;
    margin-top: 15px;
    letter-spacing: 0.3px;
}

.ds-btn-add:active {
    transform: scale(0.98);
    background: #e6b800;
}

/* NAVBAR */
.ds-navbar {
    position: sticky;
    top: 0;
    background: var(--ds-white);
    box-shadow: var(--ds-shadow-sm);
    z-index: 1000;  /* CERTIFIQUE-SE que seja 1000, NÃO 9999 */
    padding: var(--ds-spacing-sm) 0;
    transition: transform 0.3s ease;
}

.ds-navbar .ds-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ds-navbar-brand .ds-logo {
    height: 50px;
    width: auto;
}

.ds-navbar-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--ds-brown);
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    z-index: var(--z-sidebar);
}

.ds-navbar-content {
    display: flex;
    align-items: center;
}

.ds-navbar-menu {
    display: flex;
    list-style: none;
    gap: var(--ds-spacing-lg);
    align-items: center;
    margin: 0;
    padding: 0;
}

.ds-navbar-menu a {
    color: var(--ds-brown);
    text-decoration: none;
    font-weight: 500;
    padding: var(--ds-spacing-sm);
    transition: color 0.3s ease;
}

.ds-navbar-menu a:hover {
    color: var(--ds-berry);
}

.ds-navbar-cart {
    position: relative;
    font-size: 1.25rem;
    color: var(--ds-brown);
    cursor: pointer;
    padding: var(--ds-spacing-sm);
    margin-left: var(--ds-spacing-md);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.ds-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--ds-berry);
    color: var(--ds-white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* OVERLAYS */
.ds-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Overlay específico do menu mobile */
.ds-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    /*  z-index: 2000; Abaixo do menu (2001) */
    display: none;
}

/* MOBILE MENU */
@media (max-width: 768px) {
    .ds-navbar-toggle {
        display: flex;
    }
    
	.ds-navbar-content {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--ds-white);
        padding: 80px 20px 20px;
        z-index: 2001; /* DEVE ser 2001 - maior que overlay */
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .ds-navbar-content.active {
        right: 0; /* MUDANÇA CRÍTICA */
    }
    
    .ds-navbar-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        align-items: flex-start;
    }
    
    .ds-navbar-menu li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--ds-gray-light);
    }
    
    .ds-navbar-menu a {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 1.1rem;
    }
}

/* CARRINHO SIDEBAR */
.ds-cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* MUDANÇA CRÍTICA: valor fixo em pixels */
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--ds-white);
    z-index: var(--z-sidebar);
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain; /* ADICIONE ESTA LINHA */
}

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

.ds-cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--ds-gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    flex-shrink: 0;
}

.ds-cart-header h3 {
    color: var(--ds-brown);
    margin: 0;
    font-size: 1.3rem;
}

.ds-cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.ds-cart-close:hover {
    background: #e9ecef;
}

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

.ds-cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--ds-gray-light);
    gap: 10px;
}

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

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

.ds-cart-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.ds-cart-item-price {
    color: var(--ds-berry);
    font-weight: 600;
    font-size: 1.1rem;
}

.ds-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--ds-berry);
    background: white;
    color: var(--ds-berry);
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ds-quantity-btn:hover {
    background: var(--ds-berry);
    color: white;
}

.ds-quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
    color: var(--ds-brown);
}

.ds-cart-item-remove {
    background: #ff4757;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ds-cart-item-remove:hover {
    background: #ff3742;
    transform: scale(1.1);
}

/* FOOTER DO CARRINHO - STICKY BOTTOM */
.ds-cart-footer {
    position: sticky;
    bottom: 0;
    padding: 20px;
    border-top: 1px solid var(--ds-gray-light);
    background: #f8f9fa;
    flex-shrink: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.ds-btn-clear-cart {
    width: 100%;
    background: #dc3545;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.ds-btn-clear-cart:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.ds-btn-clear-cart i {
    margin-right: 5px;
}

.ds-cart-total {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    padding: 15px;
    background: var(--ds-white);
    border-radius: 10px;
    border: 2px solid var(--ds-berry);
    font-weight: bold;
}

.ds-cart-empty {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
    font-size: 1.1rem;
}

/* MOBILE CART */
@media (max-width: 768px) {
    .ds-cart-sidebar {
        width: 100vw;
        max-width: none;
    }
    
    .ds-cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    
    .ds-cart-item-controls {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }
}

/* SECTIONS */
.ds-section {
    padding: var(--ds-spacing-xxl) 0;
    position: relative;
}

.ds-section:nth-child(even) {
    background: #f1d9d9;
}

/* CAROUSEL */
.ds-carousel-hero {
    padding: 0;
    position: relative;
}

.ds-carousel-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.ds-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.ds-carousel-slide.active {
    opacity: 1;
}

.ds-carousel-slide:nth-child(1) {
    background: linear-gradient(135deg, var(--ds-cream), var(--ds-vanilla));
}

.ds-carousel-slide:nth-child(2) {
    background: linear-gradient(135deg, var(--ds-pink), var(--ds-berry));
}

.ds-carousel-slide:nth-child(3) {
    background: linear-gradient(135deg, var(--ds-mint), var(--ds-caramel));
}

.ds-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ds-carousel-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ds-carousel-image .ds-placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(135deg, #8B4513, #FFD59E);
    color: white;
    font-size: 3rem;
}

.ds-carousel-image .ds-placeholder-image span {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ds-carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    background: rgba(0, 0, 0, 0.22);
    padding: 30px;
    border-radius: 15px;
    max-width: 90%;
}

.ds-carousel-slide:nth-child(2) .ds-carousel-content {
    color: var(--ds-white);
}

.ds-carousel-content h1 {
    font-family: var(--ds-font-display);
    font-size: 3rem;
    margin-bottom: var(--ds-spacing-md);
    line-height: 1.2;
}

.ds-carousel-content p {
    font-size: 1.2rem;
    margin-bottom: var(--ds-spacing-xl);
    line-height: 1.6;
}

.ds-carousel-prev,
.ds-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--ds-brown);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-carousel-prev {
    left: 20px;
}

.ds-carousel-next {
    right: 20px;
}

.ds-carousel-prev:hover,
.ds-carousel-next:hover {
    background: var(--ds-white);
    transform: translateY(-50%) scale(1.1);
}

.ds-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--ds-spacing-sm);
    z-index: 100;
}

.ds-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--ds-white);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ds-indicator.active {
    background: var(--ds-white);
}

.ds-indicator:hover {
    transform: scale(1.2);
}

/* MOBILE CAROUSEL */
@media (max-width: 768px) {
    .ds-carousel-container {
        height: 400px;
    }
    
    .ds-carousel-content {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        padding: 20px;
        margin-top: 20px;
    }
    
    .ds-carousel-content h1 {
        font-size: 2rem;
    }
    
    .ds-carousel-content p {
        font-size: 1rem;
    }
    
    .ds-carousel-prev,
    .ds-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .ds-carousel-prev {
        left: 10px;
    }
    
    .ds-carousel-next {
        right: 10px;
    }
}

/* FILTROS */
.ds-category-filters {
    display: flex;
    justify-content: center;
    gap: var(--ds-spacing-md);
    margin-bottom: var(--ds-spacing-xl);
    flex-wrap: wrap;
}

.ds-filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--ds-caramel);
    background: var(--ds-white);
    color: var(--ds-brown);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
}

.ds-filter-btn.active,
.ds-filter-btn:hover {
    background: var(--ds-caramel);
    color: var(--ds-brown);
}

/* PRODUTOS */
.ds-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--ds-spacing-lg);
}

.ds-product-card {
    background: var(--ds-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--ds-shadow-sm);
    transition: all 0.3s ease;
}

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

.ds-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ds-product-placeholder {
    background: linear-gradient(135deg, var(--ds-cream), var(--ds-vanilla));
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--ds-brown);
    border: 3px dashed var(--ds-caramel);
}

.ds-product-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Variações de placeholder */
.ds-product-placeholder.ds-nutella {
    background: linear-gradient(135deg, #7B3F00, #8B4513);
    color: var(--ds-white);
    border: 3px dashed #D2691E;
}

.ds-product-placeholder.ds-ninho {
    background: linear-gradient(135deg, #FFFDD0, #F0E68C);
    color: var(--ds-brown);
    border: 3px dashed #FFD700;
}

.ds-product-placeholder.ds-doce-leite {
    background: linear-gradient(135deg, #C4915C, #8B7355);
    color: var(--ds-white);
    border: 3px dashed #DEB887;
}

.ds-product-placeholder.ds-red-velvet {
    background: linear-gradient(135deg, #8B0000, #DC143C);
    color: var(--ds-white);
    border: 3px dashed #FF69B4;
}

.ds-product-placeholder.ds-macaron {
    background: linear-gradient(135deg, var(--ds-pink), var(--ds-mint));
    border: 3px dashed var(--ds-berry);
}

.ds-product-placeholder.ds-donut {
    background: linear-gradient(135deg, #FF69B4, #FFB6C1);
    color: var(--ds-white);
    border: 3px dashed #FFB6C1;
}

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

.ds-product-info h3 {
    font-size: 1.2rem;
    color: var(--ds-brown);
    margin-bottom: var(--ds-spacing-xs);
}

.ds-product-info p {
    color: var(--ds-gray);
    margin-bottom: var(--ds-spacing-md);
}

.ds-price {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--ds-berry);
    margin-bottom: var(--ds-spacing-md);
}

.ds-gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ABOUT */
.ds-about-content {
    display: flex;
    align-items: center;
    gap: var(--ds-spacing-xxl);
}

.ds-about-text {
    flex: 1;
}

.ds-about-text h2 {
    font-family: var(--ds-font-display);
    color: var(--ds-brown);
    font-size: 2.5rem;
    margin-bottom: var(--ds-spacing-md);
}

.ds-features-list {
    list-style: none;
    margin: var(--ds-spacing-lg) 0;
    text-align: left;
}

.ds-features-list li {
    padding: var(--ds-spacing-sm) 0;
    color: var(--ds-gray);
}

.ds-features-list i {
    color: var(--ds-berry);
    margin-right: var(--ds-spacing-sm);
}

.ds-about-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.ds-about-image .ds-placeholder-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--ds-caramel), var(--ds-vanilla));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--ds-brown);
    font-size: 3rem;
    box-shadow: var(--ds-shadow-lg);
    margin: 0 auto;
    padding: 15px;
}

.ds-about-badge {
    position: absolute;
    bottom: -20px;
    right: 50px;
    background: var(--ds-berry);
    color: var(--ds-white);
    padding: var(--ds-spacing-md);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ds-shadow-md);
    text-align: center;
}

.ds-about-badge span {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.ds-about-badge small {
    font-size: 0.7rem;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .ds-about-content {
        flex-direction: column;
        text-align: center;
    }
}

/* GALLERY */
.ds-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--ds-spacing-md);
}

.ds-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

.ds-gallery-item:hover {
    transform: scale(1.05);
}

.ds-gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-gallery-item .ds-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ds-mint), var(--ds-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--ds-white);
}

.ds-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 105, 180, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ds-gallery-item:hover .ds-gallery-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .ds-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* LIGHTBOX MODERNO E RESPONSIVO */
.ds-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-lightbox);
    overscroll-behavior: contain;
}

.ds-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.ds-lightbox-image {
    max-width: 90vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    transition: opacity 0.2s ease;
}

.ds-lightbox-image:active {
    cursor: grabbing;
}

.ds-lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 24px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    max-width: 90%;
}

.ds-lightbox-add-cart {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: var(--ds-caramel);
    color: var(--ds-brown);
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ds-lightbox-add-cart:hover {
    background: var(--ds-berry);
    color: white;
    transform: scale(1.05);
}

.ds-lightbox-add-cart i {
    margin-right: 5px;
}

.ds-lightbox-text {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 400;
}

.ds-lightbox-link {
    display: inline-block;
    color: var(--ds-pink);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s ease;
}

.ds-lightbox-link:hover {
    color: var(--ds-berry);
    text-decoration: underline;
}

.ds-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.ds-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.ds-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ds-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ds-lightbox-prev {
    left: 20px;
}

.ds-lightbox-next {
    right: 20px;
}

/* TABLET */
@media (max-width: 1024px) and (min-width: 769px) {
    .ds-lightbox-image {
        max-width: 85vw;
        max-height: 65vh;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .ds-lightbox-content {
        padding: 10px;
    }
    
    .ds-lightbox-image {
        max-width: 95vw;
        max-height: 60vh;
    }
    
    .ds-lightbox-caption {
        bottom: 60px;
        padding: 10px 20px;
    }
    
    .ds-lightbox-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .ds-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .ds-lightbox-prev {
        left: 10px;
    }
    
    .ds-lightbox-next {
        right: 10px;
    }
    
    .ds-lightbox-text {
        font-size: 13px;
    }
    
    .ds-lightbox-link {
        font-size: 12px;
    }
}

/* MOBILE PEQUENO */
@media (max-width: 380px) {
    .ds-lightbox-image {
        max-height: 50vh;
    }
    
    .ds-lightbox-nav {
        display: none; /* Só swipe em telas muito pequenas */
    }
}

/* TESTIMONIALS */
.ds-testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--ds-spacing-lg);
}

.ds-testimonial-card {
    background: var(--ds-white);
    padding: var(--ds-spacing-xl);
    border-radius: 15px;
    box-shadow: var(--ds-shadow-md);
}

.ds-stars {
    color: #FFD700;
    margin-bottom: var(--ds-spacing-md);
    font-size: 1.2rem;
}

.ds-testimonial-text {
    font-style: italic;
    color: var(--ds-gray);
    margin-bottom: var(--ds-spacing-lg);
    font-size: 1.1rem;
    line-height: 1.6;
}

.ds-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--ds-spacing-md);
}

.ds-testimonial-author .ds-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ds-caramel), var(--ds-brown));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ds-white);
    font-size: 1.5rem;
}

.ds-testimonial-author strong {
    display: block;
    color: var(--ds-brown);
    font-size: 1.1rem;
}

.ds-testimonial-author small {
    color: var(--ds-gray);
}

/* CTA */
.ds-cta {
    background: linear-gradient(135deg, var(--ds-pink), var(--ds-berry));
    color: #ed7bbe;
    text-align: center;
}

.ds-cta-content h2 {
    font-family: var(--ds-font-display);
    font-size: 2.5rem;
    margin-bottom: var(--ds-spacing-md);
}

.ds-cta-content p {
    margin-bottom: var(--ds-spacing-xl);
    opacity: 0.95;
    font-size: 1.2rem;
}

.ds-cta-buttons {
    display: flex;
    gap: var(--ds-spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .ds-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* CONTACT */
.ds-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ds-spacing-xxl);
}

.ds-contact-item {
    display: flex;
    gap: var(--ds-spacing-md);
    margin-bottom: var(--ds-spacing-xl);
}

.ds-contact-item i {
    font-size: 1.8rem;
    color: var(--ds-berry);
    width: 40px;
    flex-shrink: 0;
}

.ds-contact-item h4 {
    color: var(--ds-brown);
    font-size: 1.2rem;
    margin-bottom: var(--ds-spacing-xs);
}

.ds-contact-item p {
    color: var(--ds-gray);
}

.ds-form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: var(--ds-spacing-md);
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

@media (max-width: 768px) {
    .ds-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
.ds-footer {
    background: linear-gradient(135deg, #FF69B4 0%, #DDA0DD 50%, #DA70D6 100%);
    color: var(--ds-white);
    position: relative;
}

.ds-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: var(--ds-spacing-xxl);
}

.ds-footer h4 {
    font-size: 1.3rem;
    margin-bottom: var(--ds-spacing-md);
    color: var(--ds-caramel);
}

.ds-footer ul {
    list-style: none;
}

.ds-footer li {
    padding: var(--ds-spacing-xs) 0;
}

.ds-footer a {
    color: var(--ds-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.ds-footer a:hover {
    opacity: 1;
}

/* REDES SOCIAIS COM CORES REAIS */
.ds-social-links {
    display: flex;
    gap: var(--ds-spacing-md);
    margin-top: var(--ds-spacing-md);
}

.ds-social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    color: white;
}

/* Instagram - gradiente oficial */
.ds-social-links a:nth-child(1) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Facebook - azul oficial */
.ds-social-links a:nth-child(2) {
    background: #1877F2;
}

/* YouTube - vermelho oficial */
.ds-social-links a:nth-child(3) {
    background: #FF0000;
}

.ds-social-links a:hover {
    transform: scale(1.1);
}

.ds-newsletter-form {
    display: flex;
    gap: var(--ds-spacing-sm);
    margin-top: var(--ds-spacing-md);
}

.ds-newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.ds-newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--ds-berry);
    border: none;
    border-radius: 50%;
    color: var(--ds-white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ds-newsletter-form button:hover {
    transform: scale(1.1);
}

.ds-footer-bottom {
    text-align: center;
    padding-top: var(--ds-spacing-xl);
    margin-top: var(--ds-spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .ds-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* WHATSAPP FLOAT - PADRÃO COMERCIAL */
.ds-whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998; /* Abaixo do menu mas acima do conteúdo */
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

/* CART FLOAT BUTTON */
.ds-cart-float {
    position: fixed;
    bottom: 90px; /* Acima do WhatsApp */
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ds-pink), var(--ds-berry));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-cart 2s infinite;
}

.ds-cart-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.ds-cart-float i {
    font-size: 24px;
}

.ds-cart-float-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #FF0000;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
}

@keyframes pulse-cart {
    0% {
        box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 105, 180, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ds-cart-float {
        bottom: 85px;
        right: 15px;
        width: 56px;
        height: 56px;
    }
    
    .ds-cart-float i {
        font-size: 22px;
    }
}

.ds-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: white;
}

.ds-whatsapp-float i {
    font-size: 30px;
}

.ds-whatsapp-float span {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.ds-whatsapp-float:hover span {
    opacity: 1;
    right: 75px;
}

/* Animação pulsante do WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp Mobile - Mantém círculo */
@media (max-width: 768px) {
    .ds-whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 56px;
        height: 56px;
    }
    
    .ds-whatsapp-float i {
        font-size: 28px;
    }
    
    .ds-whatsapp-float span {
        display: none;
    }
}

/* NOTIFICAÇÕES */
.ds-notification {
    position: fixed !important;
    z-index: var(--z-notification) !important;
    pointer-events: auto !important;
}

/* MOBILE IMPROVEMENTS */
@media (max-width: 768px) {
    .ds-section-title {
        font-size: 2rem;
    }
    
    .ds-container {
        padding: 0 var(--ds-spacing-md);
    }
    
    /* Melhorar touch targets */
    .ds-btn,
    .ds-filter-btn,
    button,
    .ds-navbar-cart,
    .ds-navbar-toggle {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Scroll suave em mobile */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Notification mobile */
    .ds-notification {
        right: 10px !important;
        left: 10px !important;
        max-width: none !important;
        font-size: 13px !important;
    }
}

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

/* FOCUS STATES PARA ACESSIBILIDADE */
button:focus,
.ds-btn:focus,
a:focus {
    outline: 2px solid var(--ds-berry);
    outline-offset: 2px;
}

/* ESTADOS LOADING/DISABLED */
.ds-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.ds-btn-add.loading {
    position: relative;
    color: transparent;
}

.ds-btn-add.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: currentColor;
    animation: spin 1s linear infinite;
}

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

/* CORREÇÕES FINAIS PARA MOBILE */
@media (max-width: 480px) {
    /* Garantir que overlay funcione em telas muito pequenas */
    .ds-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
    }
    
    /* Ajustar lightbox para telas pequenas */
    .ds-lightbox-content {
        padding: 20px;
    }
    
    .ds-lightbox-image {
        max-width: 95vw !important;
        max-height: 50vh !important;
    }
    
    /* Ajustar carrossel */
    .ds-carousel-content {
        padding: 15px;
    }
    
    .ds-carousel-content h1 {
        font-size: 1.5rem;
    }
    
    .ds-carousel-content p {
        font-size: 0.9rem;
    }
}