@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.fa {
    display: inline-block;
    font-family: 'FontAwesome' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-shopping-bag:before { content: "\f290"; }
.fa-sign-in:before { content: "\f090"; }
.fa-search:before { content: "\f002"; }
.fa-heart:before { content: "\f004"; }
.fa-heart-o:before { content: "\f08a"; }
.fa-chevron-right:before { content: "\f054"; }
.fa-chevron-down:before { content: "\f078"; }
.fa-chevron-left:before { content: "\f053"; }
.fa-map-marker:before { content: "\f041"; }
.fa-gift:before { content: "\f06b"; }
.fa-bars:before { content: "\f0c9"; }
.fa-plus:before { content: "\f067"; }
.fa-minus:before { content: "\f068"; }
.fa-times:before { content: "\f00d"; }
.fa-user:before { content: "\f007"; }
.fa-star:before { content: "\f005"; }
.fa-facebook:before { content: "\f09a"; }
.fa-instagram:before { content: "\f16d"; }
.fa-youtube-play:before { content: "\f16a"; }
.fa-tiktok:before { content: "\e07b"; }
.fa-linkedin:before { content: "\f0e1"; }

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --color-dark-brown: #180c08;
    --color-medium-brown: #1c1c1b;
    --color-golden: #591f00;
    --color-caramel: #bdb7af;
    --color-light-caramel: #eae3da;
    --color-green: #659c59;
    --color-green-hover: #548a49;
    --color-red: #C4543A;
    --color-bg: #FFFFFF;
    --color-bg-alt: #f9f9f9;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #E0E0E0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;
    --max-width: 1280px;
    --header-height: 130px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a, button, input, select, textarea {
    touch-action: manipulation; /* Bloqueia o zoom por double-tap no iOS/Android, forçando toque ágil sem gap de latência */
}

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: #1c1c1b;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 0;
    border-bottom: 1px solid #30302b;
}

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

.top-bar-links {
    display: flex;
    gap: 0;
    align-items: center;
    height: 30px;
}

.top-bar-links a {
    color: #fff;
    font-weight: 400;
    transition: var(--transition);
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 17px;
    position: relative;
}

.top-bar-links a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 30px;
    background: #30302b;
}

.top-bar-links a:last-child::after {
    display: none;
}

.top-bar-links a:hover {
    color: #bdb7af;
}

/* ==================== HEADER ==================== */
.header {
    background: #1c1c1b;
    padding: 20px 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #30302b;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.header--hidden {
    transform: translateY(-100%);
}

.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.header-top-mobile { display: contents; }
.header-mobile-icons { display: none; }
.header-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}
.loc-text { display: flex; flex-direction: column; line-height: 1.2; }
.loc-text span { font-size: 12px; color: rgba(255,255,255,0.8); }
.loc-text strong { font-size: 12px; color: #fff; text-transform: uppercase; }

.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 40px;
    width: auto;
    display: block;
}

.search-bar {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar input:focus {
    outline: none;
    border-color: #bdb7af;
    background: #fff;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 18px;
    transition: var(--transition);
}

.search-bar button:hover {
    color: #591f00;
}

.header-actions {
    display: none; /* old class replaced by wrapper */
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #591f00;
    color: #fff;
    border-radius: 4px; /* Mais quadrado igual ao print do oficial */
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login .fa {
    font-size: 14px;
}

.btn-login:hover {
    background: #6b2600;
}

.header-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 12px;
}
.header-location i { font-size: 18px; color: #fff; }

.header-location strong {
    color: #fff;
}

.cart-icon {
    position: relative;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-icon:hover {
    color: #bdb7af;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
    background: #1c1c1b;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid #30302b;
}

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

.nav-categories {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-item > a:hover {
    color: #bdb7af;
}

.nav-item > a .arrow {
    font-size: 10px;
    transition: transform 0.3s;
    color: #bdb7af;
}

.nav-item:hover > a .arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.nav-dropdown a:last-child {
    border-bottom: none;
}

.nav-dropdown a:hover {
    background: var(--color-bg-alt);
    color: var(--color-golden);
    padding-left: 25px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-lacreme {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-style: italic;
}

.nav-lovers {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--color-red);
    color: #fff;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-lovers:hover {
    background: #B33D2A;
}

/* ==================== HERO BANNER / SLIDER ==================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
    margin-top: 30px;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
    position: relative;
}

.slider-slide a {
    display: block;
}

.slider-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-dark-brown);
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.slider-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 15px; }
.slider-next { right: 15px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-dot.active {
    background: var(--color-dark-brown);
    transform: scale(1.2);
}

/* ==================== PRODUCT SECTIONS ==================== */
.section {
    padding: 50px 0;
}

.section-subtitle {
    text-align: left;
    font-size: 15px;
    color: var(--color-text-light);
    margin-top: -20px;
    margin-bottom: 25px;
}

/* ==================== MOMENTS SECTION ==================== */
.section-moments {
    background: #f9f9f9;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.moment-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.moment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.moment-card:hover img {
    transform: scale(1.05);
}

.moment-card-cta {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #659c59;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.moment-card:hover .moment-card-cta {
    background: #548a49;
}

/* ==================== LINES SECTION ==================== */
.lines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.line-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.line-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.line-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark-brown);
    margin-bottom: 30px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-card-image {
    position: relative;
    padding: 20px;
    background: var(--color-bg-alt);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-image img {
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.product-card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-text-muted);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card-wishlist:hover {
    color: var(--color-red);
    transform: scale(1.15);
}

.product-card-body {
    padding: 16px;
}

.product-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-card-name a:hover {
    color: var(--color-golden);
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.price-old {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark-brown);
}

.price-unit {
    font-size: 12px;
    color: var(--color-text-muted);
}

.btn-add-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--color-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-add-cart:hover {
    background: var(--color-green-hover);
}

/* ==================== PRODUCT DETAIL ==================== */
.breadcrumb {
    padding: 15px 0;
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.breadcrumb span {
    margin: 0 8px;
}

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

.product-gallery {
    position: relative;
    background: var(--color-bg-alt);
    border-radius: 12px;
    padding: 30px;
}

.product-gallery-main {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-gallery-main img {
    max-height: 400px;
    object-fit: contain;
}

.gallery-wishlist {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-text-muted);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.gallery-wishlist:hover {
    color: var(--color-red);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-text);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-nav:hover {
    background: #fff;
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    background: var(--color-border);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot.active {
    background: var(--color-dark-brown);
}

.product-info h1 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark-brown);
    line-height: 1.3;
    margin-bottom: 8px;
}

.product-sku {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.product-description {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.product-more-details {
    color: var(--color-golden);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 25px;
}

.product-more-details:hover {
    text-decoration: underline;
}

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

.product-pricing .price-old {
    font-size: 16px;
}

.product-pricing .price-current {
    font-size: 32px;
}

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

.quantity-selector button {
    width: 40px;
    height: 40px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    cursor: pointer;
    font-size: 18px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-selector button:first-child {
    border-radius: 8px 0 0 8px;
}

.quantity-selector button:last-child {
    border-radius: 0 8px 8px 0;
}

.quantity-selector button:hover {
    background: var(--color-border);
}

.quantity-selector input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-left: none;
    border-right: none;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--color-text);
}

.quantity-selector input:focus {
    outline: none;
}

.btn-add-cart-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    background: var(--color-green);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 400px;
    font-family: var(--font-main);
}

.btn-add-cart-large:hover {
    background: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90,143,41,0.35);
}

.cacau-lovers-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-red);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 20px;
}

/* ==================== AUTH PAGES ==================== */
.auth-page {
    min-height: 60vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px;
    background: var(--color-bg-alt);
}

.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.auth-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark-brown);
    margin-bottom: 30px;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-golden);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--color-red);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-main);
    color: var(--color-text);
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-golden);
    box-shadow: 0 0 0 3px rgba(139,105,20,0.1);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--color-text-light);
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--color-golden);
}

.form-check a {
    color: var(--color-golden);
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 16px 30px;
    background: var(--color-golden);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-primary:hover {
    background: #A07A1A;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: var(--color-border);
    color: var(--color-text-muted);
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    width: 100%;
    padding: 16px 30px;
    background: transparent;
    color: var(--color-golden);
    border: 2px solid var(--color-golden);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    text-align: center;
    display: block;
    margin-top: 15px;
}

.btn-secondary:hover {
    background: var(--color-golden);
    color: #fff;
}

.auth-terms {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 20px;
    line-height: 1.6;
}

.auth-terms a {
    color: var(--color-golden);
    text-decoration: underline;
}

.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

/* ==================== CATEGORY PAGE ==================== */
.category-header {
    background: linear-gradient(135deg, var(--color-dark-brown), var(--color-medium-brown));
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.category-header h1 {
    font-family: var(--font-display);
    font-size: 36px;
    margin-bottom: 10px;
}

.category-header p {
    font-size: 16px;
    opacity: 0.8;
}

.category-content {
    padding: 40px 0;
}

.product-count {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #eae3da;
    color: #591f00;
    padding-top: 50px;
}

.footer-top {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(89,31,0,0.15);
    flex-wrap: wrap;
}

.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #591f00;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 30px;
    border: 1px solid rgba(89,31,0,0.2);
    border-radius: 8px;
    transition: var(--transition);
}

.footer-brand-link:hover {
    background: rgba(89,31,0,0.05);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 40px 0;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #591f00;
}

.footer-column a {
    display: block;
    color: #591f00;
    font-size: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: #8b3a00;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: #591f00;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    margin: 0;
    transition: var(--transition);
}

.footer-social a:hover {
    background: #8b3a00;
}

.footer-bottom {
    border-top: 1px solid rgba(89,31,0,0.15);
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(89,31,0,0.6);
    line-height: 1.6;
}

/* ==================== SEARCH RESULTS ==================== */
.search-results {
    padding: 40px 0;
}

.search-results h1 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--color-dark-brown);
    margin-bottom: 10px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

.no-results h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .header .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }

    .nav-categories {
        flex-wrap: wrap;
    }

    .nav-item > a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .nav-right {
        display: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .slider-content h2 {
        font-size: 28px;
    }

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

    .auth-card {
        padding: 30px 20px;
    }

    .header-location { display: none; }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .logo a {
        font-size: 22px;
    }
}

/* ==================== CEP MODAL ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-cep {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
}

.modal-cep h2 {
    font-size: 22px;
    font-weight: 700;
    color: #591f00;
    margin-bottom: 12px;
}

.modal-cep p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-cep-form .form-group-modal {
    margin-bottom: 16px;
}

.modal-cep-form .form-group-modal label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.modal-cep-form .form-group-modal input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-main);
    transition: border-color 0.2s;
}

.modal-cep-form .form-group-modal input:focus {
    outline: none;
    border-color: #591f00;
}

.cep-link {
    display: inline-block;
    color: #591f00;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-cep-search {
    width: 100%;
    padding: 16px;
    background: #659c59;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cep-search:hover {
    background: #548a49;
}

#cep-result {
    background: #f0fdf0;
    border: 1px solid #c6f0c6;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

#cep-result p {
    margin: 0;
    color: #2e7d32;
    font-weight: 600;
    font-size: 14px;
}

/* ==================== CART SIDEBAR ==================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

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

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.cart-sidebar-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.cart-sidebar-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.cart-sidebar-close:hover {
    color: #333;
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty .fa {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 16px;
}

.cart-empty p {
    font-size: 16px;
    color: #999;
    margin-bottom: 24px;
}

.btn-cart-continue {
    display: inline-block;
    padding: 12px 32px;
    background: #591f00;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.btn-cart-continue:hover {
    background: #6b2600;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9f9f9;
}

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

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #591f00;
    margin-bottom: 8px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty span {
    font-size: 14px;
    font-weight: 600;
}

.cart-item-remove {
    color: #c00;
    font-size: 12px;
    cursor: pointer;
    margin-top: 8px;
    display: inline-block;
}

.cart-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 16px;
}

.cart-total span {
    color: #666;
}

.cart-total strong {
    color: #591f00;
}

.btn-cart-checkout {
    display: block;
    width: 100%;
    padding: 16px;
    background: #659c59;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.btn-cart-checkout:hover {
    background: #548a49;
}

.btn-cart-continue-sm {
    display: block;
    text-align: center;
    color: #591f00;
    font-size: 13px;
    font-weight: 600;
    padding: 8px;
}

/* ===== Product Shelf Carousel ===== */
.product-shelf {
    position: relative;
    padding: 0 48px;
}

.shelf-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 8px 0;
}

.shelf-track::-webkit-scrollbar {
    display: none;
}

.shelf-track .product-card {
    min-width: 230px;
    max-width: 230px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.shelf-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.shelf-arrow:hover {
    background: #591f00;
    color: #fff;
    border-color: #591f00;
}

.shelf-prev {
    left: 0;
}

.shelf-next {
    right: 0;
}

/* Moments grid - 4 cards */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    body {
        padding-top: 155px; /* Compensa o espaço roubado pelo Header Fixed */
    }

    .top-bar { display: none; }
    .header { 
        padding: 12px 16px; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    .header-grid { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
    
    .header-top-mobile { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .header-mobile-icons { display: flex; align-items: center; gap: 20px; }
    .logo-svg { height: 32px; }
    
    .mobile-cart { color: #fff; text-decoration: none; position: relative; }
    .mobile-menu-btn { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
    
    .search-bar { width: 100%; max-width: 100%; flex: auto; }
    
    .header-actions-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: #2a2a29;
        padding: 8px 16px;
        border-radius: 6px;
    }
    
    .desktop-cart { display: none; }
    .header-buttons { gap: 0; }
    .btn-login { padding: 8px 16px; font-size: 12px; }
    .loc-text span, .loc-text strong { font-size: 11px; }

    /* Fix nav disappearing automatically on mobile */
    .main-nav { display: none; flex-direction: column; }
    .main-nav.mobile-active { display: flex !important; }
    .nav-categories { flex-direction: column; width: 100%; }
    .nav-item { border-bottom: 1px solid #30302b; }
    .nav-item > a { justify-content: space-between; }
    .nav-right { flex-direction: column; padding: 16px; gap: 10px; align-items: flex-start; }
    .nav-dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: #2a2a29; border-radius: 0; padding-left: 15px; }
    .nav-item:hover .nav-dropdown { display: block; }
    .nav-dropdown a { color: #fff; border-bottom-color: #444; }
    .nav-dropdown a:hover { background: #333; }
}

@media (max-width: 768px) {
    .product-shelf {
        padding: 0 25px; /* Adiciona respiro para os botões aparecerem sem esmagar muito */
    }
    .shelf-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .shelf-track .product-card {
        min-width: 155px; /* Levemente mais fino para caber 2.5 cards no touch */
        max-width: 155px;
    }
    .moments-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .product-grid { 
        grid-template-columns: repeat(2, 1fr); /* 2 quadros em Mobile ao invés de 4 esmagados */
        gap: 12px; 
    }
    
    /* Espremer botões, textos e caixas dos Chocolates para o Dedo humano no Card Mobile */
    .product-card-body { padding: 10px; }
    .product-card-name { font-size: 13px; min-height: 36px; margin-bottom: 6px; }
    .price-current { font-size: 16px; }
    .price-old { font-size: 11px; }
    .btn-add-cart { padding: 8px 10px; font-size: 11px; }

    /* Fix Página de Produto Interna */
    .product-detail { grid-template-columns: 1fr; gap: 20px; }
    .product-info h1 { font-size: 22px; }
    .btn-add-giant { padding: 15px; font-size: 15px; } /* O botão final de comprar precisa ser fácil de clicar */
}

/* ===== Account Pages ===== */
.account-page { padding: 40px 0; }
.account-page-title { font-size: 24px; color: #591f00; margin-bottom: 24px; font-weight: 700; }
.account-layout { display: flex; gap: 32px; }
.account-sidebar { min-width: 260px; max-width: 260px; }
.account-content { flex: 1; min-width: 0; }

.account-user-info { display: flex; align-items: center; gap: 12px; padding: 16px; background: #f9f5f0; border-radius: 12px; margin-bottom: 16px; }
.account-avatar { width: 48px; height: 48px; border-radius: 50%; background: #591f00; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.account-user-name { display: flex; flex-direction: column; }
.account-user-name strong { color: #333; font-size: 15px; }
.account-user-name small { color: #999; font-size: 12px; }

.account-nav { display: flex; flex-direction: column; }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #555; font-size: 14px; font-weight: 500; border-radius: 8px; transition: all 0.2s; text-decoration: none; }
.account-nav a:hover { background: #f9f5f0; color: #591f00; }
.account-nav a.active { background: #591f00; color: #fff; }
.account-nav a i { width: 18px; text-align: center; }
.account-nav-logout { color: #c00 !important; margin-top: 8px; border-top: 1px solid #eee; padding-top: 12px !important; }

.account-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.account-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 16px; background: #f9f5f0; border-radius: 12px; text-decoration: none; color: #591f00; font-weight: 600; font-size: 14px; transition: all 0.2s; border: 2px solid transparent; }
.account-card:hover { border-color: #591f00; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(89,31,0,0.1); }
.account-card i { font-size: 28px; }

.account-subtitle { color: #888; font-size: 15px; margin-top: 4px; }

.account-form .form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.account-form .form-group { flex: 1; }
.account-form label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.account-form .form-control { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; transition: border-color 0.2s; box-sizing: border-box; }
.account-form .form-control:focus { border-color: #591f00; outline: none; }
.account-form select.form-control { appearance: none; cursor: pointer; }

.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; cursor: pointer; margin-top: 8px; }

.btn-outline { display: inline-block; padding: 10px 24px; border: 2px solid #591f00; color: #591f00; background: transparent; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.btn-outline:hover { background: #591f00; color: #fff; }
.btn-outline-sm { padding: 6px 14px; font-size: 13px; border: 1px solid #591f00; color: #591f00; border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.2s; }
.btn-outline-sm:hover { background: #591f00; color: #fff; }
.btn-danger-sm { padding: 6px 14px; font-size: 12px; border: 1px solid #e53e3e; color: #e53e3e; background: transparent; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.btn-danger-sm:hover { background: #e53e3e; color: #fff; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; color: #591f00; font-weight: 600; font-size: 14px; margin-bottom: 20px; text-decoration: none; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 48px; color: #ddd; margin-bottom: 16px; }
.empty-state p { font-size: 16px; color: #888; margin-bottom: 8px; }
.empty-state small { color: #aaa; font-size: 13px; }

/* Orders */
.order-card { background: #f9f5f0; border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.order-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.order-number { font-weight: 700; color: #591f00; }
.order-date { color: #999; font-size: 13px; }
.order-status { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-shipped { background: #cce5ff; color: #004085; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.order-card-body { display: flex; justify-content: space-between; align-items: center; }

/* Order Detail */
.order-detail-info { background: #f9f5f0; border-radius: 12px; padding: 16px 20px; }
.order-detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #efe8df; font-size: 14px; }
.order-detail-row:last-child { border-bottom: none; }

.order-items-list { margin-top: 12px; }
.order-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eee; }
.order-item:last-child { border-bottom: none; }
.order-item-image { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.order-item-image img { width: 100%; height: 100%; object-fit: contain; }
.order-item-info { flex: 1; }
.order-item-name { font-weight: 600; font-size: 14px; color: #333; display: block; }
.order-item-qty { font-size: 13px; color: #999; }
.order-item-price { font-weight: 600; color: #591f00; white-space: nowrap; }

.order-summary { background: #f9f5f0; border-radius: 12px; padding: 16px 20px; margin-top: 16px; }
.order-summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #555; }
.order-summary-row.discount { color: #28a745; }
.order-summary-row.total { font-size: 16px; font-weight: 700; color: #591f00; border-top: 1px solid #e0d6cc; padding-top: 10px; margin-top: 4px; }

/* Addresses */
.addresses-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.address-card { background: #f9f5f0; border-radius: 12px; padding: 16px; border: 2px solid transparent; }
.address-card.default { border-color: #591f00; }
.address-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.badge-default { background: #591f00; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 12px; }

/* ===== Cart Page ===== */
.cart-page { padding: 40px 0; }
.cart-title { font-size: 24px; color: #591f00; margin-bottom: 24px; font-weight: 700; }
.cart-layout { display: flex; gap: 32px; }
.cart-items { flex: 1; }
.cart-summary { width: 320px; flex-shrink: 0; background: #f9f5f0; border-radius: 12px; padding: 24px; height: fit-content; position: sticky; top: 100px; }
.cart-summary h3 { font-size: 18px; color: #591f00; margin-bottom: 16px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #555; }
.cart-summary-row.total { font-size: 18px; font-weight: 700; color: #591f00; border-top: 2px solid #e0d6cc; padding-top: 12px; margin-top: 8px; }

.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #eee; }
.cart-item-image { width: 100px; height: 100px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; color: #333; text-decoration: none; display: block; margin-bottom: 4px; }
.cart-item-name:hover { color: #591f00; }
.cart-item-price { font-size: 14px; }

.cart-item-quantity { display: flex; align-items: center; gap: 0; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.cart-item-quantity input { width: 40px; text-align: center; border: none; font-size: 14px; font-weight: 600; padding: 8px 0; }
.qty-btn { width: 36px; height: 36px; border: none; background: #f5f5f5; cursor: pointer; font-size: 18px; color: #591f00; font-weight: 700; transition: background 0.2s; }
.qty-btn:hover { background: #591f00; color: #fff; }

.cart-item-total { font-weight: 700; color: #591f00; font-size: 16px; min-width: 100px; text-align: right; }
.cart-item-remove { background: none; border: none; color: #ccc; font-size: 18px; cursor: pointer; padding: 8px; transition: color 0.2s; }
.cart-item-remove:hover { color: #e53e3e; }

.btn-checkout { display: block; width: 100%; text-align: center; margin-top: 16px; padding: 14px; font-size: 16px; }
.btn-continue { display: block; width: 100%; text-align: center; margin-top: 8px; }

/* ===== Checkout Pages ===== */
.checkout-page { padding: 40px 0; }
.checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 32px; }
.step { display: flex; align-items: center; gap: 8px; padding: 12px 24px; font-size: 14px; font-weight: 600; color: #999; position: relative; }
.step span { width: 28px; height: 28px; border-radius: 50%; background: #ddd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.step.active span { background: #591f00; }
.step.active { color: #591f00; }
.step.done span { background: #28a745; }
.step.done { color: #28a745; }
.step + .step::before { content: ''; position: absolute; left: -16px; top: 50%; width: 32px; height: 2px; background: #ddd; }

.checkout-layout { display: flex; gap: 32px; }
.checkout-main { flex: 1; }
.checkout-main h2 { font-size: 20px; color: #591f00; margin-bottom: 20px; }
.checkout-sidebar { width: 320px; flex-shrink: 0; background: #f9f5f0; border-radius: 12px; padding: 24px; height: fit-content; position: sticky; top: 100px; }
.checkout-sidebar h3 { font-size: 16px; color: #591f00; margin-bottom: 16px; }

.checkout-item { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid #efe8df; align-items: center; }
.checkout-item img { width: 50px; height: 50px; border-radius: 6px; object-fit: contain; }
.checkout-item span { font-size: 13px; font-weight: 600; color: #333; display: block; }
.checkout-item small { font-size: 12px; color: #999; }
.checkout-summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #555; }
.checkout-summary-row.total { font-size: 16px; font-weight: 700; color: #591f00; border-top: 1px solid #e0d6cc; padding-top: 10px; margin-top: 4px; }

.checkout-form .form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.checkout-form .form-group { flex: 1; }
.checkout-form label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.checkout-form .form-control { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.checkout-form .form-control:focus { border-color: #591f00; outline: none; }

.saved-addresses { margin-bottom: 24px; }
.saved-addresses h3 { font-size: 15px; color: #555; margin-bottom: 12px; }
.address-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 2px solid #eee; border-radius: 10px; cursor: pointer; margin-bottom: 8px; transition: border-color 0.2s; }
.address-option:has(input:checked) { border-color: #591f00; background: #faf6f2; }
.address-option-info strong { color: #591f00; font-size: 14px; }
.address-option-info p { color: #666; font-size: 13px; margin: 2px 0; }
.divider-text { text-align: center; color: #999; font-size: 13px; margin: 20px 0; position: relative; }
.divider-text::before, .divider-text::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: #ddd; }
.divider-text::before { left: 0; }
.divider-text::after { right: 0; }

.checkout-address-preview { display: flex; align-items: flex-start; gap: 12px; background: #f9f5f0; padding: 16px; border-radius: 10px; margin-bottom: 24px; }
.checkout-address-preview i { font-size: 20px; color: #591f00; margin-top: 4px; }
.checkout-address-preview div { flex: 1; }
.checkout-address-preview strong { font-size: 13px; color: #888; }
.checkout-address-preview p { font-size: 14px; color: #333; margin: 2px 0; }

.payment-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px solid #eee; border-radius: 10px; cursor: pointer; transition: border-color 0.2s; }
.payment-option.active { border-color: #591f00; background: #faf6f2; }
.payment-option-content { display: flex; align-items: center; gap: 12px; }
.payment-option-content strong { font-size: 15px; color: #333; display: block; }
.payment-option-content small { font-size: 12px; color: #999; }
.payment-info { margin-bottom: 24px; }

.pix-box { text-align: center; padding: 24px; background: #f0faf9; border-radius: 12px; border: 1px solid #b2dfdb; }
.pix-qr-icon { font-size: 64px; color: #32bcad; margin-bottom: 12px; }
.pix-box p { font-size: 14px; color: #555; }
.pix-box small { color: #888; }

/* Confirmation */
.confirmation-box { max-width: 700px; margin: 0 auto; text-align: center; }
.confirmation-icon { margin-bottom: 16px; }
.confirmation-icon i { font-size: 64px; color: #28a745; }
.confirmation-box h2 { font-size: 24px; color: #591f00; margin-bottom: 8px; }
.confirmation-box > p { color: #666; font-size: 16px; }

.pix-payment-box { background: #f0faf9; border: 1px solid #b2dfdb; border-radius: 12px; padding: 24px; margin-top: 24px; text-align: center; }
.pix-payment-box h3 { color: #32bcad; margin-bottom: 16px; }
.pix-qr-placeholder { margin: 16px auto; }
.qr-fake { width: 180px; height: 180px; margin: 0 auto; background: #fff; border: 2px solid #b2dfdb; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.qr-fake i { font-size: 80px; color: #32bcad; }
.pix-copy-code { margin-top: 16px; }
.pix-copy-code label { font-size: 13px; color: #666; display: block; margin-bottom: 8px; }
.pix-code-input { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.pix-code-input input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 12px; font-family: monospace; }
.pix-code-input button { padding: 10px 20px; background: #32bcad; color: #fff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
.pix-code-input button:hover { background: #2aa89a; }
.pix-warning { color: #856404; font-size: 13px; margin-top: 12px; }

/* Responsive */
@media (max-width: 768px) {
    .account-layout { flex-direction: column; }
    .account-sidebar { max-width: 100%; min-width: 100%; }
    .account-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-layout { flex-direction: column; }
    .cart-summary { width: 100%; position: static; }
    .cart-item { flex-wrap: wrap; }
    .cart-item-total { min-width: auto; }
    .checkout-layout { flex-direction: column; }
    .checkout-sidebar { width: 100%; position: static; }
    .checkout-steps { gap: 0; }
    .step { padding: 8px 12px; font-size: 12px; }
    .addresses-list { grid-template-columns: 1fr; }
}
