:root {

    /* FUNDOS CLAROS */
    --cream: #E8E2D2;
    --cream-light: #F8F5EC;

    /* MARCA */
    --orange: #D96812;
    --orange-dark: #B94F0B;

    /* VERDES DA IDENTIDADE */
    --olive: #68704A;
    --olive-dark: #3F452E;
    --sage: #E2E5D3;

    /* ESCUROS */
    --dark: #1A1A17;
    --dark-soft: #24241F;

    /* TEXTO */
    --text-muted: #69675F;

    /* BORDAS */
    --border: rgba(26, 26, 23, 0.11);

    /* DESIGN SYSTEM GLOBAL */
    --font-family-base: Arial, Helvetica, sans-serif;
    --font-family-display: var(--font-family-base);
    --site-gutter: clamp(24px, 4vw, 60px);
    --site-gutter-tablet: 28px;
    --site-gutter-mobile: 18px;
    --surface-radius: 24px;
    --surface-border: rgba(26, 26, 23, 0.06);
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    background: var(--cream-light);
}

/*
 * Transição nativa entre páginas do próprio site.
 * Em navegadores compatíveis, mantém o frame anterior até a
 * próxima página estar pronta para pintar, evitando o clarão branco
 * comum em navegação multi-page (Spring MVC + Thymeleaf).
 */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 120ms ease-out both tk-page-out;
}

::view-transition-new(root) {
    animation: 180ms ease-out 20ms both tk-page-in;
}

@keyframes tk-page-out {
    to {
        opacity: 0.94;
    }
}

@keyframes tk-page-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


body {
    margin: 0;
    background: var(--cream-light);
    color: var(--dark);

    font-family: var(--font-family-base);
}

button,
input,
select,
textarea {
    font: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-display);
}


/* HEADER */

.site-header {
    background: var(--cream-light);
    border-bottom: 1px solid var(--border);
}


.navbar {
    min-height: 88px;
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--dark);
}


.brand:hover {
    color: var(--dark);
}


.brand-logo {
    width: 54px;
    height: 54px;

    border-radius: 50%;
    object-fit: cover;
}


.nav-link {
    color: var(--dark);
    font-weight: 600;
}


.nav-link:hover {
    color: var(--orange);
}


.btn-whatsapp {
    padding: 10px 20px;

    border-radius: 999px;

    background: var(--dark);
    color: white;

    font-weight: 700;
}


.btn-whatsapp:hover {
    background: var(--orange);
    color: white;
}


/* HERO */

.hero {
    padding: 70px 0 90px;
}


.hero-label,
.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--orange);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}


.hero h1 {
    margin-bottom: 24px;

    max-width: 650px;

    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;

    line-height: 0.95;
    letter-spacing: -0.055em;
}


.hero h1 span {
    color: var(--orange);
}


.hero p {
    max-width: 550px;

    margin-bottom: 34px;

    color: var(--text-muted);

    font-size: 1.15rem;
    line-height: 1.7;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


.btn-primary-toca {
    padding: 14px 26px;

    border: none;
    border-radius: 999px;

    background: var(--orange);
    color: white;

    font-weight: 800;
}


.btn-primary-toca:hover {
    background: var(--orange-dark);
    color: white;
}


.btn-outline-toca {
    padding: 14px 26px;

    border: 1px solid var(--dark);
    border-radius: 999px;

    color: var(--dark);

    font-weight: 800;
}


.btn-outline-toca:hover {
    background: var(--dark);
    color: white;
}


/* HERO IMAGE */

.hero-image-wrapper {
    position: relative;

    overflow: hidden;

    border-radius: 32px;

    background: var(--cream);
}


.hero-badge {
    position: absolute;

    left: 24px;
    bottom: 24px;

    display: flex;
    flex-direction: column;

    padding: 16px 22px;

    border-radius: 18px;

    background: rgba(255, 253, 242, 0.92);

    backdrop-filter: blur(10px);
}


.hero-badge span {
    color: var(--orange);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}


.hero-badge strong {
    font-size: 1rem;
}


/* CATALOGO */

.catalog-section {
    padding: 100px 0;

    background: var(--dark);
    color: white;
}


.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}


.section-header h2,
.cta-section h2 {
    margin: 0;

    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;

    letter-spacing: -0.04em;
}


.catalog-link {
    color: white;

    text-decoration: none;
    font-weight: 700;
}


.catalog-link:hover {
    color: var(--orange);
}


/* CTA */

.cta-section {
    padding: 80px 0;

    background: var(--cream-light);
}


.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px;

    border-radius: 30px;

    background: var(--orange);
    color: white;
}


.cta-box span {
    display: block;

    margin-bottom: 8px;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}


.cta-box .btn-primary-toca {
    flex-shrink: 0;

    background: white;
    color: var(--dark);
}


/* FOOTER */

footer {
    padding: 30px 0;

    background: var(--dark);
    color: #aaa;
}


.footer-content {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    font-size: 0.85rem;
}


/* TABLET */

@media (max-width: 991px) {

    .navbar-collapse {
        padding: 20px 0;
    }


    .hero {
        padding-top: 45px;
    }


    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* CELULAR */

@media (max-width: 576px) {

    .brand span {
        font-size: 0.9rem;
    }


    .brand-logo {
        width: 46px;
        height: 46px;
    }


    .hero {
        padding: 45px 0 60px;
    }


    .product-page h1,
    .catalog-page-header h1 {
        font-size: clamp(2.4rem, 12vw, 3rem);
    }


    .hero-buttons {
        flex-direction: column;
    }


    .hero-buttons .btn {
        width: 100%;
    }


    .section-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .catalog-section {
        padding: 70px 0;
    }


    .cta-box {
        padding: 35px 25px;
    }


    .footer-content {
        flex-direction: column;
    }

}

/* CATALOGO PAGE */

.catalog-page {
    min-height: 80vh;
    padding: 80px 0 110px;

    background: var(--dark);
    color: white;
}


.catalog-page-header {
    max-width: 700px;
    margin-bottom: 55px;
}


.catalog-page-header h1 {
    margin-bottom: 18px;

    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;

    letter-spacing: -0.05em;
}


.catalog-page-header p {
    color: #aaa;

    font-size: 1.1rem;
    line-height: 1.7;
}


/* PRODUCT DETAIL */

.product-page {
    min-height: calc(100vh - 88px);

    padding: 80px 0;

    background: var(--cream-light);
}


.product-page h1 {
    margin-bottom: 22px;

    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;

    letter-spacing: -0.05em;
}


.product-description {
    max-width: 550px;

    color: var(--text-muted);

    font-size: 1.1rem;
    line-height: 1.8;
}


.product-detail-price {
    margin: 30px 0;

    font-size: 2rem;
    font-weight: 900;
}


.product-whatsapp {
    padding-left: 32px;
    padding-right: 32px;
}

/* ADMIN */

.admin-body {
    background: #f4f3ed;
}


.admin-header {
    padding: 16px 0;

    background: white;
    border-bottom: 1px solid var(--border);
}


.admin-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--dark);
    text-decoration: none;
}


.admin-brand img {
    width: 48px;
    height: 48px;

    border-radius: 50%;
    object-fit: cover;
}


.admin-brand div {
    display: flex;
    flex-direction: column;
}


.admin-brand strong {
    font-size: 1rem;
}


.admin-brand span {
    color: var(--text-muted);

    font-size: 0.75rem;
}


.admin-site-link {
    color: var(--dark);

    text-decoration: none;
    font-weight: 700;
}


.admin-main {
    padding: 60px 0 100px;
}


.admin-form-header h1 {
    margin: 0;

    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;

    letter-spacing: -0.04em;
}


.admin-product-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.admin-product {
    display: grid;

    grid-template-columns:
        80px
        minmax(180px, 1fr)
        auto;

    align-items: center;

    gap: 20px;

    padding: 14px;

    border-radius: 18px;

    background: white;
}


.admin-product-image {
    width: 80px;
    height: 80px;

    border-radius: 12px;

    object-fit: cover;
}


.admin-product-info {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.admin-product-info span {
    color: var(--orange);

    font-size: 0.7rem;
    font-weight: 800;

    text-transform: uppercase;
}


.admin-product-info strong {
    font-size: 1.05rem;
}


.admin-product-info small {
    color: var(--text-muted);
}


.admin-product-highlight {
    color: var(--orange);

    font-weight: 700;
}


.admin-product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 8px;
}


.admin-product-actions {
    justify-self: end;
}

.admin-product-actions form {
    margin: 0;
}

.admin-product-highlight {
    display: none;
}


.btn-admin-secondary,
.btn-admin-danger {
    display: inline-block;

    padding: 9px 14px;

    border-radius: 10px;
    border: 1px solid var(--border);

    background: white;

    color: var(--dark);

    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 700;
}


.btn-admin-danger {
    color: #b51d1d;
}

.btn-admin-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 18px;

    border: 1px solid transparent;
    border-radius: 14px;

    background: linear-gradient(135deg, #f08a24 0%, #d96a12 100%);
    color: #ffffff;

    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;

    box-shadow: 0 10px 24px rgba(217, 104, 18, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-admin-primary:hover {
    color: #ffffff;
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 14px 28px rgba(217, 104, 18, 0.24);
}

.btn-admin-primary:focus-visible {
    outline: 3px solid rgba(217, 104, 18, 0.22);
    outline-offset: 2px;
}


.admin-form-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


.admin-form-header {
    margin: 40px 0;
}


.admin-form {
    padding: 35px;

    border-radius: 24px;

    background: white;
}


.admin-form .form-label {
    font-weight: 700;
}


.admin-form .form-control,
.admin-form .form-select {
    min-height: 50px;

    border-radius: 12px;
}


.admin-form textarea.form-control {
    min-height: 130px;
}


@media (max-width: 768px) {

    .admin-form {
        padding: 25px 18px;
    }

}

.admin-image-preview {
    width: 180px;
    height: 180px;

    object-fit: contain;

    background: #f5f5f5;

    border-radius: 18px;
    border: 1px solid var(--border);
}

/* LOGIN */

.login-body {
    margin: 0;

    min-height: 100vh;

    background: linear-gradient(
            135deg,
            var(--cream-light),
            var(--cream)
    );
}


.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}


.login-container {
    width: 100%;
    max-width: 460px;

    text-align: center;
}


.login-logo {
    display: inline-block;

    margin-bottom: 25px;
}


.login-logo img {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    object-fit: cover;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


.login-card {
    padding: 45px;

    border-radius: 30px;

    background: white;

    text-align: left;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}


.login-header {
    margin-bottom: 30px;
}


.login-header h1 {
    margin: 0 0 12px;

    font-size: 3rem;
    font-weight: 900;

    letter-spacing: -0.05em;
}


.login-header p {
    margin: 0;

    color: var(--text-muted);

    line-height: 1.6;
}


.login-form {
    display: flex;
    flex-direction: column;

    gap: 22px;
}


.login-form .form-label {
    font-weight: 700;
}


.login-form .form-control {
    min-height: 54px;

    padding-left: 16px;

    border-radius: 14px;
}


.login-form .form-control:focus {
    border-color: var(--orange);

    box-shadow: 0 0 0 0.2rem rgba(232, 121, 34, 0.15);
}


.login-button {
    width: 100%;

    min-height: 54px;

    margin-top: 5px;
}


.login-message {
    margin-bottom: 25px;

    padding: 13px 16px;

    border-radius: 12px;

    font-size: 0.9rem;
    font-weight: 600;
}


.login-message-error {
    background: #fff0f0;
    color: #a52222;
}


.login-message-success {
    background: #edf8ee;
    color: #267431;
}


.login-back {
    display: inline-block;

    margin-top: 25px;

    color: var(--dark);

    text-decoration: none;

    font-weight: 700;
}


.login-back:hover {
    color: var(--orange);
}


@media (max-width: 576px) {

    .login-page {
        align-items: flex-start;

        padding-top: 40px;
    }


    .login-card {
        padding: 32px 24px;
    }


    .login-header h1 {
        font-size: 2.5rem;
    }

}

.admin-header-actions form {
    margin: 0;
}


.admin-logout {
    padding: 8px 16px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: transparent;
    color: var(--dark);

    font-weight: 700;

    cursor: pointer;
}


.admin-logout:hover {
    border-color: var(--orange);

    color: var(--orange);
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin: 25px 0;
}


.product-info-grid div {
    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 18px;

    border-radius: 16px;

    background: var(--cream);
}


.product-info-grid span {
    color: var(--orange);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}


.product-info-grid strong {
    font-size: 0.95rem;
}


/* GERENCIAMENTO DA GALERIA */

.admin-gallery-manager {
    margin-top: 28px;

    padding: 35px;

    border-radius: 24px;

    background: white;
}


.admin-gallery-manager-header {
    margin-bottom: 25px;
}


.admin-gallery-manager-header h2 {
    margin: 0;

    font-size: 1.8rem;
    font-weight: 900;

    letter-spacing: -0.03em;
}


.admin-gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(160px, 1fr));

    gap: 18px;
}


.admin-gallery-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: #fafaf7;
}


.admin-gallery-card-image {
    position: relative;

    height: 180px;

    padding: 10px;

    background: #f5f5f2;
}


.admin-gallery-card-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.admin-cover-badge {
    position: absolute;

    top: 10px;
    left: 10px;

    padding: 6px 10px;

    border-radius: 999px;

    background: var(--orange);
    color: white;

    font-size: 0.7rem;
    font-weight: 800;
}


.admin-gallery-card-actions {
    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 12px;
}


.admin-gallery-card-actions form {
    width: 100%;
    margin: 0;
}


.btn-gallery-cover,
.btn-gallery-delete {
    width: 100%;

    padding: 9px 12px;

    border-radius: 10px;

    font-size: 0.78rem;
    font-weight: 800;

    cursor: pointer;
}


.btn-gallery-cover {
    border: none;

    background: var(--dark);
    color: white;
}


.btn-gallery-cover:hover {
    background: var(--orange);
}


.btn-gallery-delete {
    border: 1px solid #e3bbbb;

    background: white;
    color: #ad2020;
}


.btn-gallery-delete:hover {
    background: #fff1f1;
}


@media (max-width: 576px) {

    .admin-gallery-manager {
        padding: 25px 18px;
    }


    .admin-gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .admin-gallery-card-image {
        height: 150px;
    }

}

.admin-cover-help {
    padding: 8px;

    color: var(--text-muted);

    font-size: 0.72rem;
    line-height: 1.4;

    text-align: center;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(232, 121, 34, 0.45);
    outline-offset: 3px;
}

/* =========================================================
   FILTROS DO CATÁLOGO
   ========================================================= */

.catalog-filters {
    margin-bottom: 45px;
}


/* BUSCA */

.catalog-search {
    width: 100%;
    max-width: 720px;
    margin-bottom: 24px;
}

.catalog-search-field {
    display: flex;
    align-items: center;

    width: 100%;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    background: var(--dark-soft);

    transition: border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.catalog-search-field:focus-within {
    border-color: var(--orange);

    box-shadow: 0 0 0 3px rgba(232, 121, 34, 0.12);
}

.catalog-search-field input {
    flex: 1;

    min-width: 0;
    min-height: 54px;

    padding: 0 22px;

    border: none;
    outline: none;

    background: transparent;
    color: white;

    font-size: 1rem;
}

.catalog-search-field input::placeholder {
    color: #777;
}

.catalog-search-field button {
    flex-shrink: 0;

    min-height: 54px;

    padding: 0 28px;

    border: none;

    background: var(--orange);
    color: white;

    font-weight: 800;

    cursor: pointer;

    transition: background 0.2s ease;
}

.catalog-search-field button:hover {
    background: var(--orange-dark);
}


/* CATEGORIAS */

.catalog-categories {
    display: flex;
    align-items: center;

    gap: 10px;

    overflow-x: auto;

    padding-bottom: 8px;

    scrollbar-width: thin;
}

.catalog-category {
    flex: 0 0 auto;

    padding: 9px 17px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;

    background: transparent;
    color: #aaa;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 700;

    transition: background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.catalog-category:hover {
    border-color: var(--orange);

    color: white;
}

.catalog-category.active {
    border-color: var(--orange);

    background: var(--orange);
    color: white;
}


/* CONTAGEM / LIMPAR */

.catalog-filter-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 14px;

    color: #888;

    font-size: 0.85rem;
}

.catalog-filter-info strong {
    color: white;
    font-weight: 800;
}

.catalog-clear {
    color: var(--orange);

    text-decoration: none;
    font-weight: 700;
}

.catalog-clear:hover {
    color: white;
}


/* NENHUM RESULTADO */

.catalog-empty {
    padding: 70px 25px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    background: var(--dark-soft);

    text-align: center;
}

.catalog-empty-icon {
    margin-bottom: 15px;

    font-size: 3rem;
}

.catalog-empty h2 {
    margin-bottom: 10px;

    font-size: 2rem;
    font-weight: 900;
}

.catalog-empty p {
    margin-bottom: 25px;

    color: #999;
}


/* MOBILE */

@media (max-width: 576px) {

    .catalog-filters {
        margin-bottom: 35px;
    }

    .catalog-search-field {
        border-radius: 18px;
    }

    .catalog-search-field input {
        min-height: 52px;

        padding: 0 16px;

        font-size: 0.9rem;
    }

    .catalog-search-field button {
        min-height: 52px;

        padding: 0 18px;
    }

    .catalog-categories {
        gap: 8px;
    }

    .catalog-category {
        padding: 8px 14px;

        font-size: 0.8rem;
    }

    .catalog-filter-info {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

    .catalog-empty {
        padding: 50px 20px;
    }

}

/* ORDENAÇÃO DO CATÁLOGO */

.catalog-result-info {
    display: flex;
    align-items: center;
    gap: 18px;
}


.catalog-order-form {
    display: flex;
    align-items: center;

    gap: 10px;
}


.catalog-order-form label {
    color: #888;

    font-size: 0.82rem;
    font-weight: 600;
}


.catalog-order-form select {
    min-height: 42px;

    padding: 0 38px 0 14px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;

    background-color: var(--dark-soft);
    color: white;

    font-size: 0.85rem;
    font-weight: 700;

    cursor: pointer;
}


.catalog-order-form select:focus {
    border-color: var(--orange);
    outline: none;
}


@media (max-width: 576px) {

    .catalog-filter-info {
        width: 100%;
    }


    .catalog-result-info {
        width: 100%;

        justify-content: space-between;
    }


    .catalog-order-form {
        width: 100%;

        justify-content: space-between;
    }


    .catalog-order-form select {
        flex: 1;
        max-width: 210px;
    }

}

.admin-options {
    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 18px;

    border-radius: 14px;

    background: #f8f7f2;
}

.admin-product-state {
    margin-top: 4px;
}

.admin-state-active {
    color: #26823b;

    font-size: 0.75rem;
    font-weight: 800;
}

.admin-state-inactive {
    color: #999;

    font-size: 0.75rem;
    font-weight: 800;
}

/* HERO SLIDER */

.hero-slider {
    position: relative;

    width: 100%;
    height: 650px;

    overflow: hidden;

    background: var(--cream-light);
}


.hero-slide {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.9s ease;
}


.hero-slide.active {
    opacity: 1;

    pointer-events: auto;
}


.hero-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    background: var(--cream-light);
}


.hero-badge {
    z-index: 5;
}


/* CATEGORIAS ADMIN */

.admin-category-item > div {
    display: flex;
    align-items: center;

    gap: 15px;
}

@media (max-width: 576px) {

    .admin-category-item {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* =========================================================
   ADMIN - DASHBOARD / PRODUTOS
   ========================================================= */


/* CABEÇALHO DA PÁGINA */

.admin-page-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}


.admin-page-top h1 {
    margin: 4px 0 8px;

    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
}


.admin-page-top p {
    margin: 0;

    color: #777;
}


.admin-new-product {
    flex-shrink: 0;
}


/* RESUMO */

.admin-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 30px;
}


.admin-summary-card {
    padding: 22px;

    border: 1px solid rgba(17, 17, 17, 0.08);

    border-radius: 18px;

    background: white;
}


.admin-summary-card span {
    display: block;

    margin-bottom: 8px;

    color: #777;

    font-size: 0.78rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.admin-summary-card strong {
    display: block;

    margin-bottom: 4px;

    color: var(--dark);

    font-size: 2.2rem;
    font-weight: 900;

    line-height: 1;
}


.admin-summary-card small {
    color: #999;
}


/* BUSCA */

.admin-product-filters {
    margin-bottom: 14px;
}


.admin-product-search {
    display: flex;

    width: 100%;
    max-width: 650px;

    overflow: hidden;

    border: 1px solid rgba(17, 17, 17, 0.12);

    border-radius: 14px;

    background: white;
}


.admin-product-search:focus-within {
    border-color: var(--orange);

    box-shadow: 0 0 0 3px rgba(232, 121, 34, 0.10);
}


.admin-product-search input {
    flex: 1;

    min-width: 0;

    padding: 14px 18px;

    border: none;
    outline: none;

    background: transparent;
}


.admin-product-search button {
    padding: 0 22px;

    border: none;

    background: var(--orange);
    color: white;

    font-weight: 800;

    cursor: pointer;
}


.admin-product-search button:hover {
    background: var(--orange-dark);
}


/* STATUS */

.admin-status-filters {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 28px;
}


.admin-status-filter {
    padding: 8px 15px;

    border: 1px solid rgba(17, 17, 17, 0.12);

    border-radius: 999px;

    background: white;
    color: #777;

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 800;
}


.admin-status-filter:hover {
    border-color: var(--orange);

    color: var(--orange);
}


.admin-status-filter.active {
    border-color: var(--orange);

    background: var(--orange);
    color: white;
}


.admin-clear-filter {
    margin-left: 8px;

    color: var(--orange);

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 800;
}


/* TABLET */

@media (max-width: 991px) {

    .admin-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 576px) {

    .admin-page-top {
        align-items: stretch;

        flex-direction: column;
    }


    .admin-new-product {
        width: 100%;

        text-align: center;
    }


    .admin-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .admin-summary-card {
        padding: 17px;
    }


    .admin-summary-card strong {
        font-size: 1.8rem;
    }


    .admin-summary-card small {
        font-size: 0.72rem;
    }


    .admin-product-search button {
        padding: 0 16px;
    }


    .admin-clear-filter {
        width: 100%;

        margin-top: 5px;
        margin-left: 0;
    }


    .admin-header-actions {
        gap: 12px;
    }

}

/* =========================================================
   ADMIN - COMPLEMENTOS DA LISTAGEM
   ========================================================= */


/* IMAGEM */

.admin-product-image-wrapper {
    flex-shrink: 0;

    width: 90px;
    height: 90px;

    overflow: hidden;

    border-radius: 14px;

    background: var(--cream-light);
}


.admin-product-image-wrapper .admin-product-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


.admin-product-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    color: #aaa;

    text-align: center;

    font-size: 0.72rem;
    font-weight: 700;
}


/* BOTÃO INATIVO */

.btn-admin-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 10px;

    background: #f1f1f1;
    color: #aaa;

    font-size: 0.82rem;
    font-weight: 700;

    cursor: default;
}


/* EMPTY STATE */

.admin-empty-state {
    padding: 60px 25px;

    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 20px;

    background: white;

    text-align: center;
}


.admin-empty-icon {
    margin-bottom: 12px;

    font-size: 2.8rem;
}


.admin-empty-state h2 {
    margin-bottom: 8px;

    font-size: 1.6rem;
    font-weight: 900;
}


.admin-empty-state p {
    margin-bottom: 24px;

    color: #888;
}

/* =========================================================
   LARGURA GERAL DO SITE — PADRÃO ÚNICO
   ========================================================= */

.site-shell {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
}


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

.site-header .navbar {
    width: 100%;
}

.site-header .site-shell {
    width: 100%;
}


/* =========================================================
   HERO FULL WIDTH
   ========================================================= */

.hero {
    width: 100%;
}


.hero .site-shell {
    width: 100%;
    max-width: none !important;
}


.hero-row {
    width: 100%;

    margin-left: 0;
    margin-right: 0;
}


/*
 * Impede que o texto fique preso
 * em uma largura pequena.
 */
.hero-content {
    max-width: none !important;
}


/*
 * Imagem ocupa toda a coluna direita.
 */
.hero-image-wrapper {
    width: 100%;

    max-width: none !important;
}


/*
 * Slider ocupa toda a área disponível.
 */
.hero-slider {
    width: 100%;

    max-width: none !important;
}


/* =========================================================
   SEÇÕES
   ========================================================= */

.catalog-section .site-shell,
.about-section .site-shell,
.cta-section .site-shell,
footer .site-shell {
    width: 100%;

    max-width: none !important;
}


/* =========================================================
   TELAS GRANDES
   ========================================================= */

@media (min-width: 1600px) {
    .site-shell {
        padding-left: 60px;
        padding-right: 60px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .site-shell {
        padding-left: var(--site-gutter-tablet);
        padding-right: var(--site-gutter-tablet);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .site-shell {
        padding-left: var(--site-gutter-mobile);
        padding-right: var(--site-gutter-mobile);
    }

}

/* =========================================================
   ADMIN - CATEGORIAS
   ========================================================= */


/* RESUMO */

.admin-category-summary {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}


/* BLOCO DE CADASTRO */

.admin-category-create-box {
    margin-bottom: 22px;

    padding: 25px;

    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 20px;

    background: white;
}


.admin-category-create-header {
    margin-bottom: 20px;
}


.admin-category-create-header h2 {
    margin: 4px 0 6px;

    font-size: 1.45rem;
    font-weight: 900;
}


.admin-category-create-header p {
    margin: 0;

    color: #888;
}


.category-create-form {
    margin: 0;
}


.category-create-row {
    display: flex;
    align-items: stretch;

    gap: 12px;
}


.category-create-row .form-control {
    flex: 1;

    min-height: 50px;
}


.category-create-row .btn {
    flex-shrink: 0;

    min-width: 150px;
}


/* INFORMAÇÃO */

.admin-category-info {
    margin-bottom: 30px;

    padding: 18px 20px;

    border-left: 4px solid var(--orange);
    border-radius: 12px;

    background: #fff8ef;
}


.admin-category-info strong {
    display: block;

    margin-bottom: 4px;

    color: var(--dark);

    font-size: 0.9rem;
}


.admin-category-info p {
    margin: 0;

    color: #777;

    font-size: 0.85rem;

    line-height: 1.55;
}


/* SEÇÃO */

.admin-category-section {
    margin-bottom: 40px;
}


.admin-category-section-header {
    margin-bottom: 16px;
}


.admin-category-section-header h2 {
    margin: 4px 0 0;

    font-size: 1.45rem;
    font-weight: 900;
}


/* LISTA */

.admin-category-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.admin-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 20px;

    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 16px;

    background: white;

    transition: transform 0.2s ease,
    box-shadow 0.2s ease;
}


.admin-category-item:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(17, 17, 17, 0.06);
}


.admin-category-item-info {
    display: flex;
    align-items: center;

    gap: 14px;

    min-width: 0;
}


.admin-category-item-info strong {
    color: var(--dark);

    font-size: 1rem;
    font-weight: 800;
}


.admin-category-item form {
    flex-shrink: 0;

    margin: 0;
}


/* MOBILE */

@media (max-width: 576px) {

    .admin-category-summary {
        grid-template-columns: 1fr;
    }


    .category-create-row {
        flex-direction: column;
    }


    .category-create-row .btn {
        width: 100%;
    }


    .admin-category-item {
        align-items: flex-start;
    }


    .admin-category-item-info {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }

}

/* =========================================================
   ADMIN - LARGURA TOTAL
   ========================================================= */

.admin-header .container,
.admin-main > .container {
    width: 100%;

    max-width: none !important;

    padding-left: clamp(24px, 4vw, 70px);
    padding-right: clamp(24px, 4vw, 70px);
}


/* HEADER */

.admin-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    gap: 30px;
}


/* MENU */

.admin-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    margin-left: auto;

    gap: 20px;

    flex-wrap: wrap;
}


.admin-nav-link {
    color: #666;

    text-decoration: none;

    font-size: 0.88rem;
    font-weight: 700;

    white-space: nowrap;

    transition: color 0.2s ease;
}


.admin-nav-link:hover,
.admin-nav-link.active {
    color: var(--orange);
}


/* LOGOUT */

.admin-logout-form {
    margin: 0;
}


.admin-logout-button {
    padding: 10px 18px;

    border: none;
    border-radius: 999px;

    background: var(--dark);
    color: white;

    font-size: 0.85rem;
    font-weight: 800;

    cursor: pointer;

    transition: background 0.2s ease,
    color 0.2s ease;
}


.admin-logout-button:hover {
    background: var(--orange);
}


/* =========================================================
   TELAS GRANDES
   ========================================================= */

@media (min-width: 1600px) {

    .admin-header .container,
    .admin-main > .container {
        padding-left: 60px;
        padding-right: 60px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .admin-header .container,
    .admin-main > .container {
        padding-left: 28px;
        padding-right: 28px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .admin-header-content {
        align-items: flex-start;

        flex-direction: column;

        gap: 14px;

        padding-top: 14px;
        padding-bottom: 14px;
    }


    .admin-header-actions {
        width: 100%;

        justify-content: flex-start;

        margin-left: 0;

        gap: 14px;
    }

}


@media (max-width: 576px) {

    .admin-header .container,
    .admin-main > .container {
        padding-left: 18px;
        padding-right: 18px;
    }

}

/* =========================================================
   ADMIN - ATIVAR / DESATIVAR PRODUTO
   ========================================================= */

.admin-product-action-form {
    margin: 0;
}


/* DESATIVAR */

.btn-admin-deactivate {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border: 1px solid #e3a63c;
    border-radius: 10px;

    background: #fff8e8;
    color: #a36a08;

    font-size: 0.82rem;
    font-weight: 800;

    cursor: pointer;

    transition: background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}


.btn-admin-deactivate:hover {
    border-color: #d18a0e;

    background: #d18a0e;
    color: white;
}


/* ATIVAR */

.btn-admin-activate {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border: 1px solid #26823b;
    border-radius: 10px;

    background: #eaf7ed;
    color: #26823b;

    font-size: 0.82rem;
    font-weight: 800;

    cursor: pointer;

    transition: background 0.2s ease,
    color 0.2s ease;
}

.btn-admin-activate:hover {
    background: #26823b;
    color: white;
}

/* =========================================================
   ADMIN - CARDS CLICÁVEIS
   ========================================================= */

.admin-summary-link {
    display: block;

    color: inherit;
    text-decoration: none;

    cursor: pointer;

    transition: transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.admin-summary-link:hover {
    transform: translateY(-3px);

    border-color: rgba(232, 121, 34, 0.35);

    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.07);

    color: inherit;
}


/* CARD SELECIONADO */

.admin-summary-link.active {
    border-color: var(--orange);

    background: #fff8ef;

    box-shadow: 0 0 0 2px rgba(232, 121, 34, 0.08);
}


.admin-summary-link.active span {
    color: var(--orange);
}

/* =========================================================
   ADMIN - PREÇO NA LISTAGEM
   ========================================================= */

.admin-product-price {
    margin-top: 4px;
}

.admin-product-price strong {
    color: var(--dark);

    font-size: 0.88rem;
    font-weight: 800;
}

.admin-product-price-consult {
    color: #777 !important;
}

/* =========================================================
   ADMIN - LISTAGEM MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /*
     * Cada produto vira praticamente um card.
     */
    .admin-product {
        display: grid;

        grid-template-columns: 76px minmax(0, 1fr);

        align-items: start;

        gap: 14px;

        padding: 16px;

        border-radius: 18px;
    }


    /* FOTO */
    .admin-product-image-wrapper {
        width: 76px;
        height: 76px;

        grid-column: 1;
        grid-row: 1;
    }


    /*
     * Caso ainda exista algum img diretamente
     * dentro de .admin-product.
     */
    .admin-product > .admin-product-image {
        width: 76px;
        height: 76px;

        object-fit: contain;

        grid-column: 1;
        grid-row: 1;

        border-radius: 12px;
    }


    /* INFORMAÇÕES */
    .admin-product-info {
        grid-column: 2;
        grid-row: 1;

        min-width: 0;
    }


    .admin-product-info strong {
        display: block;

        overflow-wrap: anywhere;
    }


    /* DESTAQUE */
    .admin-product-highlight {
        grid-column: 1 / -1;

        width: 100%;

        margin: 0;
    }


    /* AÇÕES */
    .admin-product-actions {
        grid-column: 1 / -1;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;

        width: 100%;

        margin-top: 4px;
    }


    /*
     * Todos os elementos de ação ocupam
     * exatamente uma célula da grade.
     */
    .admin-product-actions > a,
    .admin-product-actions > span,
    .admin-product-actions > form {
        width: 100%;

        margin: 0;
    }


    /*
     * Links/botões ficam do mesmo tamanho.
     */
    .admin-product-actions .btn-admin-secondary,
    .admin-product-actions .btn-admin-disabled,
    .admin-product-actions .btn-admin-deactivate,
    .admin-product-actions .btn-admin-activate,
    .admin-product-actions .btn-admin-danger {
        width: 100%;
        min-height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 9px 10px;

        text-align: center;
    }


    /* BOTÕES DENTRO DOS FORMS */
    .admin-product-actions form button {
        width: 100%;
    }

}

/* =========================================================
   PÁGINA DO PRODUTO - NOVA GALERIA
   ========================================================= */


/* GALERIA */

.product-gallery {
    width: 100%;
}


/* IMAGEM PRINCIPAL */

.product-page-image {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 24px;

    background: var(--cream-light);
}


.product-page-image img {
    width: 100%;
    height: min(720px, 72vh);

    display: block;

    object-fit: contain;

    background: var(--cream-light);

    transition: opacity 0.2s ease;
}


/* =========================================================
   SETAS
   ========================================================= */

.product-gallery-arrow {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);
    color: var(--dark);

    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.10);

    font-size: 2rem;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    transition: background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}


.product-gallery-arrow:hover {
    background: var(--orange);
    color: white;
}


.product-gallery-prev {
    left: 18px;
}


.product-gallery-next {
    right: 18px;
}


/* =========================================================
   CONTADOR
   ========================================================= */

.product-gallery-counter {
    position: absolute;

    right: 18px;
    bottom: 18px;

    z-index: 5;

    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(17, 17, 17, 0.80);

    color: white;

    font-size: 0.78rem;
    font-weight: 800;

    backdrop-filter: blur(8px);
}


/* =========================================================
   MINIATURAS
   ========================================================= */

.product-thumbnails {
    display: flex;

    gap: 10px;

    margin-top: 15px;
    padding-bottom: 7px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scrollbar-width: thin;
}


.product-thumbnail {
    flex: 0 0 auto;

    width: 86px;
    height: 86px;

    padding: 4px;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 14px;

    background: var(--cream-light);

    cursor: pointer;

    transition: border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;

    opacity: 0.65;
}


.product-thumbnail:hover {
    opacity: 1;

    transform: translateY(-2px);
}


.product-thumbnail.active {
    border-color: var(--orange);

    opacity: 1;
}


.product-thumbnail img {
    width: 100%;
    height: 100%;

    display: block;

    border-radius: 9px;

    object-fit: contain;
}


/* =========================================================
   PAINEL DE INFORMAÇÕES
   ========================================================= */

.product-detail-panel {
    width: 100%;
}


@media (min-width: 992px) {

    .product-detail-panel {
        position: sticky;

        top: 120px;
    }

}


/* =========================================================
   INFORMAÇÃO DE COMPRA
   ========================================================= */

.product-purchase-note {
    display: flex;
    flex-direction: column;

    gap: 4px;

    margin-top: 20px;
    padding: 16px 18px;

    border-left: 4px solid var(--orange);
    border-radius: 12px;

    background: #fff8ef;
}


.product-purchase-note strong {
    color: var(--dark);

    font-size: 0.88rem;
}


.product-purchase-note span {
    color: #777;

    font-size: 0.8rem;

    line-height: 1.5;
}


/* =========================================================
   DICA DE SWIPE
   ========================================================= */

.product-gallery-mobile-hint {
    display: none;

    margin-top: 8px;

    color: #999;

    text-align: center;

    font-size: 0.72rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .product-page-image img {
        height: 620px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .product-page {
        padding-top: 25px;
    }


    .product-page-image {
        border-radius: 18px;
    }


    .product-page-image img {
        height: 460px;
    }


    .product-gallery-arrow {
        width: 40px;
        height: 40px;

        font-size: 1.7rem;
    }


    .product-gallery-prev {
        left: 10px;
    }


    .product-gallery-next {
        right: 10px;
    }


    .product-gallery-counter {
        right: 10px;
        bottom: 10px;
    }


    .product-thumbnail {
        width: 72px;
        height: 72px;
    }


    .product-gallery-mobile-hint {
        display: block;
    }


    .product-whatsapp {
        width: 100%;
    }

}

.product-purchase-unavailable strong {
    color: #666;
}

/* =========================================================
   PRODUTO INDISPONÍVEL - CONTATO
   ========================================================= */

.product-whatsapp-unavailable {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 12px 28px;

    border: 2px solid #999;
    border-radius: 999px;

    background: transparent;

    color: #666;

    font-weight: 800;

    text-decoration: none;

    transition: background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.product-whatsapp-unavailable:hover {
    border-color: var(--orange);

    background: #fff8ef;

    color: var(--orange);

    transform: translateY(-2px);
}


@media (max-width: 576px) {

    .product-whatsapp-unavailable {
        width: 100%;
    }

}

/* =========================================================
   PRODUTOS RELACIONADOS
   ========================================================= */

.related-products {
    padding: 70px 0 90px;

    background: var(--dark);
}


.related-products-header {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 32px;
}


.related-products-header h2 {
    margin: 4px 0 0;

    color: white;

    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 900;
}


.related-products-view-all {
    flex-shrink: 0;

    color: var(--orange);

    font-weight: 800;

    text-decoration: none;

    transition: color 0.2s ease;
}


.related-products-view-all:hover {
    color: white;
}


/* CONTEÚDO */

.related-product-category {
    display: block;

    margin-bottom: 6px;

    color: var(--orange);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.related-product-price strong {
    color: white;

    font-size: 1.05rem;
    font-weight: 900;
}


/* MOBILE */

@media (max-width: 768px) {

    .related-products {
        padding: 55px 0 70px;
    }


    .related-products-header {
        align-items: flex-start;
    }

}


@media (max-width: 576px) {

    .related-products-header {
        flex-direction: column;

        gap: 12px;
    }


    .related-products-header h2 {
        font-size: 1.7rem;
    }

}

/* =========================================================
   PÁGINAS DE ERRO
   ========================================================= */

.error-page-body {
    margin: 0;
    min-height: 100vh;
    background: #f6f0e5;
    color: #171717;
}


.error-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}


.error-page-content {
    width: 100%;
    max-width: 680px;

    text-align: center;
}


.error-page-brand {
    display: inline-flex;

    margin-bottom: 32px;

    text-decoration: none;
}


.error-page-brand img {
    width: 78px;
    height: 78px;

    object-fit: cover;

    border-radius: 50%;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}


.error-page-code {
    display: block;

    margin-bottom: 4px;

    font-size: clamp(5rem, 16vw, 9rem);
    font-weight: 900;
    line-height: 0.95;

    letter-spacing: -0.06em;

    color: #e96822;
}


.error-page-content .section-label {
    display: block;

    margin-top: 28px;
    margin-bottom: 12px;
}


.error-page-content h1 {
    margin-bottom: 18px;

    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
}


.error-page-content p {
    max-width: 560px;

    margin: 0 auto;

    font-size: 1.05rem;
    line-height: 1.7;

    color: #64605a;
}


.error-page-actions {
    margin-top: 34px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 18px;
}


.error-page-secondary {
    appearance: none;

    padding: 10px 4px;

    border: 0;
    background: transparent;

    color: #171717;

    font-weight: 700;
    text-decoration: none;

    cursor: pointer;
}


.error-page-secondary:hover {
    color: #e96822;
}


@media (max-width: 575px) {

    .error-page {
        padding: 30px 22px;
    }


    .error-page-actions {
        flex-direction: column;
    }


    .error-page-actions .btn {
        width: 100%;
    }

}

/* =========================================================
   PAGINAÇÃO DO CATÁLOGO
   ========================================================= */

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    margin-top: 52px;
    padding-top: 26px;
}


.catalog-page-numbers {
    display: flex;
    align-items: center;

    gap: 8px;
}


.catalog-page-number {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #353535;
    border-radius: 50%;

    background: #181818;

    color: #ffffff;

    font-weight: 700;
    text-decoration: none;

    transition: background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}


.catalog-page-number:hover {
    border-color: #f47b20;

    color: #f47b20;
}


.catalog-page-number.active {
    border-color: #f47b20;
    background: #f47b20;

    color: #ffffff;
}


.catalog-page-arrow {
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease;
}


.catalog-page-arrow:hover {
    color: #f47b20;
}


.catalog-page-arrow.disabled {
    opacity: 0.35;
    cursor: default;
}


@media (max-width: 575px) {

    .catalog-pagination {
        gap: 12px;

        margin-top: 38px;
    }


    .catalog-page-number {
        width: 38px;
        height: 38px;

        font-size: 0.9rem;
    }


    .catalog-page-arrow {
        font-size: 0;

    }


    .catalog-page-arrow:first-child::before {
        content: "←";

        font-size: 1.25rem;
    }


    .catalog-page-arrow:last-child::after {
        content: "→";

        font-size: 1.25rem;
    }

}

/* =========================================================
   SPRINT VISUAL 01
   CARDS DE PRODUTO
   ========================================================= */


/* =========================================================
   CARD PRINCIPAL
   Home + Catálogo
   ========================================================= */


.product-card-link {
    display: block;
    height: 100%;

    color: inherit;
    text-decoration: none;

    border-radius: 22px;
}

.product-card-link:hover,
.product-card-link:focus-visible {
    color: inherit;
    text-decoration: none;
}

.product-card-link:focus-visible {
    outline: 3px solid rgba(217, 104, 18, 0.55);
    outline-offset: 4px;
}

.product-card-link .product-link {
    display: inline-flex;
}

.product-card {
    position: relative;

    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;

    background: var(--dark-soft);

    transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}


.product-card:hover {
    transform: translateY(-5px);

    border-color: rgba(232, 121, 34, 0.40);

    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   ÁREA DA IMAGEM
   ========================================================= */

.product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1.05;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f3f0e5;
}


.product-image > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    transition: transform 0.35s ease,
    opacity 0.2s ease;
}


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


/* =========================================================
   FALLBACK DA IMAGEM
   ========================================================= */

.product-image-fallback {
    position: absolute;

    inset: 0;

    display: none;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 30px;

    background: linear-gradient(
            145deg,
            #f7f3e7,
            #eee8d8
    );

    color: #777;

    text-align: center;
}


.product-image-fallback.show {
    display: flex;
}


.product-image-fallback::before {
    content: "";

    width: 68px;
    height: 68px;

    display: block;

    border-radius: 50%;

    background-image: url("/images/logo.jpg");
    background-position: center;
    background-size: cover;

    opacity: 0.72;

    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.10);
}


.product-image-fallback strong {
    color: var(--dark);

    font-size: 0.88rem;
    font-weight: 800;
}


.product-image-fallback span {
    color: #888;

    font-size: 0.75rem;
}


/* =========================================================
   STATUS
   ========================================================= */

.product-status {
    position: absolute;

    z-index: 5;

    top: 14px;
    left: 14px;

    padding: 7px 12px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.70rem;
    font-weight: 800;

    line-height: 1;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* PRONTA ENTREGA */

.product-status.status-ready {
    border-color: #bdddc4;

    background: #e7f4e9;
    color: #286b37;
}


/* SOB ENCOMENDA */

.product-status.status-order {
    border-color: #ead7a0;

    background: #fff3d7;
    color: #7b5714;
}


/* INDISPONÍVEL */

.product-status.status-unavailable {
    border-color: #dbc4be;

    background: #f1e7e4;
    color: #82483e;
}


/* =========================================================
   CONTEÚDO DO CARD
   ========================================================= */

.product-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 22px;
}


.product-category {
    color: var(--orange);

    font-size: 0.72rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.10em;
}


.product-content h3 {
    margin: 7px 0 14px;

    color: white;

    font-size: 1.3rem;
    font-weight: 850;

    line-height: 1.2;
}


.product-price {
    margin-bottom: 16px;

    color: white;

    font-size: 1.08rem;
    font-weight: 900;
}


.product-link {
    margin-top: auto;

    display: inline-flex;
    align-items: center;

    width: fit-content;

    color: white;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 800;

    transition: color 0.2s ease,
    transform 0.2s ease;
}


.product-link:hover {
    color: var(--orange);

    transform: translateX(3px);
}


/* =========================================================
   PRODUTOS RELACIONADOS
   Mesmo padrão visual
   ========================================================= */

.related-product-card {
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;

    background: var(--dark-soft);

    color: white;

    text-decoration: none;

    transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}


.related-product-card:hover {
    transform: translateY(-5px);

    border-color: rgba(232, 121, 34, 0.40);

    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}


.related-product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1.05;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f3f0e5;
}


.related-product-image > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    transition: transform 0.35s ease,
    opacity 0.2s ease;
}


.related-product-card:hover,
.related-product-image > img {

    transform: scale(1.025);
}


/* FALLBACK DOS RELACIONADOS */

.related-product-no-image {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 30px;

    background: linear-gradient(
            145deg,
            #f7f3e7,
            #eee8d8
    );

    color: #777;

    text-align: center;
}


.related-product-no-image::before {
    content: "";

    width: 68px;
    height: 68px;

    border-radius: 50%;

    background-image: url("/images/logo.jpg");
    background-position: center;
    background-size: cover;

    opacity: 0.72;

    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.10);
}


.related-product-no-image strong {
    color: var(--dark);

    font-size: 0.88rem;
    font-weight: 800;
}


.related-product-no-image span {
    color: #888;

    font-size: 0.75rem;
}


/* =========================================================
   CONTEÚDO RELACIONADO
   ========================================================= */

.related-product-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 20px 22px 22px;
}


.related-product-content h3 {
    margin: 0 0 13px;

    color: white;

    font-size: 1.2rem;
    font-weight: 850;

    line-height: 1.2;
}


.related-product-price {
    margin-bottom: 12px;
}


/* =========================================================
   STATUS DOS RELACIONADOS
   ========================================================= */

.related-product-status {
    width: fit-content;

    display: inline-flex;

    margin-top: auto;

    padding: 6px 10px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.68rem;
    font-weight: 800;

    line-height: 1;
}


.related-product-status.status-ready {
    border-color: #487456;

    background: rgba(57, 123, 75, 0.20);
    color: #a8dab5;
}


.related-product-status.status-order {
    border-color: #76643c;

    background: rgba(181, 139, 48, 0.16);
    color: #e8cf8a;
}


.related-product-status.status-unavailable {
    border-color: #72514c;

    background: rgba(140, 70, 59, 0.18);
    color: #dfaaa1;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .product-image,
    .related-product-image {
        aspect-ratio: 1 / 1;
    }


    .product-content,
    .related-product-content {
        padding: 18px;
    }


    .product-status {
        top: 12px;
        left: 12px;
    }


    .product-image-fallback::before,
    .related-product-no-image::before {
        width: 56px;
        height: 56px;
    }

}

/* =========================================================
   SPRINT VISUAL 02
   STATUS - PÁGINA DO PRODUTO
   ========================================================= */

.product-detail-status {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-bottom: 25px;

    padding: 8px 14px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 800;

    line-height: 1;

    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.06);
}


/* PRONTA ENTREGA */

.product-detail-status.status-ready {
    border-color: #bdddc4;

    background: #e7f4e9;
    color: #286b37;
}


/* SOB ENCOMENDA */

.product-detail-status.status-order {
    border-color: #ead7a0;

    background: #fff3d7;
    color: #7b5714;
}


/* INDISPONÍVEL */

.product-detail-status.status-unavailable {
    border-color: #dbc4be;
    background: #f1e7e4;
    color: #82483e;
}

/* =========================================================
   SPRINT VISUAL 03
   PROCESSO ARTESANAL - COLAGEM
   ========================================================= */


.process-showcase {
    position: relative;
    overflow: hidden;
    padding: 120px 0 140px;
    background: #F6F3C6;
}


/* =========================================================
   ABERTURA
   ========================================================= */

.process-showcase-header {
    max-width: 1050px;
    margin-bottom: 110px;
}


.process-showcase-header .section-label {
    margin-bottom: 22px;
}


.process-showcase-header h2 {
    max-width: 900px;

    margin: 0;

    color: var(--dark);

    font-size: clamp(
            3.2rem,
            6vw,
            6rem
    );

    font-weight: 900;

    line-height: 0.94;

    letter-spacing: -0.055em;
}


.process-showcase-header-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 70px;

    margin-top: 38px;
}


.process-showcase-header-bottom > p {
    max-width: 650px;

    margin: 0;

    color: #59574f;

    font-size: 1.1rem;

    line-height: 1.8;
}


/* =========================================================
   ASSINATURA
   ========================================================= */

.process-showcase-signature {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;

    gap: 5px;

    padding-left: 18px;

    border-left: 3px solid var(--orange);
}


.process-showcase-signature span {
    color: var(--orange);

    font-size: 0.7rem;
    font-weight: 900;

    letter-spacing: 0.12em;
}


.process-showcase-signature strong {
    color: var(--dark);

    font-size: 0.94rem;
}


/* =========================================================
   ETAPA
   ========================================================= */

.process-story {
    display: grid;

    grid-template-columns:
            minmax(0, 1.25fr)
            minmax(350px, 0.75fr);

    align-items: center;

    gap: clamp(
            65px,
            8vw,
            145px
    );

    padding: 90px 0;

    border-top: 1px solid rgba(17, 17, 17, 0.09);
}


.process-story:last-child {
    padding-bottom: 20px;
}


/* =========================================================
   ETAPA INVERTIDA
   ========================================================= */

.process-story-reverse {
    grid-template-columns:
            minmax(350px, 0.75fr)
            minmax(0, 1.25fr);
}


.process-story-reverse .process-collage {
    order: 2;
}


.process-story-reverse .process-story-copy {
    order: 1;
}


/* =========================================================
   COLAGEM
   ========================================================= */

.process-collage {
    position: relative;

    width: 100%;
    height: 490px;

    isolation: isolate;
}


/* =========================================================
   FOTO
   ========================================================= */

.process-shot {
    position: absolute;

    overflow: hidden;

    border: 8px solid var(--cream-light);

    border-radius: 18px;

    background: var(--cream-light);

    box-shadow: 0 24px 55px rgba(17, 17, 17, 0.13);

    transition: transform 0.3s ease,
    box-shadow 0.3s ease;

    transform-origin: center;
}


.process-shot:hover {
    z-index: 10;

    box-shadow: 0 32px 70px rgba(17, 17, 17, 0.20);
}


/* FOTO ESQUERDA */

.process-shot-a {
    z-index: 3;

    top: 50px;
    left: 1%;

    width: 56%;
    height: 72%;

    transform: rotate(-4deg);
}


.process-shot-a:hover {
    transform: rotate(-2deg) scale(1.025);
}


/* FOTO SUPERIOR DIREITA */

.process-shot-b {
    z-index: 2;

    top: 0;
    right: 3%;

    width: 48%;
    height: 53%;

    transform: rotate(5deg);
}


.process-shot-b:hover {
    transform: rotate(2deg) scale(1.025);
}


/* FOTO INFERIOR DIREITA */

.process-shot-c {
    z-index: 4;

    right: 6%;
    bottom: 3px;

    width: 50%;
    height: 50%;

    transform: rotate(-2.5deg);
}


.process-shot-c:hover {
    transform: rotate(-1deg) scale(1.025);
}


/* =========================================================
   IMAGEM REAL
   ========================================================= */

.process-shot > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.process-photo-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 24px;

    background: linear-gradient(
            145deg,
            #f7f3e7,
            #eee8d8
    );

    text-align: center;
}


.process-photo-placeholder img {
    width: 60px;
    height: 60px;

    margin-bottom: 6px;

    border-radius: 50%;

    object-fit: cover;

    opacity: 0.75;

    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.09);
}


.process-photo-placeholder strong {
    color: var(--dark);

    font-size: 0.82rem;
    font-weight: 900;
}


.process-photo-placeholder span {
    color: #858178;

    font-size: 0.68rem;
}


/* =========================================================
   TEXTO DA ETAPA
   ========================================================= */

.process-story-copy {
    position: relative;

    max-width: 520px;
}


.process-story-number {
    display: block;

    margin-bottom: -8px;

    color: rgba(232, 121, 34, 0.20);

    font-size: clamp(
            5rem,
            9vw,
            8rem
    );

    font-weight: 900;

    line-height: 0.8;

    letter-spacing: -0.08em;
}


.process-story-label {
    display: block;

    margin: 28px 0 12px;

    color: var(--orange);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.14em;
}


.process-story-copy h3 {
    max-width: 480px;

    margin: 0;

    color: var(--dark);

    font-size: clamp(
            2.2rem,
            4vw,
            3.8rem
    );

    font-weight: 900;

    line-height: 1;

    letter-spacing: -0.045em;
}


.process-story-copy p {
    max-width: 470px;

    margin: 25px 0 0;

    color: #5f5c54;

    font-size: 1rem;

    line-height: 1.75;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .process-showcase {
        padding: 90px 0 110px;
    }


    .process-showcase-header {
        margin-bottom: 65px;
    }


    .process-showcase-header-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 28px;
    }


    .process-story,
    .process-story-reverse {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 70px 0;
    }


    .process-story-reverse .process-collage,
    .process-story-reverse .process-story-copy {
        order: initial;
    }


    .process-collage {
        height: 450px;
    }


    .process-story-copy {
        max-width: 650px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .process-showcase {
        padding: 70px 0 85px;
    }


    .process-showcase-header {
        margin-bottom: 45px;
    }


    .process-showcase-header h2 {
        font-size: clamp(
                2.6rem,
                13vw,
                3.6rem
        );
    }


    .process-showcase-header-bottom {
        margin-top: 25px;
    }


    .process-showcase-header-bottom > p {
        font-size: 0.95rem;
    }


    .process-story,
    .process-story-reverse {
        gap: 25px;

        padding: 55px 0;
    }


    .process-collage {
        height: 350px;
    }


    .process-shot {
        border-width: 5px;

        border-radius: 13px;
    }


    .process-shot-a {
        top: 45px;

        width: 58%;
        height: 66%;
    }


    .process-shot-b {
        width: 47%;
        height: 48%;
    }


    .process-shot-c {
        right: 3%;

        width: 52%;
        height: 46%;
    }


    .process-photo-placeholder {
        padding: 10px;

        gap: 3px;
    }


    .process-photo-placeholder img {
        width: 40px;
        height: 40px;

        margin-bottom: 3px;
    }


    .process-photo-placeholder strong {
        font-size: 0.63rem;
    }


    .process-photo-placeholder span {
        font-size: 0.55rem;
    }


    .process-story-number {
        font-size: 5rem;
    }


    .process-story-label {
        margin-top: 20px;
    }


    .process-story-copy h3 {
        font-size: clamp(
                2rem,
                10vw,
                2.7rem
        );
    }


    .process-story-copy p {
        margin-top: 18px;

        font-size: 0.92rem;
    }

}

/* =========================================================
   TOCA DA KURAMA
   PALETA V2 - DEFINITIVA
   ========================================================= */

/* ---------------------------------------------------------
   BASE / SUPERFÍCIES
   --------------------------------------------------------- */

body {
    background: var(--cream-light);
    color: var(--dark);
}

::selection {
    background: rgba(217, 104, 18, 0.22);
    color: var(--dark);
}

/* ---------------------------------------------------------
   HEADER / NAVEGAÇÃO
   --------------------------------------------------------- */

.site-header {
    background:
            radial-gradient(
                    circle at 100% 20%,
                    rgba(104, 112, 74, 0.10),
                    transparent 25%
            ),
            linear-gradient(
                    180deg,
                    #26291f 0%,
                    #1f211b 100%
            );

    border-bottom: 1px solid rgba(226, 229, 211, 0.10);
    backdrop-filter: none;
}

.brand,
.brand:hover,
.site-header .nav-link,
.site-header .catalog-link {
    color: #D8DACB;
}

.site-header .nav-link:hover,
.site-header .catalog-link:hover {
    color: var(--orange);
}

.social-link {
    color: #D8DACB !important;
}

.social-link:hover {
    color: var(--orange) !important;
}

.btn-whatsapp {
    border: 1px solid var(--olive-dark);
    background: var(--olive-dark);
    color: #fff;
    box-shadow: 0 8px 20px rgba(63, 69, 46, 0.12);
}

.btn-whatsapp:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

/* ---------------------------------------------------------
   BOTÕES
   --------------------------------------------------------- */

.btn-primary-toca {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 9px 24px rgba(217, 104, 18, 0.16);
}

.btn-primary-toca:hover {
    background: var(--orange-dark);
    color: #fff;
}

.btn-outline-toca {
    border-color: rgba(63, 69, 46, 0.72);
    color: var(--olive-dark);
    background: transparent;
}

.btn-outline-toca:hover {
    border-color: var(--olive-dark);
    background: var(--olive-dark);
    color: #fff;
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
    background: radial-gradient(circle at 84% 22%, rgba(104, 112, 74, 0.08), transparent 28%),
    var(--cream-light);
}

.hero h1 {
    color: var(--dark);
}

.hero h1 span {
    color: var(--orange);
}

.hero-label,
.section-label {
    color: var(--orange);
}

.hero-image-wrapper {
    border: 1px solid rgba(63, 69, 46, 0.11);
    background: var(--cream);
    box-shadow: 0 28px 70px rgba(63, 69, 46, 0.10);
}

.hero-slider,
.hero-slide img {
    background: var(--cream-light);
}

.hero-badge {
    border: 1px solid rgba(63, 69, 46, 0.12);
    background: rgba(248, 245, 236, 0.94);
    color: var(--dark);
    box-shadow: 0 14px 32px rgba(63, 69, 46, 0.12);
}

.hero-badge span {
    color: var(--olive);
}

/* ---------------------------------------------------------
   ÁREAS ESCURAS - HOME / CATÁLOGO / RELACIONADOS
   --------------------------------------------------------- */

.catalog-section,
.catalog-page,
.related-products {
    background: radial-gradient(circle at 15% 0%, rgba(104, 112, 74, 0.16), transparent 30%),
    linear-gradient(180deg, #202219 0%, #181A15 100%);
    color: var(--cream-light);
}

.catalog-section .section-header h2,
.catalog-page-header h1,
.related-products-header h2 {
    color: var(--cream-light);
}

.catalog-section .catalog-link,
.related-products-view-all {
    color: #E7C8A5;
}

.catalog-section .catalog-link:hover,
.related-products-view-all:hover {
    color: var(--orange);
}

/* ---------------------------------------------------------
   CARDS DE PRODUTO
   --------------------------------------------------------- */

.product-card,
.related-product-card {
    border-color: rgba(226, 229, 211, 0.10);
    background: #292B23;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.product-card:hover,
.related-product-card:hover {
    border-color: rgba(217, 104, 18, 0.46);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
}

.product-image,
.related-product-image {
    background: var(--cream-light);
}

.product-content h3,
.product-price,
.product-link,
.related-product-content h3,
.related-product-price {
    color: var(--cream-light);
}

.product-category,
.related-product-category {
    color: #E99555;
}

.product-link:hover {
    color: var(--orange);
}

.product-image-fallback,
.related-product-no-image,
.process-photo-placeholder {
    background: linear-gradient(
            145deg,
            #F8F5EC,
            #EAE3D2
    );
}

/* ---------------------------------------------------------
   STATUS - CARDS + PRODUTO
   --------------------------------------------------------- */

.product-status.status-ready,
.related-product-status.status-ready,
.product-detail-status.status-ready {
    border-color: #C5CFA9;
    background: #E7ECD9;
    color: #46522D;
}

.product-status.status-order,
.related-product-status.status-order,
.product-detail-status.status-order {
    border-color: #E7C894;
    background: #FFF0D7;
    color: #74501D;
}

.product-status.status-unavailable,
.related-product-status.status-unavailable,
.product-detail-status.status-unavailable {
    border-color: #D9B7AA;
    background: #F4E3DD;
    color: #7B4538;
}

/* ---------------------------------------------------------
   FILTROS DO CATÁLOGO
   --------------------------------------------------------- */

.catalog-page-header p,
.catalog-filter-info,
.catalog-order-form label {
    color: #A9AA9E;
}

.catalog-search-field,
.catalog-order-form select {
    border-color: rgba(226, 229, 211, 0.15);
    background: #26281F;
}

.catalog-search-field:focus-within,
.catalog-order-form select:focus {
    border-color: var(--orange);
}

.catalog-search-field:focus-within {
    box-shadow: 0 0 0 3px rgba(217, 104, 18, 0.14);
}

.catalog-category {
    border-color: rgba(226, 229, 211, 0.17);
    color: #BEBFB3;
}

.catalog-category:hover {
    border-color: var(--olive);
    background: rgba(104, 112, 74, 0.18);
    color: #fff;
}

.catalog-category.active {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.catalog-clear {
    color: #E99555;
}

.catalog-clear:hover {
    color: #fff;
}

.catalog-empty {
    border-color: rgba(226, 229, 211, 0.09);
    background: #26281F;
}

/* ---------------------------------------------------------
   PAGINAÇÃO
   --------------------------------------------------------- */

.catalog-page-number {
    border-color: rgba(226, 229, 211, 0.18);
    background: #26281F;
    color: #EDEBDD;
}

.catalog-page-number:hover {
    border-color: var(--olive);
    color: #fff;
}

.catalog-page-number.active {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.catalog-page-arrow {
    color: #EDEBDD;
}

.catalog-page-arrow:hover {
    color: var(--orange);
}

/* ---------------------------------------------------------
   PROCESSO ARTESANAL
   --------------------------------------------------------- */

.process-showcase-header-bottom > p,
.process-story-copy p {
    color: #5F6254;
}

.process-story {
    border-top-color: rgba(63, 69, 46, 0.13);
}

.process-story-number {
    color: rgba(104, 112, 74, 0.28);
}

.process-shot {
    border-color: var(--cream-light);
    background: var(--cream-light);
    box-shadow: 0 24px 55px rgba(63, 69, 46, 0.14);
}

.process-shot:hover {
    box-shadow: 0 32px 70px rgba(63, 69, 46, 0.22);
}

/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.cta-section {
    background: var(--cream-light);
}

.cta-box {
    border: 1px solid rgba(185, 79, 11, 0.20);
    background: linear-gradient(
            135deg,
            #E7741A 0%,
            var(--orange) 52%,
            var(--orange-dark) 100%
    );
    color: #fff;
    box-shadow: 0 24px 60px rgba(94, 56, 22, 0.16);
}

.cta-box .btn-primary-toca {
    border: 1px solid rgba(63, 69, 46, 0.08);
    background: var(--cream-light);
    color: var(--dark);
    box-shadow: none;
}

.cta-box .btn-primary-toca:hover {
    border-color: var(--olive-dark);
    background: var(--olive-dark);
    color: #fff;
}

/* ---------------------------------------------------------
   PRODUTO - DETALHE
   --------------------------------------------------------- */

.product-page {
    background: var(--cream-light);
}

.product-page-image {
    border: 1px solid rgba(63, 69, 46, 0.10);
    background: var(--cream);
}

.product-page-image img,
.product-thumbnail img {
    background: var(--cream-light);
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--orange);
}

.product-detail-panel {
    color: var(--dark);
}

.product-description {
    color: var(--text-muted);
}

.product-info-grid div {
    border: 1px solid rgba(63, 69, 46, 0.09);
    background: #F0ECDF;
}

.product-info-grid span {
    color: var(--olive);
}

.product-purchase-ready {
    border-left-color: var(--olive);
    background: #F0F3E7;
}

.product-purchase-order {
    border-left-color: var(--orange);
    background: #FBF2E7;
}

.product-purchase-unavailable {
    border-left-color: #8E8A7F;
    background: #F0EFEB;
}

.product-whatsapp-unavailable {
    border-color: #99978E;
    color: #66645D;
}

.product-whatsapp-unavailable:hover {
    border-color: var(--olive);
    background: #F0F3E7;
    color: var(--olive-dark);
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

footer {
    border-top: 1px solid rgba(226, 229, 211, 0.08);
    background: linear-gradient(180deg, #292C20 0%, #202319 100%);
    color: #B9BBAA;
}

footer a,
.footer-social a {
    color: #D8DACB;
    text-decoration: none;
}

footer a:hover,
.footer-social a:hover {
    color: #E99555;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* ---------------------------------------------------------
   ACESSIBILIDADE / FOCO
   --------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline-color: rgba(217, 104, 18, 0.55);
}

/* ---------------------------------------------------------
   MOBILE - FOOTER SOCIAL
   --------------------------------------------------------- */

@media (max-width: 576px) {

    .footer-social {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

}


/* =========================================================
   HOME - ROUPAGEM V2
   REFERÊNCIA VISUAL APROVADA
   ========================================================= */

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.home-page .site-header {
    position: relative;
    z-index: 50;

    background:
            radial-gradient(
                    circle at 100% 20%,
                    rgba(104, 112, 74, 0.10),
                    transparent 25%
            ),
            linear-gradient(
                    180deg,
                    #26291f 0%,
                    #1f211b 100%
            );

    border-bottom: 1px solid rgba(226, 229, 211, 0.10);
}

.home-page .site-header .navbar {
    min-height: 82px;
}

.home-page .site-header .navbar-nav {
    gap: 8px !important;
}

.home-page .site-header .nav-link,
.home-page .site-header .catalog-link {
    position: relative;
    padding: 10px 14px;
    color: #D8DACB;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.home-page .site-header .catalog-link {
    color: #D8DACB;
}

.home-page .site-header .nav-link::after,
.home-page .site-header .catalog-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.home-page .site-header .nav-link:hover::after,
.home-page .site-header .catalog-link:hover::after {
    transform: scaleX(1);
}

.home-page .site-header .btn-whatsapp {
    margin-left: 4px;
    padding: 10px 19px;
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
    box-shadow: 0 9px 22px rgba(217, 104, 18, 0.16);
}

.home-page .site-header .btn-whatsapp:hover {
    border-color: var(--orange-dark);
    background: var(--orange-dark);
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.home-page .hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 54px;
    background: radial-gradient(circle at 7% 10%, rgba(217, 104, 18, 0.055), transparent 22%),
    radial-gradient(circle at 92% 50%, rgba(104, 112, 74, 0.075), transparent 30%),
    var(--cream-light);
}

.home-page .hero-row {
    --bs-gutter-x: clamp(36px, 5vw, 82px);
}

.home-page .hero-content {
    padding-top: 8px;
    padding-bottom: 8px;
}

.home-page .hero-label {
    margin-bottom: 15px;
    font-size: 0.75rem;
    letter-spacing: 0.13em;
}

.home-page .hero h1 {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: clamp(3.2rem, 5.2vw, 5.25rem);
    line-height: 0.93;
}

.home-page .hero h1 span {
    display: block;
}

.home-page .hero p {
    max-width: 580px;
    margin-bottom: 25px;
    color: #66645d;
    font-size: 1.04rem;
    line-height: 1.65;
}

.home-page .hero-buttons {
    gap: 12px;
}

.home-page .hero-buttons .btn {
    padding: 13px 23px;
}

.home-page .hero-image-wrapper {
    overflow: hidden;
    border: 0;
    border-radius: 27px;
    background: transparent;
    box-shadow: none;
}

.home-page .hero-slider {
    height: clamp(430px, 40vw, 560px);
}

.home-page .hero-slide img {
    object-fit: contain;
}

.home-page .hero-badge {
    left: 20px;
    bottom: 20px;
    padding: 13px 18px;
    border-radius: 15px;
}

/* ---------------------------------------------------------
   DESTAQUES DA HOME
   --------------------------------------------------------- */

.home-featured-section {
    padding: 88px 0 96px;
    background:
            radial-gradient(
                    circle at 15% 0%,
                    rgba(104, 112, 74, 0.16),
                    transparent 30%
            ),
            linear-gradient(
                    180deg,
                    #202219 0%,
                    #181A15 100%
            );

    color: var(--cream-light);
}

/* ---------------------------------------------------------
   CABEÇALHO
   --------------------------------------------------------- */

.home-featured-section .section-header {
    align-items: flex-end;

    margin-bottom: 42px;
}

.home-featured-section .section-label {
    margin-bottom: 10px;

    color: var(--orange);
}

.home-featured-section .section-header h2 {
    color: var(--cream-light);

    font-size:
            clamp(
                    2.25rem,
                    4vw,
                    3.5rem
            );
}

/* LINK "VER CATÁLOGO COMPLETO" */

.home-featured-section .catalog-link {
    color: #D9DAC8;

    font-weight: 800;

    transition:
            color 0.2s ease,
            transform 0.2s ease;
}

.home-featured-section .catalog-link:hover {
    color: var(--orange);

    transform: translateX(3px);
}

/* ---------------------------------------------------------
   CARD DOS DESTAQUES
   --------------------------------------------------------- */

.home-featured-section .product-card {
    height: 100%;
    overflow: hidden;

    border: 1px solid rgba(248, 245, 236, 0.12);
    border-radius: 22px;

    /* Container escuro como na versão anterior */
    background: var(--dark-soft);
    color: var(--cream-light);

    box-shadow:
            0 12px 30px
            rgba(0, 0, 0, 0.20);

    transition:
            transform 0.25s ease,
            border-color 0.25s ease,
            box-shadow 0.25s ease;
}

.home-featured-section .product-card:hover {
    transform: translateY(-6px);

    border-color:
            rgba(217, 104, 18, 0.45);

    box-shadow:
            0 22px 48px
            rgba(0, 0, 0, 0.30);
}

/* ---------------------------------------------------------
   ÁREA DA IMAGEM
   --------------------------------------------------------- */

.home-featured-section .product-image {
    aspect-ratio: 1 / 1.05;

    border-bottom:
            1px solid
            rgba(248, 245, 236, 0.10);

    background: #EEE8D8;
}

.home-featured-section .product-image > img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    background: #EEE8D8;
}

/* ---------------------------------------------------------
   CONTEÚDO INFERIOR ESCURO
   --------------------------------------------------------- */

.home-featured-section .product-content {
    padding: 22px;

    background: var(--dark-soft);
    color: var(--cream-light);
}

/* CATEGORIA */

.home-featured-section .product-category {
    color: var(--orange);

    font-size: 0.72rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* NOME DO PRODUTO */

.home-featured-section .product-content h3 {
    min-height: 0;

    margin: 7px 0 14px;

    color: var(--cream-light);

    font-size: 1.28rem;
    font-weight: 900;

    line-height: 1.2;
}

/* PREÇO / CONSULTE */

.home-featured-section .product-price {
    margin-bottom: 18px;

    color: var(--cream-light);

    font-size: 1.05rem;
    font-weight: 800;
}

/* VER DETALHES */

.home-featured-section .product-link {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--cream-light);

    font-size: 0.92rem;
    font-weight: 800;

    text-decoration: none;

    transition:
            color 0.2s ease,
            gap 0.2s ease;
}

.home-featured-section .product-link:hover {
    gap: 9px;

    color: var(--orange);
}

/* ---------------------------------------------------------
   STATUS
   --------------------------------------------------------- */

.home-featured-section .product-status {
    box-shadow:
            0 5px 14px
            rgba(26, 26, 23, 0.12);
}

/* ---------------------------------------------------------
   PLACEHOLDER
   --------------------------------------------------------- */

.home-featured-section .product-image-fallback {
    color: var(--dark);

    background:
            linear-gradient(
                    145deg,
                    #F5F0E5,
                    #E8E1CF
            );
}

.home-featured-section .product-image-fallback strong {
    color: var(--dark);
}


.home-featured-section .product-image-fallback span {
    color: var(--text-muted);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 576px) {

    .home-featured-section {
        padding: 70px 0 78px;
    }


    .home-featured-section .section-header {
        align-items: flex-start;

        margin-bottom: 32px;
    }


    .home-featured-section .catalog-link {
        color: #D9DAC8;
    }

}
/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.home-page .cta-section {
    position: relative;
    padding: 70px 0 90px;
    background: var(--cream-light);
}

.cta-intro {
    margin-bottom: 25px;
}

.cta-intro .section-label {
    margin-bottom: 10px;
}

.cta-intro p {
    margin: 0;
    color: #5e5c55;
    font-size: 1.08rem;
}

.home-page .cta-box {
    min-height: 220px;
    padding: clamp(38px, 4vw, 58px);
    border-radius: 28px;
}

.home-page .cta-box > div {
    max-width: 830px;
}

.home-page .cta-box h2 {
    max-width: 790px;
    color: #fff;
    font-size: clamp(2.5rem, 4.6vw, 4.65rem);
    line-height: 0.98;
}

.home-page .cta-box .btn-primary-toca {
    min-width: 220px;
    padding: 14px 25px;
}

/* ---------------------------------------------------------
   FOOTER EXPANDIDO
   --------------------------------------------------------- */

.site-footer {
    padding: 0;
    background: radial-gradient(circle at 100% 20%, rgba(104, 112, 74, 0.10), transparent 25%),
    linear-gradient(180deg, #26291f 0%, #1f211b 100%);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(260px, 0.9fr) minmax(280px, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
    padding: 58px 0 45px;
}

.footer-brand-block {
    max-width: 430px;
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand-title img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-brand-title > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-brand-title strong {
    color: #f4f0e6;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.footer-brand-title span {
    color: #aeb683;
    font-size: 0.9rem;
    font-weight: 800;
}

.footer-brand-block > p,
.footer-contact > p {
    margin: 20px 0 0;
    color: #b9b8b0;
    font-size: 0.86rem;
    line-height: 1.65;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 18px 34px;
}

.footer-nav a {
    color: #efede5;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--orange);
}

.footer-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-button,
.footer-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(226, 229, 211, 0.28);
    border-radius: 999px;
    color: #eeece3;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-whatsapp-button {
    border-color: #89915e;
}

.footer-social-button:hover,
.footer-whatsapp-button:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0 30px;
    border-top: 1px solid rgba(226, 229, 211, 0.10);
    color: #a9a99e;
    font-size: 0.78rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.footer-legal span + span {
    color: #c1c0b8;
}

.footer-bottom span:last-child {
    color: #aeb683;
    font-weight: 800;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .home-page .site-header .navbar-nav {
        align-items: stretch !important;
        gap: 3px !important;
    }

    .home-page .site-header .nav-link,
    .home-page .site-header .catalog-link {
        display: block;
        padding: 11px 0;
    }

    .home-page .site-header .nav-link::after,
    .home-page .site-header .catalog-link::after {
        display: none;
    }

    .home-page .site-header .btn-whatsapp {
        width: fit-content;
        margin: 8px 0 0;
    }

    .home-page .hero {
        padding-top: 48px;
    }

    .home-page .hero-content {
        padding-bottom: 8px;
    }

    .home-page .hero h1 {
        max-width: 720px;
    }

    .home-page .hero-slider {
        height: 520px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 576px) {

    .home-page .hero {
        padding: 34px 0 42px;
    }

    .home-page .hero h1 {
        font-size: clamp(2.7rem, 13vw, 3.7rem);
    }

    .home-page .hero p {
        font-size: 0.94rem;
    }

    .home-page .hero-slider {
        height: 390px;
    }

    .home-featured-section {
        padding: 50px 0 58px;
    }

    .home-featured-section .section-header {
        gap: 14px;
    }

    .home-featured-section .product-image {
        aspect-ratio: 1.2 / 1;
    }

    .home-page .cta-section {
        padding: 55px 0 65px;
    }

    .cta-intro p {
        font-size: 0.95rem;
    }

    .home-page .cta-box {
        min-height: 0;
        padding: 32px 25px;
    }

    .home-page .cta-box h2 {
        font-size: clamp(2.2rem, 11vw, 3.05rem);
    }

    .home-page .cta-box .btn-primary-toca {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 48px 0 34px;
    }

    .footer-contact {
        grid-column: auto;
    }

    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .footer-social-button,
    .footer-whatsapp-button {
        width: 100%;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

}

/* =========================================================
   RESPONSIVIDADE - AJUSTES 390px
   ========================================================= */

@media (max-width: 576px) {

    /* -----------------------------------------------------
       HOME - HERO
       ----------------------------------------------------- */

    .hero-content {
        min-width: 0;
        width: 100%;
    }

    .hero h1 {
        width: 100%;
        max-width: 100%;

        font-size: clamp(2.65rem, 11.5vw, 3rem);
        line-height: 0.94;
        letter-spacing: -0.045em;

        word-break: normal;
        overflow-wrap: normal;
    }

    /* -----------------------------------------------------
       CATÁLOGO - TÍTULO
       ----------------------------------------------------- */

    .catalog-page-header {
        width: 100%;
        max-width: 100%;

        margin-bottom: 42px;
    }

    .catalog-page-header h1 {
        width: 100%;
        max-width: 100%;

        margin-bottom: 20px;

        font-size: clamp(2.65rem, 12vw, 3.15rem);
        line-height: 0.98;
        letter-spacing: -0.045em;

        word-break: normal;
        overflow-wrap: normal;
    }

    .catalog-page-header p {
        font-size: 1rem;
        line-height: 1.6;
    }


    /* -----------------------------------------------------
       CATÁLOGO - ORDENAÇÃO
       ----------------------------------------------------- */

    .catalog-order-form select {
        min-width: 0;
        max-width: 210px;
    }
}

/* =========================================================
   ADMIN - IMPORTAÇÃO DE PRODUTOS CSV
   Adicionar ao FINAL do style.css atual.
   ========================================================= */

.admin-page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-import-button,
.admin-import-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    white-space: nowrap;
}

.admin-import-page-top {
    align-items: center;
}

.admin-import-guide {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
    align-items: start;
    gap: 14px;

    margin-bottom: 24px;
    padding: 22px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: rgba(248, 245, 236, 0.75);
}

.admin-import-guide-number {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--olive-dark);
    color: white;

    font-size: 0.82rem;
    font-weight: 900;
}

.admin-import-guide strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}

.admin-import-guide p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.admin-import-guide code {
    color: var(--orange-dark);
}

.admin-import-panel,
.admin-import-preview {
    padding: 30px;

    border: 1px solid rgba(26, 26, 23, 0.09);
    border-radius: 24px;

    background: white;

    box-shadow: 0 14px 35px rgba(26, 26, 23, 0.05);
}

.admin-import-preview {
    margin-top: 28px;
}

.admin-import-panel-header,
.admin-import-preview-header {
    margin-bottom: 26px;
}

.admin-import-panel-header h2,
.admin-import-preview-header h2 {
    margin: 3px 0 8px;
    color: var(--dark);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 900;
    letter-spacing: -0.035em;
}

.admin-import-panel-header p,
.admin-import-preview-header p {
    margin: 0;
    color: var(--text-muted);
}

.admin-import-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-import-file-field {
    max-width: 760px;
}

.admin-import-file-field .form-control {
    min-height: 54px;
    padding: 13px 16px;
    border-radius: 14px;
}

.admin-import-file-field .form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(217, 104, 18, 0.12);
}

.admin-import-file-field small {
    display: block;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.admin-import-mode-title {
    color: var(--dark);
    font-weight: 800;
}

.admin-import-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 900px;
}

.admin-import-mode {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 18px;

    border: 1px solid rgba(26, 26, 23, 0.12);
    border-radius: 16px;

    background: var(--cream-light);

    cursor: pointer;

    transition: border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.admin-import-mode:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 104, 18, 0.42);
}

.admin-import-mode:has(input:checked) {
    border-color: var(--orange);
    background: #fff7ed;
}

.admin-import-mode input {
    flex-shrink: 0;
    margin-top: 4px;
    accent-color: var(--orange);
}

.admin-import-mode span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-import-mode strong {
    color: var(--dark);
    font-size: 0.92rem;
}

.admin-import-mode small {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.admin-import-submit-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.admin-import-preview-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.admin-import-preview-mode {
    flex-shrink: 0;

    padding: 8px 13px;

    border: 1px solid rgba(104, 112, 74, 0.24);
    border-radius: 999px;

    background: var(--sage);
    color: var(--olive-dark);

    font-size: 0.76rem;
    font-weight: 800;
}

.admin-import-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.admin-import-summary-card {
    padding: 18px;
    border: 1px solid rgba(26, 26, 23, 0.09);
    border-radius: 16px;
    background: var(--cream-light);
}

.admin-import-summary-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-import-summary-card strong {
    display: block;
    color: var(--dark);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.admin-import-summary-card small {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.admin-import-summary-new {
    border-color: #bdddc4;
    background: #eef8f0;
}

.admin-import-summary-update {
    border-color: #e8d6a1;
    background: #fff8e6;
}

.admin-import-summary-error {
    border-color: #e3c6c0;
    background: #f9efec;
}

.admin-import-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(26, 26, 23, 0.09);
    border-radius: 16px;
}

.admin-import-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    background: white;
}

.admin-import-table th,
.admin-import-table td {
    padding: 14px 15px;
    border-bottom: 1px solid rgba(26, 26, 23, 0.08);
    vertical-align: top;
    text-align: left;
}

.admin-import-table th {
    background: #f5f3eb;
    color: #747167;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.admin-import-table td {
    color: var(--dark);
    font-size: 0.82rem;
}

.admin-import-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-import-table tbody tr.has-error {
    background: #fff7f5;
}

.admin-import-category-new {
    display: block;
    margin-top: 3px;
    color: var(--olive);
    font-size: 0.68rem;
    font-weight: 800;
}

.admin-import-consult,
.admin-import-muted {
    color: var(--text-muted);
}

.admin-import-action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 9px;
    border-radius: 999px;

    font-size: 0.68rem;
    font-weight: 900;
}

.admin-import-action-badge.is-new {
    background: #e7f4e9;
    color: #286b37;
}

.admin-import-action-badge.is-update {
    background: #fff3d7;
    color: #7b5714;
}

.admin-import-action-badge.is-ignore {
    background: #ecebe6;
    color: #6c6a61;
}

.admin-import-action-badge.is-error {
    background: #f1e7e4;
    color: #82483e;
}

.admin-import-error-text {
    color: #a43d2e;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.45;
}

.admin-import-preview-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.admin-import-preview-actions form {
    margin: 0;
}

@media (max-width: 991px) {

    .admin-import-guide {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .admin-import-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {

    .admin-page-actions {
        width: 100%;
        justify-content: stretch;
    }

    .admin-page-actions .btn {
        flex: 1 1 100%;
    }

    .admin-import-panel,
    .admin-import-preview {
        padding: 22px 16px;
    }

    .admin-import-mode-grid,
    .admin-import-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-import-preview-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-import-submit-row,
    .admin-import-preview-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-import-submit-row .btn,
    .admin-import-preview-actions .btn,
    .admin-import-preview-actions form {
        width: 100%;
    }
}

/* =========================================================
   ACESSO DO CLIENTE NO HEADER
   ========================================================= */

.btn-cliente-acesso {
    padding: 10px 18px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    background: transparent;

    color: var(--cream-light);

    font-weight: 700;

    transition:
            background 0.18s ease,
            border-color 0.18s ease,
            color 0.18s ease,
            transform 0.18s ease;
}

.btn-cliente-acesso:hover,
.btn-cliente-acesso:focus {
    transform: translateY(-1px);

    border-color: var(--orange);
    background: var(--orange);

    color: #fff;
}

/* =========================================================
   HEADER PÚBLICO - MENU MOBILE
   ========================================================= */

.site-header .navbar-toggler {
    border: 1px solid rgba(226, 229, 211, 0.28);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;

    padding: 8px 10px;
}

.site-header .navbar-toggler:hover {
    border-color: rgba(217, 104, 18, 0.55);
    background: rgba(217, 104, 18, 0.08);
}

.site-header .navbar-toggler:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(217, 104, 18, 0.16);
}

.site-header .navbar-toggler-icon {
    filter: invert(1) brightness(2);
}
/* =========================================================
   ORÇAMENTO NO DETALHE DO PRODUTO
   ========================================================= */

.product-budget-feedback {
    margin: 0 0 1rem;
    border-radius: 14px;
    line-height: 1.55;
}

.product-budget-actions {
    display: grid;
    gap: 0.75rem;
}

.product-budget-actions .product-whatsapp {
    width: 100%;
}

.product-budget-site-button {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 52, 40, 0.18);
    border-radius: 12px;
    background: #ffffff;
    color: #203229;
    font-weight: 800;
}

.product-budget-site-button:hover,
.product-budget-site-button:focus {
    border-color: rgba(31, 52, 40, 0.34);
    background: #f5f4ef;
    color: #16261d;
}

/* =========================================================
   NAVEGAÇÃO PÚBLICA — ÍCONES
   ========================================================= */

.nav-link-with-icon,
.btn-with-nav-icon,
.footer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.public-nav-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    object-fit: contain;
}

.footer-nav-link {
    width: fit-content;
}

.footer-nav-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    object-fit: contain;
}

/* =========================================================
   PRODUTO — ESTADO EDITORIAL (#210)
   ========================================================= */

.product-status.status-coming-soon,
.related-product-status.status-coming-soon,
.product-detail-status.status-coming-soon {
    border-color: #CFC0DE;
    background: #F0E8F7;
    color: #5E3F78;
}

.product-editorial-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid #E5B66E;
    border-radius: 999px;
    background: #FFF1D8;
    color: #7A4B12;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 5px 14px rgba(26, 26, 23, 0.10);
}

.product-detail-editorial {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 10px;
}

.product-detail-editorial span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid #E5B66E;
    border-radius: 999px;
    background: #FFF1D8;
    color: #7A4B12;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-detail-editorial small {
    color: #786B5B;
    font-size: 0.78rem;
}

.product-coming-soon {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #D7C7E5;
    border-radius: 16px;
    background: linear-gradient(135deg, #F7F1FB 0%, #FCFAFD 100%);
}

.product-coming-soon-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-coming-soon-copy strong {
    color: #4F355F;
    font-size: 0.92rem;
}

.product-coming-soon-copy span {
    color: #74697B;
    font-size: 0.82rem;
    line-height: 1.55;
}

.product-coming-soon-button {
    width: fit-content;
    border: 1px solid #8D68A7;
    background: #6E4C86;
    color: #FFFFFF;
    font-weight: 700;
}

.product-coming-soon-button:hover,
.product-coming-soon-button:focus {
    border-color: #5D3C73;
    background: #5D3C73;
    color: #FFFFFF;
}

@media (max-width: 575.98px) {
    .product-editorial-badge {
        top: 12px;
        right: 12px;
    }

    .product-coming-soon-button {
        width: 100%;
    }
}

/* =========================================================
   HOME — VITRINE EDITORIAL (#211)
   Refinamento visual: mesma linguagem da Home / Catálogo
   ========================================================= */

.home-editorial-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0 96px;
    border-top: 1px solid rgba(63, 69, 46, 0.08);
    border-bottom: 1px solid rgba(63, 69, 46, 0.08);
    background:
        radial-gradient(circle at 88% 10%, rgba(104, 112, 74, 0.08), transparent 28%),
        radial-gradient(circle at 8% 78%, rgba(217, 104, 18, 0.055), transparent 30%),
        var(--cream-light);
}

.home-editorial-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(760px, 72vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(217, 104, 18, 0.45), transparent);
    pointer-events: none;
}

.home-editorial-section .site-shell {
    position: relative;
    z-index: 1;
}

.home-editorial-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 50px;
}

.home-editorial-heading > div {
    max-width: 780px;
}

.home-editorial-heading h2 {
    margin: 6px 0 13px;
    color: var(--dark);
    font-size: clamp(2.25rem, 4.2vw, 3.7rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.048em;
}

.home-editorial-heading p {
    max-width: 650px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.home-editorial-catalog-link {
    flex: 0 0 auto;
    color: var(--olive-dark);
}

.home-editorial-catalog-link:hover {
    color: var(--orange);
}

/*
 * As faixas deixam de ser "cards gigantes".
 * Isso faz a vitrine respirar como o restante da Home.
 */
.home-editorial-lane {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-editorial-lane + .home-editorial-lane {
    margin-top: 58px;
    padding-top: 52px;
    border-top: 1px solid rgba(63, 69, 46, 0.12);
}

.home-editorial-lane-new,
.home-editorial-lane-soon {
    background: transparent;
}

.home-editorial-lane-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.home-editorial-lane-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.home-editorial-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 1px solid rgba(217, 104, 18, 0.18);
    border-radius: 999px;
    background: rgba(217, 104, 18, 0.09);
    color: var(--orange-dark);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.11em;
}

.home-editorial-lane-soon .home-editorial-kicker {
    border-color: rgba(112, 78, 145, 0.18);
    background: rgba(112, 78, 145, 0.09);
    color: #6D4B89;
}

.home-editorial-lane-header h3 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 850;
    letter-spacing: -0.028em;
}

.home-editorial-lane-header > p {
    max-width: 430px;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.55;
    text-align: right;
}

.home-editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/*
 * Card usa a mesma base visual dos cards de Produto da Home:
 * escuro, imagem clara, borda discreta e laranja como cor da marca.
 */
.home-editorial-card {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(226, 229, 211, 0.10);
    border-radius: 22px;
    background: linear-gradient(180deg, #2B2D25 0%, #25271F 100%);
    color: var(--cream-light);
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(34, 35, 29, 0.11);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.home-editorial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 3px 0 rgba(217, 104, 18, 0.84);
}

.home-editorial-card-soon::after {
    box-shadow: inset 0 3px 0 rgba(119, 82, 154, 0.92);
}

.home-editorial-card:hover,
.home-editorial-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(217, 104, 18, 0.42);
    color: var(--cream-light);
    box-shadow: 0 24px 54px rgba(31, 32, 26, 0.20);
}

.home-editorial-card-soon:hover,
.home-editorial-card-soon:focus-visible {
    border-color: rgba(119, 82, 154, 0.44);
}

.home-editorial-card:focus-visible {
    outline: 3px solid rgba(217, 104, 18, 0.28);
    outline-offset: 4px;
}

.home-editorial-card-soon:focus-visible {
    outline-color: rgba(119, 82, 154, 0.28);
}

.home-editorial-card-image {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1 / 1.05;
    border-bottom: 1px solid rgba(63, 69, 46, 0.08);
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.92), transparent 55%),
        #F1EBDD;
}

.home-editorial-card-soon .home-editorial-card-image {
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.92), transparent 55%),
        #EEE8F1;
}

.home-editorial-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 8px;
    transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-editorial-card:hover .home-editorial-card-image img {
    transform: scale(1.028);
}

.home-editorial-image-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    background: linear-gradient(145deg, #F7F3E7, #EDE5D3);
    color: #777267;
    text-align: center;
}

.home-editorial-card-soon .home-editorial-image-fallback {
    background: linear-gradient(145deg, #F5F1F7, #E9E1ED);
    color: #756C79;
}

.home-editorial-image-fallback::before {
    content: "";
    width: 64px;
    height: 64px;
    display: block;
    margin-bottom: 3px;
    border-radius: 50%;
    background: url("/images/logo.jpg") center / cover no-repeat;
    opacity: 0.72;
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.10);
}

.home-editorial-image-fallback.show {
    display: flex;
}

.home-editorial-image-fallback span {
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-editorial-image-fallback strong {
    color: var(--dark);
    font-size: 0.9rem;
}

.home-editorial-image-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 52%, rgba(24, 23, 19, 0.14));
}

.home-editorial-chip,
.home-editorial-date {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.home-editorial-chip {
    top: 14px;
    left: 14px;
    min-height: 31px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 223, 190, 0.52);
    background: rgba(196, 85, 7, 0.92);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    box-shadow: 0 7px 18px rgba(75, 38, 8, 0.18);
}

.home-editorial-card-soon .home-editorial-chip {
    border-color: rgba(228, 214, 240, 0.56);
    background: rgba(101, 68, 128, 0.94);
    color: #FFFFFF;
    box-shadow: 0 7px 18px rgba(48, 31, 61, 0.20);
}

.home-editorial-chip-mark {
    font-size: 0.76rem;
    line-height: 1;
}

.home-editorial-date {
    right: 12px;
    bottom: 12px;
    min-height: 27px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(31, 32, 26, 0.78);
    color: #FFFFFF;
    font-size: 0.67rem;
    font-weight: 750;
    box-shadow: 0 5px 15px rgba(20, 20, 17, 0.14);
}

.home-editorial-card-soon .home-editorial-date {
    background: rgba(74, 49, 94, 0.84);
}

.home-editorial-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px 21px 18px;
}

.home-editorial-category {
    margin-bottom: 8px;
    color: #E99555;
    font-size: 0.70rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-editorial-card-soon .home-editorial-category {
    color: #C6A7DD;
}

.home-editorial-card-body h4 {
    margin: 0 0 20px;
    color: var(--cream-light);
    font-size: 1.15rem;
    font-weight: 850;
    line-height: 1.24;
    letter-spacing: -0.02em;
}

.home-editorial-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 229, 211, 0.10);
}

.home-editorial-card-footer span {
    min-width: 0;
    overflow: hidden;
    color: #B7B7AB;
    font-size: 0.73rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-editorial-card-footer strong {
    flex: 0 0 auto;
    color: #F0B178;
    font-size: 0.76rem;
    font-weight: 850;
    transition: transform 180ms ease, color 180ms ease;
}

.home-editorial-card:hover .home-editorial-card-footer strong {
    color: #FFC58F;
    transform: translateX(3px);
}

.home-editorial-card-soon .home-editorial-card-footer strong {
    color: #D2B6E5;
}

.home-editorial-card-soon:hover .home-editorial-card-footer strong {
    color: #E3CEF1;
}

/* A seção seguinte continua escura, mas recebe uma transição mais limpa. */
.home-editorial-section + .home-featured-section {
    position: relative;
    border-top: 0;
}

@media (max-width: 1199.98px) {
    .home-editorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .home-editorial-section {
        padding: 66px 0 72px;
    }

    .home-editorial-heading,
    .home-editorial-lane-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-editorial-heading {
        gap: 18px;
        margin-bottom: 36px;
    }

    .home-editorial-heading h2 {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    .home-editorial-heading p {
        font-size: 0.92rem;
    }

    .home-editorial-lane + .home-editorial-lane {
        margin-top: 44px;
        padding-top: 40px;
    }

    .home-editorial-lane-header {
        gap: 8px;
        margin-bottom: 18px;
    }

    .home-editorial-lane-header > p {
        max-width: none;
        font-size: 0.8rem;
        text-align: left;
    }

    .home-editorial-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        margin-inline: calc(var(--bs-gutter-x) * -0.5);
        padding: 2px calc(var(--bs-gutter-x) * 0.5) 14px;
        scroll-padding-inline: calc(var(--bs-gutter-x) * 0.5);
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .home-editorial-grid::-webkit-scrollbar {
        display: none;
    }

    .home-editorial-card {
        flex: 0 0 min(78vw, 300px);
        scroll-snap-align: start;
    }

    .home-editorial-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-editorial-card,
    .home-editorial-card-image img,
    .home-editorial-card-footer strong {
        transition: none;
    }
}


@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }
}
