/* ========================================
   CATÁLOGO DIGITAL - COLEÇÃO 2026
   Design Profissional, Interativo e Responsivo
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --gold: #C8963E;
    --gold-light: #D4A94E;
    --gold-dark: #A67A2E;
    --gold-bg: #FDF6EC;
    --gold-bg-light: #FEF9F2;
    --black: #1A1A1A;
    --dark: #2D2D2D;
    --gray-900: #333333;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #CCCCCC;
    --gray-200: #E5E5E5;
    --gray-100: #F2F2F2;
    --gray-50: #F8F8F8;
    --white: #FFFFFF;
    --green: #4CAF50;
    --green-dark: #388E3C;
    --red: #E53935;
    --red-dark: #C62828;
    --whatsapp: #25D366;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-sans);
}

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
    color: var(--black);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gray-500);
    text-transform: uppercase;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.search-bar input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px;
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--gray-50);
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.15);
    outline: none;
}

.search-bar input::placeholder {
    color: var(--gray-500);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 14px;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    border: 1px solid var(--gray-200);
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--gold-bg-light);
}

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

.search-result-item .result-info {
    flex: 1;
}

.search-result-item .result-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
}

.search-result-item .result-price {
    font-size: 13px;
    color: var(--gold-dark);
    font-weight: 600;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-contact {
    height: 42px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.4);
}

.btn-menu-mobile {
    display: none;
    width: 42px;
    height: 42px;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 18px;
    color: var(--gray-900);
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.mobile-menu.active {
    display: block;
}

.mobile-search {
    position: relative;
    margin-bottom: 16px;
}

.mobile-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 14px;
}

.mobile-search input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 40px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-sans);
    background: var(--gray-50);
}

.mobile-search input:focus {
    border-color: var(--gold);
    outline: none;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.mobile-nav a:hover {
    background: var(--gold-bg);
    color: var(--gold-dark);
}

/* ---------- Hero Banner ---------- */
.hero {
    position: relative;
    width: 100%;
    margin-top: 72px;
    padding: 24px;
}

.hero-bg {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/6;
    min-height: 320px;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.65) 0%, rgba(26,26,26,0.2) 50%, transparent 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 500px;
}

.hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.3);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 150, 62, 0.5);
}

/* ---------- Products Section ---------- */
.products-section {
    padding: 48px 0 80px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
}

.product-count {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    scroll-snap-align: start;
    flex-shrink: 0;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
    transition: var(--transition);
}

.filter-btn i {
    font-size: 13px;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--gold-bg-light);
}

.filter-btn.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.filter-btn.active:hover {
    background: var(--dark);
}

.filter-count {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.card-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-100);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
}

.badge-bestseller {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.badge-new {
    background: var(--green);
}

.badge-discount {
    background: var(--red);
}

.card-quick-view {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .card-quick-view {
    opacity: 1;
}

.card-quick-view span {
    background: var(--white);
    color: var(--black);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.card-info {
    padding: 16px;
}

.card-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.card-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
}

.card-old-price {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-details {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--dark);
}

.btn-chat {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-bg);
    color: var(--gold);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid rgba(200, 150, 62, 0.2);
}

.btn-chat:hover {
    background: var(--gold);
    color: var(--white);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-500);
}

.no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--gray-300);
}

.no-results h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-top: 12px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--gray-700);
    font-size: 16px;
    transition: var(--transition);
}

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

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-dark);
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 8px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code canvas {
    width: 100% !important;
    height: 100% !important;
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-share {
    height: 36px;
    padding: 0 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-share:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
    font-size: 13px;
    color: var(--gray-500);
}

.footer-analytics {
    display: flex;
    gap: 20px;
}

.footer-analytics span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Product Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray-700);
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-100);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-image {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--gray-100);
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
}

.modal-info {
    padding: 28px;
}

.modal-category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 8px;
    display: block;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.modal-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--black);
}

.modal-old-price {
    font-size: 18px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.modal-specs h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.spec-item {
    background: var(--gold-bg-light);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.spec-item .spec-label {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.spec-item .spec-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-whatsapp {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    box-shadow: 0 4px 15px rgba(200, 150, 62, 0.4);
    transform: translateY(-1px);
}

.btn-cart {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cart:hover {
    background: var(--dark);
    transform: translateY(-1px);
}

.modal-secondary-actions {
    display: flex;
    gap: 12px;
}

.btn-secondary {
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

/* ---------- Cart Sidebar ---------- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 2600;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
}

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

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

.cart-header h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-700);
    transition: var(--transition);
}

.cart-close:hover {
    background: var(--gray-200);
}

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

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

.cart-empty i {
    font-size: 48px;
    color: var(--gray-300);
    margin-bottom: 12px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

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

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-dark);
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--gray-500);
    transition: var(--transition);
    align-self: center;
}

.cart-item-remove:hover {
    background: var(--red);
    color: var(--white);
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
}

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

.btn-checkout {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-checkout:hover {
    background: #20BA5C;
    transform: translateY(-1px);
}

/* ---------- Cart Float Button ---------- */
.cart-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1500;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.cart-float:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray-700);
    z-index: 1500;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--black);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

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

.toast i {
    color: var(--green);
    font-size: 16px;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

    .hero-title {
        font-size: 38px;
    }
}

/* Tablet Small */
@media (max-width: 768px) {
    .header-container {
        height: 64px;
    }

    .search-bar {
        display: none;
    }

    .btn-contact {
        display: none;
    }

    .btn-menu-mobile {
        display: flex;
    }

    .hero {
        margin-top: 64px;
        padding: 16px;
    }

    .hero-bg {
        aspect-ratio: 16/9;
        min-height: 260px;
    }

    .hero-content {
        left: 32px;
        right: 32px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .products-section {
        padding: 32px 0 60px;
    }

    .section-title {
        font-size: 26px;
    }

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

    .card-name {
        font-size: 15px;
    }

    .card-price {
        font-size: 18px;
    }

    .modal-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: var(--radius-md);
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-price {
        font-size: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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

    .hero {
        padding: 12px;
    }

    .hero-bg {
        aspect-ratio: 4/3;
        min-height: 220px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
    }

    .hero-tag {
        font-size: 11px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-desc {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .btn-hero {
        height: 42px;
        padding: 0 24px;
        font-size: 13px;
    }

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

    .card-info {
        padding: 12px;
    }

    .card-desc {
        display: none;
    }

    .card-price {
        font-size: 16px;
    }

    .card-old-price {
        font-size: 12px;
    }

    .btn-details {
        height: 38px;
        font-size: 12px;
    }

    .btn-chat {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .filter-btn {
        height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }

    .modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .modal-content {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        max-height: 92vh;
    }

    /* Drag handle indicator */
    .modal-content::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: #d1d5db;
        border-radius: 2px;
        margin: 8px auto 4px;
    }

    .modal-info {
        padding: 20px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }

    .modal-secondary-actions {
        flex-direction: column;
        gap: 8px;
    }

    .specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cart-float {
        bottom: 80px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .back-to-top {
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================
   VARIATION SELECTOR
   ========================================== */
.variation-section {
    margin-top: 16px;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.variation-group {
    margin-bottom: 16px;
}

.variation-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.variation-group-name {
    font-weight: 600;
    font-size: 14px;
    color: #1A1A1A;
}

.variation-group-name .required-tag {
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    background: #ef4444;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.variation-group-hint {
    font-size: 12px;
    color: #888;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    background: #fff;
    user-select: none;
}

.variation-option:hover {
    border-color: var(--gold-light, #D4A94E);
}

.variation-option.selected {
    border-color: var(--gold, #C8963E);
    background: rgba(200, 150, 62, 0.08);
    color: var(--gold-dark, #A67A2E);
    font-weight: 600;
}

.variation-option.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.variation-option .option-price {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

.variation-option.selected .option-price {
    color: var(--gold, #C8963E);
}

/* ==========================================
   COMPLEMENT SELECTOR
   ========================================== */
.complement-section {
    margin-top: 16px;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.complement-group {
    margin-bottom: 16px;
}

.complement-group-header {
    margin-bottom: 8px;
}

.complement-group-name {
    font-weight: 600;
    font-size: 14px;
    color: #1A1A1A;
}

.complement-group-desc {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.complement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

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

.complement-item-name {
    font-size: 14px;
    color: #1A1A1A;
}

.complement-item-price {
    font-size: 13px;
    color: var(--gold, #C8963E);
    font-weight: 500;
}

.complement-item.unavailable {
    opacity: 0.4;
}

/* ==========================================
   QUANTITY STEPPER
   ========================================== */
.qty-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.qty-stepper button {
    width: 32px;
    height: 32px;
    border: none;
    background: #f9fafb;
    color: #374151;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.qty-stepper button:hover {
    background: #e5e7eb;
}

.qty-stepper button:active {
    background: #d1d5db;
}

.qty-stepper .qty-value {
    width: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    line-height: 32px;
}

/* Cart quantity control */
.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-qty-control button {
    width: 28px;
    height: 28px;
    border: none;
    background: #f9fafb;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
}

.cart-qty-control button:hover {
    background: #e5e7eb;
}

.cart-qty-control .cart-qty-value {
    width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    line-height: 28px;
}

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

.cart-item-details {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ==========================================
   SORT & PRICE FILTER
   ========================================== */
.filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sort-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    cursor: pointer;
    min-width: 160px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--gold, #C8963E);
}

.price-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.price-filter label {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.price-filter input[type="number"] {
    width: 80px;
    padding: 4px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.price-filter input[type="number"]:focus {
    outline: none;
    border-color: var(--gold, #C8963E);
}

.price-filter .price-separator {
    color: #ccc;
    font-size: 12px;
}

.price-filter-btn {
    padding: 4px 10px;
    background: var(--gold, #C8963E);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
}

.price-filter-btn:hover {
    background: var(--gold-dark, #A67A2E);
}

/* ==========================================
   MODAL STICKY BAR (MOBILE)
   ========================================== */
.modal-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .modal-sticky-bar {
        display: flex;
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #eee;
        padding: 12px 16px;
        gap: 10px;
        align-items: center;
        z-index: 10;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    }

    .modal-sticky-bar .sticky-price {
        font-size: 18px;
        font-weight: 700;
        color: var(--gold, #C8963E);
        flex: 1;
    }

    .modal-sticky-bar .btn-sticky-cart {
        padding: 10px 20px;
        background: var(--gold, #C8963E);
        color: #fff;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: background 0.15s;
    }

    .modal-sticky-bar .btn-sticky-cart:hover {
        background: var(--gold-dark, #A67A2E);
    }

    .modal-sticky-bar .btn-sticky-cart:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .modal-actions {
        display: none;
    }
}

/* Modal quantity row */
.modal-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 12px 0;
    border-top: 1px solid #f3f4f6;
}

.modal-qty-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Destaque product border */
.product-card.destaque {
    border: 2px solid var(--gold, #C8963E);
    box-shadow: 0 4px 16px rgba(200, 150, 62, 0.15);
}

/* Cupom section in cart */
.cart-coupon {
    padding: 12px 16px;
    border-top: 1px solid #f3f4f6;
}

.cart-coupon-form {
    display: flex;
    gap: 6px;
}

.cart-coupon-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    text-transform: uppercase;
}

.cart-coupon-input:focus {
    outline: none;
    border-color: var(--gold, #C8963E);
}

.cart-coupon-btn {
    padding: 8px 14px;
    background: var(--gold, #C8963E);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.cart-coupon-btn:hover {
    background: var(--gold-dark, #A67A2E);
}

.cart-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #ecfdf5;
    border-radius: 8px;
    margin-top: 6px;
    font-size: 13px;
    color: #059669;
}

.cart-coupon-applied button {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
}

.cart-discount-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 16px;
    font-size: 13px;
    color: #059669;
}

/* ==========================================
   COUNTDOWN BADGE
   ========================================== */
.countdown-timer {
    font-size: 11px;
    color: #ef4444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* ==========================================
   VALIDATION ERROR
   ========================================== */
.variation-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.variation-group.error .variation-error {
    display: block;
}

.variation-group.error .variation-options {
    border: 1px solid #fca5a5;
    border-radius: 12px;
    padding: 4px;
}

/* ==========================================
   INFINITE SCROLL INDICATOR
   ========================================== */
.load-more-indicator {
    text-align: center;
    padding: 24px;
    color: var(--gray-500);
    display: none;
}

.load-more-indicator.visible {
    display: block;
}

.load-more-indicator .spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
    margin: 0 auto 8px;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--gold);
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus visible ring */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

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

/* ==========================================
   DARK MODE TOGGLE BUTTON
   ========================================== */
.dark-mode-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(200, 150, 62, 0.1);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    background: var(--gold);
    color: #fff;
}

/* ==========================================
   CART SIDEBAR ACTIVE STATES
   ========================================== */
.cart-sidebar.active {
    transform: translateX(0);
}

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

/* Print Styles */
@media print {
    .header, .footer, .modal-overlay, .cart-sidebar, .cart-float, .back-to-top, .toast {
        display: none !important;
    }

    .hero {
        margin-top: 0;
    }

    .product-card {
        break-inside: avoid;
    }
}
