/* ============================================================================
   MYTTA BORDADOS — REFRESH DE IDENTIDADE
   Ultima folha carregada em todas as paginas publicas (inicio, catalogo,
   produto, checkout). Cantos arredondados, card de produto com CTA,
   carrinho no cabecalho e barra de navegacao inferior no mobile.
   ========================================================================== */

:root {
    --mt-r-card:  16px;
    --mt-r-media: 12px;
    --mt-r-btn:   10px;
    --mt-tabbar-h: 64px;
}

/* ------------------------------------------------------------- BOTOES ---- */
body .mt-btn,
body .quote-banner-btn,
body .home-ver-todos-produtos-btn,
body.has-site-header-shell .site-header-whatsapp-btn,
body.has-site-header-shell .site-header-phone-btn,
body .site-header-search-submit,
body .co-empty a,
body .co-unavailable a { border-radius: var(--mt-r-btn) !important; }
body .site-header-search-input { border-radius: var(--mt-r-btn); }

/* ==================================================== CARD DE PRODUTO ==== */
body .product-card,
body .category-section .products-carousel .product-card,
body .related-products-section .product-card,
body .related-products-section.category-section .products-carousel .product-card,
body .products-grid .product-card {
    border-radius: var(--mt-r-card) !important;
    overflow: hidden;
    border: 1px solid var(--mt-line-soft) !important;
    box-shadow: 0 2px 10px -4px rgba(43,34,48,0.08) !important;
}
body .product-card:hover {
    box-shadow: 0 22px 44px -22px rgba(43,34,48,0.30) !important;
    border-color: var(--mt-lilac) !important;
}
body .product-card.product-ghost { border: 0 !important; box-shadow: none !important; background: transparent !important; }

/* Foto emoldurada dentro do card, com cantos proprios */
body .product-card .product-image {
    width: calc(100% - 16px) !important;
    margin: 8px 8px 0;
    border-radius: var(--mt-r-media);
    border-bottom: 0 !important;
    background: var(--mt-offwhite, #FDFCFB) !important;
}
body .product-card .product-image img {
    background: transparent !important;
    mix-blend-mode: multiply;
    border-radius: var(--mt-r-media);
}

body .product-card .product-info {
    align-items: stretch !important;
    text-align: left !important;
    gap: 0.45rem !important;
    padding: 0.8rem 0.95rem 0.95rem !important;
}
body .product-card .product-name {
    text-align: left !important;
    font-weight: 500 !important;
}
body .product-card .product-meta-row { margin-bottom: 0 !important; }
body .product-card .price-row,
body .product-card .price-info { justify-content: flex-start !important; }
/* Preco primeiro; "de" riscado e selo vem depois (e somem quando sem desconto) */
body .product-card .price-value { order: -1; font-size: 1.08rem !important; font-weight: 700 !important; }
body .product-card .price-original { font-size: 0.75rem !important; }

body .product-card .product-card-cta {
    display: flex; align-items: center; justify-content: center;
    height: 40px; margin-top: 0.3rem;
    border-radius: var(--mt-r-btn);
    background: var(--mt-plum); color: var(--mt-white);
    font-family: var(--mt-sans);
    font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    transition: background-color .45s var(--mt-ease-out), box-shadow .45s var(--mt-ease-out);
}
body .product-card:hover .product-card-cta {
    background: var(--mt-plum-deep);
    box-shadow: 0 12px 24px -14px rgba(111,83,112,0.9);
}
/* Botoes internos (sob consulta / personalizar) seguem o mesmo raio */
body .product-card .card-bottom-row { margin: auto 0 0 !important; border-top: 0 !important; }
body .product-card .btn-buy-now,
body .product-card .btn-notify-stock { border-radius: var(--mt-r-btn) !important; }

@media (max-width: 768px) {
    body .product-card .product-image { width: calc(100% - 12px) !important; margin: 6px 6px 0; border-radius: 10px; }
    body .product-card .product-info { padding: 0.65rem 0.7rem 0.75rem !important; gap: 0.35rem !important; }
    body .product-card .product-name { font-size: 0.76rem !important; }
    body .product-card .price-value { font-size: 0.95rem !important; }
    body .product-card .price-from-label { font-size: 0.6rem !important; }
    body .product-card .product-card-cta { height: 34px; font-size: 0.58rem; letter-spacing: 0.1em; border-radius: 8px; }
}

/* ============================================== CABECALHO: CARRINHO ====== */
.site-header-cart-btn {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
    border: 1px solid #E8D3DC; border-radius: 999px;
    background: transparent; color: #7D415F;
    font-size: 0.95rem; cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.site-header-cart-btn:hover { background: #FBF3F6; border-color: #7D415F; }
.site-header-cart-btn .cart-badge,
.mt-tabbar .cart-badge {
    position: absolute; top: -5px; right: -5px;
    min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box;
    align-items: center; justify-content: center;
    border-radius: 999px; background: var(--mt-plum-deep); color: #fff;
    font: 700 0.6rem/1 var(--mt-sans);
    border: 2px solid #fff;
}
@media (max-width: 1024px) {
    .site-header-cart-btn { width: 38px; height: 38px; }
    .site-header-actions { gap: 0.5rem !important; }
}

/* ======================================== BARRA INFERIOR (MOBILE) ======== */
.mt-tabbar { display: none; }
@media (max-width: 1024px) {
    .mt-tabbar {
        display: grid; grid-template-columns: repeat(4, 1fr);
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        height: calc(var(--mt-tabbar-h) + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        box-sizing: border-box;
        background: rgba(255,255,255,0.96);
        -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        border-top: 1px solid var(--mt-line);
        box-shadow: 0 -10px 30px -18px rgba(43,34,48,0.35);
    }
    .mt-tabbar-item {
        position: relative;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
        min-width: 0; padding: 0; margin: 0;
        background: none; border: 0; cursor: pointer;
        font: 600 0.6rem/1 var(--mt-sans); letter-spacing: 0.04em;
        color: var(--mt-ink-soft); text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    .mt-tabbar-item i { font-size: 1.15rem; color: var(--mt-plum); line-height: 1; }
    .mt-tabbar-item--whats i { color: #1FA855; font-size: 1.3rem; }
    .mt-tabbar-item.is-active { color: var(--mt-plum-deep); }
    .mt-tabbar-item.is-active::before {
        content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px;
        border-radius: 0 0 2px 2px; background: var(--mt-plum);
    }
    .mt-tabbar-icon { position: relative; display: inline-flex; }
    .mt-tabbar .cart-badge { top: -7px; right: -12px; }

    body.has-site-header-shell { padding-bottom: calc(var(--mt-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
    body.has-site-header-shell .site-whatsapp-fab { display: none !important; }

    /* Produto (barra fixa de compra) e checkout ja tem acao propria no rodape */
    body.has-mt-sticky-cta .mt-tabbar,
    body[data-page="checkout"] .mt-tabbar { display: none; }
    body[data-page="checkout"].has-site-header-shell { padding-bottom: 0; }
}

/* ==================================================== HOME =============== */
/* Hero: CTA + selos de confianca */
body.home-page .home-hero-text { margin-bottom: clamp(1.4rem, 2.2vw, 2rem); }
body.home-page .home-hero-actions { margin-bottom: clamp(1.6rem, 2.6vw, 2.4rem); }
body.home-page .home-hero-trust {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem;
}
body.home-page .home-hero-trust li {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.72rem; font-weight: 500; color: var(--mt-ink-soft);
}
body.home-page .home-hero-trust i {
    display: grid; place-items: center;
    width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%;
    background: rgba(255,255,255,0.75); border: 1px solid var(--mt-line);
    color: var(--mt-plum); font-size: 0.78rem;
}

/* Hero mobile: arte no topo, texto logo abaixo, sem vazio no meio */
@media (max-width: 860px) {
    body.home-page .home-hero { display: block !important; min-height: 0 !important; background: var(--mt-cream); }
    body.home-page .home-hero-banner-slot {
        position: relative !important; inset: auto !important;
        height: clamp(240px, 70vw, 440px) !important;
    }
    body.home-page .home-hero::before {
        background: linear-gradient(180deg,
            rgba(247,244,242,0) 0,
            rgba(247,244,242,0) calc(clamp(240px, 70vw, 440px) - 110px),
            var(--mt-cream) clamp(240px, 70vw, 440px)) !important;
    }
    body.home-page .home-hero .home-hero-banner-slot img,
    body.home-page .home-hero .home-hero-banner-slot video { object-position: 100% center !important; }
    body.home-page .home-hero::after { display: none; }
    body.home-page .home-hero-overlay { margin-top: -2.25rem; padding: 0 0 2.25rem !important; }
    body.home-page .home-hero-copy { padding-inline: 1rem; }
    body.home-page .home-hero-eyebrow { font-size: 0.56rem; letter-spacing: 0.24em; line-height: 1.7; margin-bottom: 0.75rem; }
    body.home-page .home-hero-rule { margin: 1rem 0; }
    body.home-page .home-hero-actions .mt-btn { width: 100%; }
    body.home-page .home-hero-trust {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
    }
    body.home-page .home-hero-trust li {
        flex-direction: column; text-align: center; gap: 0.4rem;
        font-size: 0.58rem; line-height: 1.3;
    }
    body.home-page .home-hero-trust i { width: 40px; height: 40px; flex-basis: 40px; font-size: 0.95rem; background: var(--mt-white); }
    body.home-page .home-hero-dots-anchor { top: calc(clamp(240px, 70vw, 440px) - 3.5rem); bottom: auto !important; }
}

/* Gutter confortavel no mobile (cards nao encostam na borda da tela) */
@media (max-width: 768px) {
    body.home-page .main-content { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* Cabecalho das vitrines: titulo a esquerda + "Ver todos" a direita */
body.home-page .category-section-head {
    display: flex !important; flex-direction: row !important;
    align-items: flex-end !important; justify-content: space-between !important;
    gap: 1rem; min-height: 0 !important; padding: 0 !important;
    margin-bottom: clamp(1rem, 2vw, 1.6rem) !important; text-align: left;
}
body.home-page .category-section-heading { display: flex; flex-direction: column; min-width: 0; }
body.home-page .category-section-eyebrow {
    font-size: 0.62rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--mt-mauve); margin-bottom: 0.45rem;
}
body.home-page .category-section-heading .category-section-title {
    text-align: left !important; font-size: clamp(1.45rem, 2.8vw, 2.5rem) !important;
    width: auto !important; padding: 0 !important; margin: 0 !important;
    white-space: normal; overflow-wrap: anywhere;
}
body.home-page .category-section-view-all {
    position: static !important; transform: none !important; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border: 1px solid var(--mt-lilac); border-radius: var(--mt-r-btn);
    font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--mt-plum) !important; text-decoration: none !important; background: var(--mt-white);
    transition: background-color .4s var(--mt-ease-out), color .4s var(--mt-ease-out), border-color .4s var(--mt-ease-out);
}
body.home-page .category-section-view-all:hover { background: var(--mt-plum); color: var(--mt-white) !important; border-color: var(--mt-plum); }
body.home-page .category-section-view-all i { font-size: 0.62rem; margin: 0; transition: transform .4s var(--mt-ease-out); }
body.home-page .category-section-view-all:hover i { transform: translateX(3px); }
@media (max-width: 768px) {
    body.home-page .category-section-view-all { align-self: flex-end !important; margin: 0 0 0.3rem !important; padding: 0.25rem 0; border: 0; background: transparent; font-size: 0.6rem; letter-spacing: 0.1em; }
    body.home-page .category-section-view-all:hover { background: transparent; color: var(--mt-plum-deep) !important; }
    body.home-page .category-section-eyebrow { font-size: 0.55rem; letter-spacing: 0.24em; }
}
/* Setas das vitrines: circulos brancos discretos */
body.home-page .products-carousel-wrapper .carousel-nav-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.95); border: 1px solid var(--mt-line);
    box-shadow: var(--mt-shadow-sm);
}

/* Cards de toalha e categorias com o mesmo raio dos produtos */
body.home-page .towel-type-card { border-radius: var(--mt-r-card) !important; }
body.home-page .department-image-container,
body.home-page .department-image,
body.home-page .department-image-container img { border-radius: var(--mt-r-card) !important; }
@media (max-width: 768px) {
    /* Carrossel de toalhas: arraste com espiada do proximo; setas sobre a foto confundiam */
    body.home-page .towel-types-carousel-wrapper .carousel-nav-btn { display: none !important; }
    body.home-page .towel-types-grid .towel-type-card { flex-basis: 82% !important; width: 82% !important; max-width: 82% !important; }
}

/* Chamada final (orcamento): cartao marfim com moldura dupla, luz lilas e
   tipografia serif — mesma linguagem do hero, sem bloco chapado */
body.home-page .quote-banner-section { background: transparent !important; }
body.home-page .quote-banner {
    position: relative; isolation: isolate; overflow: hidden;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(217,199,212,0.55) 0%, rgba(217,199,212,0) 55%),
        radial-gradient(90% 120% at 0% 100%, rgba(236,231,227,0.9) 0%, rgba(236,231,227,0) 60%),
        #FDFBFA !important;
    border: 1px solid rgba(138,107,135,0.22) !important;
    border-radius: 24px !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 40px 80px -48px rgba(111,83,112,0.45) !important;
    grid-template-columns: auto 1fr auto !important;
    gap: clamp(1.5rem, 3.5vw, 3.5rem) !important;
    padding: clamp(2.25rem, 4vw, 3.5rem) clamp(1.75rem, 4.5vw, 4.5rem) !important;
}
/* Moldura interna fina, como passe-partout */
body.home-page .quote-banner::after {
    content: ''; position: absolute; inset: 10px; z-index: -1; pointer-events: none;
    border: 1px solid rgba(138,107,135,0.12); border-radius: 16px;
}
/* Monograma em marca d'agua */
body.home-page .quote-banner::before {
    content: 'M'; position: absolute; z-index: -1; pointer-events: none; animation: none !important;
    top: 50%; right: 26%; bottom: auto; left: auto; transform: translateY(-52%);
    font-family: var(--mt-serif); font-style: italic; font-weight: 300;
    font-size: clamp(9rem, 16vw, 15rem); line-height: 1; color: rgba(138,107,135,0.07);
    background: none !important;
}
body.home-page .quote-banner-icon {
    width: clamp(84px, 8.5vw, 112px) !important; height: clamp(84px, 8.5vw, 112px) !important;
    background: #fff !important; border: 1px solid rgba(138,107,135,0.25) !important;
    padding: 5px; box-sizing: border-box;
    box-shadow: 0 0 0 6px rgba(255,255,255,0.7), 0 0 0 7px rgba(138,107,135,0.14), 0 18px 36px -18px rgba(111,83,112,0.6) !important;
}
body.home-page .quote-banner-icon img { border-radius: 50%; animation: none !important; }
body.home-page .quote-banner-eyebrow {
    display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem;
    font-size: 0.62rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mt-mauve);
}
body.home-page .quote-banner-eyebrow::after { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, var(--mt-mauve), transparent); }
body.home-page .quote-banner-text h3 {
    font-family: var(--mt-serif) !important; font-weight: 500 !important;
    font-size: clamp(1.9rem, 3.2vw, 2.9rem) !important; line-height: 1.05 !important;
    color: var(--mt-ink) !important; margin: 0 0 0.75rem !important; letter-spacing: 0 !important;
}
body.home-page .quote-banner-text h3 em { font-style: italic; color: var(--mt-plum); }
body.home-page .quote-banner-text p { color: var(--mt-ink-soft) !important; font-size: 0.9rem !important; line-height: 1.75 !important; max-width: 48ch; }
body.home-page .quote-banner-btn {
    position: relative; z-index: 1;
    background: var(--mt-plum) !important; color: #fff !important;
    padding: 1.1rem 2rem !important; gap: 0.75rem !important;
    box-shadow: 0 18px 36px -18px rgba(111,83,112,0.95) !important;
    transition: background-color .45s var(--mt-ease-out), transform .45s var(--mt-ease-out), box-shadow .45s var(--mt-ease-out) !important;
}
body.home-page .quote-banner-btn:hover { background: var(--mt-plum-deep) !important; transform: translateY(-3px); }
body.home-page .quote-banner-btn i {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,0.16); color: #fff !important; font-size: 0.95rem !important;
}
@media (max-width: 900px) {
    body.home-page .quote-banner { grid-template-columns: 1fr !important; text-align: center; justify-items: center; }
    body.home-page .quote-banner::before { right: -2%; top: 8%; transform: none; font-size: 11rem; }
    body.home-page .quote-banner-eyebrow { justify-content: center; }
    body.home-page .quote-banner-eyebrow::before { content: ''; width: 36px; height: 1px; background: linear-gradient(270deg, var(--mt-mauve), transparent); }
    body.home-page .quote-banner-text p { margin-inline: auto; }
}
@media (max-width: 480px) {
    body.home-page .quote-banner { padding: 2.25rem 1.35rem !important; border-radius: 20px !important; }
    body.home-page .quote-banner-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

/* Categorias: foto de toalha em moldura + nome serif, estilo colecao */
body.home-page .departments-carousel { gap: 1.5rem 1.25rem !important; grid-auto-columns: calc((100% - 7 * 1.25rem) / 8) !important; }
body.home-page .departments-carousel { align-items: stretch !important; }
body.home-page .department-card { gap: 0 !important; text-decoration: none; height: auto !important; }
body.home-page .department-image-container {
    position: relative; aspect-ratio: 4 / 5 !important; height: auto !important;
    border-radius: 18px !important; background: var(--mt-sand) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 18px 34px -24px rgba(43,34,48,0.45) !important;
    margin-bottom: 0.95rem !important;
}
body.home-page .department-image-container::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(138,107,135,0.14);
    background: linear-gradient(180deg, rgba(43,34,48,0) 60%, rgba(43,34,48,0.14) 100%);
}
body.home-page .department-image,
body.home-page .department-image-container img {
    width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important;
    padding: 0 !important; border-radius: 18px !important;
}
body.home-page .department-name {
    font-family: var(--mt-serif) !important; font-size: clamp(1.02rem, 1.25vw, 1.2rem) !important;
    font-weight: 500 !important; letter-spacing: 0.01em !important; text-transform: none !important;
    line-height: 1.2 !important; color: var(--mt-ink) !important; text-align: center;
    width: auto !important; max-width: none !important; min-height: 2.4em !important;
    display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; padding: 0 !important;
}
body.home-page .department-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: auto; padding-top: 0.5rem;
    font-size: 0.56rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mt-mauve);
    white-space: nowrap;
    transition: color .4s var(--mt-ease-out), gap .4s var(--mt-ease-out);
}
body.home-page .department-cta i { font-size: 0.55rem; }
body.home-page .department-card:hover .department-name { color: var(--mt-plum-deep) !important; background: transparent !important; }
body.home-page .department-card:hover .department-cta { color: var(--mt-plum); gap: 0.65rem; }
/* Setas fora das fotos no PC */
@media (min-width: 769px) {
    body.home-page .departments-carousel-wrapper { padding: 0 52px !important; box-sizing: border-box; }
    body.home-page .departments-carousel-wrapper .carousel-nav-btn { top: 38% !important; }
    body.home-page .departments-carousel-wrapper .carousel-nav-btn.prev { left: 0 !important; }
    body.home-page .departments-carousel-wrapper .carousel-nav-btn.next { right: 0 !important; }
}
@media (max-width: 768px) {
    body.home-page .department-card { flex: 0 0 38% !important; width: 38% !important; min-width: 0 !important; max-width: none !important; }
    body.home-page .department-name { font-size: 1rem !important; }
    body.home-page .department-cta { font-size: 0.5rem; letter-spacing: 0.12em; }
}

/* ============================================ OUTRAS PAGINAS ============= */
body .mt-assurance-item { border-radius: var(--mt-r-media) !important; }
body .ch-panels,
body .ch-summary,
body .ch-cart-items { border-radius: var(--mt-r-card) !important; }

/* Catalogo: filtros e controles no mesmo raio do resto */
body.catalog-page .catalog-grid-filters { border-radius: var(--mt-r-card) !important; overflow: hidden; }
body.catalog-page .top-toolbar-search-input,
body.catalog-page .top-toolbar-select,
body.catalog-page .catalog-filter-btn,
body.catalog-page #topCategoriesSearch,
body.catalog-page .catalog-price-field input,
body.catalog-page .catalog-price-apply { border-radius: var(--mt-r-btn) !important; }

/* Produto: galeria, compra e moldura principal */
body.catalog-page .product-card-full { border-radius: 20px !important; overflow: hidden; }
body.catalog-page .related-products-section { border-radius: 20px; }
body.catalog-page .product-main-image { border-radius: var(--mt-r-card) !important; }
body.catalog-page .product-thumbnail { border-radius: 10px !important; }
body.catalog-page #buyNowBtn,
body.catalog-page #addCartBtn,
body.catalog-page .product-variation-text-input { border-radius: var(--mt-r-btn) !important; }

/* Cabecalho entre tablet e notebook: nav + acoes nao cabiam (vazava ~250px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    body.has-site-header-shell .site-header-phone-btn { display: none !important; }
    .site-header-inner { gap: 1.25rem !important; }
}
@media (min-width: 1025px) and (max-width: 1120px) {
    body.has-site-header-shell .site-header-whatsapp-btn { padding: 0 !important; width: 40px; height: 40px; justify-content: center; }
    body.has-site-header-shell .site-header-whatsapp-btn span { display: none; }
    .site-header-nav { gap: 1rem !important; }
}

/* Catalogo em tablet: select de ordenacao vazava a linha da barra */
body.catalog-page .catalog-toolbar-row { min-width: 0; max-width: 100%; }
body.catalog-page .catalog-header-sort,
body.catalog-page .top-toolbar-select-wrap { min-width: 0; max-width: 100%; }
body.catalog-page .top-toolbar-select { max-width: 100%; }
@media (min-width: 769px) and (max-width: 1100px) {
    body.catalog-page .catalog-header-right { grid-template-columns: minmax(0, 1fr) auto !important; row-gap: 0.4rem; }
    body.catalog-page .catalog-header-showing { grid-column: 1 / -1; order: 3; }
    body.catalog-page .catalog-toolbar-row { min-width: 170px; }
}

/* Modal de cor: disponiveis em destaque, esgotadas agrupadas no fim */
.var-color-dropdown-grid .var-color-section-title {
    grid-column: 1 / -1; margin: 0; display: flex; align-items: center; gap: 0.45rem;
    font: 600 0.66rem/1.2 var(--mt-sans); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--mt-ink);
}
.var-color-dropdown-grid .var-color-section-title span {
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box;
    border-radius: 999px; background: var(--mt-cream); color: var(--mt-plum-deep); letter-spacing: 0; font-size: 0.66rem;
}
.var-color-dropdown-grid .var-color-section-title.is-available i { color: #1F7A54; font-size: 0.85rem; }
.var-color-dropdown-grid .var-color-section-title.is-out {
    margin-top: 0.6rem; padding-top: 1rem; border-top: 1px dashed var(--mt-line);
    color: var(--mt-muted); font-size: 0.6rem;
}
.var-color-dropdown-grid .var-color-empty {
    grid-column: 1 / -1; margin: 0; padding: 0.9rem; border-radius: 12px;
    background: var(--mt-cream); font-size: 0.8rem; color: var(--mt-ink-soft); text-align: center;
}
/* Disponivel: card branco com borda ameixa suave e sombra, clicavel de verdade */
.var-color-dropdown-grid > .product-variation-chip:not(.is-out-of-stock) {
    border: 1.5px solid var(--mt-lilac) !important; border-radius: 12px !important;
    background: #fff !important; box-shadow: 0 6px 16px -10px rgba(111,83,112,0.55);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.var-color-dropdown-grid > .product-variation-chip:not(.is-out-of-stock):hover,
.var-color-dropdown-grid > .product-variation-chip.is-selected {
    border-color: var(--mt-plum) !important; transform: translateY(-2px);
    box-shadow: 0 10px 22px -12px rgba(111,83,112,0.8);
}
.var-color-dropdown-grid > .product-variation-chip:not(.is-out-of-stock) .pvc-chip-caption { color: var(--mt-ink) !important; font-weight: 700 !important; }
/* Esgotadas: grade compacta de 5-6 por linha, sem competir com as disponiveis */
.var-color-dropdown-grid .var-color-out-grid {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px;
}
.var-color-dropdown-grid .var-color-out-grid .product-variation-chip {
    min-height: 0 !important; gap: 3px !important;
    border-radius: 10px !important; background: #FAF8F7 !important; box-shadow: none !important;
    padding: 6px 2px !important; opacity: 0.55 !important;
}
.var-color-dropdown-grid .var-color-out-grid .product-variation-chip img { width: 26px !important; height: 26px !important; max-width: 26px !important; max-height: 26px !important; }
.var-color-dropdown-grid .var-color-out-grid .product-variation-chip .pvc-chip-caption,
.var-color-dropdown-grid .var-color-out-grid .product-variation-chip span.pvc-chip-caption { font-size: 10px !important; font-weight: 500 !important; line-height: 1.2 !important; }

/* Produto (PC): escolhe tamanho/cor/nome primeiro, compra depois */
@media (min-width: 769px) {
    body.catalog-page .product-summary-card > .product-actions { order: 1; margin-top: 0.5rem; }
    body.catalog-page .product-summary-card > .mt-made-to-order,
    body.catalog-page .product-summary-card > .mt-buybox-assurance,
    body.catalog-page .product-summary-card > .product-stock-qty-row { order: 2; }
}

/* Mobile: carrossel e de arrastar; setas em cima das fotos so atrapalhavam */
@media (max-width: 768px) {
    body.home-page .products-carousel-wrapper .carousel-nav-btn,
    body.home-page .departments-carousel-wrapper .carousel-nav-btn,
    body .related-products-section .carousel-nav-btn { display: none !important; }
}

/* =========================== ESTUDIO DE PERSONALIZACAO (PC e celular) ===== */
.bs-summary { display: none; }
body.has-bordado-studio #bordadoTemaSlot,
body.has-bordado-studio #bordadoToggleCard .bs-nome-row,
body.has-bordado-studio #bordadoToggleCard .bs-hide-row,
body.has-bordado-studio #bordadoPreviewMain { display: none !important; }
body.has-bordado-studio .bs-summary { display: block; }
body.has-bordado-studio #bordadoToggleCard { background: transparent !important; border: 0 !important; padding: 0 !important; }

/* Card "Sua personalizacao" na pagina */
.bs-summary-card {
    padding: 1.1rem 1.15rem 1.15rem; border-radius: 18px; font-family: var(--mt-sans);
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF6F4 55%, #F3EAF0 100%);
    border: 1px solid #EADCE7; box-shadow: 0 18px 36px -30px rgba(111,83,112,.7);
}
.bs-summary-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; }
.bs-sum-eyebrow { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6F5370; }
.bs-sum-edit { border: 0; background: none; padding: 6px 0; font: 600 .72rem var(--mt-sans); color: #846780; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bs-sum-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.bs-sum-steps li { display: grid; grid-template-columns: 28px 76px minmax(0,1fr); align-items: center; gap: .6rem; min-height: 40px; padding: 0 .75rem; border-radius: 12px; background: #fff; border: 1px solid #F1E8EE; }
.bs-sum-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #846780; border: 1.5px solid #D9C7D4; }
.bs-sum-steps li.is-done .bs-sum-n { background: #846780; border-color: #846780; color: #fff; font-size: .62rem; }
.bs-sum-k { font-size: .74rem; font-weight: 600; color: #302935; }
.bs-sum-v { font-size: .78rem; color: #6F5370; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-sum-steps li:not(.is-done) .bs-sum-v { color: #A89CA6; }
.bs-sum-cta {
    width: 100%; margin-top: .9rem; min-height: 52px; border: 0; border-radius: 14px; cursor: pointer;
    background: #846780; color: #fff; font: 600 .76rem var(--mt-sans); letter-spacing: .16em; text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    box-shadow: 0 16px 30px -18px rgba(132,103,128,.95); transition: background .2s ease;
}
.bs-sum-cta:hover { background: #6F5370; }

/* Modal */
.bs-modal {
    position: fixed; inset: 0; z-index: 30000; display: grid; place-items: center; padding: 24px;
    background: rgba(48,41,53,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .22s ease; font-family: var(--mt-sans); color: #302935;
}
.bs-modal.is-open { opacity: 1; }
.bs-card {
    width: min(1040px, 100%); height: min(740px, calc(100dvh - 48px)); display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(48,41,53,.7);
    transform: translateY(12px) scale(.985); transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.bs-modal.is-open .bs-card { transform: none; }
.bs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Previa */
.bs-preview { display: flex; flex-direction: column; gap: .8rem; padding: 1.5rem; min-height: 0; background: #FAF6F4; border-right: 1px solid rgba(132,103,128,.12); }
.bs-photo { position: relative; flex: 1; min-height: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #EFE6EC; }
.bs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.bs-photo.is-zoom img { object-fit: contain; background: #fff; }
.bs-zoom { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(132,103,128,.18); background: rgba(255,255,255,.92); color: #6F5370; cursor: pointer; }
.bs-band {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 96px; padding: 1.4rem 1rem .9rem;
    border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
    background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 5px) !important;
}
.bs-band img { max-height: 60px; max-width: 30%; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.bs-band-label { position: absolute; top: 6px; left: 10px; font-size: .52rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(48,41,53,.5); }
.bs-band-name { font-family: 'Great Vibes', 'Cormorant Garamond', serif; font-size: 2.1rem; line-height: 1; text-shadow: 0 1px 0 rgba(255,255,255,.35), 0 2px 3px rgba(0,0,0,.15); max-width: 65%; overflow-wrap: anywhere; text-align: center; }
.bs-band-empty { font-size: .74rem; color: rgba(48,41,53,.55); }
.bs-note { margin: 0; font-size: .66rem; line-height: 1.5; color: #8C8190; }
.bs-note i { color: #B895AE; margin-right: 4px; }

/* Painel */
.bs-panel { display: flex; flex-direction: column; min-height: 0; }
.bs-head { display: flex; align-items: flex-start; gap: .75rem; padding: 1.4rem 1.6rem .8rem; }
.bs-back-top { display: none; }
.bs-head-text { flex: 1; min-width: 0; }
.bs-head h2 { margin: 0; font-family: var(--mt-serif); font-weight: 500; font-size: 1.85rem; line-height: 1.05; color: #302935; }
.bs-head p { margin: .3rem 0 0; font-size: .74rem; color: #8C8190; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-close { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(132,103,128,.16); background: #FAF6F4; color: #6F5370; cursor: pointer; display: grid; place-items: center; transition: transform .2s ease; }
.bs-close:hover { transform: rotate(90deg); }

.bs-progress { list-style: none; margin: 0; padding: .2rem 1.6rem .9rem; display: flex; gap: .4rem; border-bottom: 1px solid rgba(132,103,128,.12); }
.bs-progress li { flex: 1; position: relative; }
.bs-progress li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: #EFE6EC; }
.bs-progress li.is-done::before, .bs-progress li.is-current::before { background: #846780; }
.bs-progress button { width: 100%; display: flex; align-items: center; gap: .45rem; padding: .7rem 0 0; border: 0; background: none; cursor: pointer; font: 600 .7rem var(--mt-sans); color: #8C8190; text-align: left; }
.bs-progress button:disabled { cursor: default; }
.bs-progress span { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .64rem; border: 1.5px solid #D9C7D4; color: #846780; }
.bs-progress li.is-current button, .bs-progress li.is-done button { color: #302935; }
.bs-progress li.is-current span, .bs-progress li.is-done span { background: #846780; border-color: #846780; color: #fff; }
.bs-progress em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bs-body { flex: 1; min-height: 0; overflow-y: auto; padding: 1.1rem 1.6rem 1.25rem; overscroll-behavior: contain; }
.bs-q { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .75rem; font: 600 .78rem var(--mt-sans); letter-spacing: .1em; text-transform: uppercase; color: #302935; }
.bs-q + * { margin-bottom: 1.35rem; }
.bs-q-hint { font-size: .68rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #1F7A54; }
.bs-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; }
.bs-size {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .85rem .5rem; min-height: 86px;
    border-radius: 14px; border: 1.5px solid #EFE6EC; background: #fff; cursor: pointer; font-family: var(--mt-sans);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.bs-size strong { font-size: .88rem; color: #302935; }
.bs-size-price { font-size: .8rem; font-weight: 700; color: #6F5370; }
.bs-size small { font-size: .66rem; color: #8C8190; }
.bs-size em { font-style: normal; font-size: .62rem; color: #8A3B4C; }
.bs-size:hover:not(:disabled) { border-color: #D9C7D4; }
.bs-size.is-on { border-color: #846780; background: #FAF6F4; box-shadow: 0 0 0 3px rgba(132,103,128,.14); }
.bs-size.is-on::after, .bs-color.is-on::after, .bs-opt.is-selected::after {
    content: '\2713'; position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%;
    background: #846780; color: #fff; font-size: .62rem; display: grid; place-items: center;
}
.bs-size:disabled { opacity: .45; cursor: not-allowed; }
.bs-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; }
.bs-color {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .55rem .3rem .5rem;
    border-radius: 12px; border: 1.5px solid #EFE6EC; background: #fff; cursor: pointer; font: 600 .66rem var(--mt-sans); color: #302935;
    transition: border-color .18s ease;
}
.bs-color img { width: 44px; height: 30px; object-fit: contain; }
.bs-dot { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.bs-color:hover:not(:disabled) { border-color: #D9C7D4; }
.bs-color.is-on { border-color: #846780; box-shadow: 0 0 0 3px rgba(132,103,128,.14); }
.bs-color.is-out { opacity: .38; cursor: not-allowed; background: #FAF8F7; }
.bs-color.is-out span { text-decoration: line-through; }
.bs-warn { margin: 0; padding: .75rem .9rem; border-radius: 12px; background: #FBF1F3; color: #8A3B4C; font-size: .76rem; }

.bs-search { position: relative; display: block; margin-bottom: .7rem !important; }
.bs-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #B895AE; font-size: .8rem; }
.bs-search input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 14px 0 38px; border-radius: 12px; border: 1px solid #EADCE7; background: #FAF6F4; font: 500 .85rem var(--mt-sans); color: #302935; }
.bs-cats { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem !important; }
.bs-cat { height: 34px; padding: 0 .9rem; border-radius: 999px; border: 1px solid #EADCE7; background: #fff; color: #6F5370; font: 600 .7rem var(--mt-sans); cursor: pointer; }
.bs-cat.is-active { background: #846780; border-color: #846780; color: #fff; }
.bs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .6rem; }
.bs-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .6rem .45rem .65rem; border-radius: 14px; border: 1.5px solid #EFE6EC; background: #fff; cursor: pointer; font-family: var(--mt-sans); transition: border-color .18s ease; }
.bs-opt:hover { border-color: #D9C7D4; }
.bs-opt.is-selected { border-color: #846780; box-shadow: 0 0 0 3px rgba(132,103,128,.14); }
.bs-opt-img { width: 100%; aspect-ratio: 1; border-radius: 10px; background: #FAF6F4; display: grid; place-items: center; overflow: hidden; }
.bs-opt-img img { width: 78%; height: 78%; object-fit: contain; }
.bs-opt-name { font-size: .68rem; font-weight: 600; line-height: 1.3; color: #302935; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.bs-grid--acab { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.bs-grid--acab .bs-opt-name { display: flex; flex-direction: column; -webkit-line-clamp: unset; min-height: 0; gap: .15rem; }
.bs-opt-preco { font-size: .7rem; font-weight: 700; color: #846780; }
.bs-opt-img--vazio i { font-size: 1.3rem; color: #B895AE; }
.bs-noresult { grid-column: 1 / -1; margin: 0; padding: 1.25rem; text-align: center; font-size: .8rem; color: #8C8190; background: #FAF6F4; border-radius: 12px; }

.bs-fixed { display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem; margin-bottom: 1.3rem; border-radius: 14px; background: #FAF6F4; border: 1px solid #EFE6EC; }
.bs-fixed img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.bs-fixed strong { display: block; font-size: .82rem; color: #302935; }
.bs-fixed span { font-size: .72rem; color: #8C8190; }
label.bs-q { display: block; }
.bs-field { position: relative; margin-bottom: .5rem !important; }
.bs-field input { width: 100%; box-sizing: border-box; height: 56px; padding: 0 64px 0 16px; border-radius: 14px; border: 1px solid #EADCE7; background: #FAF6F4; font-family: var(--mt-serif); font-size: 1.4rem; color: #302935; }
.bs-field input:focus, .bs-search input:focus { outline: none; border-color: #846780; background: #fff; box-shadow: 0 0 0 4px rgba(132,103,128,.12); }
.bs-counter { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: .68rem; color: #8C8190; }
.bs-field-hint { margin: 0 0 1.3rem; font-size: .7rem; line-height: 1.55; color: #8C8190; }
.bs-linhas { display: flex; flex-wrap: wrap; gap: .5rem; }
.bs-linha { display: flex; flex-direction: column; align-items: center; gap: .25rem; width: 64px; padding: .45rem .2rem; border-radius: 12px; border: 1.5px solid #EFE6EC; background: #fff; cursor: pointer; }
.bs-linha span { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.bs-linha small { font-size: .6rem; color: #302935; }
.bs-linha.is-on { border-color: #846780; box-shadow: 0 0 0 3px rgba(132,103,128,.14); }

.bs-review { margin: 0 0 1rem; border: 1px solid #EFE6EC; border-radius: 14px; overflow: hidden; }
.bs-review > div { display: grid; grid-template-columns: 120px minmax(0,1fr) auto; align-items: center; gap: .6rem; padding: .6rem .9rem; font-size: .8rem; }
.bs-review > div + div { border-top: 1px solid #F3ECF0; }
.bs-review dt { color: #8C8190; }
.bs-review dd { margin: 0; font-weight: 600; color: #302935; overflow-wrap: anywhere; }
.bs-edit { border: 0; background: none; padding: 6px 4px; font: 600 .68rem var(--mt-sans); color: #846780; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bs-review-price { background: #FAF6F4; }
.bs-review-price dd { font-size: 1.05rem; color: #6F5370; }
.bs-qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; font-size: .8rem; font-weight: 600; }
.bs-qty { display: inline-flex; align-items: center; height: 44px; border: 1px solid #EADCE7; border-radius: 999px; }
.bs-qty button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 1.1rem; color: #6F5370; cursor: pointer; }
.bs-qty output { min-width: 26px; text-align: center; }
.bs-confirm-note { margin: 0; padding: .75rem .9rem; border-radius: 12px; background: #FAF6F4; font-size: .72rem; line-height: 1.55; color: #6F5370; }
.bs-confirm-note i { color: #B895AE; margin-right: 4px; }

.bs-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.6rem 1.1rem; border-top: 1px solid rgba(132,103,128,.12); background: #fff; }
.bs-foot-price { display: flex; flex-direction: column; min-width: 0; }
.bs-foot-price strong { white-space: nowrap; }
.bs-foot-price span { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8C8190; }
.bs-foot-price strong { font-size: 1.3rem; color: #6F5370; }
.bs-foot-price em { font-style: normal; font-size: .66rem; color: #8A3B4C; }
.bs-foot-price em:empty { display: none; }
.bs-actions { display: flex; gap: .55rem; flex-shrink: 0; }
.bs-final { display: flex; gap: .55rem; }
@media (min-width: 769px) { .bs-final .bs-cancel, .bs-final .bs-confirm { padding: 0 1rem; } }
.bs-final[hidden], .bs-actions [hidden] { display: none !important; }
.bs-cancel, .bs-confirm { height: 50px; padding: 0 1.3rem; border-radius: 14px; font: 600 .7rem var(--mt-sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; transition: background .18s ease; }
.bs-cancel { border: 1px solid #EADCE7; background: #fff; color: #6F5370; }
.bs-confirm { border: 0; background: #846780; color: #fff; box-shadow: 0 16px 30px -18px rgba(132,103,128,.95); }
.bs-confirm:hover:not(:disabled) { background: #6F5370; }
.bs-confirm:disabled { background: #CDBFC9; box-shadow: none; cursor: not-allowed; }
.bs-modal :focus-visible { outline: 2px solid #846780; outline-offset: 2px; }

@media (min-width: 769px) and (max-width: 980px) {
    .bs-card { grid-template-columns: 1fr; grid-template-rows: 200px minmax(0,1fr); }
    .bs-preview { flex-direction: row; padding: 1rem; border-right: 0; border-bottom: 1px solid rgba(132,103,128,.12); }
    .bs-band { flex: 1; }
    .bs-note { display: none; }
}

/* Celular: tela cheia, previa compacta no topo, rodape fixo */
@media (max-width: 768px) {
    .bs-modal { padding: 0; place-items: stretch; }
    .bs-card { width: 100%; height: 100dvh; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr); display: flex; flex-direction: column; }
    .bs-preview { order: 2; flex: 0 0 auto; flex-direction: row; gap: .6rem; padding: .7rem 1rem; border-right: 0; border-bottom: 1px solid rgba(132,103,128,.12); }
    .bs-photo { flex: 0 0 38%; height: 128px; }
    .bs-band { flex: 1; min-height: 128px; padding: 1.2rem .6rem .6rem; gap: .5rem; }
    .bs-band img { max-height: 46px; }
    .bs-band-name { font-size: 1.55rem; }
    .bs-note { display: none; }
    .bs-zoom { width: 34px; height: 34px; right: 6px; bottom: 6px; }
    .bs-photo.is-zoom { position: fixed; inset: 0; z-index: 5; height: auto; border-radius: 0; background: #fff; }
    .bs-panel { display: contents; }
    .bs-head { order: 1; padding: calc(.7rem + env(safe-area-inset-top, 0px)) .75rem .5rem; align-items: center; }
    .bs-back-top { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #6F5370; cursor: pointer; }
    .bs-back-top[hidden] { visibility: hidden; display: grid; }
    .bs-head-text { text-align: center; }
    .bs-head h2 { font-size: 1.35rem; }
    .bs-head p { font-size: .66rem; }
    .bs-progress { order: 1; padding: 0 1rem .7rem; }
    .bs-progress em { font-size: .6rem; }
    .bs-body { order: 3; flex: 1; padding: 1rem 1rem 1.25rem; }
    .bs-foot { order: 4; flex-wrap: wrap; gap: .6rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 24px -20px rgba(48,41,53,.4); }
    .bs-foot-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; flex: 1 1 100%; }
    .bs-foot-price em { flex: 1 1 100%; }
    .bs-foot-price strong { font-size: 1.1rem; }
    .bs-actions { flex: 1 1 100%; }
    .bs-actions > .bs-cancel, .bs-actions > .bs-confirm { flex: 1; }
    .bs-actions > .bs-cancel[data-bs="back"] { flex: 0 0 auto; }
    .bs-final { flex: 1; flex-direction: column; }
    .bs-final .bs-cancel, .bs-final .bs-confirm { width: 100%; height: 48px; }
    .bs-sizes { grid-template-columns: repeat(3, 1fr); gap: .45rem; }
    .bs-size { min-height: 78px; padding: .6rem .25rem; }
    .bs-size small { font-size: .58rem; }
    .bs-colors { grid-template-columns: repeat(4, 1fr); }
    .bs-grid { grid-template-columns: repeat(3, 1fr); }
    .bs-review > div { grid-template-columns: 96px minmax(0,1fr) auto; padding: .55rem .7rem; }
    .bs-field input { font-size: 1.3rem; }
    .bs-sum-steps li { grid-template-columns: 26px 64px minmax(0,1fr); }
}
@media (max-width: 768px) and (max-height: 600px) {
    .bs-preview { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .bs-modal, .bs-card, .bs-close, .bs-photo img { transition-duration: .01ms !important; }
}

/* ====================================== CARD: selos e 2a foto (global) === */
/* Selos (Novidade / Promocao — so com dado real) */
.product-card .product-image { position: relative; }
.product-card-badge {
    position: absolute; top: 10px; left: 10px; z-index: 3; height: 24px; padding: 0 10px; border-radius: 999px;
    display: inline-flex; align-items: center; background: rgba(255,255,255,.94); color: var(--mt-plum-deep, #6F5370);
    border: 1px solid #EADCE7; font: 600 .6rem var(--mt-sans, sans-serif); letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 6px 14px -10px rgba(48,41,53,.6);
}
.product-card-badge--promo { background: #846780; color: #fff; border-color: #846780; }

/* 2a foto no hover (so onde existe hover real) */
.product-card .product-card-alt { display: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .product-card.has-alt-image .product-card-alt {
        display: block; position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
        object-fit: contain !important; padding: clamp(.5rem, 1.2vw, 1rem); box-sizing: border-box;
        background: var(--mt-offwhite, #FDFCFB); mix-blend-mode: normal !important; border-radius: inherit;
        opacity: 0; transition: opacity .45s ease; z-index: 2;
    }
    .product-card.has-alt-image:hover .product-card-alt[src] { opacity: 1; }
}


/* Card: sem desconto, as caixas invisiveis de "de"/selo empurravam o preco pra
   2a linha (preco agora vem primeiro, alinhado a esquerda). Altura igual vem
   do nome com min-height + CTA no rodape. */
body .product-card .price-info .is-price-slot { display: none !important; }
body .product-card .product-prices { min-height: 1.6em; justify-content: flex-end; }

/* ================================= HOME: NOSSAS TOALHAS (vitrine editorial) = */
body.home-page .tw-section { position: relative; overflow: hidden; padding-bottom: clamp(1rem, 2vw, 1.5rem) !important; }
.tw-leaf { position: absolute; width: clamp(110px, 12vw, 170px); height: auto; color: #B895AE; opacity: .32; pointer-events: none; z-index: 0; }
.tw-leaf--left { left: max(8px, calc(50% - 760px)); top: 18px; transform: rotate(-14deg); }
.tw-leaf--right { right: max(8px, calc(50% - 760px)); top: 40px; transform: scaleX(-1) rotate(-10deg); }
body.home-page .tw-section .towel-types-container { position: relative; z-index: 1; }
.tw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tw-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
    background: #FAF6F4; border: 1px solid rgba(132,103,128,.12); border-radius: 16px;
    box-shadow: 0 18px 40px -34px rgba(48,41,53,.55);
    transition: transform .25s ease, box-shadow .25s ease;
}
.tw-card::after { /* ramo botanico discreto no canto do texto */
    content: ''; position: absolute; right: 10px; bottom: 8px; width: 96px; height: 120px; opacity: .22; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 220'%3E%3Cg fill='none' stroke='%23B895AE' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 210C60 160 90 110 120 20'/%3E%3Cpath d='M52 160c-22-6-34-22-36-44 20 4 34 20 36 44z'/%3E%3Cpath d='M68 128c22-4 36-18 40-40-22 4-36 18-40 40z'/%3E%3Cpath d='M84 96c-20-8-30-26-30-46 18 6 30 24 30 46z'/%3E%3Cpath d='M100 64c18-6 28-20 30-38-18 4-28 18-30 38z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.tw-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #EFE7E3; }
.tw-media picture, .tw-media img { display: block; width: 100%; height: 100%; }
.tw-media img { object-fit: cover; object-position: center 40%; transition: transform .3s ease; }
.tw-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 1.35rem 1.5rem 1.5rem; }
.tw-kicker { font-family: var(--mt-serif); font-size: clamp(1rem, 1.3vw, 1.2rem); letter-spacing: .08em; text-transform: uppercase; color: #6F5370; line-height: 1; }
.tw-name { font-family: var(--mt-serif); font-weight: 600; font-size: clamp(2rem, 3vw, 2.7rem); letter-spacing: .02em; text-transform: uppercase; color: #6F5370; line-height: 1.05; margin-top: .15rem; }
.tw-rule { width: 36px; height: 1px; background: #B895AE; margin: .75rem 0 .7rem; }
.tw-desc { font-family: var(--mt-serif); font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.35; color: #5C5361; max-width: 24ch; margin-bottom: 1.15rem; }
.tw-cta {
    display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: 0 1.4rem; border-radius: 999px;
    border: 1px solid #846780; color: #846780; background: transparent;
    font: 600 .7rem var(--mt-sans); letter-spacing: .18em; text-transform: uppercase;
    transition: background .25s ease, color .25s ease;
}
.tw-cta i { font-size: .7rem; transition: transform .25s ease; }
.tw-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(48,41,53,.6); }
.tw-card:hover .tw-media img { transform: scale(1.02); }
.tw-card:hover .tw-cta { background: #846780; color: #fff; }
.tw-card:hover .tw-cta i { transform: translateX(3px); }
.tw-card:focus-visible { outline: 2px solid #846780; outline-offset: 3px; }

/* Categorias logo abaixo, em cards brancos (composicao conectada) */
body.home-page .departments-section { padding: clamp(2rem, 3.4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 4rem) !important; }
body.home-page .departments-carousel { grid-auto-columns: calc((100% - 7 * 14px) / 8) !important; gap: 14px !important; padding: 6px 2px 14px !important; }
body.home-page .department-card {
    background: #fff !important; border: 1px solid rgba(132,103,128,.12); border-radius: 14px !important;
    padding: 8px 8px 12px !important; box-shadow: 0 10px 24px -22px rgba(48,41,53,.6);
    transition: transform .25s ease, box-shadow .25s ease !important;
}
body.home-page .department-card:hover { transform: translateY(-3px) !important; box-shadow: 0 18px 34px -24px rgba(48,41,53,.6); }
body.home-page .department-image-container { aspect-ratio: 1 / 1 !important; border-radius: 10px !important; margin-bottom: .7rem !important; box-shadow: none !important; }
body.home-page .department-image-container::after { display: none; }
body.home-page .department-card:hover .department-image-container { transform: none !important; box-shadow: none !important; }
body.home-page .department-image, body.home-page .department-image-container img { border-radius: 10px !important; transition: transform .25s ease !important; }
body.home-page .department-card:hover .department-image { transform: scale(1.04) !important; }
body.home-page .department-name { font-size: clamp(.98rem, 1.1vw, 1.08rem) !important; min-height: 2.4em !important; padding: 0 2px !important; }
body.home-page .department-cta { color: #846780 !important; }
body.home-page .departments-carousel-wrapper .carousel-nav-btn {
    width: 42px !important; height: 42px !important; border-radius: 50% !important; background: #fff !important;
    border: 1px solid #EADCE7 !important; color: #846780 !important; box-shadow: 0 8px 20px -14px rgba(48,41,53,.6) !important;
}
body.home-page .departments-carousel-wrapper .carousel-nav-btn[hidden] { display: none !important; }
body.home-page .departments-carousel-wrapper .carousel-nav-btn:disabled { opacity: .35; cursor: default; }

@media (max-width: 1024px) {
    .tw-grid { gap: 16px; }
    .tw-body { padding: 1.1rem 1.1rem 1.25rem; }
    body.home-page .departments-carousel { grid-auto-flow: column; grid-auto-columns: 168px !important; }
}
/* Celular: cards empilhados (sem carrossel), foto mais baixa */
@media (max-width: 700px) {
    .tw-leaf { display: none; }
    .tw-grid { grid-template-columns: 1fr; gap: 16px; }
    .tw-media { aspect-ratio: 16 / 10; }
    .tw-body { padding: 1rem 1.1rem 1.15rem; }
    .tw-name { font-size: 2rem; }
    .tw-desc { font-size: 1.05rem; margin-bottom: .9rem; }
    .tw-card::after { width: 70px; height: 90px; }
    body.home-page .departments-section { padding: 1.5rem 0 2.25rem !important; }
    body.home-page .departments-carousel {
        display: flex !important; gap: 10px !important; scroll-snap-type: x mandatory; overflow-x: auto !important;
    }
    body.home-page .departments-section .departments-container { padding: 0 !important; }
    body.home-page .departments-carousel { padding: 6px 16px 14px !important; scroll-padding-left: 16px; }
    body.home-page .departments-carousel .department-card { flex: 0 0 42% !important; width: 42% !important; min-width: 0 !important; max-width: none !important; scroll-snap-align: start; }
    body.home-page .department-name { font-size: 1rem !important; width: auto !important; max-width: none !important; letter-spacing: 0 !important; }
    body.home-page .department-cta { font-size: .54rem !important; letter-spacing: .12em !important; }
}
@media (max-width: 380px) { body.home-page .departments-carousel .department-card { flex-basis: 46% !important; width: 46% !important; } }
@media (prefers-reduced-motion: reduce) {
    .tw-card, .tw-media img, .tw-cta, body.home-page .department-card, body.home-page .department-image { transition: none !important; }
    .tw-card:hover, body.home-page .department-card:hover { transform: none !important; }
    .tw-card:hover .tw-media img, body.home-page .department-card:hover .department-image { transform: none !important; }
}

/* ============================================ CHECKOUT (premium) ======== */
body[data-page="checkout"] { background: #FAF6F4 !important; }
body[data-page="checkout"] .checkout-main { padding-top: clamp(1.25rem, 3vw, 2.5rem) !important; }
/* Progresso */
body[data-page="checkout"] .ch-step-icon { width: 34px !important; height: 34px !important; background: #fff !important; color: #A89CA6 !important; border: 1.5px solid #EADCE7 !important; font-family: var(--mt-sans); }
body[data-page="checkout"] .ch-step span { font-family: var(--mt-sans); font-size: .74rem !important; font-weight: 600 !important; letter-spacing: .06em; color: #8C8190 !important; }
body[data-page="checkout"] .ch-step.active .ch-step-icon { background: #846780 !important; border-color: #846780 !important; color: #fff !important; box-shadow: 0 0 0 5px rgba(132,103,128,.14); }
body[data-page="checkout"] .ch-step.active span { color: #302935 !important; }
body[data-page="checkout"] .ch-step.completed .ch-step-icon { background: #846780 !important; border-color: #846780 !important; color: #fff !important; }
body[data-page="checkout"] .ch-step-divider { height: 1.5px !important; background: #EADCE7 !important; }
body[data-page="checkout"] .ch-step-divider.active { background: #846780 !important; }
/* Cards */
body[data-page="checkout"] .ch-panels, body[data-page="checkout"] .summary-card {
    background: #fff !important; border: 1px solid rgba(132,103,128,.14) !important; border-radius: 20px !important;
    box-shadow: 0 24px 50px -40px rgba(48,41,53,.5) !important;
}
body[data-page="checkout"] .ch-panel h2 { font-family: var(--mt-serif) !important; font-weight: 500 !important; font-size: clamp(1.6rem, 2.4vw, 2rem) !important; color: #302935 !important; }
body[data-page="checkout"] .ch-panel .subtitle { color: #78717C !important; font-size: .86rem !important; }
/* Campos */
body[data-page="checkout"] .ch-form-group label { font-family: var(--mt-sans); font-size: .76rem !important; font-weight: 600 !important; color: #302935 !important; margin-bottom: 6px !important; }
body[data-page="checkout"] .ch-form-group label small { font-weight: 500; color: #8C8190; }
body[data-page="checkout"] .ch-form-group input:not([type=radio]):not([type=checkbox]),
body[data-page="checkout"] .ch-form-group textarea,
body[data-page="checkout"] .ch-form-group select {
    min-height: 48px; border: 1px solid #EADCE7 !important; border-radius: 12px !important; background: #fff !important;
    color: #302935 !important; font-size: 16px !important; box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body[data-page="checkout"] .ch-form-group textarea { min-height: 80px; padding-top: 12px !important; }
body[data-page="checkout"] .ch-form-group input::placeholder, body[data-page="checkout"] .ch-form-group textarea::placeholder { color: #A89CA6 !important; }
body[data-page="checkout"] .ch-form-group input:focus, body[data-page="checkout"] .ch-form-group textarea:focus, body[data-page="checkout"] .ch-form-group select:focus {
    outline: none !important; border-color: #846780 !important; box-shadow: 0 0 0 4px rgba(132,103,128,.12) !important;
}
body[data-page="checkout"] .ch-form-group { position: relative; }
body[data-page="checkout"] .ch-form-group.has-error input { border-color: #B4455E !important; background: #FFFBFC !important; }
body[data-page="checkout"] .ch-form-group.has-error input:focus { box-shadow: 0 0 0 4px rgba(180,69,94,.14) !important; }
body[data-page="checkout"] .ch-form-group.is-valid input { border-color: #BFD9CB !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F7A54' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; padding-right: 40px !important; }
.co-field-err { margin: 6px 0 0; font-size: .72rem; line-height: 1.4; color: #B4455E; min-height: 0; }
.co-field-err:empty { display: none; }
.co-field-hint { margin: 6px 0 0; font-size: .7rem; color: #8C8190; }
/* Botoes */
body[data-page="checkout"] .ch-btn-primary { background: #846780 !important; border: 0 !important; border-radius: 14px !important; min-height: 50px; font-family: var(--mt-sans) !important; font-weight: 600 !important; letter-spacing: .08em; box-shadow: 0 16px 30px -18px rgba(132,103,128,.95) !important; }
body[data-page="checkout"] .ch-btn-primary:hover:not(:disabled) { background: #6F5370 !important; }
body[data-page="checkout"] .ch-btn-primary:disabled { background: #CDBFC9 !important; box-shadow: none !important; }
body[data-page="checkout"] .ch-btn-outline { border: 1px solid #EADCE7 !important; color: #6F5370 !important; background: #fff !important; border-radius: 14px !important; min-height: 50px; padding: 0 1.4rem !important; font-weight: 600 !important; }
/* Personalizacao por item */
.ch-perso { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.ch-perso li { font-size: .78rem; line-height: 1.45; color: #5C5361; overflow-wrap: anywhere; }
.ch-perso li span { color: #8C8190; }
.ch-perso .ch-perso-main { font-weight: 600; color: #6F5370; }
.ch-perso--compact li { font-size: .7rem; }
.ch-item-edit { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 600; color: #846780 !important; text-decoration: underline; text-underline-offset: 3px; }
body[data-page="checkout"] .ch-cart-item { border-color: #F1E8EE !important; }
body[data-page="checkout"] .ch-item-img { border-radius: 12px !important; }
/* Resumo */
body[data-page="checkout"] .summary-title-icon svg path { stroke: #846780 !important; }
body[data-page="checkout"] .summary-title { font-family: var(--mt-serif) !important; font-weight: 500 !important; font-size: 1.4rem !important; }
body[data-page="checkout"] .summary-item { align-items: flex-start !important; }
body[data-page="checkout"] .summary-item-image img { border-radius: 10px; }
body[data-page="checkout"] .summary-item-info h4 { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; -webkit-line-clamp: unset !important; display: block !important; font-size: .8rem !important; line-height: 1.35 !important; color: #302935 !important; }
.summary-item-foot { display: flex; justify-content: space-between; gap: .5rem; margin-top: 4px; font-size: .72rem; color: #8C8190; }
.summary-item-foot .summary-item-price { color: #6F5370; font-weight: 700; }
body[data-page="checkout"] #summaryShipping { color: #78717C; font-size: .8rem; }
body[data-page="checkout"] .total-line span:last-child { color: #6F5370 !important; }
.summary-trust { list-style: none; margin: 1rem 0 0; padding: .85rem 0 0; border-top: 1px solid #F3ECF0; display: grid; gap: .45rem; font-size: .72rem; color: #78717C; }
.summary-trust i { color: #B895AE; width: 16px; }
.summary-toggle { display: none; }
@media (min-width: 901px) { .summary-body { display: block !important; } }
@media (max-width: 900px) {
    body[data-page="checkout"] .ch-container { padding: 0 16px !important; box-sizing: border-box; }
    body[data-page="checkout"] .ch-right { width: 100% !important; max-width: none !important; position: static !important; order: -1; }
    body[data-page="checkout"] .summary-card { padding: 0 !important; overflow: hidden; }
    .summary-toggle {
        display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 54px; padding: 0 1rem; border: 0; background: #fff; cursor: pointer;
        font: 600 .82rem var(--mt-sans); color: #302935; text-align: left;
    }
    .summary-toggle span { flex: 1; }
    .summary-toggle strong { color: #6F5370; font-size: .95rem; }
    .summary-toggle i { color: #846780; transition: transform .2s ease; }
    .summary-card.is-open .summary-toggle i { transform: rotate(180deg); }
    .summary-body { display: none; padding: 0 1rem 1rem; border-top: 1px solid #F3ECF0; }
    .summary-card.is-open .summary-body { display: block; }
    body[data-page="checkout"] .summary-title { display: none !important; }
    body[data-page="checkout"] .panel-actions { gap: .6rem; }
    body[data-page="checkout"] .panel-actions .ch-btn-primary { flex: 1; }
}
body[data-page="checkout"] .summary-item { align-items: flex-start !important; gap: 12px !important; padding: 10px 0 !important; border-bottom: 1px solid #F6F0F3; }
body[data-page="checkout"] .summary-item-image { width: 52px !important; height: 52px !important; border-radius: 10px !important; border-color: #EFE6EC !important; }
body[data-page="checkout"] .summary-item-info { display: block !important; }
body[data-page="checkout"] .ch-qty-btn { color: #846780 !important; }
body[data-page="checkout"] .ch-qty-btn:hover:not(:disabled) { background: #FAF6F4 !important; }
body[data-page="checkout"] .ch-item-qty-control { border-color: #EADCE7 !important; border-radius: 999px !important; }
@media (max-width: 900px) {
    body[data-page="checkout"] .ch-step span { display: block !important; font-size: .6rem !important; letter-spacing: .02em; white-space: nowrap; }
    body[data-page="checkout"] .ch-step { flex: 0 0 56px !important; }
    body[data-page="checkout"] .ch-step-divider { margin: 0 4px 22px !important; }
}

/* Previa do Estudio: duas caixas iguais (foto do anuncio x bordado escolhido) */
.bs-pv { flex: 1; min-height: 0; display: grid; grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.bs-pv-box { position: relative; margin: 0; min-height: 0; border-radius: 16px; overflow: hidden; border: 1px solid #EFE6EC; }
.bs-pv-box figcaption { position: absolute; top: 8px; left: 10px; z-index: 2; max-width: calc(100% - 20px); padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.88); font: 600 .56rem var(--mt-sans); letter-spacing: .12em; text-transform: uppercase; color: #6F5370; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-preview .bs-photo { flex: none !important; height: auto !important; }
.bs-preview .bs-photo img { object-fit: contain !important; background: #fff; }
.bs-preview .bs-band { min-height: 0 !important; padding: 2rem 1rem 1rem !important; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.bs-band img { max-height: 70% !important; max-width: 38% !important; }
.bs-band-label { display: none; }
.bs-band-name.is-tone { -webkit-text-stroke: .6px rgba(48,41,53,.45); text-shadow: 0 1px 1px rgba(0,0,0,.25), 0 0 1px rgba(0,0,0,.35) !important; }
.bs-note--tone { color: #6F5370 !important; }
.bs-sum-v img { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; margin-right: 6px; }
/* Selo do tema escolhido sobre a galeria */
.bs-gallery-chip { position: absolute; left: 12px; bottom: 12px; z-index: 6; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid #EADCE7; background: rgba(255,255,255,.95); box-shadow: 0 10px 24px -16px rgba(48,41,53,.6); cursor: pointer; font-family: var(--mt-sans); text-align: left; }
.bs-gallery-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #FAF6F4; }
.bs-gallery-chip span { display: flex; flex-direction: column; font-size: .76rem; font-weight: 600; color: #302935; min-width: 0; }
.bs-gallery-chip em { font-style: normal; font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: #B895AE; }
@media (min-width: 769px) and (max-width: 980px) { .bs-pv { grid-template-rows: none; grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .bs-preview { display: block !important; }
    .bs-pv { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .bs-pv-box { aspect-ratio: 4 / 3; height: auto !important; }
    .bs-preview .bs-band { padding: 1.4rem .5rem .5rem !important; gap: .4rem; }
    .bs-band-name { font-size: 1.35rem !important; max-width: 60%; }
    .bs-pv-box figcaption { font-size: .5rem; top: 5px; left: 6px; }
    .bs-note { display: none; }
    .bs-note--tone { display: block; margin-top: 6px; font-size: .62rem; }
}

/* ================================================ LIGHTBOX (fotos) ====== */
html.mlb-lock { overflow: hidden; }
.mlb { position: fixed; inset: 0; z-index: 40000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; background: #FAF6F4; font-family: var(--mt-sans); color: #302935; animation: mlbIn .2s ease; }
@keyframes mlbIn { from { opacity: 0; } to { opacity: 1; } }
.mlb-top { display: flex; align-items: center; gap: .6rem; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px 18px; }
.mlb-count { flex: 1; font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: #6F5370; }
.mlb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; height: 44px; min-width: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid #EADCE7; background: #fff; color: #6F5370; font: 600 .72rem var(--mt-sans); cursor: pointer; box-shadow: 0 8px 20px -16px rgba(48,41,53,.6); }
.mlb-btn[hidden] { display: none; }
.mlb-close { width: 48px; height: 48px; padding: 0; }
.mlb-stage { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; padding: 0 16px; }
.mlb-img { display: block; max-width: calc(100vw - 32px); max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; cursor: zoom-in; will-change: transform; border-radius: 12px; }
.mlb.is-zoomed .mlb-img { cursor: grab; border-radius: 0; }
.mlb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid #EADCE7; background: rgba(255,255,255,.95); color: #846780; cursor: pointer; box-shadow: 0 10px 24px -16px rgba(48,41,53,.6); z-index: 2; }
.mlb-prev { left: 16px; } .mlb-next { right: 16px; }
.mlb.is-zoomed .mlb-nav { opacity: 0; pointer-events: none; }
.mlb-thumbs { display: flex; justify-content: center; gap: 8px; padding: 12px 16px 6px; overflow-x: auto; scrollbar-width: none; }
.mlb-thumbs::-webkit-scrollbar { display: none; }
.mlb-thumb { flex: 0 0 56px; width: 56px; height: 56px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; opacity: .7; }
.mlb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mlb-thumb.is-on { border-color: #846780; opacity: 1; }
.mlb-hint { margin: 0; padding: 4px 16px calc(12px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: .66rem; color: #8C8190; }
.mlb :focus-visible { outline: 2px solid #846780; outline-offset: 2px; }
@media (max-width: 700px) { .mlb-nav { width: 40px; height: 40px; } .mlb-prev { left: 6px; } .mlb-next { right: 6px; } .mlb-thumb { flex-basis: 48px; width: 48px; height: 48px; } }
@media (hover: hover) { .mlb-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .mlb { animation: none; } }

/* ===================================================================
   Categorias da home — cards editoriais grandes (v27).
   Foto ocupa o card inteiro (4:5), nome em serifa sobre um véu escuro
   suave, CTA discreto que ganha seta no hover. 5 por linha no desktop,
   carrossel de ~72% no celular para mostrar que há mais ao lado.
   =================================================================== */
body.home-page .departments-section .departments-carousel {
    grid-auto-columns: calc((100% - 4 * 20px) / 5) !important; gap: 20px !important; padding: 8px 2px 22px !important;
}
body.home-page .departments-carousel .department-card {
    position: relative !important; display: block !important; width: auto !important; padding: 0 !important;
    border: 0 !important; border-radius: 22px !important; overflow: hidden !important; background: #EFE6EC !important;
    aspect-ratio: 4 / 5 !important; height: auto !important; min-height: 0 !important; max-height: none !important; box-shadow: 0 22px 44px -30px rgba(48,41,53,.55) !important; isolation: isolate;
    transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease !important;
}
body.home-page .departments-carousel .department-card:hover {
    transform: translateY(-6px) !important; box-shadow: 0 34px 60px -32px rgba(48,41,53,.7) !important;
}
body.home-page .departments-carousel .department-image-container {
    position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important;
    margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: #F6EFF3 !important;
}
body.home-page .departments-carousel .department-image,
body.home-page .departments-carousel .department-image-container img {
    width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important;
    transition: transform .8s cubic-bezier(.2,.7,.2,1) !important;
}
body.home-page .departments-carousel .department-card:hover .department-image { transform: scale(1.06) !important; }
/* véu para o texto ler sobre qualquer foto */
body.home-page .departments-carousel .department-card::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(30,22,32,0) 34%, rgba(30,22,32,.42) 58%, rgba(30,22,32,.86) 100%);
}
body.home-page .departments-carousel .department-name,
body.home-page .departments-carousel .department-card:hover .department-name {
    position: absolute !important; z-index: 2; left: 22px; right: 22px; bottom: 50px;
    margin: 0 !important; padding: 0 !important; min-height: 0 !important; width: auto !important; max-width: none !important;
    text-align: left !important; background: transparent !important; box-shadow: none !important;
    font-family: var(--mt-serif, 'Cormorant Garamond', serif) !important; font-weight: 500 !important;
    font-size: clamp(1.45rem, 1.9vw, 1.85rem) !important; line-height: 1.05 !important; letter-spacing: -.01em !important;
    color: #fff !important; text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
body.home-page .departments-carousel .department-cta {
    position: absolute !important; z-index: 2; left: 22px; bottom: 20px; margin: 0 !important;
    display: inline-flex !important; align-items: center; gap: .5rem; color: rgba(255,255,255,.88) !important;
    font-size: .66rem !important; font-weight: 600 !important; letter-spacing: .22em !important; text-transform: uppercase;
    transition: gap .3s ease, color .3s ease;
}
body.home-page .departments-carousel .department-cta::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
body.home-page .departments-carousel .department-card:hover .department-cta { color: #fff !important; gap: .8rem; }
body.home-page .departments-carousel .department-card:hover .department-cta::after { transform: scaleX(1); }
body.home-page .departments-carousel .department-card:focus-visible { outline: 2px solid #846780 !important; outline-offset: 4px; }
body.home-page .departments-carousel .department-icon-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: #B895AE; }

@media (max-width: 1024px) {
    body.home-page .departments-section .departments-carousel { grid-auto-columns: 220px !important; gap: 16px !important; }
}
@media (max-width: 700px) {
    body.home-page .departments-carousel .department-card,
    body.home-page .departments-carousel .department-card:hover {
        flex: 0 0 72% !important; width: 72% !important; transform: none !important; border-radius: 18px !important;
    }
    body.home-page .departments-carousel .department-name,
    body.home-page .departments-carousel .department-card:hover .department-name { font-size: 1.6rem !important; left: 18px; right: 18px; bottom: 46px; }
    body.home-page .departments-carousel .department-cta { left: 18px; bottom: 18px; font-size: .62rem !important; }
}
@media (max-width: 380px) {
    body.home-page .departments-carousel .department-card { flex-basis: 80% !important; width: 80% !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.home-page .departments-carousel .department-card,
    body.home-page .departments-carousel .department-image { transition: none !important; }
}
/* cards maiores: seção mais larga e proporção 3:4 */
@media (min-width: 1025px) {
    body.home-page .departments-section .departments-container { max-width: 1360px !important; width: 100% !important; padding-left: 24px !important; padding-right: 24px !important; box-sizing: border-box; }
    body.home-page .departments-section .departments-carousel { gap: 24px !important; grid-auto-columns: calc((100% - 4 * 24px) / 5) !important; }
    body.home-page .departments-carousel .department-card { aspect-ratio: 3 / 4 !important; }
    /* setas ficam por fora: o carrossel usa a largura toda */
    body.home-page .departments-section .departments-carousel-wrapper { padding-left: 0 !important; padding-right: 0 !important; position: relative; }
    body.home-page .departments-carousel-wrapper .carousel-nav-btn.prev { left: -21px !important; }
    body.home-page .departments-carousel-wrapper .carousel-nav-btn.next { right: -21px !important; }
}
/* Foto inteira (as capas são quadradas): foto 1:1 em cima, nome e CTA
   num rodapé claro embaixo — nada do bordado fica escondido sob o texto. */
body.home-page .departments-carousel .department-card,
body.home-page .departments-section .departments-carousel .department-card { aspect-ratio: auto !important; background: #fff !important; display: flex !important; flex-direction: column !important; }
body.home-page .departments-carousel .department-card::after { display: none !important; }
body.home-page .departments-carousel .department-image-container { position: relative !important; inset: auto !important; aspect-ratio: 1 / 1 !important; height: auto !important; flex: 0 0 auto; overflow: hidden; }
body.home-page .departments-carousel .department-image,
body.home-page .departments-carousel .department-image-container img { object-fit: contain !important; background: #F6EFF3; }
body.home-page .departments-carousel .department-name,
body.home-page .departments-carousel .department-card:hover .department-name {
    position: static !important; color: #302935 !important; text-shadow: none; padding: 16px 20px 0 !important;
}
body.home-page .departments-carousel .department-card:hover .department-name { color: #846780 !important; }
body.home-page .departments-carousel .department-cta,
body.home-page .departments-carousel .department-card:hover .department-cta {
    position: relative !important; left: auto; bottom: auto; align-self: flex-start; margin: 10px 20px 20px !important; color: #846780 !important;
}
@media (max-width: 700px) {
    body.home-page .departments-carousel .department-name { padding: 14px 16px 0 !important; }
    body.home-page .departments-carousel .department-cta { margin: 8px 16px 16px !important; }
}

/* ===================================================================
   Hero da home no celular (v33): banner inteiro em cima, texto embaixo.
   O banner é uma arte larga (≈2,3:1) com o logo à esquerda — no corte
   "cover" de antes o logo saía pela metade. Aqui ele aparece completo,
   sem zoom, e o texto começa abaixo dele numa base limpa.
   =================================================================== */
@media (max-width: 700px) {
    body.home-page .home-hero { display: block !important; min-height: 0 !important; overflow: visible !important; background: var(--mt-cream, #F7F4F2) !important; }
    body.home-page .home-hero::before, body.home-page .home-hero::after { display: none !important; }
    body.home-page .home-hero .home-hero-banner-slot { position: relative !important; inset: auto !important; height: auto !important; overflow: hidden; }
    body.home-page .home-hero .home-hero-banner-slot > *,
    body.home-page .home-hero .home-hero-banner-slot [data-template-id],
    body.home-page .home-hero .home-hero-banner-slot [data-template-id] > div { height: auto !important; }
    body.home-page .home-hero .home-hero-banner-slot img,
    body.home-page .home-hero .home-hero-banner-slot .home-banner-fullwidth-img,
    body.home-page .home-hero .home-hero-banner-slot video {
        height: auto !important; object-fit: contain !important; object-position: center !important;
        transform: none !important; animation: none !important;
    }
    /* desfoque suave entre banner e texto, sem cobrir a arte */
    body.home-page .home-hero .home-hero-banner-slot::after {
        content: "" !important; display: block !important; position: absolute; left: 0; right: 0; bottom: 0; height: 28px;
        background: linear-gradient(to bottom, rgba(247,244,242,0), var(--mt-cream, #F7F4F2)); pointer-events: none;
    }
    body.home-page .home-hero-overlay { padding: 1.5rem 0 2rem !important; }
    body.home-page .home-hero-copy { padding-inline: 20px !important; }
    /* a frase já está escrita na própria arte do banner logo acima */
    body.home-page .home-hero-eyebrow { display: none !important; }
    body.home-page .home-hero-overlay { margin-top: 0 !important; }
    body.home-page .home-hero-title { font-size: clamp(2.2rem, 10.5vw, 2.7rem) !important; line-height: 1.04 !important; margin-bottom: 1.1rem !important; }
    body.home-page .home-hero-rule { margin: 0 0 1.1rem !important; }
    body.home-page .home-hero-text { font-size: 1rem !important; line-height: 1.6 !important; margin-bottom: 1.5rem !important; }
    body.home-page .home-hero-actions .mt-btn {
        width: 100% !important; min-height: 54px !important; border-radius: 14px !important; letter-spacing: .14em !important; font-size: .74rem !important;
        box-shadow: 0 16px 30px -18px rgba(132,103,128,.8) !important;
    }
    /* selos: grade 2×2, ícone ao lado do texto — mais legível que 4 colunas espremidas */
    body.home-page .home-hero-trust {
        display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; margin-top: 1.5rem !important; padding: 0 !important;
    }
    body.home-page .home-hero-trust li {
        display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; text-align: left !important;
        padding: 10px 12px !important; background: #fff !important; border: 1px solid rgba(132,103,128,.14) !important; border-radius: 14px !important;
        font-size: .74rem !important; line-height: 1.25 !important;
    }
    body.home-page .home-hero-trust li i {
        flex: 0 0 auto; width: 32px !important; height: 32px !important; border-radius: 50% !important; display: inline-flex !important;
        align-items: center; justify-content: center; background: #F6EFF3 !important; border: 0 !important; color: #846780 !important; font-size: .8rem !important; margin: 0 !important;
    }
    body.home-page .home-hero-dots-anchor { position: relative !important; bottom: auto !important; margin-top: -1rem; }
}

/* Hero mobile v35 — banner em cartão, texto centralizado, selos numa faixa única */
@media (max-width: 860px) {
    body.home-page .home-hero { display: block !important; min-height: 0 !important; overflow: visible !important; background: var(--mt-cream, #F7F4F2) !important; }
    body.home-page .home-hero::before, body.home-page .home-hero::after { display: none !important; }
    body.home-page .home-hero .home-hero-banner-slot {
        position: relative !important; inset: auto !important; height: auto !important;
        width: auto !important; margin: 14px 16px 0 !important; border-radius: 22px !important; overflow: hidden !important;
        box-shadow: 0 24px 46px -30px rgba(76,52,72,.65) !important; isolation: isolate;
    }
    body.home-page .home-hero .home-hero-banner-slot > *,
    body.home-page .home-hero .home-hero-banner-slot [data-template-id],
    body.home-page .home-hero .home-hero-banner-slot [data-template-id] > div { height: auto !important; }
    body.home-page .home-hero .home-hero-banner-slot img,
    body.home-page .home-hero .home-hero-banner-slot .home-banner-fullwidth-img,
    body.home-page .home-hero .home-hero-banner-slot video {
        height: auto !important; object-fit: contain !important; object-position: center !important; transform: none !important; animation: none !important;
    }
    body.home-page .home-hero .home-hero-banner-slot::after { display: none !important; }
    body.home-page .home-hero-eyebrow { display: none !important; }
    body.home-page .home-hero-overlay { margin-top: 0 !important; padding: 2rem 0 2.25rem !important; }
    body.home-page .home-hero-copy { padding-inline: 22px !important; text-align: center !important; max-width: 560px !important; margin-inline: auto !important; }
    body.home-page .home-hero-title { font-size: clamp(2.3rem, 10vw, 3.1rem) !important; line-height: 1.02 !important; margin: 0 0 1.1rem !important; }
    body.home-page .home-hero-rule { margin: 0 auto 1.1rem !important; justify-content: center !important; display: flex !important; width: 140px !important; }
    body.home-page .home-hero-text { font-size: 1rem !important; line-height: 1.6 !important; margin: 0 auto 1.6rem !important; max-width: 34ch !important; color: #6b5f6e !important; }
    body.home-page .home-hero-actions { justify-content: center !important; }
    body.home-page .home-hero-actions .mt-btn {
        width: 100% !important; min-height: 56px !important; border-radius: 999px !important; letter-spacing: .14em !important; font-size: .74rem !important;
        box-shadow: 0 18px 32px -18px rgba(132,103,128,.85) !important;
    }
    /* selos: uma faixa branca com 4 colunas e divisórias finas */
    body.home-page .home-hero-trust {
        display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 0 !important; margin: 1.6rem 0 0 !important; padding: 14px 4px !important;
        background: #fff !important; border: 1px solid rgba(132,103,128,.14) !important; border-radius: 20px !important;
        box-shadow: 0 14px 30px -26px rgba(76,52,72,.6) !important; list-style: none !important;
    }
    body.home-page .home-hero-trust li {
        display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; gap: 8px !important;
        text-align: center !important; padding: 2px 6px !important; background: transparent !important; border: 0 !important; border-radius: 0 !important;
        font-size: .66rem !important; line-height: 1.3 !important; color: #4a3f4c !important;
    }
    body.home-page .home-hero-trust li + li { border-left: 1px solid rgba(132,103,128,.14) !important; }
    body.home-page .home-hero-trust li i {
        width: 34px !important; height: 34px !important; border-radius: 50% !important; display: inline-flex !important; align-items: center; justify-content: center;
        background: #F6EFF3 !important; border: 0 !important; color: #846780 !important; font-size: .82rem !important; margin: 0 !important;
    }
    body.home-page .home-hero-dots-anchor { position: relative !important; bottom: auto !important; margin-top: -1rem; }
}
@media (max-width: 360px) {
    body.home-page .home-hero-trust { grid-template-columns: 1fr 1fr !important; row-gap: 12px !important; }
    body.home-page .home-hero-trust li:nth-child(3) { border-left: 0 !important; }
}
@media (max-width: 860px) {
    body.home-page .home-hero-rule::after { content: ''; height: 1px; flex: 1; background: linear-gradient(270deg, var(--mt-mauve), rgba(191,162,180,0.15)); }
    body.home-page .home-hero-rule::before { background: linear-gradient(90deg, rgba(191,162,180,0.15), var(--mt-mauve)) !important; }
}
@media (max-width: 860px) {
    body.home-page .home-hero .home-hero-banner-slot,
    body.home-page .home-hero .home-hero-banner-slot * { max-width: 100% !important; }
    body.home-page .home-hero .home-hero-banner-slot > *,
    body.home-page .home-hero .home-hero-banner-slot [data-template-id],
    body.home-page .home-hero .home-hero-banner-slot [data-template-id] > div,
    body.home-page .home-hero .home-hero-banner-slot img { width: 100% !important; display: block !important; }
}
@media (max-width: 860px) {
    /* o template do banner usa "full-bleed" (margem negativa até a borda da tela); dentro do cartão isso desalinha */
    body.home-page .home-hero .home-hero-banner-slot > *,
    body.home-page .home-hero .home-hero-banner-slot [data-template-id],
    body.home-page .home-hero .home-hero-banner-slot [data-template-id] > div {
        margin-left: 0 !important; margin-right: 0 !important; left: auto !important; right: auto !important; position: relative !important; transform: none !important;
    }
}
