/* ==========================================================================
   DIZARRO GRIFF — folha de estilo única
   Editorial de moda: carvão, champanhe e marfim. Sem gradientes decorativos
   fora da página inicial, sem ícones ilustrativos, sem emojis.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    --ink: #1b1917;
    --ink-deep: #141312;
    --ink-soft: #2a2724;
    --champagne: #c5a46b;
    --champagne-light: #dac7a5;
    --champagne-deep: #7d602e;
    --ivory: #f6f0e5;
    --ivory-deep: #ece3d3;
    --paper: #faf7f1;
    --white: #fffdf9;
    --muted: #6b6258;
    --muted-light: #a39a8d;
    --line: rgba(27, 25, 23, 0.13);
    --line-strong: rgba(27, 25, 23, 0.26);
    --line-light: rgba(246, 240, 229, 0.16);
    --line-light-strong: rgba(246, 240, 229, 0.32);
    --danger: #8e2f2a;
    --danger-bg: #f7e9e6;
    --ok: #2f6b4f;
    --ok-bg: #e8f0ea;
    --amber: #8a6b2f;
    --amber-bg: #f6ecd6;
    --blue: #39586b;
    --blue-bg: #e7eef1;
    --shadow-sm: 0 1px 2px rgba(20, 19, 18, 0.05);
    --shadow-md: 0 24px 60px -36px rgba(20, 19, 18, 0.45);
    --container: 1280px;
    --container-narrow: 1080px;
    --gutter: clamp(20px, 4vw, 64px);
    --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
}

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

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

h1,
h2,
h3 {
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

summary {
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

::selection {
    background: var(--champagne);
    color: var(--ink-deep);
}

:focus-visible {
    outline: 2px solid var(--champagne-deep);
    outline-offset: 3px;
}

.site-footer :focus-visible,
.hero :focus-visible,
.manifesto :focus-visible,
.closing :focus-visible,
.editorial-hero :focus-visible,
.auth-aside :focus-visible,
.admin-sidebar :focus-visible,
.admin-mobile-bar :focus-visible {
    outline-color: var(--champagne-light);
}

.container {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
}

.site-main {
    min-height: 55vh;
}

.skip-link {
    position: absolute;
    top: -120px;
    left: 16px;
    z-index: 200;
    padding: 12px 20px;
    background: var(--ink);
    color: var(--ivory);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   3. Tipografia
   -------------------------------------------------------------------------- */
.display {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.012em;
}

.display--sm {
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.display--xl {
    font-size: clamp(2.6rem, 6.4vw, 5rem);
    line-height: 1;
}

.display em {
    color: var(--champagne-deep);
    font-style: italic;
}

.hero .hero-title em,
.manifesto .display em,
.closing .display em,
.editorial-hero .display em {
    color: var(--champagne-light);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--champagne-deep);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--champagne-light);
}

.lead {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.7vw, 1.45rem);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   4. Botões, links e preços
   -------------------------------------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 14px 28px;
    border: 1px solid transparent;
    background: none;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.button:hover {
    transform: translateY(-1px);
}

.button--champagne {
    background: var(--champagne);
    border-color: var(--champagne);
    color: var(--ink-deep);
}

.button--champagne:hover {
    background: var(--champagne-light);
    border-color: var(--champagne-light);
}

.button--ink {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--ivory);
}

.button--ink:hover {
    background: var(--ink-deep);
    border-color: var(--ink-deep);
}

.button--outline {
    border-color: var(--line-strong);
    color: var(--ink);
}

.button--outline:hover {
    border-color: var(--ink);
}

.button--outline-dark {
    border-color: rgba(27, 25, 23, 0.35);
    color: var(--ink);
}

.button--outline-dark:hover {
    border-color: var(--ink);
    background: rgba(27, 25, 23, 0.04);
}

.button--danger {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--white);
}

.button--danger:hover {
    background: #7a2622;
    border-color: #7a2622;
}

.button--full {
    width: 100%;
}

.button--lg {
    min-height: 56px;
    padding: 18px 32px;
    font-size: 12px;
}

.text-link {
    display: inline-block;
    border-bottom: 1px solid var(--line-strong);
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.5;
    padding-bottom: 2px;
    text-decoration: none;
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.text-link:hover {
    border-color: var(--ink);
}

.text-link span[aria-hidden="true"] {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.25s var(--ease);
}

.text-link:hover span[aria-hidden="true"] {
    transform: translateX(4px);
}

.text-link--light {
    border-color: var(--line-light-strong);
    color: var(--champagne-light);
}

.text-link--light:hover {
    border-color: var(--champagne-light);
}

button.text-link {
    padding: 0 0 2px;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    background: none;
    cursor: pointer;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 4px;
}

.link-button:hover {
    color: var(--ink);
    text-decoration-color: var(--ink);
}

.link-button--danger {
    color: var(--danger);
}

.link-button--danger:hover {
    color: #6f211d;
}

.price {
    font-weight: 500;
}

.price--lg {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.price-old {
    color: var(--muted);
    font-size: 0.92em;
}

.price-flag {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid var(--champagne-deep);
    color: var(--champagne-deep);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   5. Mensagens, avisos e estados vazios
   -------------------------------------------------------------------------- */
.flashes {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin: 22px auto 0;
}

.flash {
    padding: 14px 18px;
    border-left: 3px solid var(--ink);
    background: var(--ivory);
    font-size: 13px;
    line-height: 1.5;
}

.flash + .flash {
    margin-top: 8px;
}

.flash--success {
    border-color: var(--ok);
    background: var(--ok-bg);
    color: #244f3b;
}

.flash--error {
    border-color: var(--danger);
    background: var(--danger-bg);
    color: #712622;
}

.flash--info {
    border-color: var(--champagne-deep);
    background: var(--amber-bg);
    color: #5e481f;
}

.form-errors {
    padding: 18px 20px;
    border-left: 3px solid var(--danger);
    background: var(--danger-bg);
    color: #712622;
    font-size: 13px;
    line-height: 1.55;
}

.form-errors__title {
    margin-bottom: 6px;
    font-weight: 600;
}

.form-errors ul {
    padding-left: 18px;
    list-style: disc;
}

.empty-state {
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px);
    border: 1px dashed var(--line-strong);
    background: var(--white);
    text-align: center;
}

.empty-state__title {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.15;
}

.empty-state p {
    color: var(--muted);
    font-size: 14px;
}

.empty-state .button,
.empty-state .text-link {
    margin-top: 22px;
}

.empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.empty-state__actions .button,
.empty-state__actions .text-link {
    margin-top: 0;
}

.empty-state--wide {
    max-width: none;
    margin-top: 0;
}

.notice {
    padding: 20px 22px;
    border-left: 3px solid var(--champagne);
    background: var(--ivory);
    font-size: 14px;
    line-height: 1.6;
}

.notice--alert {
    border-color: var(--danger);
    background: var(--danger-bg);
    color: #712622;
}

.notice__title {
    margin-bottom: 4px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Anúncio, cabeçalho e rodapé
   -------------------------------------------------------------------------- */
.announcement {
    background: var(--ink-deep);
    color: rgba(246, 240, 229, 0.72);
}

.announcement-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    min-height: 38px;
    padding-block: 8px;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.announcement-inner p {
    margin: 0;
}

.announcement-inner a {
    color: var(--champagne-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--ease);
}

.announcement-inner a:hover {
    border-color: var(--champagne-light);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--line);
    background: rgba(250, 247, 241, 0.94);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 12px 30px -24px rgba(20, 19, 18, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
    min-height: 74px;
}

.brand {
    flex: 0 0 auto;
    display: block;
}

.brand img {
    width: clamp(158px, 15vw, 196px);
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 28px);
    margin-left: 8px;
}

.main-nav a {
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--ink);
    border-color: var(--champagne-deep);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid transparent;
    color: var(--ink-soft);
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-link:hover {
    border-color: var(--line-strong);
    color: var(--ink);
}

.icon-link svg,
.nav-drawer summary svg,
.admin-menu summary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 6px 0 14px;
    border-left: 1px solid var(--line);
    margin-left: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    background: var(--ink);
    color: var(--ivory);
    font-size: 11px;
    letter-spacing: 0;
}

.nav-drawer {
    position: relative;
    display: none;
}

.nav-drawer summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    cursor: pointer;
    transition: background-color 0.2s var(--ease);
}

.nav-drawer summary:hover {
    background: var(--ivory);
}

.drawer-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(280px, calc(100vw - 40px));
    padding: 12px 0;
    background: var(--ink-deep);
    border-top: 2px solid var(--champagne);
    box-shadow: var(--shadow-md);
    color: var(--ivory);
}

.drawer-panel a {
    display: block;
    padding: 12px 22px;
    color: rgba(246, 240, 229, 0.82);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.drawer-panel a:hover {
    background: rgba(246, 240, 229, 0.06);
    color: var(--ivory);
}

.drawer-panel .drawer-whatsapp {
    margin-top: 8px;
    border-top: 1px solid var(--line-light);
    color: var(--champagne-light);
}

.site-footer {
    margin-top: 0;
    padding: clamp(56px, 7vw, 88px) 0 26px;
    background: var(--ink-deep);
    color: rgba(246, 240, 229, 0.74);
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: clamp(32px, 4vw, 56px);
}

.footer-wordmark {
    width: 214px;
    height: auto;
    margin-bottom: 20px;
}

.footer-line {
    max-width: 34ch;
    margin: 0 0 20px;
    color: rgba(246, 240, 229, 0.62);
    font-size: 13px;
    line-height: 1.65;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--champagne-light);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
}

.footer-whatsapp:hover {
    border-color: var(--champagne-light);
}

.footer-whatsapp svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-col h2 {
    margin: 0 0 16px;
    color: var(--ivory);
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    color: rgba(246, 240, 229, 0.66);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.footer-col a:hover {
    color: var(--ivory);
}

.footer-col p {
    margin: 0 0 10px;
    color: rgba(246, 240, 229, 0.6);
    font-size: 12px;
    line-height: 1.65;
}

.footer-note {
    color: rgba(246, 240, 229, 0.42) !important;
    font-size: 11px !important;
}

.footer-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 52px;
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
    color: rgba(246, 240, 229, 0.42);
    font-size: 11px;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   7. Página inicial — hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 6vw, 92px) 0 clamp(56px, 7vw, 100px);
    background:
        radial-gradient(110% 90% at 88% 10%, rgba(197, 164, 107, 0.15), transparent 58%),
        var(--ink-deep);
    color: var(--ivory);
}

.hero-emblem {
    position: absolute;
    top: 50%;
    right: max(2%, calc((100vw - var(--container)) / 2 - 40px));
    width: clamp(220px, 30vw, 430px);
    height: auto;
    opacity: 0.1;
    transform: translateY(-50%);
    pointer-events: none;
    user-select: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(40px, 6vw, 84px);
}

.hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 5.4vw, 4.8rem);
    font-weight: 500;
    line-height: 0.99;
    letter-spacing: -0.015em;
}

.hero-title em {
    font-style: italic;
}

.hero-lede {
    max-width: 46ch;
    margin: 26px 0 0;
    color: rgba(246, 240, 229, 0.72);
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 30px;
    margin-top: 34px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
    color: rgba(246, 240, 229, 0.56);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hero-facts li::before {
    content: "";
    width: 12px;
    height: 1px;
    background: var(--champagne);
}

.hero-figure {
    position: relative;
    margin: 0;
}

.hero-frame {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(197, 164, 107, 0.5);
    transform: translate(16px, 16px);
    pointer-events: none;
}

.hero-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ink-soft);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.hero-media:hover img {
    transform: scale(1.035);
}

.hero-figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    color: rgba(246, 240, 229, 0.6);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. Seções, vitrine e categorias
   -------------------------------------------------------------------------- */
.section {
    padding: clamp(56px, 7.5vw, 108px) 0;
}

.section--paper {
    background: var(--paper);
}

.section--ivory {
    background: var(--ivory);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 64px);
    margin-bottom: clamp(34px, 5vw, 60px);
}

.section-head .display {
    max-width: 22ch;
}

.section-head__aside {
    max-width: 340px;
    padding-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.section-head__aside p {
    margin: 0 0 14px;
}

.section-head--tight {
    margin-bottom: clamp(26px, 3.5vw, 44px);
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 36px);
    align-items: start;
}

.selection-item {
    min-width: 0;
}

.selection-item--1 {
    grid-column: span 7;
}

.selection-item--2 {
    grid-column: span 5;
    margin-top: clamp(24px, 4vw, 68px);
}

.selection-item--3 {
    grid-column: span 5;
}

.selection-item--4 {
    grid-column: span 7;
    margin-top: clamp(24px, 4vw, 68px);
}

.category-list {
    border-top: 1px solid var(--line);
}

.category-list li {
    border-bottom: 1px solid var(--line);
}

.category-row {
    display: grid;
    grid-template-columns: 54px 78px minmax(0, 1fr) auto 32px;
    align-items: center;
    gap: clamp(14px, 2.4vw, 30px);
    padding: 16px 8px;
    color: var(--ink);
    text-decoration: none;
    transition: background-color 0.25s var(--ease), padding-left 0.3s var(--ease);
}

.category-row img {
    width: 78px;
    height: 97px;
    object-fit: contain;
    background: var(--white);
    padding: 4px;
    border: 1px solid var(--line);
}

.category-row__index {
    color: var(--champagne-deep);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.category-row__name {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.1;
}

.category-row__count {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.category-row__arrow {
    font-size: 18px;
    text-align: right;
    transition: transform 0.3s var(--ease);
}

.category-row:hover {
    background: rgba(197, 164, 107, 0.08);
    padding-left: 20px;
}

.category-row:hover .category-row__arrow {
    transform: translateX(5px);
}

.category-row--empty {
    display: block;
    padding: 22px 8px;
    color: var(--muted);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   9. Manifesto, passos e fechamento
   -------------------------------------------------------------------------- */
.manifesto {
    padding: clamp(60px, 8vw, 112px) 0;
    background: var(--ink);
    color: var(--ivory);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 90px);
}

.manifesto-quote blockquote {
    margin: 26px 0 0;
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.28;
}

.manifesto-body {
    color: rgba(246, 240, 229, 0.7);
    font-size: 14px;
    line-height: 1.75;
}

.manifesto-text {
    max-width: 46ch;
    margin: 0;
}

.fact-list {
    margin: 30px 0 32px;
}

.fact-list > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--line-light);
}

.fact-list dt {
    color: var(--champagne-light);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fact-list dd {
    margin: 0;
    color: rgba(246, 240, 229, 0.68);
    font-size: 13px;
    line-height: 1.65;
}

.steps-head {
    max-width: 620px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 56px);
}

.steps li {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.steps__number {
    display: block;
    margin-bottom: 18px;
    color: var(--champagne-deep);
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1;
}

.steps h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.steps p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.closing {
    padding: clamp(56px, 7vw, 94px) 0;
    background: var(--ink-deep);
    color: var(--ivory);
}

.closing-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: clamp(32px, 5vw, 72px);
}

.closing-actions p {
    max-width: 44ch;
    margin: 0 0 24px;
    color: rgba(246, 240, 229, 0.66);
    font-size: 13px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. Cartão de produto
   -------------------------------------------------------------------------- */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ivory-deep);
    text-decoration: none;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.product-card__media:hover img {
    transform: scale(1.035);
}

.product-card__cue {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 13px;
    background: var(--paper);
    color: var(--ink);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.product-card__media:hover .product-card__cue,
.product-card__media:focus-visible .product-card__cue {
    opacity: 1;
    transform: translateY(0);
}

.product-card__cat {
    color: var(--champagne-deep);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.product-card__name {
    margin: 5px 0 0;
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 500;
    line-height: 1.2;
}

.product-card__name a {
    text-decoration: none;
}

.product-card__name a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.product-card__price {
    margin-top: 6px;
    font-size: 0.95rem;
    font-weight: 500;
}

.product-card__price .price {
    font-weight: 500;
}

.product-card__installment,
.product-card__meta {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.02em;
}

.product-card__meta {
    color: var(--muted-light);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   11. Cabeçalho de página, catálogo e filtros
   -------------------------------------------------------------------------- */
.page-head {
    padding: clamp(30px, 4vw, 54px) 0 clamp(24px, 3vw, 40px);
    background: var(--paper);
}

.page-head--compact {
    padding-bottom: clamp(20px, 2.4vw, 30px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.breadcrumb a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
    color: var(--ink);
    border-color: var(--line-strong);
}

.breadcrumb [aria-current="page"] {
    color: var(--ink-soft);
}

.page-head__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 32px;
}

.page-head__count {
    padding-bottom: 6px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-head__lede {
    max-width: 62ch;
    margin-top: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    gap: clamp(32px, 4.5vw, 68px);
    padding-bottom: clamp(64px, 8vw, 110px);
}

.filter-rail {
    position: sticky;
    top: 100px;
    align-self: start;
}

.filter-form {
    margin-bottom: 28px;
}

.search-input {
    position: relative;
}

.search-input input {
    width: 100%;
    height: 46px;
    padding-right: 48px;
}

.search-submit {
    position: absolute;
    top: 3px;
    right: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    color: var(--ink-soft);
}

.search-submit:hover {
    color: var(--ink);
}

.search-submit svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group__title {
    margin: 0 0 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.filter-link:hover {
    color: var(--champagne-deep);
}

.filter-link.is-active {
    color: var(--champagne-deep);
    font-weight: 600;
}

.filter-link__count {
    color: var(--muted-light);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.filter-note {
    margin-top: 28px;
    padding: 18px 18px 20px;
    border-left: 2px solid var(--champagne);
    background: var(--ivory);
}

.filter-note__title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.filter-note p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.filter-note .text-link {
    margin-top: 10px;
}

.catalog-results {
    min-width: 0;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin-bottom: 28px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
}

.catalog-toolbar p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 3.2vw, 46px) clamp(18px, 2.4vw, 32px);
}

/* --------------------------------------------------------------------------
   12. Página do produto
   -------------------------------------------------------------------------- */
.product-page {
    padding: 26px 0 clamp(56px, 7vw, 96px);
}

.product-page .breadcrumb {
    margin-bottom: clamp(22px, 3vw, 36px);
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(32px, 5vw, 76px);
    align-items: start;
}

.product-gallery__main {
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ivory-deep);
}

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

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.product-thumb {
    display: block;
    width: 82px;
    flex: 0 0 auto;
    aspect-ratio: 4 / 5;
    border: 1px solid transparent;
    overflow: hidden;
    background: var(--ivory-deep);
    opacity: 0.75;
    transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

.product-thumb:hover,
.product-thumb.is-active {
    border-color: var(--ink);
    opacity: 1;
}

.product-info {
    min-width: 0;
    padding-top: 4px;
}

.product-title {
    margin: 6px 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 500;
    line-height: 1.04;
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
}

.price--lg {
    font-size: clamp(1.6rem, 2.4vw, 2.05rem);
}

.product-installment {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.product-lede {
    max-width: 46ch;
    margin-top: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}

.buy-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.option-group {
    padding: 0;
    margin: 0;
    border: 0;
}

.option-group legend {
    margin-bottom: 12px;
    padding: 0;
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    position: relative;
    cursor: pointer;
}

.chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    background: transparent;
    font-size: 12px;
    letter-spacing: 0.04em;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
        color 0.2s var(--ease);
}

.chip:hover span {
    border-color: var(--ink);
}

.chip input:checked + span {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--ivory);
}

.chip input:focus-visible + span {
    outline: 2px solid var(--champagne-deep);
    outline-offset: 3px;
}

.buy-row {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.field--qty select {
    width: 100%;
}

.stock-note {
    margin: 0;
    color: var(--danger);
    font-size: 12px;
}

.out-of-stock {
    margin-top: 28px;
    padding: 22px 24px;
    border-left: 2px solid var(--champagne);
    background: var(--ivory);
}

.out-of-stock p {
    margin: 0 0 16px;
    font-size: 14px;
}

.product-assurances {
    margin-top: 30px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.product-assurances li {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.6;
}

.product-assurances__label {
    color: var(--champagne-deep);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding-top: 2px;
}

.product-details {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(32px, 5vw, 72px);
    margin-top: clamp(48px, 6vw, 80px);
    padding-top: clamp(32px, 4vw, 48px);
    border-top: 1px solid var(--line);
}

.product-details__col h2 {
    margin-bottom: 18px;
}

.rich-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.rich-text p + p {
    margin-top: 12px;
}

.detail-list > div {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 16px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.detail-list > div:last-child {
    border-bottom: 1px solid var(--line);
}

.detail-list dt {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-top: 3px;
}

.detail-list dd {
    margin: 0;
    line-height: 1.6;
}

.product-video-block {
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: clamp(30px, 4vw, 44px);
    border-top: 1px solid var(--line);
}

.product-video-block h2 {
    margin-bottom: 20px;
}

.product-video,
.video-frame {
    width: 100%;
    background: var(--ink-deep);
}

.product-video {
    max-height: 70vh;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.related .product-grid {
    margin-top: 0;
}

.related .section-head .text-link {
    margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   13. Sacola
   -------------------------------------------------------------------------- */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 356px;
    gap: clamp(32px, 4.5vw, 64px);
    align-items: start;
    padding-bottom: clamp(64px, 8vw, 110px);
}

.cart-layout > .empty-state--wide {
    grid-column: 1 / -1;
    margin-top: 16px;
}

.cart-list {
    min-width: 0;
}

.cart-line {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: clamp(16px, 2.4vw, 28px);
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.cart-line:first-child {
    padding-top: 0;
}

.cart-line__media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ivory-deep);
}

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

.cart-line__cat {
    color: var(--champagne-deep);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cart-line__name {
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 500;
    line-height: 1.2;
}

.cart-line__name a {
    text-decoration: none;
}

.cart-line__name a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cart-line__options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.cart-line__unit {
    margin-top: 6px;
    color: var(--muted-light);
    font-size: 11px;
}

.cart-line__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 14px;
}

.qty-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-form label {
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.qty-form select {
    width: 68px;
    height: 38px;
    min-height: 38px;
    padding: 0 10px;
}

.cart-line__total {
    padding-top: 2px;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

.cart-summary {
    position: sticky;
    top: 100px;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid var(--line);
    background: var(--white);
}

.cart-summary__title {
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
}

.summary-list {
    margin: 0 0 20px;
}

.summary-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    font-size: 13px;
}

.summary-list dt {
    color: var(--muted);
}

.summary-list dd {
    margin: 0;
    text-align: right;
}

.summary-list__note dt,
.summary-list__note dd {
    color: var(--champagne-deep);
    font-size: 11px;
}

.summary-list__total {
    margin-top: 8px;
    padding-top: 14px !important;
    border-top: 1px solid var(--line);
    font-size: 15px !important;
    font-weight: 600;
}

.summary-list__total dt {
    color: var(--ink);
}

.summary-list--plain .summary-list__total {
    border-top: 0;
    font-weight: 500;
}

.cart-summary__continue {
    display: block;
    margin-top: 14px;
    text-align: center;
}

.cart-summary__note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted-light);
    font-size: 11px;
    line-height: 1.6;
}

.shipping-quote-form {
    margin: 0 0 18px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
}

.shipping-quote-form__label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.shipping-quote-form__row {
    display: flex;
    gap: 8px;
}

.shipping-quote-form__row input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
}

.shipping-quote-form__row input:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 164, 107, 0.28);
}

.shipping-quote-form__row .button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 10px;
}

.shipping-quote-form .field-hint {
    margin-top: 8px;
}

.summary-pending {
    color: var(--muted-light);
    font-style: italic;
}

/* --------------------------------------------------------------------------
   14. Checkout
   -------------------------------------------------------------------------- */
.checkout-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.checkout-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.checkout-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--line-strong);
    font-size: 10px;
    letter-spacing: 0;
}

.checkout-steps .is-done {
    color: var(--muted);
}

.checkout-steps .is-done span {
    background: var(--champagne);
    border-color: var(--champagne);
    color: var(--ink-deep);
}

.checkout-steps .is-current {
    color: var(--ink);
}

.checkout-steps .is-current span {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--ivory);
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: clamp(32px, 4.5vw, 64px);
    align-items: start;
    padding-bottom: clamp(64px, 8vw, 110px);
}

.checkout-form {
    min-width: 0;
}

.checkout-form > .form-errors {
    margin-bottom: 24px;
}

.form-section {
    padding: 0;
    margin: 0 0 34px;
    border: 0;
}

.form-section legend {
    width: 100%;
    margin-bottom: 20px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field-grid--address {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.field--cep {
    grid-column: span 2;
}

.field--street {
    grid-column: span 4;
}

.field--number {
    grid-column: span 2;
}

.field--complement {
    grid-column: span 4;
}

.field--district {
    grid-column: span 2;
}

.field--city {
    grid-column: span 3;
}

.field--state {
    grid-column: span 1;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field label {
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 15px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
    min-height: 148px;
    resize: vertical;
    line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 164, 107, 0.28);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted-light);
}

.field input[type="file"] {
    padding: 10px 12px;
    background: var(--paper);
    font-size: 13px;
}

.field input[type="checkbox"] {
    width: 18px;
    min-height: 18px;
    height: 18px;
    accent-color: var(--ink);
}

.field-hint {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.field-optional {
    color: var(--muted-light);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.form-note {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.check-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 16px;
    font-size: 12px;
    line-height: 1.65;
}

.check-line input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--ink);
}

.checkout-summary {
    position: sticky;
    top: 100px;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid var(--line);
    background: var(--white);
}

.checkout-items {
    margin-bottom: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
}

.checkout-items li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: start;
    padding: 12px 0;
}

.checkout-items li + li {
    border-top: 1px solid var(--line);
}

.checkout-items img {
    width: 56px;
    height: 70px;
    object-fit: cover;
    background: var(--ivory-deep);
}

.checkout-items__name {
    font-family: var(--font-display);
    font-size: 1.02rem;
    line-height: 1.25;
}

.checkout-items__meta {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.checkout-items__total {
    font-size: 12px;
    white-space: nowrap;
}

.checkout-summary .summary-list {
    margin-bottom: 18px;
}

.checkout-summary__back {
    display: block;
    margin-top: 12px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   15. Pedido
   -------------------------------------------------------------------------- */
.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: clamp(32px, 4.5vw, 64px);
    align-items: start;
    padding-bottom: clamp(64px, 8vw, 110px);
}

.order-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-main > * + * {
    margin-top: 32px;
}

.order-steps {
    display: flex;
    counter-reset: none;
    padding: 6px 0 2px;
}

.order-steps li {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    text-align: center;
}

.order-steps li::before {
    content: "";
    position: absolute;
    top: 7px;
    right: 50%;
    width: 100%;
    height: 1px;
    background: var(--line);
}

.order-steps li:first-child::before {
    display: none;
}

.order-steps__dot {
    position: relative;
    z-index: 1;
    width: 15px;
    height: 15px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--paper);
}

.order-steps__label {
    color: var(--muted-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
}

.order-steps .is-done .order-steps__dot {
    border-color: var(--champagne);
    background: var(--champagne);
}

.order-steps .is-done .order-steps__label {
    color: var(--muted);
}

.order-steps .is-current .order-steps__dot {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: 0 0 0 4px rgba(197, 164, 107, 0.22);
}

.order-steps .is-current .order-steps__label {
    color: var(--ink);
}

.payment-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, 3vw, 32px);
    border-left: 2px solid var(--champagne);
    background: var(--ivory);
}

.payment-panel > div:first-child {
    max-width: 52ch;
}

.payment-panel h2 {
    margin: 4px 0 10px;
}

.payment-panel p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.payment-panel__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.order-block {
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.order-block > h2 {
    margin-bottom: 16px;
}

.order-items li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.order-items li:first-child {
    padding-top: 0;
}

.order-items img {
    width: 64px;
    height: 80px;
    object-fit: cover;
    background: var(--ivory-deep);
}

.order-items__name {
    font-family: var(--font-display);
    font-size: 1.08rem;
    line-height: 1.25;
}

.order-items__meta {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.order-items__total {
    font-size: 12px;
    white-space: nowrap;
}

.order-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 48px);
}

.address-block {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.address-block strong {
    color: var(--ink);
    font-weight: 600;
}

.order-aside {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid var(--line);
    background: var(--white);
}

.order-aside .summary-list {
    margin-bottom: 0;
}

.order-aside__link {
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.order-payment-status {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-badge--pending_payment {
    border-color: rgba(138, 107, 47, 0.4);
    background: var(--amber-bg);
    color: #6a5222;
}

.status-badge--paid,
.status-badge--delivered {
    border-color: rgba(47, 107, 79, 0.35);
    background: var(--ok-bg);
    color: #24503b;
}

.status-badge--preparing {
    border-color: rgba(125, 96, 46, 0.35);
    background: #f3ebdc;
    color: #5f4920;
}

.status-badge--shipped {
    border-color: rgba(57, 88, 107, 0.35);
    background: var(--blue-bg);
    color: #2b4553;
}

.status-badge--cancelled {
    border-color: rgba(142, 47, 42, 0.35);
    background: var(--danger-bg);
    color: #712622;
}

/* --------------------------------------------------------------------------
   16. Autenticação
   -------------------------------------------------------------------------- */
.auth-page {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: calc(100vh - 112px);
}

.auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(32px, 4vw, 64px);
    background:
        radial-gradient(120% 80% at 10% 90%, rgba(197, 164, 107, 0.16), transparent 60%),
        var(--ink-deep);
    color: var(--ivory);
}

.auth-aside__brand img {
    width: 196px;
    height: auto;
}

.auth-aside__body {
    max-width: 30ch;
    margin-block: auto;
}

.auth-aside__title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.18;
}

.auth-aside__text {
    margin: 0;
    color: rgba(246, 240, 229, 0.62);
    font-size: 13px;
    line-height: 1.75;
}

.auth-aside__foot {
    margin: 0;
    color: rgba(246, 240, 229, 0.46);
    font-size: 11px;
    line-height: 1.7;
}

.auth-aside__foot a {
    color: var(--champagne-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.auth-aside__foot a:hover {
    border-color: var(--champagne-light);
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 56px);
    background: var(--paper);
}

.auth-card {
    width: min(100%, 432px);
}

.auth-lede {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.auth-card .form-errors {
    margin-top: 22px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.auth-links .text-link {
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   17. Minha conta
   -------------------------------------------------------------------------- */
.account-layout {
    display: grid;
    grid-template-columns: 318px minmax(0, 1fr);
    gap: clamp(32px, 4.5vw, 60px);
    align-items: start;
    padding-bottom: clamp(64px, 8vw, 110px);
}

.account-card {
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid var(--line);
    background: var(--white);
}

.account-card .cart-summary__title {
    margin-bottom: 6px;
}

.account-data {
    margin: 0 0 18px;
}

.account-data > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.account-data dt {
    color: var(--muted);
}

.account-data dd {
    margin: 0;
    text-align: right;
    word-break: break-word;
}

.account-card__note {
    margin: 0 0 18px;
    color: var(--muted-light);
    font-size: 11px;
    line-height: 1.6;
}

.account-card__link {
    display: block;
    margin-top: 14px;
    text-align: center;
}

.account-orders {
    min-width: 0;
}

.account-orders__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.account-orders__head p {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.order-list__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 14px 24px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.order-list__item:first-child {
    border-top: 1px solid var(--line);
}

.order-list__code {
    font-weight: 600;
    font-size: 13px;
}

.order-list__date {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.order-list__total {
    font-size: 13px;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   18. Páginas editoriais e legais
   -------------------------------------------------------------------------- */
.editorial-hero {
    padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 100px);
    background:
        radial-gradient(100% 90% at 92% 0%, rgba(197, 164, 107, 0.14), transparent 58%),
        var(--ink-deep);
    color: var(--ivory);
}

.editorial-hero--short {
    padding: clamp(44px, 6vw, 76px) 0 clamp(40px, 5vw, 64px);
}

.editorial-hero__inner {
    max-width: var(--container-narrow);
}

.editorial-hero .display {
    max-width: 20ch;
}

.editorial-hero__lede {
    max-width: 58ch;
    margin-top: 22px;
    color: rgba(246, 240, 229, 0.68);
    font-size: 14px;
    line-height: 1.75;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    max-width: var(--container-narrow);
    margin-inline: auto;
}

.editorial-grid__aside {
    position: sticky;
    top: 108px;
    align-self: start;
}

.editorial-grid__body {
    max-width: 72ch;
}

.editorial-grid__body > p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.editorial-grid__body > .display {
    margin-bottom: 18px;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
    margin: 38px 0 8px;
}

.principles > div {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.principles__number {
    color: var(--champagne-deep);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.principles h2 {
    margin: 10px 0 8px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
}

.principles p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.editorial-note {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted-light) !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
}

.editorial-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 30px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 218px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
    padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 110px);
}

.legal-nav {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
}

.legal-nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.legal-nav a:hover {
    color: var(--ink);
}

.legal-nav a[aria-current="page"] {
    color: var(--champagne-deep);
    font-weight: 600;
}

.legal-body {
    max-width: 72ch;
    min-width: 0;
}

.legal-body h1,
.legal-body h2 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

.legal-body h1 {
    margin-bottom: 18px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-body h2 {
    margin: 34px 0 10px;
    font-size: 1.35rem;
}

.legal-body p {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.legal-body ul {
    margin: 0 0 16px;
    padding-left: 20px;
    list-style: disc;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.legal-body a {
    color: var(--ink);
}

.legal-pending {
    margin: 16px 0;
    padding: 14px 16px;
    border-left: 2px solid var(--amber);
    background: var(--amber-bg);
    color: #5e481f;
    font-size: 12px;
    line-height: 1.65;
}

.legal-updated {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted-light) !important;
    font-size: 11px !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.contact-primary h2 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.contact-primary p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.contact-phone {
    display: inline-block;
    margin: 6px 0 18px;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
}

.contact-secondary {
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--white);
}

.contact-secondary h2 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.contact-list {
    margin-top: 8px;
}

.contact-list li {
    padding: 9px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   19. Erro 404/500
   -------------------------------------------------------------------------- */
.error-page {
    padding: clamp(64px, 9vw, 128px) 0;
    background:
        radial-gradient(100% 90% at 90% 0%, rgba(197, 164, 107, 0.12), transparent 58%),
        var(--ink-deep);
    color: var(--ivory);
}

.error-page__inner {
    max-width: 640px;
}

.error-page__text {
    max-width: 48ch;
    margin-top: 22px;
    color: rgba(246, 240, 229, 0.66);
    font-size: 14px;
    line-height: 1.75;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 30px;
}

/* --------------------------------------------------------------------------
   20. Painel administrativo
   -------------------------------------------------------------------------- */
body.admin {
    background: #f2ede4;
}

.admin-shell {
    display: grid;
    grid-template-columns: 258px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-mobile-bar {
    display: none;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 28px 22px 24px;
    background: var(--ink-deep);
    color: var(--ivory);
    overflow-y: auto;
}

.admin-sidebar__brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line-light);
    text-decoration: none;
}

.admin-sidebar__brand img {
    width: 162px;
    height: auto;
}

.admin-sidebar__brand span {
    color: var(--champagne-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
}

.admin-nav a {
    padding: 11px 12px;
    border-left: 2px solid transparent;
    color: rgba(246, 240, 229, 0.66);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
        border-color 0.2s var(--ease);
}

.admin-nav a:hover {
    background: rgba(246, 240, 229, 0.05);
    color: var(--ivory);
}

.admin-nav a.is-active {
    background: rgba(197, 164, 107, 0.12);
    border-left-color: var(--champagne);
    color: var(--champagne-light);
}

.admin-sidebar__foot {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
    font-size: 12px;
}

.admin-sidebar__foot p {
    margin: 0 0 12px;
    color: rgba(246, 240, 229, 0.8);
    line-height: 1.5;
}

.admin-sidebar__foot p span {
    color: rgba(246, 240, 229, 0.42);
    font-size: 11px;
}

.admin-sidebar__link {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--champagne-light);
    font-size: 11px;
    text-decoration: none;
}

.admin-sidebar__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admin-sidebar .link-button {
    color: rgba(246, 240, 229, 0.5);
    text-decoration-color: rgba(246, 240, 229, 0.24);
}

.admin-sidebar .link-button:hover {
    color: var(--ivory);
    text-decoration-color: rgba(246, 240, 229, 0.6);
}

.admin-main {
    width: 100%;
    max-width: 1360px;
    padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3.4vw, 52px) 80px;
}

.admin-main .flashes {
    width: 100%;
    margin: 0 0 22px;
}

.admin-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: clamp(24px, 3vw, 36px);
}

.admin-head .eyebrow {
    margin-bottom: 8px;
}

.admin-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
    font-weight: 500;
    line-height: 1.1;
}

.admin-head__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.admin-inline-link {
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 4px;
}

.admin-inline-link:hover {
    text-decoration-color: var(--ink);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.stat {
    padding: 20px 22px;
    border: 1px solid var(--line);
    background: var(--white);
}

.stat--hero {
    grid-column: span 2;
    border-color: var(--ink-deep);
    background: var(--ink-deep);
    color: var(--ivory);
}

.stat__label {
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.stat--hero .stat__label {
    color: var(--champagne-light);
}

.stat__value {
    margin: 8px 0 4px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    line-height: 1.05;
}

.stat__note {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.stat--hero .stat__note {
    color: rgba(246, 240, 229, 0.55);
}

.admin-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.admin-panel {
    padding: 22px 24px;
    border: 1px solid var(--line);
    background: var(--white);
}

.admin-panel > h2,
.admin-panel__head h2 {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 600;
}

.admin-panel > h2 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.admin-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.admin-panel--flush {
    padding: 0;
    overflow: hidden;
}

.admin-panel--flush .admin-panel__head {
    padding: 18px 24px 12px;
    margin-bottom: 0;
}

.admin-panel--full {
    margin-top: 18px;
}

.admin-panel__hint {
    margin: -6px 0 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.admin-empty {
    padding: 14px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.admin-table th {
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover {
    background: rgba(197, 164, 107, 0.05);
}

.admin-table--products td {
    padding-block: 11px;
}

.admin-table__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-end;
    white-space: nowrap;
}

.admin-table__actions form {
    display: inline;
}

.admin-table__sub {
    display: block;
    color: var(--muted-light);
    font-size: 10px;
}

.admin-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.admin-product-cell img {
    width: 44px;
    height: 55px;
    object-fit: cover;
    background: var(--ivory-deep);
    border: 1px solid var(--line);
}

.admin-product-cell__slug {
    display: block;
    margin-top: 2px;
    color: var(--muted-light);
    font-size: 10px;
}

.admin-tag {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid var(--line-strong);
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-tag + .admin-tag {
    margin-left: 4px;
}

.admin-tag--ok {
    border-color: rgba(47, 107, 79, 0.3);
    background: var(--ok-bg);
    color: #24503b;
}

.admin-tag--accent {
    border-color: rgba(125, 96, 46, 0.35);
    background: #f3ebdc;
    color: #5f4920;
}

.stock-zero {
    color: var(--danger);
    font-weight: 600;
}

.stock-low {
    color: var(--amber);
    font-weight: 600;
}

.stock-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.stock-list li:last-child {
    border-bottom: 0;
}

.stock-list__qty {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.stock-list__qty.is-zero {
    color: var(--danger);
    font-weight: 600;
}

.admin-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-shortcuts a {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    text-decoration: none;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.admin-shortcuts a:hover {
    border-color: var(--line-strong);
    background: var(--ivory);
}

.admin-shortcuts strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}

.admin-shortcuts span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 18px;
}

.admin-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.admin-search input {
    width: min(280px, 60vw);
    min-height: 42px;
    height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    background: var(--white);
    font-size: 13px;
}

.admin-search .button {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 10px;
}

.admin-toolbar__count {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-toolbar--stack {
    flex-direction: column;
    align-items: stretch;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
    gap: 20px;
    align-items: start;
}

.admin-form__main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.admin-form__aside {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.admin-form__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.admin-form__cancel {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
}

.admin-form .check-line {
    padding: 4px 0;
}

.admin-form .field-grid {
    margin-top: 16px;
}

.admin-form .admin-panel .field + .field-grid,
.admin-form .admin-panel .field + .field {
    margin-top: 14px;
}

.admin-image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 18px;
}

.admin-image {
    width: 116px;
    margin: 0;
    border: 1px solid var(--line);
    background: var(--paper);
}

.admin-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.admin-image__remove {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    cursor: pointer;
}

.admin-video-current {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-left: 2px solid var(--champagne);
    background: var(--ivory);
    font-size: 12px;
    line-height: 1.6;
    word-break: break-word;
}

.admin-danger {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid rgba(142, 47, 42, 0.28);
    background: rgba(247, 233, 230, 0.6);
}

.admin-danger p {
    margin-bottom: 10px;
    color: #712622;
    font-size: 12px;
    line-height: 1.6;
}

.admin-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 20px;
    align-items: start;
}

.admin-order-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.admin-order-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.admin-order-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-order-totals {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.admin-form--stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-form--stack + .admin-form--stack {
    margin-top: 20px;
}

.admin-panel__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 16px 24px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.admin-panel__foot .admin-panel__hint {
    margin: 0;
}

.admin-panel__hint--inner {
    margin: 14px 24px 0;
}

.admin-table__input {
    width: 100%;
    min-width: 90px;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font-size: 12px;
}

.admin-table__input:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 2px rgba(197, 164, 107, 0.28);
}

.admin-table__input--short {
    width: 70px;
    min-width: 0;
}

.admin-table__input--cep {
    min-width: 104px;
}

.admin-table__input--money {
    min-width: 92px;
}

.admin-table__input--days {
    width: 62px;
    min-width: 0;
}

.admin-table__input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
}

.admin-table__days {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.admin-table__remove {
    font-size: 11px;
    white-space: nowrap;
}

.admin-table--shipping td {
    padding-block: 9px;
}

.admin-table--shipping .admin-table__actions {
    justify-content: flex-start;
}

.admin-table__row--new td {
    background: var(--paper);
}

.admin-table--prices td {
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   21. Login do painel
   -------------------------------------------------------------------------- */
body.admin-auth {
    display: grid;
    place-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 32px 20px;
    background:
        radial-gradient(110% 90% at 85% 0%, rgba(197, 164, 107, 0.16), transparent 60%),
        var(--ink-deep);
    color: var(--ink);
}

.admin-auth__main {
    width: min(100%, 400px);
}

.admin-auth__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

.admin-auth__brand img {
    width: 184px;
    height: auto;
}

.admin-auth__brand span {
    color: var(--champagne-light);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.admin-auth__main .flashes {
    width: 100%;
    margin: 0 0 16px;
}

.admin-login-card {
    padding: clamp(26px, 3.4vw, 36px);
    border-top: 2px solid var(--champagne);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.admin-login-card h1 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 500;
}

.admin-login-card__lede {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.admin-login-card .form-errors {
    margin-top: 18px;
}

.admin-auth__foot {
    margin-top: 22px;
    text-align: center;
    font-size: 11px;
}

.admin-auth__foot a {
    color: rgba(246, 240, 229, 0.55);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.admin-auth__foot a:hover {
    color: var(--ivory);
    border-color: var(--champagne-light);
}

.admin-menu {
    position: relative;
}

.admin-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    cursor: pointer;
}

.admin-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 30;
    width: min(260px, calc(100vw - 32px));
    padding: 8px 0;
    border-top: 2px solid var(--champagne);
    background: var(--ink-deep);
    box-shadow: var(--shadow-md);
}

.admin-menu__panel a {
    display: block;
    padding: 11px 18px;
    color: rgba(246, 240, 229, 0.78);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.admin-menu__panel a:hover {
    background: rgba(246, 240, 229, 0.06);
    color: var(--ivory);
}

.admin-menu__panel form {
    padding: 8px 18px 4px;
    border-top: 1px solid var(--line-light);
    margin-top: 6px;
}

.admin-menu__panel .link-button {
    color: rgba(246, 240, 229, 0.6);
    font-size: 11px;
    text-decoration-color: rgba(246, 240, 229, 0.24);
}

/* --------------------------------------------------------------------------
   22. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .cart-link span:first-child {
        display: none;
    }

    .cart-link {
        padding-left: 12px;
    }

    .hero-grid {
        gap: 44px;
    }
}

@media (max-width: 1060px) {
    .main-nav {
        display: none;
    }

    .nav-drawer {
        display: block;
    }

    .selection-item--1,
    .selection-item--4 {
        grid-column: span 7;
    }

    .selection-item--2,
    .selection-item--3 {
        grid-column: span 5;
    }

    .category-row {
        grid-template-columns: 44px 66px minmax(0, 1fr) auto 28px;
    }

    .category-row img {
        width: 66px;
        height: 82px;
    }

    .catalog-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 36px;
    }

    .product-layout {
        gap: 40px;
    }

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

    .stat--hero {
        grid-column: span 2;
    }

    .admin-form-grid,
    .admin-order-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-form__aside,
    .admin-order-aside {
        position: static;
    }

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

@media (max-width: 960px) {
    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-mobile-bar {
        position: sticky;
        top: 0;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 18px;
        border-bottom: 1px solid var(--line-light);
        background: var(--ink-deep);
    }

    .admin-mobile-bar__brand img {
        width: 148px;
        height: auto;
    }

    .admin-mobile-bar .admin-menu summary {
        border-color: var(--line-light-strong);
        color: var(--ivory);
    }

    .admin-main {
        max-width: none;
        padding: 24px 18px 64px;
    }

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

    .admin-head__actions {
        width: 100%;
    }

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

    .auth-page {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .auth-aside {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px 28px;
        padding: 24px clamp(20px, 4vw, 40px);
    }

    .auth-aside__brand img {
        width: 158px;
    }

    .auth-aside__body {
        max-width: none;
        margin: 0;
    }

    .auth-aside__title {
        margin: 0;
        font-size: 1.15rem;
    }

    .auth-aside__text,
    .auth-aside__foot {
        display: none;
    }

    .auth-aside .eyebrow {
        margin-bottom: 6px;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .closing-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-emblem {
        right: -8%;
        width: 300px;
        opacity: 0.07;
    }

    .hero-figure {
        max-width: 480px;
        margin-inline: auto;
        width: 100%;
    }

    .hero-facts {
        margin-top: 32px;
    }

    .selection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 18px;
    }

    .selection-item--1,
    .selection-item--2,
    .selection-item--3,
    .selection-item--4 {
        grid-column: span 1;
        margin-top: 0;
    }

    .manifesto-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .steps li {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 18px;
        padding: 20px 0;
    }

    .steps li:first-child {
        padding-top: 0;
    }

    .steps li:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .steps__number {
        grid-row: span 2;
        margin: 0;
        font-size: 1.45rem;
        padding-top: 2px;
    }

    .steps h3 {
        margin-top: 0;
    }

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

    .product-gallery {
        max-width: 560px;
        margin-inline: auto;
        width: 100%;
    }

    .product-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .cart-layout,
    .checkout-layout,
    .order-layout,
    .account-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-summary,
    .checkout-summary,
    .order-aside {
        position: static;
    }

    .catalog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .filter-rail {
        position: static;
    }

    .filter-form,
    .filter-group {
        max-width: 520px;
    }

    .filter-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
    }

    .filter-group__title {
        grid-column: 1 / -1;
    }

    .editorial-grid,
    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .editorial-grid__aside,
    .legal-nav {
        position: static;
    }

    .legal-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 18px;
        border-top: 1px solid var(--line);
    }

    .legal-nav a {
        border-bottom: 0;
        padding: 8px 0;
    }

    .principles {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 24px;
    }

    .principles > div {
        padding: 18px 0;
        border-top: 1px solid var(--line);
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .section-head__aside {
        max-width: 52ch;
    }

    .order-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

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

@media (max-width: 760px) {
    :root {
        --gutter: 20px;
    }

    .announcement-inner {
        justify-content: center;
        text-align: center;
    }

    .announcement-inner a {
        display: none;
    }

    .header-inner {
        min-height: 64px;
        gap: 12px;
    }

    .brand img {
        width: 146px;
    }

    .icon-link {
        display: none;
    }

    .cart-count {
        min-width: 24px;
        height: 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-base {
        flex-direction: column;
        gap: 6px;
        margin-top: 36px;
    }

    .hero {
        padding-top: 36px;
    }

    .hero-lede {
        margin-top: 20px;
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-actions .text-link {
        align-self: center;
    }

    .hero-frame {
        transform: translate(10px, 10px);
    }

    .hero-figure figcaption {
        margin-top: 14px;
    }

    .category-row {
        grid-template-columns: 34px 56px minmax(0, 1fr) 22px;
        gap: 12px;
        padding: 14px 2px;
    }

    .category-row img {
        width: 56px;
        height: 70px;
    }

    .category-row__count {
        display: none;
    }

    .category-row__name {
        font-size: 1.25rem;
    }

    .fact-list > div {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
    }

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

    .cart-line {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
    }

    .cart-line__total {
        grid-column: 2;
        text-align: left;
        padding-top: 0;
    }

    .cart-line__controls {
        gap: 10px 18px;
    }

    .order-list__item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 16px;
    }

    .order-list__item .status-badge {
        justify-self: end;
    }

    .order-list__item .order-list__total {
        grid-column: 1;
    }

    .order-list__item .text-link {
        grid-column: 2;
        text-align: right;
    }

    .order-steps__label {
        font-size: 8px;
    }

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

    .stat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stat--hero {
        grid-column: span 1;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px;
    }

    .admin-table__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

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

    .admin-search {
        width: 100%;
    }

    .admin-search input {
        width: 100%;
    }

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

    .payment-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .payment-panel__actions {
        align-items: stretch;
    }

    .payment-panel__actions .button {
        width: 100%;
    }

    .field-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .field--cep,
    .field--street,
    .field--number,
    .field--complement,
    .field--district,
    .field--city,
    .field--state {
        grid-column: span 2;
    }

    .buy-row {
        grid-template-columns: 84px minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .display {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .hero-title {
        font-size: clamp(2.3rem, 10vw, 3rem);
    }

    .section {
        padding: 52px 0;
    }

    .selection-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-brand {
        grid-column: auto;
    }

    .page-head__row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .page-head__count {
        padding-bottom: 0;
    }

    .catalog-layout {
        padding-bottom: 64px;
    }

    .filter-group {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-line {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-line__media {
        width: 96px;
    }

    .cart-line__total {
        grid-column: 1;
    }

    .checkout-items li,
    .order-items li {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .checkout-items img {
        width: 48px;
        height: 60px;
    }

    .order-items img {
        width: 48px;
        height: 60px;
    }

    .order-steps {
        flex-wrap: wrap;
        gap: 10px 0;
    }

    .order-steps li {
        flex: 1 1 50%;
    }

    .order-steps li:nth-child(3)::before {
        display: none;
    }

    .admin-image {
        width: 92px;
    }

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

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

    .editorial-hero .display {
        font-size: clamp(2.1rem, 9vw, 2.9rem);
    }

    .empty-state {
        padding: 32px 20px;
    }

    .empty-state__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .empty-state__actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-media:hover img,
    .product-card__media:hover img,
    .button:hover,
    .category-row:hover,
    .text-link:hover span[aria-hidden="true"] {
        transform: none;
    }
}

@media print {
    .announcement,
    .site-header,
    .site-footer,
    .nav-drawer,
    .skip-link,
    .buy-form,
    .filter-rail,
    .cart-summary,
    .checkout-summary,
    .order-aside {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}
