/* ===============================
   BELLAARTE - SITE PÚBLICO
   Arquivo: public_html/assets/css/site.css
================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --bg: #fbf8f4;
    --card: #ffffff;
    --text: #34251d;
    --muted: #8f8177;
    --border: #eee2d8;
    --olive: #73794f;
    --olive-dark: #5e643e;
    --brown: #7d5c45;
    --soft-brown: #f3e8dc;
    --gold: #b48a63;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
}

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

a {
    color: inherit;
}

.site-container {
    width: min(1180px, calc(100% - 46px));
    margin: 0 auto;
}

/* ===============================
   HEADER
================================ */

.site-header {
    background: rgba(255, 253, 249, 0.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
}

.header-inner {
    height: 118px;
    display: grid;
    grid-template-columns: 1fr 140px;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    display: none;
}

.brand-logo img {
    width: 110px;
    height: auto;
    object-fit: contain;
}

.main-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 58px;
}

.main-menu a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.6px;
    transition: 0.2s ease;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--olive);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
}

.header-icon,
.cart-icon {
    text-decoration: none;
    color: var(--text);
    font-size: 30px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-icon span {
    position: absolute;
    top: -10px;
    right: -13px;
    width: 23px;
    height: 23px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   HOME - BANNER SLIDER
================================ */

.home-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f4e8dc;
}

.banner-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.banner-track.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.banner-slide {
    min-width: 100%;
    height: 520px;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-slide a {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
}

.banner-empty {
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
    background: linear-gradient(135deg, #fbf8f4, #f1e4d7);
}

.banner-dots {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    z-index: 5;
}

.banner-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: rgba(125, 92, 69, 0.28);
    cursor: pointer;
    transition: 0.2s ease;
}

.banner-dots button.active {
    background: var(--brown);
    transform: scale(1.15);
}

/* ===============================
   TÍTULOS
================================ */

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
    text-align: center;
}

.section-title h2 {
    text-transform: uppercase;
    letter-spacing: 7px;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
}

.section-title span {
    width: 115px;
    height: 1px;
    background: var(--border);
}

.section-title i {
    color: var(--gold);
    font-size: 17px;
}

/* ===============================
   PRODUTOS HOME
================================ */

.home-products {
    padding: 72px 0 60px;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.product-card {
    text-align: center;
}

.product-card-img {
    height: 300px;
    background: var(--soft-brown);
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 34px;
    text-decoration: none;
    margin-bottom: 18px;
    position: relative;
}

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

.product-card h3 {
    min-height: 52px;
    font-size: 18px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card strong {
    display: block;
    color: var(--brown);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 18px;
}

.details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: 0.2s ease;
}

.details-button:hover {
    background: var(--olive);
}

.empty-home {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    padding: 40px;
    font-weight: 600;
}

/* ===============================
   SOBRE NÓS HOME
================================ */

.about-home-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 80px;
    min-height: 420px;
}

.about-text {
    padding: 70px 0;
}

.about-text p {
    color: #55463e;
    line-height: 1.9;
    font-size: 17px;
    margin-bottom: 24px;
    max-width: 100%;
}

.about-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-logo img {
    width: 260px;
    height: auto;
}

.about-image {
    display: none;
}

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

.site-footer {
    background: #f5e9dc;
    border-top: 1px solid var(--border);
    padding-top: 36px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.4fr;
    align-items: center;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-brand img {
    width: 180px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--brown);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: italic;
}

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

.footer-contact div {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--brown);
}

.footer-contact i {
    font-size: 34px;
}

.footer-contact span {
    color: #6d5c51;
    font-size: 14px;
    line-height: 1.5;
}

.footer-copy {
    border-top: 1px solid rgba(125, 92, 69, 0.16);
    padding: 16px;
    text-align: center;
    color: #9a887d;
    font-size: 13px;
}

/* ===============================
   RESPONSIVO
================================ */

@media (max-width: 1200px) {
    .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-home-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        padding: 55px 22px 30px;
    }

    .about-text .section-title {
        justify-content: center;
    }

    .about-logo {
        padding: 25px 0;
    }
}

@media (max-width: 820px) {
    .header-inner {
        height: auto;
        padding: 18px 0;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
    }

    .brand-logo img {
        width: 96px;
    }

    .main-menu {
        gap: 21px;
        flex-wrap: wrap;
    }

    .main-menu a {
        font-size: 12px;
        letter-spacing: 1.1px;
    }

    .header-actions {
        justify-content: center;
    }

    .banner-slide,
    .banner-empty {
        height: 520px;
        background-position: center;
    }

    .section-title {
        gap: 10px;
    }

    .section-title h2 {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .section-title span {
        width: 55px;
    }

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

    .product-card-img {
        height: 230px;
    }

    .product-card h3 {
        font-size: 14px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 10px;
    }

    .footer-contact {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 520px) {
    .site-container {
        width: min(100% - 28px, 1180px);
    }

    .banner-slide,
    .banner-empty {
        height: 320px;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
    }

    .product-card-img {
        height: 310px;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-logo img {
        width: 190px;
    }
}

/* =========================================
   LOJA BELLAARTE
========================================= */

.shop-hero {
    padding: 56px 0 24px;
}

.shop-title {
    text-align: center;
    margin-bottom: 34px;
}

.shop-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: var(--brown);
    font-weight: 600;
    margin-bottom: 12px;
}

.shop-title p {
    color: var(--muted);
    font-size: 15px;
    margin-top: 14px;
}

.shop-title-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.shop-title-detail span {
    width: 72px;
    height: 1px;
    background: var(--border);
}

.shop-title-detail i {
    color: var(--gold);
    font-size: 16px;
}

.shop-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
}

.shop-search {
    width: 300px;
    height: 44px;
    background: #fff;
    border: 1px solid #dfcbb9;
    border-radius: 7px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.shop-search input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 15px;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
}

.shop-search button {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--brown);
    font-size: 24px;
    cursor: pointer;
}

.shop-filters select {
    width: 250px;
    height: 44px;
    border: 1px solid #dfcbb9;
    border-radius: 7px;
    background: #fff;
    color: var(--brown);
    padding: 0 14px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.shop-products {
    padding: 16px 0 64px;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.shop-product-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(238, 226, 216, 0.95);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 7px 18px rgba(80, 50, 35, 0.035);
}

.shop-product-img {
    height: 220px;
    background: var(--soft-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 34px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.shop-product-img span {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--olive);
    color: #fff;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.shop-product-info {
    padding: 15px 14px 18px;
}

.shop-product-info small {
    display: block;
    color: var(--olive);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.shop-product-info h2 {
    min-height: 46px;
    font-size: 15px;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 11px;
}

.shop-product-info strong {
    display: block;
    color: var(--brown);
    font-size: 17px;
    margin-bottom: 16px;
}

/* =========================================
   DETALHE DO PRODUTO - LOJA
========================================= */

.shop-detail-section {
    padding: 20px 0 70px;
}

.shop-detail-box {
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: 48px;
    align-items: start;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(238, 226, 216, 0.95);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(80, 50, 35, 0.04);
}

.shop-detail-gallery {
    min-width: 0;
}

.shop-detail-main-image {
    height: 560px;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 46px;
}

.shop-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.shop-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.shop-detail-thumb {
    height: 86px;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    padding: 0;
}

.shop-detail-thumb.active,
.shop-detail-thumb:hover {
    border-color: var(--gold);
}

.shop-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.shop-detail-info {
    padding-top: 32px;
}

.shop-detail-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    line-height: 1.1;
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.shop-detail-category {
    display: inline-flex;
    background: #fff7ef;
    color: var(--olive);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.shop-detail-price {
    color: var(--brown);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 26px;
}

.shop-detail-description {
    color: #55463e;
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 36px;
}

.shop-detail-form label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.shop-qty-box {
    display: inline-grid;
    grid-template-columns: 52px 70px 52px;
    height: 52px;
    border: 1px solid #c9b49e;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 28px;
}

.shop-qty-box button,
.shop-qty-box input {
    border: 0;
    background: #fffdf9;
    color: var(--brown);
    font-size: 22px;
    text-align: center;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.shop-qty-box button {
    cursor: pointer;
}

.shop-qty-box input {
    border-left: 1px solid #c9b49e;
    border-right: 1px solid #c9b49e;
    font-size: 16px;
    font-weight: 800;
}

.shop-buy-button {
    width: 100%;
    height: 68px;
    border: 0;
    border-radius: 10px;
    background: var(--olive);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 9px 18px rgba(115, 121, 79, 0.22);
}

.shop-buy-button:hover {
    background: var(--olive-dark);
}

.shop-buy-button i {
    font-size: 27px;
}

@media (max-width: 1180px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .shop-detail-box {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }

    .shop-detail-main-image {
        height: 430px;
    }

    .shop-detail-info {
        padding-top: 0;
    }

    .shop-detail-info h2 {
        font-size: 34px;
    }

    .shop-detail-price {
        font-size: 32px;
    }
}

@media (max-width: 820px) {
    .shop-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-search,
    .shop-filters select {
        width: 100%;
    }

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

    .shop-title h1 {
        font-size: 36px;
    }
}

@media (max-width: 520px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
    }

    .shop-product-img {
        height: 300px;
    }

    .shop-detail-section {
        padding: 10px 0 45px;
    }

    .shop-detail-main-image {
        height: 330px;
    }

    .shop-detail-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .shop-detail-thumb {
        height: 70px;
    }
}

/* 🟢 AJUSTE FINAL - REMOVE LOGO SOMENTE DO TOPO DO SITE */
.site-header .brand-logo {
    display: none !important;
}

.site-header .header-inner {
    grid-template-columns: 1fr 140px;
}

.site-header .main-menu {
    justify-content: center;
}

@media (max-width: 820px) {
    .site-header .header-inner {
        grid-template-columns: 1fr;
    }
}

/* SOBRE NÓS MOBILE */
@media (max-width:768px){

    .about-logo{
        display:none !important;
    }

    .about-image{
        display:none !important;
    }

    .about-home-inner{
        display:block !important;
        min-height:auto !important;
    }

    .about-text{
        width:100% !important;
        padding:20px 0 !important;
    }

    .about-text .section-title{
        justify-content:center !important;
    }

    .about-text p{
        text-align:center !important;
        line-height:1.8 !important;
        margin-bottom:15px !important;
    }
}

/* MOBILE - CENTRALIZAR TÍTULOS DAS SEÇÕES */
@media (max-width:768px){

    .section-title{
        justify-content:center !important;
        text-align:center !important;
        gap:10px !important;
    }

    .section-title span{
        display:none !important;
    }

    .section-title h2{
        text-align:center !important;
        margin:0 auto !important;
    }
}

/* MOBILE - BANNER MENOR */
@media (max-width: 520px) {
    .home-banner .banner-slide,
    .home-banner .banner-empty {
        height: 190px !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* MOBILE - IMAGEM DO PRODUTO HOME NORMAL */
@media (max-width: 520px) {
    .product-card-img {
        height: 230px !important;
    }

    .product-card-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        background: #fff !important;
    }
}

/* 🟢 AJUSTE FINAL - PRODUTOS PADRONIZADOS */
.shop-product-img img,
.product-card-img img,
.shop-detail-thumb img {
    object-fit: cover !important;
    background: #fff !important;
}

.shop-detail-main-image img {
    object-fit: contain !important;
    background: #fff !important;
}