:root {
    --bg: #f6efe3;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --ink: #1f2937;
    --muted: #667085;
    --accent: #ba5b18;
    --accent-dark: #8c3f0d;
    --line: rgba(31, 41, 55, 0.08);
    --success: #159f5c;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.2), transparent 28%),
        radial-gradient(circle at bottom right, rgba(186, 91, 24, 0.14), transparent 25%),
        linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
}

.public-body {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(20px);
    background: rgba(255, 253, 248, 0.82);
    border-bottom: 1px solid var(--line);
}

.site-header .navbar {
    padding-block: 0.45rem;
}

.site-header .search-shell {
    flex: 0 1 320px;
    max-width: 320px;
}

.topbar-inner,
.topbar-links,
.section-heading,
.catalog-toolbar,
.topbar-links a {
    display: flex;
    align-items: center;
}

.topbar-inner,
.section-heading,
.catalog-toolbar {
    justify-content: space-between;
    gap: 1rem;
}

.topbar-links a,
.footer-links a,
.section-link,
.product-title a {
    color: inherit;
    text-decoration: none;
}

.nav-shell {
    gap: 1rem;
}

.navbar-collapse {
    min-width: 0;
}

.navbar-nav {
    flex-wrap: wrap;
    row-gap: 0.35rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}

.brand-logo-image {
    width: auto;
    height: 38px;
    max-width: 150px;
    object-fit: contain;
    border-radius: 0.8rem;
}

.brand-name-text {
    line-height: 1;
}

.brand-name-text.is-with-logo {
    display: none;
}

.header-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.75), transparent 24%),
        linear-gradient(135deg, #fff3df 0%, #ffd7ad 100%);
    border: 1px solid rgba(186, 91, 24, 0.14);
    border-radius: 1.1rem;
    box-shadow: 0 12px 28px rgba(140, 63, 13, 0.05);
    align-items: center;
}

.header-feature-card.has-background-image {
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.header-feature-copy {
    max-width: 420px;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-feature-title {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    line-height: 1.2;
    margin: 0.2rem 0 0.25rem;
}

.header-feature-text {
    color: #5f5248;
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.header-feature-cta {
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    font-size: 0.8rem;
}

.header-feature-media {
    min-height: 82px;
    max-height: 92px;
    border-radius: 0.85rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.header-feature-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.search-shell {
    flex: 1;
    max-width: 520px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.72rem 0.92rem;
}

.search-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
}

.header-whatsapp-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding-block: 0.55rem;
}

@media (min-width: 992px) {
    .nav-shell {
        align-items: center;
    }

    .navbar-collapse {
        gap: 1rem;
    }

    .navbar-nav {
        justify-content: center;
        flex: 1 1 auto;
    }

    .search-shell {
        flex: 0 1 250px;
        max-width: 250px;
    }
}

.home-hero,
.catalog-hero {
    padding: 2.25rem 0 1.1rem;
}

.home-banner-shell {
    padding: 0.7rem 0 1rem;
}

.home-products-first {
    padding-top: 0.8rem;
}

.home-hero-grid,
.product-detail-shell,
.detail-section-grid,
.footer-grid {
    display: grid;
    gap: 1.5rem;
}

.home-hero-grid,
.product-detail-shell {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
}

.hero-copy,
.hero-carousel-card,
.catalog-hero-card,
.category-card,
.product-card,
.cta-banner,
.empty-public-state,
.product-gallery-card,
.product-summary-card,
.info-card,
.panel-public {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.6rem;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.hero-copy,
.catalog-hero-card,
.cta-banner,
.product-summary-card,
.info-card,
.empty-public-state,
.panel-public {
    padding: 2rem;
}

.hero-copy {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.8rem 1.9rem;
}

.catalog-hero-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}

.catalog-hero-copy {
    max-width: 760px;
}

.catalog-hero-meta {
    flex-shrink: 0;
}

.catalog-total-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    background: #fff7ed;
    color: var(--accent-dark);
    border: 1px solid rgba(186, 91, 24, 0.14);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-carousel-card,
.product-gallery-card,
.product-card {
    overflow: hidden;
}

.hero-slide,
.hero-slide-placeholder {
    min-height: 320px;
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 1rem;
    padding: 1.5rem;
}

.hero-slide-placeholder {
    grid-template-columns: 1fr;
    align-items: end;
}

.hero-slide-image {
    border-radius: 1.4rem;
    background: linear-gradient(160deg, rgba(186, 91, 24, 0.12), rgba(255, 255, 255, 0.7));
    border: 1px dashed rgba(186, 91, 24, 0.2);
    overflow: hidden;
    min-height: 100%;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eyebrow,
.info-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--accent-dark);
    padding: 0.18rem 0.38rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
}

.home-hero .display-4 {
    font-size: clamp(2.6rem, 4.8vw, 4.2rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.home-hero .lead {
    max-width: 56ch;
    font-size: 1rem;
}

.home-hero-showcase {
    align-self: center;
}

.home-banner-card,
.home-benefit-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.45rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.home-banner-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
    padding: 0.8rem;
    align-items: stretch;
}

.home-banner-copy {
    padding: 0.85rem 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-banner-title {
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    margin: 0.7rem 0 0.8rem;
}

.home-banner-text {
    color: var(--muted);
    margin-bottom: 1rem;
    max-width: 54ch;
}

.home-banner-media {
    min-width: 0;
}

.site-showcase-shell {
    padding-top: 0;
}

.site-showcase-static-image {
    min-height: 245px;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(186, 91, 24, 0.12), rgba(255, 255, 255, 0.7));
}

.site-showcase-static-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-banner-slide,
.home-banner-placeholder {
    min-height: 245px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(180px, 1.1fr);
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    border-radius: 1.2rem;
    background:
        linear-gradient(135deg, rgba(255, 246, 234, 0.95) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.home-banner-placeholder {
    grid-template-columns: 1fr;
    align-items: end;
}

.home-banner-slide-copy {
    align-self: center;
}

.home-banner-slide-image {
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(186, 91, 24, 0.12), rgba(255, 255, 255, 0.7));
    min-height: 100%;
}

.home-banner-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-benefits-shell {
    padding: 0.35rem 0 0.2rem;
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-benefit-card {
    padding: 0.8rem 0.9rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.home-benefit-card i {
    font-size: 1.35rem;
    color: var(--accent);
}

.home-benefit-card h2 {
    font-size: 1rem;
    margin: 0 0 0.2rem;
}

.home-benefit-card p {
    color: var(--muted);
    margin: 0;
    font-size: 0.9rem;
}

.home-hero-compact {
    padding-top: 0.25rem;
}

.home-hero-grid-compact {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
    gap: 1rem;
}

.home-hero-compact .hero-copy {
    padding: 1.35rem 1.5rem;
}

.home-hero-compact .display-4 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.home-hero-compact .lead {
    font-size: 0.96rem;
    margin-bottom: 1rem;
}

.home-hero-compact .hero-slide,
.home-hero-compact .hero-slide-placeholder {
    min-height: 250px;
    padding: 1.2rem;
}

.home-spotlight-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(186, 91, 24, 0.14);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.75), transparent 24%),
        linear-gradient(100deg, #fff6ea 0%, #fffdf9 100%);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.home-spotlight-copy {
    max-width: 720px;
}

.home-spotlight-title {
    margin: 0.4rem 0 0.35rem;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.08;
}

.home-spotlight-text {
    margin: 0;
    color: #5f5248;
    font-size: 0.96rem;
}

.home-spotlight-cta {
    flex-shrink: 0;
    border-radius: 999px;
    padding-inline: 1.2rem;
}

.category-grid,
.product-grid,
.detail-grid-book {
    display: grid;
    gap: 1.25rem;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
    display: grid;
    grid-template-rows: minmax(255px, auto) 1fr;
    height: 100%;
}

.category-card {
    padding: 1.6rem;
    text-decoration: none;
    color: var(--ink);
}

.category-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: rgba(186, 91, 24, 0.12);
    color: var(--accent);
    margin-bottom: 1rem;
}

.product-card-media {
    position: relative;
    min-height: 255px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(186, 91, 24, 0.08));
    color: var(--muted);
    text-decoration: none;
    padding: 1rem;
}

.product-card-media img,
.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-card-body {
    padding: 1.4rem;
    display: grid;
    gap: 0.7rem;
    align-content: start;
}

.product-meta {
    font-size: 0.84rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.product-title {
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.35;
    min-height: 3.2em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-stack {
    display: grid;
    gap: 0.15rem;
}

.old-price {
    font-size: 0.92rem;
    color: var(--muted);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-shell {
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid var(--line);
}

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
}

.footer-title {
    font-size: 0.96rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.footer-links {
    display: grid;
    gap: 0.45rem;
}

.catalog-toolbar {
    margin-bottom: 1.5rem;
    display: grid;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
}

.catalog-toolbar-copy {
    max-width: 720px;
}

.catalog-chip-row {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 41, 55, 0.1);
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.filter-chip:hover {
    border-color: rgba(186, 91, 24, 0.22);
    color: var(--accent-dark);
    background: #fffaf4;
}

.empty-public-state {
    text-align: center;
}

.product-gallery-card {
    padding: 1rem;
}

.product-main-image {
    min-height: 420px;
    border-radius: 1.2rem;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(186, 91, 24, 0.08));
    color: var(--muted);
    padding: 1rem;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.thumb-card {
    border-radius: 1rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    color: var(--ink);
    padding: 0.9rem;
    min-height: 84px;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 0.88rem;
    overflow: hidden;
}

.thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spec-grid,
.detail-list,
.detail-grid-book {
    display: grid;
    gap: 0.75rem;
}

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

.detail-grid-book {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 991.98px) {
    .home-hero-grid,
    .product-detail-shell,
    .detail-section-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-spotlight-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-banner-card,
    .home-benefits-grid {
        grid-template-columns: 1fr;
    }

    .home-banner-slide,
    .home-banner-placeholder {
        grid-template-columns: 1fr;
    }

    .site-header .search-shell {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .brand-name-text.is-with-logo {
        display: inline;
    }

    .hero-slide,
    .hero-slide-placeholder,
    .cta-banner,
    .catalog-toolbar,
    .section-heading {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .home-hero,
    .catalog-hero {
        padding-top: 1.6rem;
    }

    .catalog-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo-image {
        height: 40px;
        max-width: 124px;
    }

    .hero-slide,
    .hero-slide-placeholder {
        min-height: 280px;
        padding: 1.35rem;
    }

    .search-shell {
        max-width: 100%;
    }

    .home-banner-shell {
        padding-top: 0.6rem;
    }
}
