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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #111;
    overflow-x: hidden;
}

/* ==========================================================================
   NAVBAR PREMIUM
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: #111111 !important;
    border-bottom: 1px solid #222222;
    box-sizing: border-box;
}

.nav-logo img {
    height: 65px !important;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex !important;
    flex-direction: row !important;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #caa35e;
}

.nav-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn i {
    color: #caa35e !important;
    font-size: 1.4rem !important; 
    display: inline-block !important;
}

.cart-btn::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #caa35e;
}

#cartCount {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #caa35e;
    color: #111111;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url("images/hero.png") center center/cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-sub {
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 7rem;
    line-height: 0.9;
}

.hero-desc {
    margin-top: 20px;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 35px;
    background: #caa35e;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: .3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   TICKER
   ========================================================================== */

.ticker {
    background: #111;
    color: white;
    padding: 15px 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    gap: 40px;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   PRODUTOS VITRINE
   ========================================================================== */

.produtos-section {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #777;
}

.filtros {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filtros button {
    padding: 10px 22px;
    border: 1px solid #111;
    background: white;
    color: #111;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s ease;
}

.filtros button.active, .filtros button:hover {
    background: #111;
    color: white;
}

.produtos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.produto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
    display: flex;
    flex-direction: column;
    flex: 0 1 calc(33.333% - 30px);
    min-width: 260px;
}

.produto-card:hover {
    transform: translateY(-8px);
}

.produto-img {
    width: 100%;
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    overflow: hidden;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

.produto-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.produto-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.produto-precos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.preco-antigo {
    text-decoration: line-through;
    color: #999;
    font-size: 0.95rem;
    font-weight: 400;
}

.produto-preco {
    font-size: 1.3rem;
    font-weight: 700;
    color: #caa35e;
}

.btn-produto {
    width: 100%;
    border: none;
    background: #111;
    color: white;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.btn-produto:hover {
    background: #caa35e;
}

/* ==========================================================================
   SEÇÃO UNIFICADA: SOBRE + INSTAGRAM
   ========================================================================== */

.sobre-insta-container {
    padding: 120px 8%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    background: #ffffff;
}

.section-label {
    color: #caa35e;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.sobre-bloco-texto h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 600;
    color: #111;
}

.sobre-descricao {
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
    max-width: 420px;
}

.insta-bloco-galeria {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.insta-galeria-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 2px;
}

.insta-galeria-header p {
    color: #777;
    font-size: 0.9rem;
}

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

.insta-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #fafafa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.insta-item:hover img {
    transform: scale(1.04);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: #111;
    color: white;
    padding: 60px 8%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.footer-logo img {
    height: 55px !important;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* ==========================================================================
   CARRINHO LATERAL
   ========================================================================== */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto; 
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

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

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

.cart-header button {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

#cartItems {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item button {
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 1rem;
}

.cart-footer {
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ==========================================================================
   MODAL DE DETALHES & SELETORES
   ========================================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1002;
    display: none;
}

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

.produto-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    z-index: 1003;
    padding: 30px;
    border-radius: 20px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto; 
    display: none;
    transition: 0.3s ease;
}

.produto-modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #111;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    background: #fafafa;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}

#modalImg {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

#modalImg:hover {
    transform: scale(1.02);
}

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

.modal-info h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modal-precos-block {
    margin-bottom: 15px;
}

.modal-descricao-texto {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.modal-seletor-tamanho label,
.modal-seletor-cor label {
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.modal-seletor-tamanho select,
.modal-seletor-cor select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.modal-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.modal-thumb {
    aspect-ratio: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.modal-thumb.active {
    border-color: #caa35e;
}

/* ==========================================================================
   MODAL GUIA DE TAMANHOS (TABELA DE MEDIDAS)
   ========================================================================== */

.medidas-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.medidas-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    animation: fadeIn 0.3s ease;
}

.medidas-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.medidas-modal-close:hover {
    color: #111;
}

.medidas-modal-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.5px;
}

.tabela-medidas {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.tabela-medidas th, 
.tabela-medidas td {
    padding: 12px 15px;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
}

.tabela-medidas th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.tabela-medidas td strong {
    color: #caa35e;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   LIGHTBOX PREMIUM
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    user-select: none;
}

.lightbox-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(202, 163, 94, 0.3);
    color: #caa35e;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2600;
}

.lightbox-seta:hover {
    background: #caa35e;
    color: #111111;
    box-shadow: 0 0 15px rgba(202, 163, 94, 0.4);
}

.seta-esq { left: -70px; }
.seta-dir { right: -70px; }

.lightbox-fechar {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-fechar:hover {
    color: #caa35e;
}

/* ==========================================================================
   RESPONSIVIDADE GERAL & CORREÇÃO MOBILE NAVBAR
   ========================================================================== */

@media (max-width: 968px) {
    .sobre-insta-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 80px 8%;
    }
    
    .sobre-bloco-texto h2 {
        font-size: 2.5rem;
    }
    
    .sobre-descricao {
        max-width: 100%;
    }

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

    .modal-image {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    /* Ajustes da Navbar no celular para o logo não tampar o menu/links */
    .navbar {
        padding: 12px 5%;
        flex-wrap: nowrap;
        gap: 15px;
    }

    .nav-logo img {
        height: 42px !important; /* Reduz a altura para caber perfeitamente no celular */
    }

    .nav-links {
        gap: 15px; /* Reduz o espaçamento entre os links no mobile */
    }

    .nav-links a {
        font-size: 0.8rem; /* Ajusta levemente o texto dos links no celular */
    }

    /* Lightbox ajustes */
    .seta-esq { left: 10px; }
    .seta-dir { right: 10px; }
    .lightbox-seta {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        background: rgba(17, 17, 17, 0.8);
    }
    .lightbox-fechar {
        top: -45px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .insta-grid-unificado {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
}