/* ============================================================
   Noite de Gala - Brand Theme
   Loaded after custom.css to override the template defaults.
   ============================================================ */

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

@font-face {
    font-family: 'Rianti';
    src: url('../fonts/Rianti Font/Rianti Extra Bold.ttf') format('truetype'),
         url('../fonts/Rianti Font/Rianti-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #5d3c2d;   /* brand primary (chocolate) */
    --secondary-color: #e9ddc6; /* brand secondary (cream) */
    --accent-color: #5d3c2d;
    --bg-color: #FFFFFF;
    --text-color: #6b5d52;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --default-font: 'Poppins', sans-serif;
    --title-font: 'Rianti', 'Poppins', serif;
    --divider-color: #5d3c2d1A;
    --dark-divider-color: #FFFFFF1A;
}

body {
    font-family: var(--default-font);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.section-title h1,
.section-title h2,
.page-header-box h1,
.product-item-title,
.post-item-content h2,
.footer-links h2,
.cart-item-title p,
.order-summary-box-title h2 {
    font-family: var(--title-font);
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* Slightly reduce oversized default heading weight artifacts */
.section-title h2, .page-header-box h1 { line-height: 1.15em; }

/* Dark sections (footer, hero, page-header) use light text on brown */
.dark-section { background-color: var(--primary-color); }
.dark-section h1, .dark-section h2, .dark-section h3,
.dark-section .section-title h2,
.main-footer h2,
.page-header-box h1 { color: var(--white-color); }

/* Hero / page-header background images already come from the template; keep them.
   But give the hero a warm brown overlay so cream text reads. */
.hero.dark-section, .page-header.dark-section { position: relative; }
.hero.dark-section::before, .page-header.dark-section::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(93,60,45,0.85), rgba(93,60,45,0.55));
    z-index: 1;
}
.hero .container, .page-header .container { position: relative; z-index: 2; }

/* Buttons / links accent */
.btn-default { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.btn-default:hover { background-color: var(--secondary-color); border-color: var(--secondary-color); color: var(--primary-color); }
.btn-highlighted { background-color: var(--secondary-color); border-color: var(--secondary-color); color: var(--primary-color); }
.btn-highlighted:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; }

/* ============================================================
   Hero CTA Ã¢â‚¬â€ premium gold (scoped to hero only)
   ============================================================ */
.hero .hero-content-button .btn-default {
    padding: 18px 70px 18px 26px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid rgba(201,169,106,0.9);
    border-radius: 50px;
    background: linear-gradient(135deg, #e9dcba 0%, #c9a96a 45%, #e9dcba 100%);
    background-size: 220% 220%;
    background-position: 0% 0%;
    box-shadow: 0 8px 26px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: background-position 0.6s ease, box-shadow 0.4s ease, transform 0.3s ease;
}
.hero .hero-content-button .btn-default::before {
    right: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    background-image: url('../images/arrow-white.svg');
}
.hero .hero-content-button .btn-default::after {
    content: '';
    top: -60%;
    left: -70%;
    width: 45%;
    height: 220%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
    z-index: 1;
    animation: none;
    transition: left 0.7s ease;
}
.hero .hero-content-button .btn-default:hover {
    color: var(--primary-color);
    background-position: 100% 100%;
    box-shadow: 0 14px 34px rgba(201,169,106,0.45), inset 0 1px 0 rgba(255,255,255,0.5);
    transform: translateY(-2px);
}
.hero .hero-content-button .btn-default:hover::after {
    right: auto;
    left: 120%;
    width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.6), transparent);
}
.hero .hero-content-button .btn-default:hover::before {
    background-color: var(--primary-color);
    background-image: url('../images/arrow-white.svg');
}

/* ============================================================
   Header search Ã¢â‚¬â€ autocomplete with thumbnails
   ============================================================ */
.header-search-form-box {
    position: relative;
    flex: 1;
    max-width: 560px;
    margin: 0 24px;
    background: #faf7f1;
    border-color: var(--divider-color);
    border-radius: 50px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header-search-form-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(93,60,45,0.12);
}
.header-search-form .form-group .form-control {
    padding: 12px 15px;
    font-size: 15px;
}
.header-search-form .form-group .form-control::placeholder { opacity: 0.45; }
.header-search-form .form-group .header-search-btn i { color: var(--primary-color); }

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    min-width: 340px;
    max-height: 440px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--divider-color);
    border-radius: 14px;
    box-shadow: 0 24px 50px rgba(93,60,45,0.18);
    z-index: 250;
}
.hs-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1ece2;
    text-decoration: none;
    transition: background 0.2s ease;
}
.hs-item:hover, .hs-item.is-active { background: #faf6ee; }
.hs-item img {
    flex: none;
    width: 52px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #f1ece2;
}
.hs-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.hs-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hs-empty { padding: 18px 14px; font-size: 14px; color: #999; }
.hs-more {
    display: block;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    background: #faf6ee;
}
.hs-more:hover { color: var(--accent-color); }

@media only screen and (max-width: 1024px){
    .header-search-form-box { margin: 0 12px; max-width: 420px; }
}

@media only screen and (max-width: 767px){
    .header-search-form-box {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        margin: 12px 0 0;
    }
    .header-search-dropdown { min-width: 0; }
}

/* Price color */
.product-item-price h3 { color: var(--primary-color); }
.product-item-price h3 span { color: #b3a794; }

/* Breadcrumb on page headers */
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: #f0e8da; }
.page-header .breadcrumb-item.active { color: var(--secondary-color); }

/* ============================================================
   Cart Offcanvas (global)
   ============================================================ */
.cart-offcanvas {
    position: fixed;
    top: 0; right: -100%;
    width: 400px; max-width: 92vw;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s ease;
}
.cart-offcanvas.open { right: 0; }
.cart-offcanvas-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease;
}
.cart-offcanvas-backdrop.open { opacity: 1; visibility: visible; }
.cart-offcanvas-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 22px;
    background: var(--primary-color); color: #fff;
}
.cart-offcanvas-header h3 { font-family: var(--title-font); color: #fff; margin: 0; font-size: 22px; }
.cart-offcanvas-close {
    background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1;
}
.cart-offcanvas-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.cart-offcanvas-item {
    display: flex; gap: 14px; align-items: center;
    padding: 14px 0; border-bottom: 1px solid #eee;
}
.cart-offcanvas-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.cart-offcanvas-item .co-info { flex: 1; }
.cart-offcanvas-item .co-title { font-weight: 600; color: var(--primary-color); margin: 0 0 4px; }
.cart-offcanvas-item .co-price { color: var(--primary-color); font-weight: 600; }
.cart-offcanvas-item .co-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.co-qty button {
    width: 24px; height: 24px; border: 1px solid #ccc; background: #fff; cursor: pointer; line-height: 1;
}
.co-remove {
    background: none; border: none; color: #b00; cursor: pointer; font-size: 18px;
}
.cart-offcanvas-empty { text-align: center; color: #999; padding: 40px 0; }
.cart-offcanvas-footer { padding: 20px 22px; border-top: 1px solid #eee; }
.cart-offcanvas-total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 14px; }
.cart-offcanvas-total span:first-child { color: #666; }
.cart-offcanvas-total span:last-child { color: var(--primary-color); font-size: 20px; }
.cart-offcanvas-cta { width: 100%; }

/* Cart form inside offcanvas (lead) */
.cart-lead-form .form-group { margin-bottom: 12px; }
.cart-lead-form label { font-size: 13px; color: #555; margin-bottom: 4px; display: block; }
.cart-lead-form input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }

/* Cart count badge */
.header-action-details .cart-count-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 4px;
    background: var(--secondary-color); color: var(--primary-color);
    border-radius: 50%; font-size: 11px; font-weight: 700;
    position: absolute; top: -4px; right: -8px;
}

/* Hero background carousel */
.hero { background-image: none; }
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }

/* Ken Burns — slow cinematic zoom/pan on the hero background */
.hero-slide.active {
    animation: heroKenBurns 22s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: transform;
}
@keyframes heroKenBurns {
    0%   { transform: scale(1.02) translate3d(0, 0, 0); }
    60%  { transform: scale(1.16) translate3d(-1.2%, -1.4%, 0); }
    100% { transform: scale(1.16) translate3d(-1.2%, -1.4%, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide.active { animation: none; }
}

/* Categories carousel */
.cat-swiper { display: block; overflow: hidden; gap: 0; padding-bottom: 45px; }
.cat-swiper .swiper-slide { height: auto; text-align: center; }
.cat-swiper .category-item { width: auto; }
.cat-swiper .category-item-image { max-width: 225px; margin: 0 auto 20px; }
.cat-swiper-pagination { position: static;
    margin-top: 20px;
    display: flex;
    justify-content: center; }
.cat-swiper-pagination .swiper-pagination-bullet { background: var(--primary-color); }
span.swiper-pagination-bullet.swiper-pagination-bullet-active{
    width: 30px; border-radius: 12px;
}

/* ============================================================
   Product shop filter sidebar Ã¢â‚¬â€ premium panel
   ============================================================ */
.page-single-sidebar {
    position: sticky;
    top: 24px;
    margin-right: 20px;
    background: #fff;
    border: 1px solid var(--divider-color);
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 18px 44px rgba(93, 60, 45, 0.07);
}
.page-single-sidebar .product-category-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--divider-color);
}
.page-single-sidebar .product-category-filter-title {
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: none;
}
.page-single-sidebar .product-category-filter-title h2 {
    font-family: var(--title-font);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}
.pf-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary-color), #e6d8bb);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.pf-filter-chip img { max-width: 18px; width: 100%; }
.pf-active-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 4px 10px rgba(93, 60, 45, 0.25);
}
.product-category-filter-clear-btn a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--divider-color);
    background: #fff;
    border-radius: 999px;
    padding: 7px 14px;
    transition: all 0.25s ease;
}
.product-category-filter-clear-btn a::before {
    content: "\f00d";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 10px;
}
.product-category-filter-clear-btn a:hover {
    border-color: var(--primary-color);
    background: var(--secondary-color);
}

/* filter sections */
.page-single-sidebar .product-category-item {
    border-bottom: 1px solid var(--divider-color);
    margin-bottom: 22px;
    padding-bottom: 22px;
}
.page-single-sidebar .product-category-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.page-single-sidebar .product-category-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 14px;
}
.page-single-sidebar .product-category-item-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--divider-color);
}

/* categories list */
.page-single-sidebar .product-category-item ul li { margin-bottom: 6px; }
.page-single-sidebar .product-category-item ul li:last-child { margin-bottom: 0; }
.page-single-sidebar .product-category-item ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--text-color);
    font-size: 14px;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.page-single-sidebar .product-category-item ul li a::after {
    content: "\f105";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 11px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
}
.page-single-sidebar .product-category-item ul li a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}
.page-single-sidebar .product-category-item ul li a:hover::after,
.page-single-sidebar .product-category-item ul li a.is-active::after { opacity: 1; transform: none; }
.page-single-sidebar .product-category-item ul li a.is-active {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(93, 60, 45, 0.2);
}

/* attribute pills */
.pf-options { display: flex; flex-wrap: wrap; gap: 9px; }
.pf-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
.pf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pf-opt .pf-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid var(--divider-color);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    background: #fff;
    box-shadow: 0 1px 2px rgba(93, 60, 45, 0.04);
    transition: all 0.25s ease;
}
.pf-opt:hover .pf-name {
    transform: translateY(-1px);
    border-color: var(--primary-color);
    box-shadow: 0 6px 14px rgba(93, 60, 45, 0.1);
}
.pf-opt.is-on .pf-name {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(93, 60, 45, 0.22);
}
.pf-opt.is-on .pf-name::before {
    content: "\f00c";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 11px;
    margin-right: 3px;
}

/* color swatches */
.pf-colors { gap: 12px; }
.pf-opt.pf-color { flex-direction: column; gap: 6px; text-align: center; }
.pf-opt.pf-color .pf-name { padding: 0; border: none; background: none; box-shadow: none; font-size: 11.5px; color: var(--text-color); font-weight: 500; }
.pf-opt.pf-color:hover .pf-name { border-color: transparent; }
.pf-opt.pf-color.is-on .pf-name { color: var(--primary-color); font-weight: 700; }
.pf-opt.pf-color.is-on .pf-name::before { content: none; }
.pf-swatch {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(93, 60, 45, 0.25), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pf-opt.pf-color:hover .pf-swatch { transform: scale(1.1); box-shadow: 0 0 0 2px var(--gold), inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.pf-opt.pf-color.is-on .pf-swatch { box-shadow: 0 0 0 3px var(--primary-color), inset 0 0 0 1px rgba(0, 0, 0, 0.08); transform: scale(1.1); }
.pf-opt.pf-color.is-on .pf-swatch::after {
    content: "\f00c";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 13px;
}
.pf-opt.pf-color.is-on .pf-swatch.is-dark::after { color: #fff; }
.pf-opt.pf-color.is-on .pf-swatch.is-light::after { color: #2c231d; }
.pf-empty { font-size: 12.5px; color: #b3a794; }

.pcard-colors { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; }
.pcard-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(93, 60, 45, 0.2);
}

/* ============================================================
   Home Â· mobile "netflix" carousels (drag/swipe + scroll-snap)
   ============================================================ */
@media (max-width: 767px) {
    .page-home .special-discount-item-list,
    .page-home .product-item-list,
    .page-home .our-social-feed .row:not(.section-row),
    .page-home .our-blog .row:not(.section-row) {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0;
        height: auto !important; /* ponytail: Chromium bug — scroll-snap flex container computes a wrong (huge) used height unless an explicit !important height is declared */
        padding-bottom: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        cursor: grab;
    }
    .page-home .special-discount-item-list::-webkit-scrollbar,
    .page-home .product-item-list::-webkit-scrollbar,
    .page-home .our-social-feed .row:not(.section-row)::-webkit-scrollbar,
    .page-home .our-blog .row:not(.section-row)::-webkit-scrollbar { display: none; }
    .page-home .special-discount-item-list.is-dragging,
    .page-home .product-item-list.is-dragging,
    .page-home .our-social-feed .row:not(.section-row).is-dragging,
    .page-home .our-blog .row:not(.section-row).is-dragging {
        scroll-snap-type: none;
        cursor: grabbing;
        user-select: none;
    }

    .page-home .special-discount-item-list > .special-discount-item {
        flex: 0 0 80%;
        width: 80%;
        scroll-snap-align: start;
        padding: 0 6px;
        height: 360px;
    }
    .page-home .product-item-list > .product-item-box,
    .page-home .our-social-feed .row:not(.section-row) > [class*="col-"],
    .page-home .our-blog .row:not(.section-row) > [class*="col-"] {
        position: static !important;
        align-self: flex-start;
        flex: 0 0 78% !important;
        width: 78% !important;
        max-width: 78% !important;
        scroll-snap-align: start;
        padding-left: 8px;
        padding-right: 8px;
    }
    .page-home .product-item-list .product-item {
        height: auto;
        margin-bottom: 0;
    }
}

/* ============================================================
   Search trigger (lupa) — abre o modal de busca no mobile
   ============================================================ */
.header-search-trigger { display: none; align-items: center; margin: 0 12px; }
.header-search-open {
    width: 46px; height: 46px;
    border: 1px solid var(--divider-color);
    border-radius: 50%;
    background: #faf7f1;
    color: var(--primary-color);
    font-size: 17px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.header-search-open:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* ============================================================
   Modais globais (ndg-modal): busca / vídeo / lead / conversão
   ============================================================ */
.ndg-modal {
    position: fixed; inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease;
}
.ndg-modal.open { opacity: 1; visibility: visible; }
.ndg-modal-backdrop { position: absolute; inset: 0; background: rgba(43,28,18,0.66); }
.ndg-modal-box {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    padding: 34px 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    transform: translateY(14px);
    transition: transform 0.3s ease;
}
.ndg-modal.open .ndg-modal-box { transform: translateY(0); }
.ndg-modal-close {
    position: absolute; top: 10px; right: 14px;
    width: 40px; height: 40px;
    border: none; background: none;
    color: var(--primary-color);
    font-size: 30px; line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.ndg-modal-title { font-family: var(--title-font); color: var(--primary-color); margin: 0 0 8px; font-size: 26px; }
.ndg-modal-text { color: var(--text-color); margin: 0 0 18px; font-size: 15px; line-height: 1.6; }

.search-modal .ndg-modal-box { max-width: 560px; }
.search-modal .header-search-form-box { max-width: none; margin: 0; }

.video-modal .ndg-modal-box { max-width: 420px; background: #000; padding: 10px; }
.video-modal-frame video { width: 100%; max-height: 80vh; display: block; border-radius: 8px; background: #000; }
.video-modal-fallback { text-align: center; padding: 40px 16px; color: var(--text-color); }
.video-modal-fallback > i { font-size: 40px; color: var(--primary-color); margin-bottom: 16px; }
.video-modal-fallback h3 { font-family: var(--title-font); color: var(--primary-color); margin: 0 0 10px; }
.video-modal-fallback p { margin: 0 0 20px; }
.video-modal-fallback .btn-default { display: inline-flex; align-items: center; gap: 8px; }

.ndg-lead-form .form-group { margin-bottom: 14px; }
.ndg-lead-form label { display: block; font-size: 13px; color: #555; margin-bottom: 5px; }
.ndg-lead-form input {
    width: 100%; padding: 12px 14px;
    border: 1px solid #ddd; border-radius: 8px;
    font-size: 15px;
}
.ndg-lead-form input:focus { outline: none; border-color: var(--primary-color); }
.ndg-lead-submit { width: 100%; padding: 14px; border-radius: 50px; cursor: pointer; border: none; }
.ndg-conv-done { text-align: center; padding: 10px 0; }
.ndg-conv-done i { font-size: 44px; color: #2e9e5b; margin-bottom: 12px; }

/* Favoritos no header */
.header-action-details li { position: relative; }
.header-action-details .header-fav-link i { font-size: 20px; color: var(--primary-color); }

/* Hero personalizado (desktop/mobile via admin) */
.hero-slide.set-mobile { display: none; }
@media only screen and (max-width: 767px){
    .hero-slide.set-desktop { display: none; }
    .hero-slide.set-mobile { display: block; }
}

/* ============================================================
   Card de produto: favoritos + Agendar Visita
   ============================================================ */
.product-item-action ul li a i { font-size: 16px; color: var(--primary-color); transition: all 0.3s ease; }
.product-item-action ul li a:hover i { color: #fff; }
.product-item-action ul li a.is-fav { background: var(--primary-color); }
.product-item-action ul li a.is-fav i { color: #fff; }

/* WhatsApp direto no overlay do card */
.product-item-action ul li a.pcard-wa-icon { background: #25d366; }
.product-item-action ul li a.pcard-wa-icon i { color: #fff; font-size: 18px; }
.product-item-action ul li a.pcard-wa-icon:hover { background: #1da851; }

.ps-btn.js-fav-toggle.is-fav { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* ============================================================
   Página Meus Favoritos
   ============================================================ */
.fav-page { padding: 50px 0 70px; min-height: 40vh; }
.fav-need-id-box, .fav-empty {
    text-align: center; max-width: 420px; margin: 0 auto;
    padding: 50px 24px; border: 1px solid var(--divider-color);
    border-radius: 18px; background: #fff;
    box-shadow: 0 18px 44px rgba(93,60,45,0.07);
}
.fav-need-id-box > i, .fav-empty > i { font-size: 40px; color: var(--primary-color); margin-bottom: 16px; }
.fav-need-id-box h2, .fav-empty h2 { font-family: var(--title-font); color: var(--primary-color); font-size: 24px; margin: 0 0 10px; }
.fav-need-id-box p, .fav-empty p { color: var(--text-color); margin: 0 0 22px; }
.fav-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.fav-item {
    display: flex; gap: 16px;
    background: #fff; border: 1px solid var(--divider-color);
    border-radius: 14px; padding: 14px;
    align-items: center;
    box-shadow: 0 14px 36px rgba(93,60,45,0.06);
}
.fav-thumb { flex: none; width: 96px; height: 120px; }
.fav-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.fav-info { min-width: 0; }
.fav-info h3 { font-size: 16px; font-weight: 600; color: var(--primary-color); margin: 0 0 12px; }
.fav-info h3 a { color: inherit; text-decoration: none; }
.fav-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fav-wa {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--primary-color); color: #fff;
    font-size: 13px; font-weight: 600;
    padding: 9px 16px; border-radius: 50px; text-decoration: none;
}
.fav-wa:hover { background: var(--secondary-color); color: var(--primary-color); }
.fav-remove {
    display: inline-flex; align-items: center; gap: 6px;
    border: none; background: none; color: #b04545;
    font-size: 13px; cursor: pointer;
}
.fav-remove:hover { text-decoration: underline; }
@media only screen and (max-width: 767px){
    .fav-list { grid-template-columns: 1fr; }
    /* Mobile: esconde o input inline do header e usa o ícone -> modal */
    .main-header .header-search-form-box { display: none; }
    .header-search-trigger { display: flex; }
}

/* ============================================================
   Sob Medida — "Saiba mais" no card + modal landing fullscreen
   ============================================================ */
.sob-modal {
    --ink: #5d3c2d;
    --ink-2: #fffdf9;
    --cream-dim: #e9e0d2;
    --gold: #c9a96a;
    --gold-2: #966f2a;
    --line: rgba(93, 60, 45, 0.16);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- botão no card ---- */
.special-discount-item-btn { position: relative; z-index: 2; margin-top: 22px; text-align: center; }
.special-discount-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.38);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.35s var(--ease);
}
.special-discount-btn i { transition: transform 0.35s var(--ease); }
.special-discount-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}
.special-discount-btn:hover i { transform: translateX(4px); }

/* ---- modal fullscreen ---- */
.sob-modal {
    position: fixed;
    inset: 0;
    z-index: 99995;
    background: var(--ink-2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sob-modal.is-open { opacity: 1; visibility: visible; }
.sob-modal-scroll {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.sob-modal-close {
    position: fixed;
    top: 18px; right: 18px;
    z-index: 20;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(93, 60, 45, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.sob-modal-close span,
.sob-modal-close span::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 18px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transform: translate(-50%, -50%) rotate(45deg);
}
.sob-modal-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sob-modal-close:hover { background: var(--gold-2); border-color: var(--gold-2); transform: rotate(90deg); }

/* ---- hero ---- */
.sob-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #33211a;
}
.sob-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.sob-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}
.sob-hero-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(43, 26, 18, 0.92) 0%, rgba(43, 26, 18, 0.62) 55%, rgba(43, 26, 18, 0.25) 100%),
        radial-gradient(90% 70% at 85% 15%, rgba(201, 169, 106, 0.25), transparent 60%);
}
.sob-hero .container { position: relative; z-index: 2; padding: 120px 15px 90px; }
.sob-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}
.sob-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.sob-sparkles i {
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(201, 169, 106, 0.9);
    opacity: 0;
}
.sob-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.sob-title {
    font-family: var(--title-font);
    font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.02;
    color: #fff;
    margin: 0 0 22px;
}
.sob-t-w { display: inline-block; overflow: hidden; vertical-align: top; }
.sob-t-wi { display: inline-block; }
.sob-hero-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--cream-dim);
    max-width: 480px;
    margin: 0 0 26px;
}
.sob-hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(201, 169, 106, 0.16);
    border: 1px solid rgba(201, 169, 106, 0.4);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 14px;
    margin: 0 0 30px;
}
.sob-hero-highlight i { color: var(--gold); font-size: 18px; }
.sob-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- arte (imagem flutuante) ---- */
.sob-hero-art { position: relative; justify-self: center; }
.sob-art-frame {
    position: relative;
    width: min(400px, 80vw);
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.sob-art-frame::before {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(201, 169, 106, 0.55);
    border-radius: 30px;
    z-index: 0;
}
.sob-art-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: 20px;
}
.sob-art-badge {
    position: absolute;
    left: -18px;
    bottom: 26px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    background: var(--gold);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.sob-art-badge b { font-family: var(--title-font); font-size: 26px; line-height: 1; }
.sob-scroll-cue {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 26px;
    display: flex;
    justify-content: center;
}
.sob-cue-line {
    width: 1px; height: 46px;
    background: linear-gradient(180deg, var(--gold), transparent);
    position: relative;
    overflow: hidden;
}
.sob-cue-line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    background: var(--gold);
    animation: sobCue 1.8s ease-in-out infinite;
}
@keyframes sobCue { 0% { top: -100%; } 60% { top: 0; } 100% { top: 100%; } }

/* ---- marquee ---- */
.sob-marquee {
    background: var(--ink);
    border-top: 1px solid rgba(201, 169, 106, 0.3);
    border-bottom: 1px solid rgba(201, 169, 106, 0.3);
    overflow: hidden;
    padding: 16px 0;
}
.sob-marquee-track { display: flex; width: max-content; animation: sobMarquee 30s linear infinite; }
.sob-marquee:hover .sob-marquee-track { animation-play-state: paused; }
.sob-marquee-set { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; }
.sob-marquee-set span { font-family: var(--title-font); font-size: 24px; color: var(--cream-dim); }
.sob-marquee-set i { color: var(--gold); font-size: 14px; }
@keyframes sobMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- processo ---- */
.sob-process { padding: 110px 0; background: var(--ink-2); }
.sob-process-head { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.sob-process-head .sob-eyebrow { color: var(--gold-2); }
.sob-process-head h3 {
    font-family: var(--title-font);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ink);
    margin: 0 0 14px;
}
.sob-process-head p { color: #8a7465; font-size: 16px; line-height: 1.7; margin: 0; }
.sob-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.sob-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px 26px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.sob-step:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 106, 0.6);
    box-shadow: 0 26px 50px rgba(93, 60, 45, 0.14);
}
.sob-step-num {
    display: block;
    font-family: var(--title-font);
    font-size: 56px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(150, 111, 42, 0.55);
    margin-bottom: 10px;
}
.sob-step-line {
    display: block;
    width: 34px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    margin-bottom: 18px;
}
.sob-step h4 { font-family: var(--title-font); font-weight: 800; font-size: 20px; color: var(--ink); margin: 0 0 10px; }
.sob-step p { color: #8a7465; font-size: 14px; line-height: 1.6; margin: 0; }

/* ---- destaque (faixa escura) ---- */
.sob-band {
    position: relative;
    background: linear-gradient(120deg, #33211a, var(--ink));
    text-align: center;
    padding: 96px 0;
    overflow: hidden;
}
.sob-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 50% 0%, rgba(201, 169, 106, 0.18), transparent 70%);
}
.sob-band-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.sob-band-inner > i {
    width: 66px; height: 66px;
    border-radius: 50%;
    background: rgba(201, 169, 106, 0.16);
    border: 1px solid rgba(201, 169, 106, 0.5);
    color: var(--gold);
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}
.sob-band h3 {
    font-family: var(--title-font);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 16px;
}
.sob-band p { color: var(--cream-dim); font-size: 16px; margin: 0 0 30px; }

/* ---- cta final ---- */
.sob-final { padding: 110px 0; background: var(--ink-2); }
.sob-final-inner {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    background: #f5eee0;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 64px 36px;
}
.sob-final-inner .sob-eyebrow { color: var(--gold-2); }
.sob-final-inner h3 {
    font-family: var(--title-font);
    font-weight: 800;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    color: var(--ink);
    margin: 0 0 14px;
}
.sob-final-inner p { color: #8a7465; font-size: 16px; margin: 0 0 30px; }

/* ---- botões ---- */
.sob-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease);
}
.sob-btn i { font-size: 17px; }
.sob-btn-gold {
    background: linear-gradient(135deg, #d8bb85, var(--gold) 60%, var(--gold-2));
    color: var(--ink);
    box-shadow: 0 14px 34px rgba(201, 169, 106, 0.35);
}
.sob-btn-gold:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 18px 42px rgba(201, 169, 106, 0.45); }
.sob-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.sob-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.sob-btn-dark { background: var(--ink); color: #fff; }
.sob-btn-dark:hover { background: var(--gold-2); transform: translateY(-2px); }

/* ---- reveals (scroll) ---- */
.sob-modal [data-sob-scroll] { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.sob-modal.sob-anim [data-sob-scroll] { opacity: 0; transform: translateY(32px); }
.sob-modal.sob-anim [data-sob-scroll].is-in { opacity: 1; transform: none; }

@media only screen and (max-width: 991px){
    .sob-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .sob-hero-art { order: -1; }
    .sob-process-grid { grid-template-columns: repeat(2, 1fr); }
    .sob-process { padding: 80px 0; }
}
@media only screen and (max-width: 767px){
    .sob-hero .container { padding: 110px 15px 70px; }
    .sob-art-badge { left: 8px; bottom: 12px; }
    .sob-process-grid { grid-template-columns: 1fr; }
    .sob-process { padding: 64px 0; }
    .sob-band { padding: 70px 0; }
    .sob-final { padding: 64px 0; }
    .sob-final-inner { padding: 46px 22px; }
    .sob-marquee-set span { font-size: 18px; }
}