/* ==========================================================================
   1. VARIÁVEIS GLOBAIS E RESET
   ========================================================================== */
:root {
    --bg-main: #0e0e10;
    --bg-card: #18181c;
    --bg-elevated: #141418;
    --text-primary: #f5f5f5;
    --text-muted: #c5c5c5;
    --gold: #d4af37;
    --gold-hover: #f3cf55;
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --drawer-width: 380px;
    --transition-drawer: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Acessibilidade — foco visível pra navegação por teclado */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Acessibilidade — respeita preferência de menos animação */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(14, 14, 16, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: padding 0.3s ease, background 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.btn-secondary {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--bg-main);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    transition: color 0.3s ease;
}

.btn-icon:hover {
    color: var(--gold);
}

.nav-wishlist-icon,
.nav-cart-icon {
    position: relative;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: color 0.3s ease;
    padding: 0.2rem;
}

.nav-wishlist-icon:hover,
.nav-cart-icon:hover {
    color: var(--gold);
}

.nav-wishlist-icon svg {
    transition: transform 0.3s ease;
}

.nav-wishlist-icon:hover svg {
    transform: scale(1.1);
}

.nav-cart-icon {
    font-size: 1.2rem;
}

#cart-count,
#wishlist-count {
    background: var(--gold);
    color: var(--bg-main);
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 1px 5px;
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}

/* ==========================================================================
   3. HERO
   ========================================================================== */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tagline {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.8rem;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.media-placeholder {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.media-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   4. BOTÕES GLOBAIS
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #0e0e10;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

/* ==========================================================================
   5. SEÇÃO CONCEITO
   ========================================================================== */
.concept-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.concept-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 3rem 2rem;
    border-radius: 12px;
    background: var(--bg-card);
}

.concept-box h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.concept-box p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ==========================================================================
   6. VITRINE DE PRODUTOS
   ========================================================================== */
.collection-section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 20;
    width: 100%;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-muted);
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: max-content;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.filter-btn:hover,
.filter-btn:active {
    color: #f5f5f5;
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(212, 175, 55, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #0e0e10;
    border-color: #d4af37;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.product-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.product-card.hide {
    display: none !important;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
}

.product-img {
    height: 320px;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.product-info h3:hover {
    color: var(--gold);
}

.gem-type {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.price {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.btn-add-cart {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--text-primary);
    padding: 0.7rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: var(--gold);
    color: var(--bg-main);
}

/* ==========================================================================
   7. BOTÃO DE FAVORITO NO CARD
   ========================================================================== */
.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
}

.btn-favorite:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
    transform: scale(1.08);
}

.btn-favorite svg {
    width: 20px;
    height: 20px;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.3s ease;
}

.btn-favorite.active {
    background: rgba(212, 175, 55, 0.95);
    border-color: #d4af37;
    color: #fff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-favorite.active svg {
    fill: #fff;
    animation: heartPop 0.4s ease;
}

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

/* ==========================================================================
   7.1 BADGE "ÚLTIMAS UNIDADES"
   ========================================================================== */
.low-stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 193, 7, 0.95);
    color: #0e0e10;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 4;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-transform: uppercase;
}

/* ==========================================================================
   8. MODAIS (Produto e Autenticação)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--gold);
    color: var(--bg-main);
    border-color: var(--gold);
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    max-width: 880px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

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

.modal-media-container {
    position: relative;
    height: 500px;
    background: #08080a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-media-wrapper {
    width: 100%;
    height: 100%;
}

.modal-media-wrapper video,
.modal-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: filter 0.3s ease;
}

.modal-media-wrapper video:hover,
.modal-media-wrapper img:hover {
    filter: brightness(1.08);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.modal-nav:hover {
    background: var(--gold);
    color: var(--bg-main);
    border-color: var(--gold);
}

.modal-nav.prev-btn {
    left: 12px;
}

.modal-nav.next-btn {
    right: 12px;
}

.gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 30;
}

.modal-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-ref-tag {
    font-size: 0.75rem;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.modal-info h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.modal-price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin: 1rem 0;
    font-family: var(--font-title);
}

.modal-section {
    margin-bottom: 1.2rem;
}

.modal-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c5c5c5;
    margin-bottom: 0.3rem;
}

.modal-section p {
    font-size: 0.9rem;
    color: #ddd;
    line-height: 1.5;
}

/* Hint de zoom */
.zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #d4af37;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-body);
}

.zoom-hint svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* — Modal de Autenticação — */
.auth-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

.modal-overlay.open .auth-card {
    transform: translateY(0);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.8rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.auth-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.auth-feedback {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    text-align: center;
    line-height: 1.4;
}

.auth-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff8e8e;
}

.auth-feedback.success {
    display: block;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #7ae096;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-form.active {
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8rem;
    color: #c5c5c5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.auth-form input.input-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.4);
}

.auth-form input.input-success {
    border-color: #6bfbce !important;
    box-shadow: 0 0 5px rgba(107, 251, 206, 0.3);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.3rem;
}

.forgot-password {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--gold);
}

.auth-switch-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.auth-switch-text a {
    color: var(--gold);
    text-decoration: underline;
    transition: color 0.3s;
}

.auth-switch-text a:hover {
    color: var(--gold-hover);
}

/* ==========================================================================
   9. DRAWERS (Carrinho e Favoritos)
   ========================================================================== */
.cart-drawer,
.wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--drawer-width);
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-elevated);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    transition: var(--transition-drawer);
    will-change: transform;
}

.cart-drawer.open,
.wishlist-drawer.open {
    transform: translateX(0);
}

.cart-header,
.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.cart-header h3,
.wishlist-header h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--gold);
}

.close-cart,
.close-wishlist {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-cart:hover,
.close-wishlist:hover {
    color: var(--gold);
}

.cart-items,
.wishlist-items {
    flex: 1;
    overflow-y: auto;
}

.cart-footer,
.wishlist-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.cart-item button {
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wishlist-empty {
    color: #c5c5c5;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.wishlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.8rem;
    gap: 0.5rem;
}

.wishlist-item-info {
    flex: 1;
    min-width: 0;
}

.wishlist-item-info h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #f5f5f5;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wishlist-item-info small {
    color: #d4af37;
    font-size: 0.75rem;
    display: block;
}

.wishlist-item-info .wishlist-price {
    font-size: 0.85rem;
    color: #c5c5c5;
    margin-top: 2px;
}

.wishlist-item-actions {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    flex-shrink: 0;
}

.wishlist-item-actions button {
    background: none;
    border: none;
    color: #d4af37;
    cursor: pointer;
    font-size: 1rem;
    min-width: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
    padding: 0;
}

.wishlist-item-actions button:hover {
    background: rgba(212, 175, 55, 0.15);
}

.wishlist-item-actions button.btn-remove-fav {
    color: #ff5555;
    font-size: 1.3rem;
    line-height: 1;
}

.wishlist-item-actions button.btn-remove-fav:hover {
    background: rgba(255, 85, 85, 0.15);
}

.shipping-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.2rem;
    transition: border-color 0.3s ease;
}

.shipping-box:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.shipping-label {
    display: block;
    font-size: 0.75rem;
    color: #d4b56e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.shipping-input-group {
    display: flex;
    gap: 0.6rem;
    width: 100%;
}

.shipping-input {
    flex: 1;
    min-width: 0;
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f5f5f5;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.shipping-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.btn-shipping {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #0e0e10;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-shipping:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.shipping-result-info {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   10. SEÇÃO CARROSSEL
   ========================================================================== */
.carousel-section {
    padding: 4rem 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 950px;
    height: 480px;
    margin: 2rem auto 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: #0b0b0b;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.slide-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
}

.slide-media video,
.slide-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: relative;
    z-index: 3;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    width: 100%;
}

.slide-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid #d4af37;
    color: #e5c76b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

.slide-content h3 {
    font-family: var(--font-title, serif);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.slide-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 750px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.4);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #d4af37;
    color: #000000;
}

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

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

.carousel-dots {
    position: absolute;
    bottom: 20px;
    right: 25px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px;
    box-sizing: content-box;
}

.dot.active {
    background: #d4af37;
    transform: scale(1.2);
}

/* ==========================================================================
   11. RODAPÉ
   ========================================================================== */
.footer {
    background: #09090b;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.footer-brand h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--gold);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: #999999;
}

/* ==========================================================================
   12. PHOTOSWIPE
   ========================================================================== */
.pswp {
    --pswp-bg: #0e0e10;
    --pswp-placeholder-bg: #141418;
    --pswp-root-z-index: 5000;
    --pswp-icon-color: #d4af37;
    --pswp-icon-color-secondary: #0e0e10;
    --pswp-icon-stroke-color: #0e0e10;
}

.pswp__top-bar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent) !important;
    padding: 0.5rem !important;
}

.pswp__counter {
    color: #d4af37 !important;
    font-family: var(--font-body) !important;
    letter-spacing: 1px;
}

.pswp__button {
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.pswp__button:hover {
    opacity: 1;
    transform: scale(1.08);
}

.pswp__button--arrow--prev,
.pswp__button--arrow--next {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    top: 50% !important;
    margin-top: -24px !important;
}

.pswp__button--arrow--prev {
    left: 20px !important;
}

.pswp__button--arrow--next {
    right: 20px !important;
}

.pswp__button--arrow--prev:hover,
.pswp__button--arrow--next:hover {
    background-color: #d4af37 !important;
}

.pswp__icn {
    color: #d4af37;
}

.pswp__icn-shadow {
    display: none;
}

.pswp__preloader__icn {
    color: #d4af37 !important;
}

/* ==========================================================================
   13. RESPONSIVO — MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.9rem 0;
    }

    .nav-container {
        gap: 0.8rem;
    }

    .logo {
        font-size: 1.25rem;
        letter-spacing: 1.5px;
    }

    .nav-links {
        display: none;
    }

    .navbar .btn-secondary {
        display: none;
    }

    .nav-actions {
        gap: 0.9rem;
        margin-left: auto;
    }

    #user-btn .site-user-btn-label {
        display: none !important;
    }

    #cart-count,
    #wishlist-count {
        font-size: 0.65rem;
        padding: 1px 5px;
        min-width: 16px;
        top: -5px;
        right: -6px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .media-placeholder {
        height: 300px;
    }

    .filter-container {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.8rem 1rem;
        margin-bottom: 2rem;
        gap: 0.8rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-container::-webkit-scrollbar {
        display: none;
    }

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

    .btn-favorite {
        width: 38px;
        height: 38px;
        top: 10px;
        right: 10px;
    }

    .btn-favorite svg {
        width: 18px;
        height: 18px;
    }

    .cart-drawer,
    .wishlist-drawer {
        width: 100vw;
        padding: 1.2rem;
        border-left: none;
    }

    .modal-overlay {
        padding: 0.8rem;
    }

    .modal-content {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .modal-body {
        grid-template-columns: 1fr;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .modal-media-container {
        height: 280px;
        flex-shrink: 0;
    }

    .modal-nav {
        width: 42px;
        height: 42px;
        background: rgba(0, 0, 0, 0.7);
    }

    .modal-info {
        padding: 1.2rem;
    }

    .zoom-hint {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        bottom: 10px;
        right: 10px;
    }

    .auth-card {
        padding: 1.8rem 1.2rem;
    }

    .carousel-container {
        height: 520px;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn.prev-btn {
        left: 10px;
    }

    .carousel-btn.next-btn {
        right: 10px;
    }

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

    .pswp__button--arrow--prev,
    .pswp__button--arrow--next {
        width: 42px !important;
        height: 42px !important;
        margin-top: -21px !important;
    }

    .pswp__button--arrow--prev {
        left: 10px !important;
    }

    .pswp__button--arrow--next {
        right: 10px !important;
    }
}

/* ==========================================================================
   14. RESPONSIVO — Telas muito estreitas (iPhone SE, mini)
   ========================================================================== */
@media (max-width: 380px) {
    .logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .nav-actions {
        gap: 0.7rem;
    }

    #user-btn svg,
    .nav-wishlist-icon svg {
        width: 20px;
        height: 20px;
    }

    .nav-cart-icon {
        font-size: 1rem;
    }
}

/* ==========================================================================
   15. SEÇÃO DE DEPOIMENTOS
   ========================================================================== */
.testimonials-section {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-top: -1rem;
    margin-bottom: 3.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: linear-gradient(160deg, rgba(24, 24, 28, 0.9) 0%, rgba(18, 18, 22, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    right: 15px;
    font-family: var(--font-title);
    font-size: 9rem;
    line-height: 1;
    color: rgba(212, 175, 55, 0.06);
    pointer-events: none;
    user-select: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.1);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 4px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.testimonial-text {
    color: #e5e5e5;
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.75;
    flex: 1;
    margin: 0;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 1;
}

.testimonial-name {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.testimonial-product {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.testimonial-cta {
    text-align: center;
    margin-bottom: 1rem;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.95rem 2.4rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.testimonial-form-wrapper {
    display: none;
    max-width: 620px;
    margin: 2rem auto 0 auto;
}

.testimonial-form-wrapper.open {
    display: block;
    animation: fadeInForm 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInForm {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-form {
    background: linear-gradient(160deg, #18181c 0%, #141418 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.testimonial-form h3 {
    font-family: var(--font-title);
    font-size: 1.7rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 0.3rem;
}

.testimonial-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testimonial-form .form-group label {
    font-size: 0.75rem;
    color: #c5c5c5;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.testimonial-form input[type="text"],
.testimonial-form textarea {
    background: #0f0f12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    width: 100%;
}

.testimonial-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.testimonial-form input[type="text"]:focus,
.testimonial-form textarea:focus {
    border-color: var(--gold);
    background: #131317;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.star-rating {
    display: flex;
    gap: 0.4rem;
    padding: 0.3rem 0;
}

.star {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.star:hover,
.star.hovered {
    color: var(--gold-hover);
    transform: scale(1.15);
}

.star.active {
    color: var(--gold);
    text-shadow: 0 2px 12px rgba(212, 175, 55, 0.5);
}

.testimonial-feedback {
    display: none;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
}

.testimonial-feedback.success {
    display: block;
    background: rgba(40, 167, 69, 0.12);
    border: 1px solid rgba(40, 167, 69, 0.45);
    color: #7ae096;
    animation: popIn 0.4s ease;
}

.testimonial-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.45);
    color: #ff8e8e;
    animation: shakeError 0.4s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

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

@keyframes shakeError {

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

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.form-actions-row {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    padding: 0.85rem 1.6rem;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-cancel:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text-primary);
}

/* ==========================================================================
   16. CHECKOUT — Botões do carrinho + Modal
   ========================================================================== */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.btn-checkout {
    width: 100%;
    text-align: center;
}

.btn-ghost-help {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold);
    padding: 0.75rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-ghost-help:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.checkout-card {
    background: var(--bg-elevated);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 2rem 1.8rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

.modal-overlay.open .checkout-card {
    transform: translateY(0);
}

.checkout-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.checkout-header h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.checkout-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.checkout-form .form-group label {
    font-size: 0.75rem;
    color: #c5c5c5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.checkout-form input[type="text"],
.checkout-form textarea {
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.checkout-form textarea {
    resize: vertical;
    min-height: 70px;
    line-height: 1.5;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.input-with-btn {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.input-with-btn input {
    flex: 1;
    min-width: 0;
}

.btn-inline-search {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #0e0e10;
    border: none;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-inline-search:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.cep-feedback {
    font-size: 0.75rem;
    min-height: 16px;
    margin-top: 2px;
    transition: color 0.3s ease;
}

.checkout-feedback {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.4;
}

.checkout-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff8e8e;
}

.checkout-form input.input-error,
.checkout-form textarea.input-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15) !important;
}

.checkout-actions {
    display: flex;
    gap: 0.7rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.checkout-actions .btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    padding: 0.85rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.checkout-actions .btn-cancel:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text-primary);
}

.checkout-actions .btn-primary {
    flex: 1;
    padding: 0.85rem 1.2rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   17. RESPONSIVO EXTRA — Mobile (checkout + depoimentos)
   ========================================================================== */
@media (max-width: 768px) {
    .checkout-card {
        padding: 1.5rem 1.2rem;
    }

    .checkout-header h3 {
        font-size: 1.5rem;
    }

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

    .checkout-actions {
        flex-direction: column-reverse;
    }

    .checkout-actions button {
        width: 100%;
    }

    .testimonials-section {
        padding: 4rem 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .testimonial-card {
        padding: 1.6rem 1.4rem;
    }

    .testimonial-card::before {
        font-size: 7rem;
        top: -25px;
    }

    .testimonial-stars {
        font-size: 1.15rem;
        letter-spacing: 3px;
    }

    .testimonial-form {
        padding: 1.8rem 1.3rem;
    }

    .testimonial-form h3 {
        font-size: 1.4rem;
    }

    .star {
        font-size: 2rem;
    }

    .form-actions-row {
        flex-direction: column-reverse;
    }

    .form-actions-row button {
        width: 100%;
    }
}

/* ==========================================================================
   18. BANNER DE COOKIES (LGPD / GDPR)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 2rem);
    max-width: 720px;
    background: rgba(20, 20, 24, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner-text {
    flex: none;
}

.cookie-banner-text strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.cookie-banner-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.cookie-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
}

.cookie-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    color: #0e0e10;
}

.cookie-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 0.6rem;
        width: calc(100% - 1.2rem);
        max-width: 100%;
        padding: 1rem 1.1rem;
        border-radius: 12px;
    }

    .cookie-banner-actions {
        flex-direction: column-reverse;
        width: 100%;
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
        width: 100%;
    }
}

/* ==========================================================================
   19. FOOTER LEGAL — links de política no rodapé
   ========================================================================== */
.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 0 0 1.6rem 0;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold);
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    user-select: none;
}

@media (max-width: 768px) {
    .footer-legal {
        padding-bottom: 1.2rem;
        gap: 0.5rem;
    }

    .footer-legal a {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   20. BOTÃO DE PERFIL NO NAVBAR (quando logado)
   ========================================================================== */
.site-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f7f1e8;
    border: 1px solid rgba(184, 147, 90, 0.4);
    color: #2f2620;
    padding: 0.3rem 0.9rem 0.3rem 0.3rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.site-user-btn:hover {
    background: #fdfaf4;
    border-color: rgba(184, 147, 90, 0.7);
    box-shadow: 0 4px 14px rgba(184, 147, 90, 0.35);
    transform: translateY(-1px);
}

.site-user-btn-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a46a 0%, #a07b42 100%);
    color: #fdfaf4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(160, 123, 66, 0.4);
}

.site-user-btn-label {
    color: #2f2620;
    font-weight: 600;
    letter-spacing: 0.4px;
}

@media (max-width: 768px) {
    #user-btn .site-user-btn-label {
        display: none !important;
    }

    .site-user-btn {
        padding: 0.28rem;
        gap: 0;
    }
}