:root {
    /* Paleta Preto e Branco Total */
    --preto-puro: #000000;
    --preto-95: #0d0d0d;
    --preto-90: #1a1a1a;
    --preto-85: #262626;
    --preto-80: #333333;
    --preto-70: #4d4d4d;
    --preto-60: #666666;
    --preto-50: #808080;
    --preto-40: #999999;
    --preto-30: #b3b3b3;
    --preto-20: #cccccc;
    --preto-10: #e6e6e6;
    --preto-5: #f2f2f2;
    --branco-puro: #ffffff;
    
    /* Fontes */
    --fonte-titulo: 'Montserrat', sans-serif;
    --fonte-texto: 'Inter', sans-serif;
    
    /* Transições */
    --transicao-rapida: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transicao-media: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transicao-lenta: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-texto);
    font-weight: 400;
    color: var(--preto-70);
    background-color: var(--branco-puro);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulo);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--preto-90);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transicao-media);
}

.header.scrolled {
    padding: 16px 40px;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--fonte-titulo);
    font-size: 28px;
    font-weight: 600;
    color: var(--preto-puro);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--preto-70);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: var(--transicao-rapida);
    position: relative;
}

.nav-link:hover {
    color: var(--preto-puro);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--preto-puro);
    transition: var(--transicao-media);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 18px;
    color: var(--preto-70);
    transition: var(--transicao-rapida);
}

.cart-icon:hover {
    color: var(--preto-puro);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--preto-puro);
    color: var(--branco-puro);
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: var(--transicao-rapida);
}

.cart-icon.has-items .cart-count {
    background-color: #4CAF50;
    animation: pulse 1s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--preto-70);
    cursor: pointer;
    transition: var(--transicao-rapida);
}

.menu-toggle:hover {
    color: var(--preto-puro);
}

/* CARRINHO SIDEBAR */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transicao-media);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--branco-puro);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transicao-media);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--preto-10);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--preto-90);
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--preto-60);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transicao-rapida);
}

.cart-close:hover {
    background-color: var(--preto-5);
    color: var(--preto-puro);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--preto-40);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-empty p {
    font-size: 16px;
    margin: 0;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--preto-10);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--preto-5);
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--preto-90);
    margin: 0;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--preto-puro);
    margin: 0;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--preto-5);
    border-radius: 8px;
    padding: 4px;
}

.quantity-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--preto-60);
    font-size: 14px;
    transition: var(--transicao-rapida);
}

.quantity-btn:hover {
    background-color: var(--preto-10);
    color: var(--preto-puro);
}

.quantity-display {
    font-size: 14px;
    font-weight: 600;
    color: var(--preto-90);
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: var(--preto-40);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transicao-rapida);
    display: flex;
    align-items: center;
    gap: 4px;
}

.remove-item:hover {
    color: #e53935;
    background-color: rgba(229, 57, 53, 0.1);
}

.cart-item-total {
    margin-top: 8px;
    font-size: 14px;
    color: var(--preto-60);
    padding-top: 8px;
    border-top: 1px solid var(--preto-10);
}

.cart-item-total strong {
    color: var(--preto-puro);
    font-weight: 600;
}

.cart-summary {
    padding: 24px;
    border-top: 1px solid var(--preto-10);
    background-color: var(--preto-5);
}

.cart-totals {
    margin-bottom: 24px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--preto-60);
}

.cart-total-row.total {
    font-size: 18px;
    font-weight: 600;
    color: var(--preto-90);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--preto-10);
}

.cart-subtotal,
.cart-total {
    font-weight: 600;
    color: var(--preto-puro);
}

.cart-shipping {
    color: var(--preto-40);
    font-size: 12px;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: #25D366;
    color: var(--branco-puro);
    border: none;
    border-radius: 8px;
    font-family: var(--fonte-texto);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transicao-rapida);
    margin-bottom: 16px;
}

.btn-checkout:hover:not(:disabled) {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-checkout:disabled {
    background-color: var(--preto-30);
    cursor: not-allowed;
    transform: none;
}

.cart-continue {
    text-align: center;
    margin: 0;
}

.cart-continue a {
    color: var(--preto-60);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transicao-rapida);
}

.cart-continue a:hover {
    color: var(--preto-puro);
}

/* Notificação de item adicionado */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 40px;
    background-color: var(--preto-puro);
    color: var(--branco-puro);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(150%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 350px;
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification i {
    font-size: 20px;
    color: #4CAF50;
}

.cart-notification-content {
    flex: 1;
}

.cart-notification-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-notification-message {
    font-size: 12px;
    opacity: 0.9;
    margin: 0;
}

/* Botão Adicionar ao Carrinho */
.btn-add-to-cart {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--preto-puro);
    color: var(--branco-puro);
    border: none;
    border-radius: 8px;
    font-family: var(--fonte-texto);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transicao-rapida);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart:hover {
    background-color: var(--preto-80);
    transform: translateY(-2px);
}

.btn-add-to-cart.added {
    background-color: #4CAF50;
    color: white;
}

.btn-add-to-cart.added i {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Botão específico para favoritos */
.favorite-btn {
    width: auto;
    padding: 8px 16px;
    font-size: 14px;
    margin-top: 10px;
    align-self: flex-start;
}

/* FULLSCREEN IMAGE */
.fullscreen-image {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.fullscreen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(110%);
    animation: zoomIn 20s ease infinite alternate;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
}

.image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: var(--branco-puro);
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* SECTION COMMON */
.section {
    padding: 100px 40px;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
    color: var(--preto-90);
}

.section-subtitle {
    text-align: center;
    color: var(--preto-60);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* BEST SELLERS */
.best-sellers {
    background-color: var(--branco-puro);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--branco-puro);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transicao-media);
    opacity: 0;
    transform: translateY(40px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-image-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--preto-5) 0%, var(--preto-10) 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao-lenta);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--preto-puro);
    color: var(--branco-puro);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 2;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 300px);
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--preto-90);
    margin-bottom: 8px;
}

.product-category {
    color: var(--preto-50);
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.product-price {
    margin-bottom: auto;
}

.price-current {
    font-size: 24px;
    font-weight: 600;
    color: var(--preto-puro);
}

/* IMAGE + TEXT SECTION */
.image-text-section {
    width: 100%;
    padding: 100px 40px;
    background-color: var(--preto-5);
}

.image-text-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--branco-puro);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.text-side {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--branco-puro);
}

.text-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--preto-puro);
    margin-bottom: 32px;
    line-height: 1.2;
}

.text-paragraph {
    font-size: 18px;
    color: var(--preto-60);
    line-height: 1.6;
    margin-bottom: 24px;
}

.text-paragraph:last-of-type {
    margin-bottom: 32px;
}

.hashtag-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--preto-50);
    background-color: var(--preto-5);
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 16px;
    letter-spacing: 0.1em;
    align-self: flex-start;
}

.image-side {
    position: relative;
    overflow: hidden;
}

.side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transicao-lenta);
}

.image-side:hover .side-image {
    transform: scale(1.05);
}

.image-side-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
}


/* STARS TRANSITION */
.stars-transition {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: var(--branco-puro);
    margin: 0;
    padding: 0;
}

.stars-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.star-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    animation: slideStars linear infinite;
}

.star-particle {
    font-size: 24px;
    color: var(--preto-30);
    opacity: 0;
    animation: twinkle 3s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.1));
}

/* Diferentes tamanhos para variedade */
.star-particle.small {
    font-size: 18px;
    opacity: 0.2;
    animation-duration: 4s;
}

.star-particle.medium {
    font-size: 24px;
    opacity: 0.3;
    animation-duration: 3.5s;
}

.star-particle.large {
    font-size: 32px;
    opacity: 0.4;
    animation-duration: 5s;
}

/* Animações */
@keyframes slideStars {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* Camadas com diferentes velocidades */
.star-layer:nth-child(1) {
    animation-duration: 20s;
    top: 20%;
}

.star-layer:nth-child(2) {
    animation-duration: 25s;
    top: 50%;
    animation-delay: 2s;
}

.star-layer:nth-child(3) {
    animation-duration: 30s;
    top: 80%;
    animation-delay: 5s;
}

/* Efeito de brilho adicional */
.star-particle:hover {
    color: var(--preto-10);
    filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

/* IMAGE + FAVORITES */
.image-favorites {
    width: 100%;
    padding: 100px 40px;
    background-color: var(--branco-puro);
}

.favorites-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

.favorites-image-side {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.favorites-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transicao-lenta);
}

.favorites-image-side:hover .favorites-image {
    transform: scale(1.05);
}

.favorites-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    border-radius: 24px;
}

.favorites-side {
    display: flex;
    flex-direction: column;
}

.favorites-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--preto-puro);
    margin-bottom: 16px;
}

.favorites-subtitle {
    color: var(--preto-60);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.favorite-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--preto-5);
    border-radius: 16px;
    transition: var(--transicao-media);
    opacity: 0;
    transform: translateY(20px);
    align-items: center;
}

.image-favorites.visible .favorite-item {
    opacity: 1;
    transform: translateY(0);
}

.favorite-item:nth-child(1) { transition-delay: 0.1s; }
.favorite-item:nth-child(2) { transition-delay: 0.2s; }
.favorite-item:nth-child(3) { transition-delay: 0.3s; }
.favorite-item:nth-child(4) { transition-delay: 0.4s; }

.favorite-item:hover {
    background-color: var(--preto-10);
    transform: translateX(5px);
}

.favorite-image-icon {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--preto-5) 0%, var(--preto-10) 100%);
}

.favorite-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(110%);
    transition: var(--transicao-media);
}

.favorite-item:hover .favorite-thumbnail {
    transform: scale(1.1);
    filter: grayscale(70%) contrast(110%);
}

.favorite-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco-puro);
    font-size: 20px;
    transition: var(--transicao-media);
}

.favorite-item:hover .favorite-icon-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.favorite-content {
    flex: 1;
}

.favorite-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.favorite-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--preto-90);
    margin-bottom: 8px;
}

.favorite-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--preto-puro);
    background-color: var(--preto-10);
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
}

.favorite-description {
    color: var(--preto-60);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 12px;
}

.favorite-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.favorite-rating i {
    color: var(--preto-50);
    font-size: 14px;
}

.favorite-rating i.fa-star {
    color: var(--preto-70);
}

.rating-text {
    color: var(--preto-60);
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
}

/* FOOTER */
.footer {
    background-color: var(--preto-95);
    color: var(--preto-20);
    padding: 80px 40px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--fonte-titulo);
    font-size: 32px;
    font-weight: 600;
    color: var(--branco-puro);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.footer-description {
    color: var(--preto-40);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--preto-85);
    color: var(--preto-30);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transicao-rapida);
}

.social-link:hover {
    background-color: var(--preto-70);
    color: var(--branco-puro);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--branco-puro);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 12px;
}

.footer-link a {
    color: var(--preto-40);
    text-decoration: none;
    transition: var(--transicao-rapida);
    font-size: 15px;
}

.footer-link a:hover {
    color: var(--branco-puro);
    padding-left: 5px;
}

.footer-info {
    color: var(--preto-50);
    font-size: 14px;
    line-height: 1.6;
}

.footer-info i {
    margin-right: 8px;
    width: 20px;
    color: var(--preto-40);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--preto-85);
    color: var(--preto-50);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ========== BOTÃO WHATSAPP ========== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9997;
    animation: floatWhatsApp 3s ease-in-out infinite;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.whatsapp-link i {
    font-size: 32px;
    color: white;
    transition: transform 0.3s ease;
    z-index: 1;
}

.whatsapp-link:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-link:hover i {
    transform: rotate(10deg) scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--preto-puro);
    color: var(--branco-puro);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--preto-puro);
}

.whatsapp-link:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Animação de flutuação */
@keyframes floatWhatsApp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}



/* Ajuste para carrinho vazio */
#cartEmpty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

#cartEmpty i {
    font-size: 48px;
    color: var(--preto-30);
    margin-bottom: 20px;
}

#cartEmpty p {
    color: var(--preto-50);
    font-size: 16px;
    margin: 0;
}

/* Quando há itens, esconder o carrinho vazio */
.cart-items:has(.cart-item:not(.cart-empty)) #cartEmpty {
    display: none !important;
}

/* Feedback visual para botões adicionar */
.btn-add-to-cart.adding {
    background-color: var(--preto-60) !important;
    cursor: wait;
}

.btn-add-to-cart.added {
    background-color: #4CAF50 !important;
    animation: successPulse 0.6s;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Contador do carrinho animado */
.cart-count.bounce {
    animation: bounceCount 0.3s ease;
}

@keyframes bounceCount {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Animação de entrada dos itens do carrinho */
.cart-item.fade-in {
    animation: fadeInItem 0.4s ease forwards;
    opacity: 0;
}

@keyframes fadeInItem {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste para quando o carrinho estiver aberto */
.cart-sidebar.active ~ .whatsapp-button {
    right: 430px;
    transition: right 0.3s ease;
}

@media (max-width: 768px) {
    .cart-sidebar.active ~ .whatsapp-button {
        right: 20px;
    }
}

/* Adicionar ao final do style.css */

/* Loading states */
.loading-products {
    text-align: center;
    padding: 60px;
    color: var(--preto-60);
}

.loading-products i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Botão de atualização */
.btn-sync {
    background-color: var(--azul-admin);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-sync:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-sync.syncing {
    background-color: var(--preto-40);
    cursor: wait;
}

.btn-sync.syncing i {
    animation: spin 1s linear infinite;
}

/* style.css - ADICIONE ISSO */
.portfolio-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.user-avatar-container {
    position: relative;
}

/* ========== CARROSSEL PROFISSIONAL ========== */

.portfolio-section {
    background-color: var(--branco-puro);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.portfolio-carousel {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px;
    background-color: var(--preto-5);
    min-height: 450px;
}

/* Cards do portfólio */
.portfolio-item {
    background: var(--branco-puro);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--preto-5) 0%, var(--preto-10) 100%);
    transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--preto-90);
    margin-bottom: 8px;
    line-height: 1.3;
}

.portfolio-description {
    color: var(--preto-60);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-category {
    display: inline-block;
    background-color: var(--preto-5);
    color: var(--preto-70);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

/* Botões de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--branco-puro);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--preto-70);
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--preto-puro);
    color: var(--branco-puro);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Indicadores (bolinhas) */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--preto-10);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--preto-puro);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: var(--preto-50);
}

/* Contador automático */
.carousel-timer {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--preto-50);
    font-size: 14px;
}

.timer-bar {
    width: 100px;
    height: 2px;
    background: var(--preto-10);
    border-radius: 2px;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    background: var(--preto-puro);
    width: 0%;
    transition: width 10s linear;
}

.timer-progress.running {
    width: 100%;
}



/* Garantir que os botões sejam clicáveis */
.carousel-btn {
    cursor: pointer;
    z-index: 100;
    pointer-events: auto !important;
}

/* Garantir que os indicadores sejam clicáveis */
.carousel-indicator {
    cursor: pointer;
    pointer-events: auto !important;
}

/* Feedback visual para botões ativos */
.carousel-btn:active {
    transform: translateY(-50%) scale(0.95) !important;
}

.carousel-indicator:active {
    transform: scale(0.9);
}

/* Estilos para estado foco (acessibilidade) */
.carousel-btn:focus {
    outline: 2px solid var(--preto-puro);
    outline-offset: 2px;
}

.carousel-indicator:focus {
    outline: 2px solid var(--preto-puro);
    outline-offset: 2px;
}

/* Garantir que o track não bloqueie cliques */
.carousel-track {
    pointer-events: none;
}

/* Mas os itens dentro podem ter interações */
.portfolio-item {
    pointer-events: auto;
}

/* Classe para leitores de tela (acessibilidade) */
.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;
}

/* Forçar a exibição de imagens do Google Drive */
.product-card img, 
.portfolio-item img,
img[src*="google.com/uc"] {
    display: block !important;
    width: 100% !important; /* Ocupa a largura do card */
    aspect-ratio: 1 / 1 !important; /* Mantém o formato quadrado 1024x1024 */
    object-fit: cover !important; /* Corta sobras sem distorcer */
    background-color: #f2f2f2; /* Cor de fundo enquanto carrega */
    visibility: visible !important;
    opacity: 1 !important;
}

/* Garante que o container da imagem tenha espaço para os 1024px proporcionais */
.product-image-container, .portfolio-item {
    overflow: hidden;
    background: #f9f9f9;
    position: relative;
    min-height: 250px; /* Ou o tamanho que você deseja que apareça no card */
}

.product-card img, .portfolio-item img {
    display: block !important;
    object-fit: cover !important; /* Faz a imagem 1024x1024 preencher o espaço sem deformar */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Feedback visual de adicionar ao carrinho */
.btn-add-to-cart.added {
    background-color: #28a745 !important;
    color: white !important;
}

.cart-count.bounce {
    animation: bounce 0.3s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Adicione isso no seu style.css */
.quantity-btn i, .remove-item i {
    pointer-events: none;
}

.quantity-display {
    display: inline-block;
    min-width: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

/* Evita que o layout "pule" quando o número aumenta */
.cart-item-total strong {
    transition: color 0.2s ease;
}


/* Bloqueia qualquer botão ou ícone indesejado vindo do carrossel para os queridinhos */
.favorite-item::before, 
.favorite-item::after,
.favorite-image-icon::before,
.favorite-image-icon::after {
    display: none !important;
    content: none !important;
}

/* Garante que o botão de adicionar ao carrinho não seja afetado */
.favorite-item .btn-add-to-cart {
    display: flex !important;
}

/* Ajuste para o scroll suave e margem do menu fixo */
html { scroll-behavior: smooth; }
#best-sellers, #portfolio, #queridinhos { scroll-margin-top: 100px; }

/* --- ESTILO QUERIDINHOS (COLORIDO E COM TEXTO NO CARD) --- */

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 80px; 
    padding: 60px 20px;
}

.favorite-item {
    background: var(--branco-puro);
    border: 1px solid var(--preto-10);
    border-radius: 12px;
    height: auto !important; 
    min-height: 140px; 
    padding: 20px 30px 20px 220px !important; 
    display: flex;
    align-items: center; 
    position: relative;
    margin-left: 60px;
    overflow: visible !important;
}

/* Container da Imagem */
.favorite-img-wrapper, 
.favorite-image-icon {
    position: absolute !important;
    left: -50px !important;     
    top: 50% !important;        
    transform: translateY(-50%) !important; 
    width: 200px !important;    
    height: 200px !important;
    z-index: 10 !important;
    background: none !important;
}

/* FOTO COLORIDA (Remoção do Grayscale) */
.favorite-img-wrapper img,
.favorite-image-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important; 
    border: 6px solid var(--branco-puro) !important; 
    box-shadow: 15px 15px 30px rgba(0,0,0,0.1) !important;
    
    /* ESTA LINHA ABAIXO TIRA O PRETO E BRANCO */
    filter: none !important; 
}

/* Conteúdo do Texto */
.favorite-content {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    gap: 10px; 
    width: 100%;
}

.favorite-name {
    font-size: 1.2rem !important;
    font-weight: 700;
    margin: 0;
    color: var(--preto-puro);
}

.favorite-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--preto-puro);
    margin: 0;
}

/* Botão Adicionar */
.favorite-add-btn {
    background: var(--preto-puro) !important;
    color: var(--branco-puro) !important;
    border: none !important;
    padding: 10px 20px !important;
    width: fit-content !important; 
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transicao-rapida);
}

/* Limpeza */
.favorite-icon-overlay,
.favorite-image-icon::after {
    display: none !important;
}

/* ========== PÁGINA DE PRODUTOS ========== */

/* Hero da página de produtos */
.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--branco-puro);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--branco-puro);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Filtros */
.filters-section {
    background-color: var(--preto-5);
    padding: 40px;
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-weight: 500;
    color: var(--preto-70);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid var(--preto-10);
    border-radius: 8px;
    background: var(--branco-puro);
    font-family: var(--fonte-texto);
    font-size: 15px;
    transition: var(--transicao-rapida);
}

.filter-select:focus {
    outline: none;
    border-color: var(--preto-30);
}

.search-group {
    display: flex;
    gap: 0;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--preto-10);
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-family: var(--fonte-texto);
    font-size: 15px;
    transition: var(--transicao-rapida);
}

.search-input:focus {
    outline: none;
    border-color: var(--preto-30);
}

.search-btn {
    padding: 12px 24px;
    background: var(--preto-puro);
    color: var(--branco-puro);
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: var(--transicao-rapida);
}

.search-btn:hover {
    background-color: var(--preto-70);
}

/* Meta info e visualização */
.products-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--preto-5);
    border-radius: 12px;
}

.meta-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.meta-info span {
    font-size: 14px;
    color: var(--preto-60);
}

#activeFilters {
    color: var(--preto-80);
    font-weight: 500;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--preto-10);
    background: var(--branco-puro);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--preto-60);
    transition: var(--transicao-rapida);
}

.view-btn:hover {
    border-color: var(--preto-30);
    color: var(--preto-80);
}

.view-btn.active {
    border-color: var(--preto-puro);
    background: var(--preto-puro);
    color: var(--branco-puro);
}

/* Visualização em lista */
.products-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-list-item {
    background: var(--branco-puro);
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: center;
    border: 1px solid var(--preto-10);
    transition: var(--transicao-media);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.product-list-item:hover {
    border-color: var(--preto-20);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.list-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--preto-5);
}

.list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.list-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--preto-90);
    margin: 0;
}

.list-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--preto-60);
    background: var(--preto-5);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.list-description {
    color: var(--preto-60);
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.list-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-rating i {
    color: var(--preto-50);
    font-size: 14px;
}

.list-rating .fa-star {
    color: #FFD700;
}

.list-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.list-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--preto-puro);
}

.list-btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* Seção de categorias */
.categories-section {
    background: var(--preto-5);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--branco-puro);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: var(--transicao-media);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--preto-10);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--preto-5) 0%, var(--preto-10) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--preto-70);
}

.category-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--preto-90);
    margin-bottom: 8px;
}

.category-count {
    color: var(--preto-60);
    font-size: 14px;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    padding: 10px 16px;
    border: 2px solid var(--preto-10);
    background: var(--branco-puro);
    border-radius: 8px;
    font-family: var(--fonte-texto);
    font-weight: 500;
    font-size: 14px;
    color: var(--preto-70);
    cursor: pointer;
    transition: var(--transicao-rapida);
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn:hover:not(.active) {
    border-color: var(--preto-30);
    color: var(--preto-90);
}

.page-btn.active {
    background: var(--preto-puro);
    color: var(--branco-puro);
    border-color: var(--preto-puro);
}

.page-btn.prev,
.page-btn.next {
    padding: 10px 20px;
}

/* Mensagem sem produtos */
.no-products {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: var(--preto-60);
}

.no-products i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-products h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.no-products p {
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto 20px;
}

/* Rating stars */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 8px 0;
}

.product-rating i {
    color: var(--preto-50);
    font-size: 14px;
}

.product-rating .fa-star {
    color: #FFD700;
}

.rating-value {
    font-size: 12px;
    color: var(--preto-60);
    margin-left: 8px;
    font-weight: 500;
}

/* Link admin no footer */
.admin-link {
    margin-top: 10px;
}

.admin-link a {
    color: var(--preto-60);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transicao-rapida);
}

.admin-link a:hover {
    color: var(--dourado);
}

/* Animação para entrada dos produtos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.product-list-item {
    animation: fadeInUp 0.5s ease forwards;
}


.top-bar {
    background-color: var(--preto-puro);
    color: var(--branco-puro);
    height: 30px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 10001; /* Garante que fica na frente do header e carrinho */
}

.marquee-wrapper {
    display: flex;
    width: max-content;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 35px; /* DISTÂNCIA ENTRE AS FRASES - diminua para ficarem mais perto */
    padding-right: 35px; /* Deve ser igual ao gap para o loop ser perfeito */
    animation: scroll-right 20s linear infinite;
}

.marquee-group span {
    white-space: nowrap;
    font-family: var(--fonte-texto);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ESTILO DO LINK DENTRO DO @ */
.marquee-group a {
    color: var(--branco-puro);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.3); /* Linha sutil embaixo do @ */
    transition: opacity 0.2s;
}

.marquee-group a:hover {
    opacity: 0.7;
}

@keyframes scroll-right {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* AJUSTES PARA O RESTO DO SITE */
.header {
    top: 30px !important; /* Move o header para baixo da barra */
}

body {
    padding-top: 30px; /* Compensa o espaço da barra no topo */
}

/* ========== OTIMIZAÇÃO PARA CELULAR ========== */

/* Reset para garantir consistência em mobile */
@media (max-width: 768px) {
    /* Ajuste geral do body */
    body {
        font-size: 15px;
        line-height: 1.5;
    }
    
    /* Ajuste da top-bar */
    .top-bar {
        height: 30px;
        font-size: 9px;
    }
    
    .marquee-group span {
        font-size: 9px;
    }
    
    .marquee-group {
        gap: 25px;
    }
    
    /* Header móvel */
    .header {
        padding: 15px 20px;
        top: 25px; /* Ajustado para a nova altura da top-bar */
    }
    
    .header.scrolled {
        padding: 10px 20px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    /* Menu hamburguer melhorado */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active {
        background-color: var(--preto-10);
    }
    
    .nav-links {
        position: fixed;
        top: 70px; /* Abaixo do header */
        left: 0;
        right: 0;
        background: var(--branco-puro);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: var(--preto-5);
    }
    
    /* Hero image mobile */
    .fullscreen-image {
        height: 70vh;
        margin-top: 0;
    }
    
    .image-content {
        padding: 0 20px;
        width: 100%;
    }
    
    /* Seções */
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    /* Produtos grid - 1 coluna */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .product-image-container {
        height: 250px;
    }
    
    /* Image + Text Section - layout vertical */
    .image-text-container {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }
    
    .image-side {
        height: 300px;
        order: 1;
    }
    
    .text-side {
        order: 2;
        padding: 40px 25px;
    }
    
    .text-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .text-paragraph {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hashtag-large {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Carrossel mobile */
    .carousel-container {
        padding: 0 10px;
    }
    
    .carousel-slide {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        min-height: auto;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        display: none; /* Escondemos em mobile por enquanto */
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    /* Carrossel swipe para mobile */
    .portfolio-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .portfolio-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-track {
        display: flex;
        scroll-snap-type: x mandatory;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }
    
    /* Estrelas mais simples */
    .stars-transition {
        height: 80px;
    }
    
    .star-particle {
        font-size: 16px;
    }
    
    /* Queridinhos - layout vertical */
    .favorites-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .favorites-image-side {
        height: 300px;
        border-radius: 16px;
    }
    
    .favorites-title {
        font-size: 32px;
    }
    
    .favorites-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    /* Ajuste dos cards queridinhos */
    .favorite-item {
        margin-left: 0;
        padding: 20px !important;
        flex-direction: column;
        text-align: center;
    }
    
    .favorite-img-wrapper,
    .favorite-image-icon {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto 20px auto;
    }
    
    .favorite-content {
        padding: 0;
    }
    
    .favorite-add-btn {
        width: 100% !important;
        justify-content: center;
    }
    
    /* Carrinho mobile */
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
    }
    
    .cart-header {
        padding: 20px;
    }
    
    .cart-items {
        padding: 20px;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cart-item-image {
        width: 100%;
        height: 150px;
    }
    
    .cart-item-controls {
        justify-content: center;
    }
    
    /* Footer mobile */
    .footer {
        padding: 50px 20px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Botão WhatsApp melhorado */
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-link i {
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    /* Loading screen */
    .loading-screen {
        font-size: 14px;
    }
    
    /* Produtos page - mobile */
    .filters-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .search-group {
        grid-column: 1;
    }
    
    .search-input {
        font-size: 16px; /* Evita zoom em iOS */
    }
    
    .products-meta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .view-options {
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    /* Prevenir zoom em inputs */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Melhorar toque em todos os botões */
    button, 
    .btn-add-to-cart, 
    .nav-link,
    .cart-icon,
    .quantity-btn,
    .view-btn {
        min-height: 44px; /* Tamanho mínimo para toque */
        min-width: 44px;
    }
    
    /* Suavizar animações */
    .product-card:hover {
        transform: none; /* Remove hover em mobile */
    }
    
    /* Garantir que imagens não quebrem layout */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Media query para telas muito pequenas (iPhone SE, etc) */
@media (max-width: 375px) {
    .section-title {
        font-size: 28px;
    }
    
    .product-image-container {
        height: 220px;
    }
    
    .fullscreen-image {
        height: 60vh;
    }
    
    .header {
        padding: 12px 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .cart-icon {
        font-size: 16px;
    }
    
    .btn-add-to-cart {
        font-size: 14px;
        padding: 12px;
    }
}

/* Media query para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-slide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .favorites-container {
        gap: 40px;
    }
    
    .section {
        padding: 80px 30px;
    }
}

/* Melhorias específicas para iOS */
@supports (-webkit-touch-callout: none) {
    .fullscreen-image {
        height: -webkit-fill-available;
    }
    
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .footer {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
}

/* Ajuste de scroll suave para mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 100px; /* Considera header fixo */
    }
    
    #best-sellers, 
    #portfolio, 
    #queridinhos, 
    #all-products {
        scroll-margin-top: 80px;
    }
}

/* Melhorar legibilidade de texto em mobile */
@media (max-width: 768px) {
    p, li, span, div {
        font-size: 16px; /* Tamanho mínimo confortável */
        line-height: 1.6;
        letter-spacing: 0.01em;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        letter-spacing: -0.01em;
    }
}

/* Otimizar performance de animações em mobile */
@media (max-width: 768px) {
    .star-layer {
        animation-duration: 30s;
    }
    
    .fullscreen-img {
        animation: none; /* Remove animação de zoom em mobile */
    }
}

/* ========== RESPONSIVIDADE PARA CELULARES (ATÉ 7 POLEGADAS) ========== */

/* Telas muito pequenas (iPhone 5/SE, Galaxy Fold, etc) */
@media (max-width: 320px) {
    body {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .top-bar {
        height: 28px;
        font-size: 8px;
    }
    
    .marquee-group span {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    
    .marquee-group {
        gap: 20px;
        padding-right: 20px;
    }
    
    .header {
        padding: 10px 15px;
        top: 28px !important;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .cart-icon {
        font-size: 16px;
    }
    
    .fullscreen-image {
        height: 50vh;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .products-grid {
        gap: 20px;
        padding: 0 5px;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .price-current {
        font-size: 20px;
    }
    
    .btn-add-to-cart {
        padding: 12px;
        font-size: 13px;
    }
    
    .cart-sidebar {
        width: 100%;
    }
    
    .cart-header {
        padding: 15px;
    }
    
    .cart-title {
        font-size: 20px;
    }
    
    .cart-items {
        padding: 15px;
    }
    
    .cart-item {
        padding: 12px 0;
        gap: 12px;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    
    .cart-item-name {
        font-size: 14px;
    }
    
    .cart-item-price {
        font-size: 14px;
    }
    
    .quantity-btn {
        width: 24px;
        height: 24px;
    }
    
    .favorite-item {
        padding: 15px !important;
        margin-left: 0;
    }
    
    .favorite-img-wrapper,
    .favorite-image-icon {
        width: 100px !important;
        height: 100px !important;
        margin-bottom: 15px;
    }
    
    .favorite-name {
        font-size: 1rem !important;
    }
    
    .favorite-price {
        font-size: 1.1rem;
    }
    
    .favorite-add-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    
    .footer {
        padding: 40px 15px 25px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-link i {
        font-size: 24px;
    }
}

/* Celulares pequenos (iPhone 6/7/8, Galaxy S8, etc) */
@media (min-width: 321px) and (max-width: 375px) {
    .top-bar {
        height: 28px;
    }
    
    .marquee-group span {
        font-size: 9px;
    }
    
    .header {
        padding: 12px 15px;
        top: 28px !important;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .fullscreen-image {
        height: 55vh;
    }
    
    .section {
        padding: 50px 15px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .favorite-img-wrapper,
    .favorite-image-icon {
        width: 110px !important;
        height: 110px !important;
    }
}

/* Celulares médios (iPhone X/11/12, Pixel, etc) */
@media (min-width: 376px) and (max-width: 425px) {
    .top-bar {
        height: 30px;
    }
    
    .header {
        top: 30px !important;
    }
    
    .fullscreen-image {
        height: 60vh;
    }
    
    .section {
        padding: 50px 20px;
    }
    
    .product-image-container {
        height: 220px;
    }
    
    .favorite-img-wrapper,
    .favorite-image-icon {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Celulares grandes (iPhone 12 Pro Max, Galaxy S21 Ultra, até 7 polegadas) */
@media (min-width: 426px) and (max-width: 768px) {
    .top-bar {
        height: 32px;
        font-size: 10px;
    }
    
    .marquee-group span {
        font-size: 10px;
    }
    
    .header {
        padding: 15px 20px;
        top: 32px !important;
    }
    
    .fullscreen-image {
        height: 65vh;
    }
    
    .section {
        padding: 60px 25px;
    }
    
    .product-image-container {
        height: 250px;
    }
    
    .favorite-img-wrapper,
    .favorite-image-icon {
        width: 140px !important;
        height: 140px !important;
    }
}

/* Ajustes gerais para todos os celulares (até 768px) */
@media (max-width: 768px) {
    /* Melhorias no menu mobile */
    .menu-toggle {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .menu-toggle:active {
        background-color: var(--preto-10);
    }
    
    .nav-links {
        position: fixed;
        top: calc(var(--header-height, 70px) + var(--topbar-height, 30px));
        left: 0;
        right: 0;
        background: var(--branco-puro);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 15px 20px;
        gap: 12px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
        display: block;
        text-align: center;
    }
    
    .nav-link:active {
        background-color: var(--preto-5);
    }
    
    /* Otimização de toque em botões */
    button,
    .btn-add-to-cart,
    .cart-icon,
    .quantity-btn,
    .view-btn,
    .carousel-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Ajustes no carrossel para swipe */
    .portfolio-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 10px;
    }
    
    .portfolio-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-track {
        display: flex;
        scroll-snap-type: x mandatory;
        padding: 0 10px;
    }
    
    .carousel-slide {
        flex: 0 0 calc(100% - 20px);
        scroll-snap-align: start;
        margin: 0 10px;
        padding: 20px;
        background-color: var(--branco-puro);
        border-radius: 16px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    /* Melhoria nas imagens para carregamento rápido */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Otimização de performance */
    .star-layer {
        animation-duration: 40s !important;
    }
    
    .fullscreen-img {
        animation: none !important;
    }
    
    /* Ajuste no scroll suave */
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 100px;
    }
    
    /* Garantir que inputs não deem zoom em iOS */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
        max-height: 44px;
    }
    
    /* Melhorias nos cards de produto */
    .product-card {
        margin: 0 auto;
        max-width: 100%;
        border-radius: 12px;
    }
    
    /* Ajuste no footer mobile */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
    
    /* Ajuste nas animações para melhor performance */
    .product-card,
    .portfolio-item,
    .favorite-item {
        transform: none !important;
        transition: none !important;
    }
    
    /* Corrige sobreposição com barra de navegação do celular */
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .whatsapp-button {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        right: 20px;
    }
    
    /* Ajuste no padding do conteúdo para safe areas */
    .header,
    .section,
    .footer {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    /* Melhor visibilidade do botão WhatsApp */
    .whatsapp-link {
        background-color: #25D366;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    
    .whatsapp-link:active {
        transform: scale(0.95);
    }
    
    /* Ajuste nos textos longos */
    .product-title,
    .portfolio-title,
    .favorite-name {
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Melhor contraste em telas pequenas */
    .price-current,
    .cart-item-price,
    .favorite-price {
        font-weight: 700;
    }
    
    /* Garantir que o carrinho não sobreponha elementos */
    .cart-sidebar {
        width: 100vw;
        max-width: 100vw;
    }
    
    /* Ajuste no espaçamento dos queridinhos */
    .favorite-item {
        margin: 0 10px 20px 10px;
        padding: 15px !important;
        text-align: center;
    }
    
    .favorite-img-wrapper,
    .favorite-image-icon {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        margin: 0 auto 15px auto;
    }
    
    .favorite-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .favorite-add-btn {
        width: 100% !important;
        justify-content: center;
        margin-top: 10px;
    }
}

/* Ajuste específico para telas landscape em celulares */
@media (max-width: 768px) and (orientation: landscape) {
    .fullscreen-image {
        height: 85vh;
    }
    
    .header {
        padding: 10px 20px;
    }
    
    .nav-links {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .favorite-img-wrapper,
    .favorite-image-icon {
        width: 100px !important;
        height: 100px !important;
    }
}

/* Otimização para dispositivos com notch */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .header {
            padding-top: max(15px, env(safe-area-inset-top));
        }
        
        .nav-links {
            top: max(70px, calc(env(safe-area-inset-top) + 40px));
        }
        
        .whatsapp-button {
            bottom: max(20px, env(safe-area-inset-bottom));
        }
    }
}

/* Prevenir bounce scroll em iOS */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: none;
    }
}

@media (max-width: 768px) {
    /* 1. GARANTIR QUE O CARRINHO FICHA ESCONDIDO POR PADRÃO */
    .cart-sidebar {
        position: fixed;
        top: 0;
        right: -100vw !important; /* Força estar fora da tela */
        width: 100vw;
        height: 100vh;
        background: var(--branco-puro);
        z-index: 9999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .cart-sidebar.active {
        right: 0 !important;
        transform: translateX(0);
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: all !important;
    }
    
    /* 2. OVERLAY DO CARRINHO */
    .cart-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0);
        z-index: 9998;
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: background 0.3s ease;
    }
    
    .cart-overlay.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(0, 0, 0, 0.5);
        pointer-events: all !important;
    }
    
    /* 3. REMOVER QUALQUER ESTILO QUE POSSA ESTAR MOSTRANDO O CARRINHO */
    .cart-sidebar:not(.active) {
        display: none !important;
    }
    
    /* 4. GARANTIR QUE O BODY NÃO TENHA OVERFLOW QUANDO CARRINHO ABRIR */
    body.cart-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

/* CORREÇÃO ESPECÍFICA PARA IPHONE 14 PLUS (428px) */
@media only screen 
    and (min-device-width: 414px) 
    and (max-device-width: 430px)
    and (-webkit-min-device-pixel-ratio: 3) {
    
    /* FORÇAR O CARRINHO A FICAR COMPLETAMENTE ESCONDIDO */
    .cart-sidebar {
        right: -430px !important;
        transform: translateX(430px);
    }
    
    .cart-sidebar.active {
        right: 0 !important;
        transform: translateX(0);
    }
}

/* GARANTIR QUE EM TODOS OS DISPOSITIVOS O CARRINHO INICIE ESCONDIDO */
.cart-sidebar {
    display: none;
}

.cart-sidebar.active {
    display: flex;
}
