:root {
    --yellow:#ffd21f;
    --black:#111;
    --gray:#646464;
    --light:#f5f5f3;
    --border:#e7e7e3
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--black);
    background:#fff;
    line-height:1.6
}

a {
    color:inherit;
    text-decoration:none
}

button,input,textarea {
    font:inherit
}

button {
    cursor:pointer
}

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

.container {
    width:min(1200px,calc(100% - 40px));
    margin:auto
}

.topbar {
    background:var(--yellow);
    text-align:center;
    font-size:11px;
    font-weight:800;
    letter-spacing:2px;
    padding:7px
}

.header {
    position:sticky;
    top:0;
    z-index:30;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08)
}

.nav {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:82px;
    gap:30px
}

/* Logotipo em imagem: proporção original 1093 × 640 */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 200px;
    height: auto;
    aspect-ratio: 1093 / 640;
    object-fit: contain;
    display: block;
}

.nav-links {
    display:flex;
    align-items:center;
    gap:29px;
    font-size:14px;
    font-weight:700
}

.nav-links>a:not(.nav-budget),.dropdown>a {
    padding:27px 0
}

.nav-links .active,.nav-links a:hover {
    color: #b38b00;
}

.nav-budget {
    background:var(--yellow);
    color:#111;
    padding:12px 17px;
    border-radius:4px
}

.nav-budget:hover {
    color: #111 !important;
    background: #f2c500;
}

.nav-budget span {
    display:inline-grid;
    place-items:center;
    background:#111;
    color:#fff;
    border-radius:50%;
    min-width:22px;
    height:22px;
    margin-left:5px
}

.dropdown {
    position:relative
}

.dropdown-menu {
    display:none;
    position:absolute;
    top:100%;
    left:-16px;
    background: #ffffff;
    color: #111111;
    min-width: 215px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    padding:10px 0
}

.dropdown-menu a {
    display:block;
    padding:9px 18px
}

.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu {
    display:block
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #111111;
    font-size: 30px;
}

/* ========================================
   BANNER PRINCIPAL
======================================== */

.hero {
    position: relative;
    height: 610px;
    overflow: hidden;
    background-color: #161616;
    color: #ffffff;
}

.hero-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background-image: var(--hero);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transition: opacity 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Gradiente sobre a imagem */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );

    pointer-events: none;
}

/* Conteúdo acima do gradiente */
.hero-content {
    position: relative;
    z-index: 1;

    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    max-width: 1200px;
}

.eyebrow {
    display:block;
    color:var(--yellow);
    font-size:12px;
    font-weight:900;
    letter-spacing:2.5px;
    margin-bottom:13px
}

.eyebrow.dark {
    color:#9a7900
}

.hero h1 {
    font-size:clamp(40px,5.5vw,72px);
    line-height:1.1;
    letter-spacing:-2px;
    max-width:740px;
    margin:0 0 20px
}

.hero em,.page-hero em {
    color:var(--yellow);
    font-style:normal
}

.hero p {
    font-size:18px;
    color:#eee;
    max-width:560px;
    margin:0 0 32px
}

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

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:2px solid transparent;
    padding:13px 20px;
    font-weight:800;
    font-size:13px;
    border-radius:4px;
    transition:transform .2s,background .2s;
    line-height:1.4
}

.btn:hover {
    transform:translateY(-2px)
}

.btn-yellow {
    background:var(--yellow);
    color:#111
}

.btn-white {
    background:white;
    color:#111
}

.btn-black {
    background:#111;
    color:#fff
}

.btn-outline {
    border-color:#dedede;
    color:#111;
    background:white
}

.btn-wide {
    width:100%
}

.hero-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:#ffffff25;
    border:1px solid #ffffff55;
    color:#fff;
    width:45px;
    height:45px;
    border-radius:50%;
    font-size:16px;
    line-height:1;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2
}

.hero-arrow.prev {
    left:14px
}

.hero-arrow.next {
    right:14px
}

.hero-dots {
    position:absolute;
    bottom:24px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:9px;
    z-index:2
}

.hero-dots button {
    border:0;
    background:#ffffff88;
    width:10px;
    height:10px;
    border-radius:50%;
    padding:0
}

.hero-dots button.active {
    background:var(--yellow);
    width:28px;
    border-radius:10px
}

.feature-strip {
    background:var(--yellow)
}

.feature-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:24px 0
}

.feature-grid>div {
    font-size:24px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center
}

.feature-grid strong {
    font-size:15px
}

.feature-grid span {
    font-size:12px
}

.section {
    padding-top:85px;
    padding-bottom:85px
}

.section-muted {
    background:var(--light)
}

.section-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:32px
}

h2 {
    font-size:clamp(28px,3.4vw,44px);
    line-height:1.2;
    letter-spacing:-1px;
    margin:0 0 20px
}

h2 em {
    font-style:normal;
    box-shadow:inset 0 -11px var(--yellow)
}

.section-heading h2 {
    margin:0
}

.text-link {
    font-weight:800;
    font-size:14px;
    text-decoration:underline;
    text-decoration-color:var(--yellow);
    text-underline-offset:6px
}

.category-grid {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px
}

.category-card {
    background:#151515;
    position:relative;
    aspect-ratio:4/5;
    overflow:hidden;
    border-radius:5px;
    color:white
}

.category-card:after {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(transparent 30%,#000e)
}

.category-card img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s
}

.category-card:hover img {
    transform:scale(1.07)
}

.category-card span {
    position:absolute;
    bottom:15px;
    left:15px;
    right:15px;
    z-index:1;
    font-size:18px;
    font-weight:900;
    display:flex;
    justify-content:space-between;
    align-items:center
}

.category-card b {
    color:var(--yellow)
}

.product-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px
}

.product-card {
    background:#fff;
    border:1px solid var(--border);
    border-radius:5px;
    overflow:hidden
}

.product-image {
    display:block;
    aspect-ratio:1;
    background:#eee
}

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

.product-info {
    padding:20px
}

.product-info small {
    color:#777;
    font-size:11px;
    text-transform:uppercase;
    font-weight:800;
    letter-spacing:1px
}

.product-info h3 {
    font-size:19px;
    margin:7px 0 20px;
    line-height:1.3
}

.card-actions {
    display:flex;
    gap:7px
}

.card-actions .btn {
    flex:1;
    padding:10px 7px;
    font-size:11px
}

.about-preview {
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:70px
}

.about-photo {
    background:#eaeaea;
    min-height:420px
}

.about-photo img {
    width:100%;
    height:100%;
    min-height:420px;
    object-fit:cover
}

.about-preview p,.contact-layout p {
    color:#555;
    margin-bottom:24px
}

.cta-band {
    background:#151515;
    color:white;
    padding:65px 0
}

.cta-content {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px
}

.cta-content h2 {
    margin-bottom:8px
}

.cta-content p {
    color:#ccc;
    margin:0
}

.footer {
    background:#0c0c0c;
    color:#ddd;
    padding:55px 0 0
}

.footer-grid {
    display:grid;
    grid-template-columns:2fr 1fr 1.5fr;
    gap:60px;
    padding-bottom:45px
}

.footer-grid h3 {
    color:white;
    font-size:16px
}

.footer-grid a:not(.logo) {
    display:block;
    margin:7px 0
}

.footer-grid p {
    color:#aaa;
    font-size:13px
}

.footer-bottom {
    border-top:1px solid #333;
    padding:20px 0;
    display:flex;
    justify-content:space-between;
    gap:15px;
    color:#999;
    font-size:12px
}

.whatsapp-float {
    position:fixed;
    bottom:24px;
    right:24px;
    width:60px;
    height:60px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#25d366;
    color:white;
    font-size:32px;
    font-weight:bold;
    z-index:40;
    box-shadow:0 6px 20px #0004
}

.page-hero {
    background:linear-gradient(110deg,#111,#303030);
    color:white;
    padding:80px 0
}

.page-hero h1 {
    font-size:clamp(38px,5vw,62px);
    line-height:1.1;
    margin:0 0 15px
}

.page-hero p {
    color:#ddd;
    margin:0
}

.benefits {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}

.benefits article {
    background:white;
    padding:28px;
    border-top:4px solid var(--yellow)
}

.catalog-layout {
    display:grid;
    grid-template-columns:220px 1fr;
    gap:35px
}

.catalog-sidebar {
    align-self:start;
    border:1px solid var(--border);
    padding:20px
}

.catalog-sidebar h3 {
    margin:0 0 15px
}

.catalog-sidebar a {
    display:block;
    padding:11px;
    border-bottom:1px solid var(--border);
    font-size:14px
}

.catalog-sidebar a.selected {
    background:var(--yellow);
    font-weight:800
}

.catalog-head {
    display:flex;
    align-items:end;
    justify-content:space-between;
    margin-bottom:24px
}

.catalog-head h2 {
    margin:0
}

.catalog-head>span {
    color:#777;
    font-size:13px
}

.breadcrumb {
    padding-top:25px;
    font-size:12px;
    color:#777
}

.product-detail {
    display:grid;
    grid-template-columns:1.05fr 1fr;
    gap:65px
}

.main-photo {
    aspect-ratio:1;
    background:#eee
}

.main-photo img {
    width:100%;
    height:100%;
    object-fit:cover
}

.thumbs {
    display:flex;
    gap:10px;
    margin-top:12px
}

.thumb {
    border:2px solid transparent;
    padding:0;
    width:85px;
    height:85px;
    background:#eee
}

.thumb.active {
    border-color:var(--yellow)
}

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

.detail-info h1 {
    font-size:clamp(32px,4vw,49px);
    line-height:1.12;
    margin:0 0 22px
}

.detail-info>p {
    color:#555
}

.info-note {
    padding:15px;
    background:#f5f5f5;
    border-left:4px solid var(--yellow);
    font-size:13px;
    margin:28px 0
}

.detail-info label {
    display:block;
    font-weight:bold;
    margin-bottom:10px
}

.quantity {
    display:flex;
    margin-bottom:20px
}

.quantity button,.quantity input {
    border:1px solid #ddd;
    text-align:center;
    height:44px
}

.quantity button {
    width:44px;
    background:#eee
}

.quantity input {
    width:80px;
    appearance:textfield
}

.detail-info>.text-link {
    display:block;
    text-align:center;
    margin-top:18px
}

.detail-support {
    border-top:1px solid #ddd;
    margin-top:32px;
    padding-top:20px
}

.detail-support p {
    color:#666
}

.detail-support a {
    font-weight:800
}

.quote-layout {
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:45px;
    align-items:start
}

.quote-layout h2,.quote-form-box h2 {
    font-size:28px
}

.quote-form-box {
    background:#f6f6f4;
    padding:30px;
    border:1px solid #e9e9e6
}

.quote-form-box p {
    color:#666;
    font-size:14px
}

.quote-form-box label {
    display:block;
    font-size:13px;
    font-weight:800;
    margin:16px 0 7px
}

.quote-form-box input:not([type=checkbox]),.quote-form-box textarea {
    width:100%;
    padding:13px;
    border:1px solid #d7d7d7;
    background:white;
    border-radius:3px;
    outline-color:var(--yellow)
}

.quote-form-box .check-label {
    display:flex;
    align-items:start;
    gap:10px;
    font-weight:400;
    line-height:1.5
}

.quote-form-box .check-label input {
    margin-top:4px
}

.quote-form-box small {
    color:#777;
    display:block;
    margin-top:15px
}

.quote-item {
    display:grid;
    grid-template-columns:100px 1fr auto;
    align-items:center;
    gap:18px;
    padding:16px 0;
    border-bottom:1px solid #ddd
}

.quote-item img {
    width:100px;
    height:100px;
    object-fit:cover;
    background:#eee
}

.quote-item h3 {
    margin:0;
    font-size:17px
}

.quote-item a {
    font-size:12px;
    color:#777
}

.quote-item .remove {
    border:0;
    background:none;
    color:#a33;
    text-decoration:underline;
    font-size:12px
}

.quote-item input {
    width:75px;
    padding:7px;
    border:1px solid #ccc
}

.empty-cart {
    background:#f5f5f5;
    padding:35px;
    margin-bottom:25px
}

.form-status {
    font-weight:bold
}

.contact-layout {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:75px
}

.contact-card {
    border-top:1px solid #ddd;
    padding:20px 0
}

.contact-card p {
    margin:6px 0 15px
}

.toast {
    position:fixed;
    bottom:100px;
    right:24px;
    z-index:50;
    background:#111;
    color:white;
    padding:13px 20px;
    border-left:4px solid var(--yellow);
    box-shadow:0 5px 25px #0004
}

@media(max-width:1000px) {
    .nav-links {
        gap:15px
    }

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

    .category-grid {
        grid-template-columns:repeat(3,1fr)
    }

    .about-preview {
        gap:30px
    }

    .hero {
        height:550px
    }

}

@media(max-width:760px) {
    .container {
        width:min(100% - 30px,1200px)
    }

    .nav {
        min-height:67px
    }

    .logo img {
        width: 105px;
        height: auto;
    }

    .menu-toggle {
        display:block
    }

    .nav-links {
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background: #ffffff;
        color: #111111;
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.1);
        flex-direction:column;
        align-items:stretch;
        padding:15px 25px;
        gap:0
    }

    .nav-links.open {
        display:flex
    }

    .nav-links>a:not(.nav-budget),.dropdown>a {
        display:block;
        padding:13px 0
    }

    .dropdown-menu {
        display:block;
        position:static;
        box-shadow:none;
        background: #f5f5f5;
        padding:0
    }

    .dropdown-menu a {
        padding:7px 16px
    }

    .hero {
        height:560px
    }

    .hero h1 {
        letter-spacing:-1px
    }

    .hero p {
        font-size:15px
    }

    .hero-arrow {
        display:none
    }

    .feature-grid {
        grid-template-columns:1fr;
        gap:10px
    }

    .feature-grid>div {
        font-size:20px
    }

    .section {
        padding-top:55px;
        padding-bottom:55px
    }

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

    .category-grid {
        grid-template-columns:repeat(2,1fr)
    }

    .category-card span {
        font-size:15px
    }

    .product-grid {
        gap:12px
    }

    .product-info {
        padding:13px
    }

    .product-info h3 {
        font-size:16px
    }

    .card-actions {
        flex-direction:column
    }

    .about-preview,.product-detail,.quote-layout,.contact-layout {
        grid-template-columns:1fr;
        gap:30px
    }

    .about-photo,.about-photo img {
        min-height:280px
    }

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

    .footer-grid {
        grid-template-columns:1fr;
        gap:15px
    }

    .footer-bottom {
        flex-direction:column
    }

    .catalog-layout {
        grid-template-columns:1fr;
        gap:20px
    }

    .catalog-sidebar {
        display:flex;
        overflow-x:auto;
        gap:7px;
        align-items:center
    }

    .catalog-sidebar h3 {
        display:none
    }

    .catalog-sidebar a {
        white-space:nowrap;
        border:1px solid #ddd;
        padding:8px
    }

    .quote-form-box {
        padding:20px
    }

    .quote-item {
        grid-template-columns:70px 1fr auto;
        gap:9px
    }

    .quote-item img {
        width:70px;
        height:70px
    }

    .quote-item h3 {
        font-size:14px
    }

    .quote-item input {
        width:55px
    }

}


/* ========================================
   NOSSA HISTÓRIA
======================================== */

.historia-section {
    background: #ffffff;
}

/* Título da seção */

.historia-heading {
    max-width: 780px;
    margin: 0 auto 65px;
    text-align: center;
}

.historia-heading h2 {
    margin-bottom: 20px;
}

.historia-heading p {
    color: #666666;
    font-size: 17px;
    line-height: 1.8;
}

/* Blocos de história */

.historia-bloco {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
    margin-bottom: 85px;
}

.historia-bloco:last-child {
    margin-bottom: 0;
}

/* Alternar posição da imagem */

.historia-invertido .historia-imagem {
    order: 2;
}

.historia-invertido .historia-conteudo {
    order: 1;
}

/* Imagens */

.historia-imagem {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #eeeeee;
    aspect-ratio: 9 / 7;
}

.historia-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.historia-imagem:hover img {
    transform: scale(1.04);
}

/* Detalhe amarelo */

.historia-imagem::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 6px;
    background: #ffd21f;
}

/* Conteúdo */

.historia-conteudo {
    max-width: 560px;
}

.historia-ano {
    display: inline-block;
    background: #ffd21f;
    color: #111111;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 8px 15px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.historia-conteudo h3 {
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 25px;
    color: #111111;
}

.historia-conteudo p {
    font-size: 15px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 18px;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width: 900px) {

    .historia-bloco {
        gap: 35px;
    }

    .historia-conteudo p {
        font-size: 14px;
    }

}

@media (max-width: 760px) {

    .historia-heading {
        margin-bottom: 40px;
        text-align: left;
    }

    .historia-heading p {
        font-size: 15px;
    }

    .historia-bloco {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 60px;
    }

    .historia-invertido .historia-imagem,
    .historia-invertido .historia-conteudo {
        order: initial;
    }

    .historia-imagem {
        aspect-ratio: 9 / 7;
    }

    .historia-conteudo {
        max-width: 100%;
    }

    .historia-conteudo h3 {
        font-size: 27px;
    }

}


/* ========================================
   PRECAUÇÕES E SEGURANÇA
======================================== */

.precaucoes-section {
    background: #ffffff;
    padding: 85px 0;
}

/* Título */

.precaucoes-heading {
    max-width: 850px;
    margin-bottom: 35px;
}

.precaucoes-heading h2 {
    margin: 15px 0 20px;
}

.precaucoes-heading p {
    color: #666666;
    font-size: 17px;
    line-height: 1.8;
}

/* Introdução */

.precaucoes-intro {
    max-width: 1000px;
    margin-bottom: 30px;
}

.precaucoes-intro p {
    color: #555555;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 15px;
}

.precaucoes-intro h3 {
    font-size: 21px;
    color: #111111;
    margin-top: 30px;
}

/* Lista numerada */

.precaucoes-lista {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 35px;

    margin: 0 0 55px;
    padding: 0;
    list-style: none;

    counter-reset: precaucao;
}

.precaucoes-lista li {
    position: relative;
    padding: 18px 20px 18px 65px;

    background: #f7f7f7;
    border-left: 3px solid #ffd21f;
    border-radius: 4px;

    font-size: 14px;
    line-height: 1.7;
    color: #444444;

    counter-increment: precaucao;
}

.precaucoes-lista li::before {
    content: counter(precaucao, decimal-leading-zero);

    position: absolute;
    top: 17px;
    left: 17px;

    color: #111111;
    font-size: 20px;
    font-weight: 900;
}

/* Imagem de emergência */

.precaucoes-emergencia {
    padding-top: 35px;
    border-top: 1px solid #eeeeee;
    text-align: center;
}

.precaucoes-emergencia h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #111111;
}

.precaucoes-emergencia p {
    color: #666666;
    margin-bottom: 25px;
}

.precaucoes-emergencia img {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;

    margin: 0 auto;
    border-radius: 8px;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width: 760px) {

    .precaucoes-section {
        padding: 55px 0;
    }

    .precaucoes-heading p {
        font-size: 15px;
    }

    .precaucoes-lista {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .precaucoes-lista li {
        padding: 15px 15px 15px 58px;
    }

    .precaucoes-lista li::before {
        left: 14px;
        top: 14px;
    }

    .precaucoes-emergencia h3 {
        font-size: 23px;
    }

}

/* ========================================
   MISSÃO, VISÃO E VALORES - MOBILE
======================================== */

@media (max-width: 760px) {

    .benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .benefits article {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

}
/* Catálogo dinâmico e seleção Pavani */
.main-photo iframe { width:100%; height:100%; border:0; }
.video-thumb { font-size:13px; font-weight:700; color:#111; }
.admin-link { font-size:12px; }

/* Controles compartilhados: categorias e produtos */
.carousel-controls {
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin:-8px 0 15px;
}
.carousel-controls button {
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:40px;
    padding:0;
    background:var(--yellow);
    border:0;
    border-radius:5px;
    color:var(--black);
    font-size:37px;
    line-height:1;
    cursor:pointer;
    transition:background .2s ease;
}
.carousel-controls button:hover { background:#efc000; }
.carousel-controls button:focus-visible { outline:2px solid #111; outline-offset:3px; }
.carousel-controls button:disabled { opacity:.4; cursor:default; }
.carousel-controls button span { display:block; transform:translateY(-4px); }

/* Carrosséis: rolagem por toque/arraste sem barra visível */
.category-grid.category-carousel,
.product-grid.featured-carousel {
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    gap:20px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -ms-overflow-style:none;
    overscroll-behavior-x:contain;
}
.category-carousel::-webkit-scrollbar,
.featured-carousel::-webkit-scrollbar { display:none; }
.category-carousel .category-card {
    flex:0 0 calc((100% - 80px)/5);
    min-width:0;
    scroll-snap-align:start;
}
.featured-carousel .product-card {
    flex:0 0 calc((100% - 60px)/4);
    min-width:0;
    scroll-snap-align:start;
}
@media (max-width:1000px) {
    .category-carousel .category-card { flex-basis:calc((100% - 40px)/3); }
}
@media (max-width:900px) {
    .featured-carousel .product-card { flex-basis:calc((100% - 20px)/2); }
}
@media (max-width:600px) {
    .category-carousel .category-card { flex-basis:72%; }
    .featured-carousel .product-card { flex-basis:82%; }
    .carousel-controls { margin-top:0; }
}

/* Correção definitiva: categorias da home em trilho horizontal */
#category-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 80px) / 5);
    grid-template-columns: none;
    grid-template-rows: minmax(0, auto);
    gap: 20px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
#category-carousel::-webkit-scrollbar { display: none; }
#category-carousel > .category-card {
    width: 100%;
    min-width: 0;
    flex: none;
    scroll-snap-align: start;
}
@media (max-width: 1000px) {
    #category-carousel { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 600px) {
    #category-carousel { grid-auto-columns: 72%; }
}
