:root {
    --red: #a20f25;
    --dark: #23191b;
    --cream: #fff9f5;
    --line: #eadde0;
    --muted: #735f63;
    --ok: #17663a;
    --danger: #a20f25;
    --shadow: 0 12px 35px #4e1a2514
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

button,
input,
select,
textarea {
    font: inherit
}

button,
.button {
    border: 0;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    padding: .78rem 1.1rem;
    cursor: pointer;
    display: inline-block;
    text-align: center
}

.button[disabled],
button[disabled] {
    opacity: .55;
    cursor: not-allowed
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .75rem;
    background: #fff
}

label {
    display: grid;
    gap: .38rem;
    font-weight: 600
}

label small,
small {
    color: var(--muted);
    font-weight: 400
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: auto
}

.section {
    padding: 48px 0
}

.narrow {
    max-width: 680px
}

.center {
    text-align: center
}

.top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--red)
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 1.25rem
}

.nav nav a:hover {
    color: var(--red)
}

.nav-toggle {
    display: none;
    padding: .4rem
}

.flash {
    max-width: 800px;
    margin: 12px auto;
    padding: 12px 16px;
    border-radius: 8px;
    background: #eaf7ef;
    color: var(--ok);
    border: 1px solid #b9dfc7
}

.flash.error {
    background: #fff0f2;
    color: var(--danger);
    border-color: #efbdc5
}

.hero-wrap {
    min-height: 510px
}

.hero {
    height: 510px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff
}

.hero.hidden {
    display: none
}

.hero span {
    width: min(1180px, calc(100% - 32px));
    margin: auto
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    max-width: 650px;
    margin: .2em 0
}

.hero b {
    display: inline-block;
    background: #fff;
    color: var(--red);
    padding: .8rem 1.2rem;
    border-radius: 8px
}

.hero.fallback {
    background: linear-gradient(120deg, #6f0718, #c3253f)
}

.section-head,
.summary-line,
.admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align: center
}

.category-image {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-bottom: 10px
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: .2s;
    background: #fff
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

.product-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: var(--cream)
}

.product-card h3,
.product-card strong,
.product-card small {
    display: block;
    margin: 10px 14px
}

.product-card strong {
    color: var(--red);
    font-size: 1.08rem
}

.filters {
    display: grid;
    grid-template-columns: 2fr repeat(5, 1fr);
    gap: 10px
}

.pagination {
    display: flex;
    gap: 6px;
    margin-top: 26px;
    justify-content: center
}

.pagination a {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .5rem .7rem
}

.pagination .active {
    background: var(--red);
    color: #fff
}

.empty,
.panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff
}

.empty {
    text-align: center;
    margin: 24px 0
}

.product-detail {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px
}

.gallery>img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: var(--cream);
    border-radius: 12px
}

.thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px
}

.thumbs button {
    background: none;
    padding: 0
}

.thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover
}

.price {
    font-size: 1.7rem;
    color: var(--red);
    font-weight: bold
}

.description {
    line-height: 1.7
}

.buy-form,
.stack {
    display: grid;
    gap: 15px;
    margin-top: 25px
}

.secure-note {
    color: var(--muted)
}

.table-wrap {
    overflow: auto
}

table {
    width: 100%;
    border-collapse: collapse
}

th,
td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle
}

.qty {
    width: 75px
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    padding-top: 20px
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 24px;
    align-items: start
}

.address {
    grid-template-columns: auto 1fr;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px
}

.address input,
label input[type=checkbox],
label input[type=radio] {
    width: auto
}

.summary-line.total {
    font-size: 1.2rem
}

.success-icon {
    margin: auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e9f7ef;
    color: var(--ok);
    font-size: 2rem
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.form-grid .full {
    grid-column: 1/-1
}

.prose {
    line-height: 1.75
}

.prose img {
    height: auto
}

.account-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px
}

.account-nav {
    display: grid;
    align-content: start;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden
}

.account-nav a,
.account-nav button {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left
}

.account-nav .active {
    color: var(--red);
    font-weight: bold;
    background: var(--cream)
}

.address-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.badge {
    display: inline-block;
    padding: .3rem .55rem;
    background: var(--cream);
    border-radius: 999px;
    font-size: .85rem
}

.link {
    background: none;
    color: var(--red);
    padding: 0
}

.danger {
    color: #b00020
}

footer {
    background: var(--dark);
    color: #fff;
    padding: 42px 0 18px;
    margin-top: 40px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px
}

.footer-grid>div {
    display: grid;
    gap: 8px;
    align-content: start
}

.footer-grid form {
    display: grid;
    gap: 8px
}

.copyright {
    text-align: center;
    color: #cbbcc0;
    margin-top: 32px
}

.admin-body {
    background: #f7f4f5;
    min-height: 100vh
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 245px;
    background: var(--dark);
    color: #fff;
    padding: 24px 18px;
    overflow: auto
}

.sidebar .logo {
    display: block;
    color: #fff;
    margin-bottom: 24px
}

.sidebar nav {
    display: grid
}

.sidebar nav a {
    padding: 9px 10px;
    border-radius: 7px;
    color: #e7dce0
}

.sidebar nav a:hover {
    background: #ffffff12;
    color: #fff
}

.sidebar .link {
    color: #fff;
    margin: 18px 10px
}

.admin-main {
    margin-left: 245px;
    padding: 32px;
    min-height: 100vh
}

.admin-head {
    margin-bottom: 22px
}

.admin-head h1 {
    margin-bottom: 4px
}

.admin-head p {
    margin: 0;
    color: var(--muted)
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px
}

.stats article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    display: grid;
    gap: 10px
}

.stats strong {
    font-size: 1.65rem;
    color: var(--red)
}

.search {
    display: flex;
    max-width: 480px;
    margin-bottom: 16px
}

.search input {
    border-radius: 8px 0 0 8px
}

.search button {
    border-radius: 0 8px 8px 0
}

.admin-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px
}

.actions {
    min-width: 220px
}

.actions form {
    display: flex;
    gap: 5px;
    margin-top: 6px
}

.actions select,
.actions input {
    padding: .45rem;
    min-width: 90px
}

.form-preview {
    max-width: 180px;
    max-height: 140px;
    object-fit: cover;
    margin-bottom: 8px
}

.auth-bg {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(130deg, var(--dark), var(--red));
    padding: 20px
}

.auth-card {
    width: min(430px, 100%);
    padding: 32px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow)
}

.auth-card h1 {
    color: var(--red)
}

@media(max-width:900px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .filters {
        grid-template-columns: repeat(3, 1fr)
    }

    .product-detail {
        gap: 28px
    }

    .stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .sidebar {
        width: 210px
    }

    .admin-main {
        margin-left: 210px;
        padding: 22px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid form {
        grid-column: 1/-1
    }
}

@media(max-width:700px) {
    .nav-toggle {
        display: block
    }

    .nav nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        background: #fff;
        padding: 16px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch
    }

    .nav nav.open {
        display: flex
    }

    .hero,
    .hero-wrap {
        height: 410px;
        min-height: 410px
    }

    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .filters {
        grid-template-columns: 1fr 1fr
    }

    .product-detail,
    .checkout-grid,
    .account-grid {
        grid-template-columns: 1fr
    }

    .account-nav {
        display: flex;
        overflow: auto
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .form-grid .full {
        grid-column: auto
    }

    .address-list {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .cart-summary {
        align-items: flex-end;
        flex-direction: column
    }

    .sidebar {
        position: relative;
        width: 100%;
        max-height: none
    }

    .sidebar .nav-toggle {
        position: absolute;
        right: 18px;
        top: 18px
    }

    .sidebar nav {
        display: none
    }

    .sidebar nav.open {
        display: grid
    }

    .admin-main {
        margin-left: 0;
        padding: 16px
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .admin-head {
        align-items: flex-start
    }

    .admin-body {
        display: block
    }
}

@media(max-width:430px) {

    .product-grid,
    .category-grid,
    .filters,
    .stats {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 2.4rem
    }

    .section {
        padding: 32px 0
    }

    .container {
        width: min(100% - 22px, 1180px)
    }
}

/* Beleza Chic design system */
:root {
    --red: #a20f25;
    --wine: #6f0718;
    --soft: #fff1f2;
    --graphite: #241b1d;
    --gray: #f7f6f6;
    --line: #eadfe1;
    --muted: #78676b;
    --radius: 12px;
    --shadow: 0 12px 34px rgba(69, 12, 25, .10)
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--graphite);
    overflow-x: hidden
}

body.no-scroll {
    overflow: hidden
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    box-shadow: 0 1px 0 var(--line)
}

.desktop-head {
    height: 88px;
    display: grid;
    grid-template-columns: 1fr 260px 1fr;
    align-items: center;
    gap: 30px
}

.brand-logo {
    display: block
}

.brand-logo img {
    width: 240px;
    height: 68px;
    object-fit: contain;
    margin: auto
}

.header-search,
.mobile-search {
    display: flex;
    max-width: 340px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden
}

.header-search input,
.mobile-search input {
    border: 0;
    border-radius: 0;
    padding: .68rem .8rem
}

.header-search button,
.mobile-search button {
    background: #fff;
    color: var(--graphite);
    padding: .55rem .8rem;
    font-size: 1.2rem
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px
}

.header-actions>a:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: center
}

.header-actions>a:first-child span {
    grid-row: 1/3;
    font-size: 1.35rem
}

.header-actions small,
.header-actions b {
    font-size: .78rem
}

.cart-link {
    position: relative;
    font-size: 1.55rem
}

.cart-count {
    position: absolute;
    right: -9px;
    top: -7px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font: 700 10px/18px Arial;
    text-align: center
}

.main-menu {
    background: linear-gradient(90deg, var(--wine), var(--red), var(--wine));
    color: #fff
}

.main-menu>.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 42px
}

.main-menu a {
    display: block;
    padding: 13px 22px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em
}

.menu-group {
    position: relative
}

.dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 210px;
    background: #fff;
    color: var(--graphite);
    box-shadow: var(--shadow);
    padding: 8px;
    z-index: 5;
    border-radius: 0 0 9px 9px
}

.dropdown a {
    padding: 10px 12px;
    text-transform: none
}

.menu-group:hover .dropdown,
.menu-group:focus-within .dropdown {
    display: block
}

.dropdown a:hover {
    background: var(--soft);
    color: var(--red)
}

.mobile-head,
.mobile-search,
.mobile-drawer,
.drawer-overlay {
    display: none
}

.toast-stack {
    position: fixed;
    right: 20px;
    top: 150px;
    z-index: 80;
    width: min(380px, calc(100% - 30px))
}

.toast-stack .flash {
    margin: 8px 0;
    box-shadow: var(--shadow);
    background: #fff;
    border-left: 4px solid var(--ok);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.toast-stack .flash.error {
    border-left-color: var(--red)
}

.flash button {
    background: none;
    color: inherit;
    padding: .2rem;
    font-size: 1.2rem
}

.hero-slider {
    position: relative;
    height: min(530px, 42vw);
    min-height: 420px;
    background: var(--soft);
    overflow: hidden
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s
}

.hero-slide.active {
    opacity: 1;
    visibility: visible
}

.hero-slide picture,
.hero-slide picture img {
    width: 100%;
    height: 100%
}

.hero-slide img {
    object-fit: cover
}

.hero-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 11, 16, .55), transparent 60%)
}

.hero-copy {
    position: absolute;
    z-index: 2;
    left: max(calc((100vw - 1180px)/2), 7vw);
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 560px
}

.hero-copy small {
    color: #fff;
    letter-spacing: .2em
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 5.3rem);
    line-height: .95;
    margin: .18em 0 .4em
}

.hero-copy .button {
    background: #fff;
    color: var(--red);
    font-weight: 700
}

.hero-fallback {
    background: linear-gradient(120deg, var(--wine), #d72b4a)
}

.slider-prev,
.slider-next {
    position: absolute;
    z-index: 3;
    top: 50%;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #ffffffd9;
    color: var(--red);
    font-size: 2rem
}

.slider-prev {
    left: 18px
}

.slider-next {
    right: 18px
}

.slider-dots {
    position: absolute;
    z-index: 3;
    bottom: 18px;
    left: 50%;
    display: flex;
    gap: 7px;
    transform: translateX(-50%)
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 0;
    background: #ffffffaa
}

.slider-dots button.active {
    width: 24px;
    border-radius: 8px;
    background: var(--red)
}

.benefit-strip {
    border-bottom: 1px solid var(--line);
    background: #fff
}

.benefit-strip>.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr))
}

.benefit-strip a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 22px 18px;
    border-right: 1px solid var(--line)
}

.benefit-icon {
    font-size: 1.7rem;
    color: var(--red)
}

.benefit-strip strong,
.benefit-strip small {
    display: block
}

.benefit-strip strong {
    font-size: .8rem;
    text-transform: uppercase
}

.benefit-strip small {
    margin-top: 3px;
    font-size: .72rem
}

.section-title {
    text-align: center
}

.section-title>span {
    color: var(--red);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase
}

.section-title h2 {
    font-size: 2rem;
    margin: .2em 0 1em
}

.section-head .section-title {
    text-align: left
}

.see-all {
    color: var(--red);
    font-weight: 600
}

.category-grid {
    grid-template-columns: repeat(4, 1fr)
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1.15;
    background: var(--soft);
    text-align: left
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s
}

.category-card:after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(28, 9, 13, .75))
}

.category-card span {
    position: absolute;
    z-index: 2;
    bottom: 18px;
    left: 18px;
    color: #fff
}

.category-card strong,
.category-card small {
    display: block
}

.category-card strong {
    font: 500 1.3rem Georgia
}

.category-card small {
    color: #fff
}

.category-card:hover img {
    transform: scale(1.04)
}

.product-card {
    border: 0;
    border-radius: var(--radius);
    overflow: visible;
    background: #fff;
    position: relative
}

.card-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--soft)
}

.card-media>a>img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: .35s
}

.product-card:hover .card-media>a>img {
    transform: scale(1.025)
}

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    gap: 5px
}

.card-badges span {
    background: var(--red);
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: .62rem;
    text-transform: uppercase
}

.card-badges span:last-child:nth-child(3) {
    background: var(--graphite)
}

.favorite-form {
    position: absolute;
    right: 9px;
    top: 8px
}

.favorite-form button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    font-size: 1.3rem;
    box-shadow: 0 4px 14px #0001
}

.card-body {
    padding: 12px 4px
}

.card-body small,
.card-body h3,
.card-body strong {
    margin: 0
}

.card-body h3 {
    font: 500 1rem/1.35 "Segoe UI", sans-serif;
    margin: 5px 0;
    min-height: 2.7em
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 9px
}

.card-price s {
    color: var(--muted);
    font-size: .78rem
}

.card-price strong {
    color: var(--red);
    font-size: 1.05rem
}

.card-cta {
    display: block;
    margin-top: 10px;
    border: 1px solid var(--red);
    border-radius: 7px;
    color: var(--red);
    padding: 8px;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    opacity: 0;
    transition: .2s
}

.product-card:hover .card-cta {
    opacity: 1
}

.card-cta.disabled {
    border-color: var(--line);
    color: var(--muted);
    pointer-events: none
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: .78rem;
    margin-bottom: 25px
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 24px
}

.catalog-heading h1 {
    font-size: 2.4rem;
    margin: .15em 0
}

.catalog-heading small {
    color: var(--red);
    letter-spacing: .12em
}

.filter-open,
.filter-close {
    display: none
}

.catalog-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 35px
}

.catalog-filters {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 150px
}

.catalog-filters h2 {
    margin: 0
}

.price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.catalog-results .product-grid {
    grid-template-columns: repeat(3, 1fr)
}

.product-detail {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: start
}

.main-photo {
    position: relative
}

.main-photo>img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--soft)
}

.main-photo>button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    font-size: 1.8rem;
    box-shadow: var(--shadow)
}

.gallery-prev {
    left: 12px
}

.gallery-next {
    right: 12px
}

.thumbs {
    overflow: auto
}

.thumbs button {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 76px
}

.thumbs button.active {
    border-color: var(--red)
}

.product-info {
    position: sticky;
    top: 150px
}

.product-info h1 {
    font-size: 2.2rem;
    margin: .25em 0
}

.rating {
    color: var(--red);
    font-size: .8rem
}

.rating span {
    color: var(--muted);
    margin-left: 10px
}

.old-price {
    color: var(--muted)
}

.short-description {
    color: var(--muted);
    line-height: 1.6
}

.option-group {
    border: 0;
    padding: 0;
    margin: 0
}

.option-group legend {
    font-weight: 600;
    margin-bottom: 9px
}

.option-group>div {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.option-group button {
    background: #fff;
    color: var(--graphite);
    border: 1px solid var(--line);
    padding: 8px 13px
}

.option-group button.selected {
    border-color: var(--red);
    color: var(--red);
    box-shadow: 0 0 0 1px var(--red)
}

.option-group button.unavailable {
    text-decoration: line-through;
    opacity: .42
}

.color-swatch i {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--swatch);
    margin-right: 6px;
    vertical-align: -2px;
    border: 1px solid #0002
}

.buy-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px
}

.buy-row .button {
    align-self: end;
    padding: .9rem
}

.variant-message {
    min-height: 1.2em;
    color: var(--red);
    margin: 0
}

.wish-action {
    display: flex;
    gap: 12px;
    margin: 14px 0
}

.wish-action button {
    background: none;
    color: var(--graphite);
    padding: 5px 0;
    font-size: .8rem
}

.shipping-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px
}

.shipping-box>div {
    display: flex;
    margin: 10px 0
}

.shipping-box input {
    border-radius: 8px 0 0 8px
}

.shipping-box button {
    border-radius: 0 8px 8px 0
}

.product-description {
    background: var(--gray);
    padding: 55px 0
}

.product-description h2 {
    text-align: center
}

.cart-page h1 small {
    font: 400 .9rem "Segoe UI";
    color: var(--muted)
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start
}

.cart-items {
    display: grid
}

.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 105px 1fr 90px 100px;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line)
}

.cart-item img {
    width: 105px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px
}

.cart-item h2 {
    font: 600 1rem "Segoe UI";
    margin: .3em 0
}

.cart-item p {
    font-size: .8rem;
    color: var(--muted)
}

.item-total {
    text-align: right
}

.remove-item {
    position: absolute;
    right: 0;
    top: 5px;
    background: none;
    color: var(--muted);
    font-size: 1.3rem;
    padding: 3px
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px
}

.cart-actions button {
    background: #fff;
    color: var(--red);
    border: 1px solid var(--red)
}

.order-summary {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--gray);
    position: sticky;
    top: 155px
}

.order-summary h2 {
    margin-top: 0
}

.order-summary>p {
    display: flex;
    justify-content: space-between;
    gap: 12px
}

.order-summary .summary-total strong {
    color: var(--red);
    font-size: 1.25rem
}

.order-summary>.button {
    width: 100%;
    margin: 14px 0
}

.order-summary>small {
    display: block;
    text-align: center
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px
}

.checkout-steps b {
    color: var(--muted);
    font-size: .75rem
}

.checkout-steps b.active {
    color: var(--red)
}

.checkout-form {
    display: grid;
    gap: 25px
}

.checkout-form section {
    display: grid;
    gap: 10px
}

.checkout-form h2 {
    font-size: 1.3rem;
    margin: 0 0 5px
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.choice-grid label {
    display: flex;
    border: 1px solid var(--line);
    padding: 15px;
    border-radius: 9px
}

.choice-grid span,
.address span {
    display: grid
}

.address small {
    margin-top: 4px
}

.checkout-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
    margin: 10px 0
}

.checkout-item img {
    width: 52px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px
}

.checkout-item span,
.checkout-item small {
    display: block
}

.checkout-submit {
    width: 100%;
    padding: 1rem
}

.success-page>small {
    color: var(--red);
    letter-spacing: .1em
}

.success-total {
    display: block;
    color: var(--red);
    font-size: 2rem
}

.pix-panel {
    margin: 24px 0
}

.copy-row {
    display: flex
}

.copy-row input {
    border-radius: 8px 0 0 8px
}

.copy-row button {
    border-radius: 0 8px 8px 0
}

.pix-qr {
    max-width: 220px;
    margin: 18px auto
}

.success-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px
}

.site-footer {
    background: linear-gradient(110deg, #360711, var(--wine));
    margin-top: 60px
}

.footer-logo {
    width: 210px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1)
}

.site-footer .footer-grid {
    grid-template-columns: 1.4fr .8fr 1fr 1.5fr
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.footer-grid a,
.footer-grid span {
    font-size: .82rem;
    color: #ead8dc
}

.footer-grid strong {
    margin-bottom: 10px
}

.social-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px
}

.newsletter-row {
    display: flex
}

.newsletter-row input {
    border-radius: 7px 0 0 7px
}

.newsletter-row button {
    border-radius: 0 7px 7px 0
}

.footer-bottom {
    border-top: 1px solid #ffffff24;
    margin-top: 28px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    color: #d3bac0;
    font-size: .72rem
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 35;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #23b65e;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px #0003
}

.cookie-banner {
    position: fixed;
    z-index: 70;
    left: 20px;
    bottom: 20px;
    width: min(470px, calc(100% - 40px));
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    gap: 14px;
    align-items: center
}

.cookie-banner[hidden] {
    display: none
}

.cookie-banner p {
    margin: 0;
    font-size: .8rem
}

.cookie-banner a {
    color: var(--red);
    text-decoration: underline
}

@media(max-width:900px) {
    .desktop-head {
        grid-template-columns: 1fr 220px 1fr
    }

    .catalog-layout {
        grid-template-columns: 190px 1fr
    }

    .catalog-results .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cart-layout {
        grid-template-columns: 1fr 300px
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .product-info {
        position: static
    }
}

@media(max-width:700px) {
    .site-header {
        position: sticky
    }

    .desktop-head,
    .main-menu {
        display: none
    }

    .mobile-head {
        height: 58px;
        display: grid;
        grid-template-columns: 46px 1fr 46px;
        align-items: center;
        padding: 0 10px
    }

    .mobile-head button {
        background: none;
        color: var(--graphite);
        font-size: 1.25rem;
        padding: .5rem
    }

    .mobile-head .brand-logo img {
        height: 50px;
        width: 170px
    }

    .mobile-head .cart-link {
        justify-self: center
    }

    .mobile-search {
        display: flex;
        max-width: none;
        margin: 0 12px 10px;
        background: var(--gray)
    }

    .drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 89;
        background: #0008
    }

    .drawer-overlay[hidden] {
        display: none
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        z-index: 90;
        inset: 0 auto 0 0;
        width: min(86vw, 340px);
        background: #fff;
        transform: translateX(-105%);
        transition: .25s;
        overflow: auto
    }

    .mobile-drawer.open {
        transform: none
    }

    .drawer-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(90deg, var(--wine), var(--red));
        color: #fff;
        padding: 16px
    }

    .drawer-title button {
        background: none;
        padding: 0;
        font-size: 1.6rem
    }

    .mobile-drawer nav {
        display: grid
    }

    .mobile-drawer nav>a,
    .mobile-drawer summary {
        padding: 14px 18px;
        border-bottom: 1px solid var(--line);
        text-transform: uppercase;
        font-size: .78rem;
        cursor: pointer;
        list-style: none
    }

    .mobile-drawer details>a {
        display: block;
        padding: 10px 32px;
        color: var(--muted)
    }

    .drawer-social {
        display: flex;
        gap: 14px;
        padding: 20px;
        font-size: .78rem
    }

    .toast-stack {
        top: 78px;
        right: 15px
    }

    .hero-slider {
        height: 460px;
        min-height: 460px
    }

    .hero-slide:after {
        background: linear-gradient(0deg, rgba(31, 11, 16, .62), transparent 70%)
    }

    .hero-copy {
        left: 22px;
        right: 22px;
        top: auto;
        bottom: 32px;
        transform: none
    }

    .hero-copy h1 {
        font-size: 2.6rem
    }

    .slider-prev,
    .slider-next {
        display: none
    }

    .benefit-strip>.container {
        display: flex;
        overflow: auto;
        scroll-snap-type: x mandatory;
        padding: 0
    }

    .benefit-strip a {
        flex: 0 0 82%;
        scroll-snap-align: start;
        border-right: 1px solid var(--line)
    }

    .category-grid {
        display: flex;
        overflow: auto;
        scroll-snap-type: x mandatory;
        text-align: left
    }

    .category-card {
        flex: 0 0 72%;
        scroll-snap-align: start
    }

    .product-grid,
    .catalog-results .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .carousel-grid {
        display: flex;
        overflow: auto;
        scroll-snap-type: x mandatory
    }

    .carousel-grid .product-card {
        flex: 0 0 44%;
        scroll-snap-align: start
    }

    .card-body h3 {
        font-size: .87rem
    }

    .card-cta {
        opacity: 1
    }

    .catalog-layout {
        display: block
    }

    .filter-open {
        display: block
    }

    .filter-close {
        display: block;
        position: absolute;
        right: 15px;
        top: 12px;
        background: none;
        color: var(--graphite);
        font-size: 1.5rem
    }

    .filter-drawer {
        position: fixed;
        z-index: 85;
        inset: 0 0 0 auto;
        width: min(90%, 360px);
        padding: 55px 22px 22px;
        background: #fff;
        transform: translateX(105%);
        transition: .25s;
        overflow: auto;
        box-shadow: var(--shadow)
    }

    .filter-drawer.open {
        transform: none
    }

    .catalog-filters {
        position: static
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .product-info h1 {
        font-size: 1.75rem
    }

    .buy-row {
        grid-template-columns: 85px 1fr
    }

    .cart-layout,
    .checkout-grid {
        grid-template-columns: 1fr
    }

    .order-summary {
        position: static
    }

    .cart-item {
        grid-template-columns: 78px 1fr 70px;
        gap: 10px
    }

    .cart-item img {
        width: 78px;
        height: 100px
    }

    .cart-item>label {
        grid-column: 2
    }

    .item-total {
        grid-column: 3;
        grid-row: 2
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center
    }

    .choice-grid {
        grid-template-columns: 1fr
    }

    .checkout-steps {
        overflow: auto;
        justify-content: flex-start
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        right: 14px;
        bottom: 14px
    }
}

@media(max-width:430px) {

    .product-grid,
    .category-grid,
    .filters,
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .category-grid {
        display: flex
    }

    .container {
        width: calc(100% - 24px)
    }

    .section {
        padding: 34px 0
    }

    .section-title h2 {
        font-size: 1.65rem
    }

    .hero-slider {
        height: 420px;
        min-height: 420px
    }

    .carousel-grid .product-card {
        flex-basis: 64%
    }

    .card-badges {
        top: 6px;
        left: 6px
    }

    .favorite-form {
        right: 5px;
        top: 5px
    }

    .card-price {
        display: grid;
        gap: 0
    }

    .cart-actions {
        align-items: stretch;
        flex-direction: column
    }

    .cart-item {
        grid-template-columns: 70px 1fr
    }

    .cart-item img {
        width: 70px;
        height: 92px
    }

    .cart-item>label {
        grid-column: 2
    }

    .item-total {
        grid-column: 2;
        grid-row: auto;
        text-align: left
    }

    .success-actions {
        flex-direction: column
    }

    .cookie-banner {
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px)
    }
}

@media(max-width:340px) {

    .product-grid,
    .catalog-results .product-grid {
        gap: 8px
    }

    .card-body h3 {
        font-size: .8rem
    }

    .buy-row {
        grid-template-columns: 1fr
    }

    .mobile-head .brand-logo img {
        width: 145px
    }

    .category-card {
        flex-basis: 84%
    }
}

.favorite-login {
    position: absolute;
    right: 9px;
    top: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    font-size: 1.3rem;
    box-shadow: 0 4px 14px #0001
}

.cart-modal-overlay {
    position: fixed;
    z-index: 100;
    inset: 0;
    background: #0008;
    display: grid;
    place-items: center;
    padding: 16px
}

.cart-modal {
    position: relative;
    width: min(500px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center
}

.cart-modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    background: none;
    color: var(--graphite);
    font-size: 1.4rem
}

.modal-ok {
    margin: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e8f7ee;
    color: var(--ok)
}

.modal-product {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    text-align: left;
    align-items: center;
    background: var(--gray);
    padding: 10px;
    border-radius: 9px
}

.modal-product img {
    width: 70px;
    height: 85px;
    object-fit: cover;
    border-radius: 6px
}

.modal-product small {
    display: block;
    margin-top: 5px
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px
}

.modal-actions .secondary {
    position: static;
    border: 1px solid var(--red);
    border-radius: 8px;
    color: var(--red);
    font-size: .75rem
}

@media(max-width:430px) {
    .cart-modal {
        padding: 24px 16px
    }

    .modal-product {
        grid-template-columns: 60px 1fr
    }

    .modal-product b {
        grid-column: 2
    }

    .modal-actions {
        grid-template-columns: 1fr
    }
}

.stats {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.stats article {
    min-width: 0
}

.stats small {
    color: var(--muted)
}

.stats strong {
    font-size: 1.4rem
}

.button.secondary {
    background: #fff;
    color: var(--red);
    border: 1px solid var(--red)
}

@media(max-width:1100px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:430px) {
    .stats {
        grid-template-columns: 1fr 1fr
    }
}