@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: Bricolage;
  src: url('assets/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --dark: #0d1712;
  --forest: #12261a;
  --ink: #112317;
  --muted: #4c5e52;
  --brand: #a5f36b;
  --brand-hover: #b8ff88;
  --green: #215731;
  --surface: #f6f8f3;
  --line: #d9e2d7;
  --display: Bricolage, 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-family: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 280px; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, input { min-width: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #268347; outline-offset: 4px; }
.hero :focus-visible, .contact :focus-visible, .site-header :focus-visible { outline-color: var(--brand); }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.icon { display: block; width: 21px; height: 21px; stroke-width: 1.75; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; transform: translateY(-180%); padding: 10px 16px; background: white; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 5; top: 0; color: white; background: var(--dark); border-bottom: 1px solid #344239; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 75px; }
.brands, .site-header nav { display: flex; align-items: center; }
.brands { gap: 19px; flex: none; text-decoration: none; }
.fonte-logo { width: 137px; height: auto; }
.pepper-logo { width: 70px; height: auto; }
.brand-divider { height: 28px; width: 1px; background: #405046; }
.site-header nav { gap: clamp(16px, 3vw, 43px); }
.site-header nav a { color: #e4eae2; font-size: .92rem; font-weight: 620; text-decoration: none; }
.site-header nav a:hover { color: var(--brand); }
.cart-trigger { display: flex; flex: none; align-items: center; gap: 10px; min-height: 43px; padding: 6px 9px 6px 13px; color: #eef6ed; background: #223126; border: 1px solid #435447; border-radius: 8px; font-size: .87rem; font-weight: 690; white-space: nowrap; }
.cart-trigger:hover { background: #304437; }
.cart-trigger .icon { width: 18px; height: 18px; }
.cart-short { display: none; }
.count { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 4px; color: #142919; background: var(--brand); border-radius: 5px; font-variant-numeric: tabular-nums; }

.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: #f8fbf5; }
.hero-image, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.hero::after { content: ''; background: linear-gradient(90deg, #0b1710 0%, #0b1710d9 22%, #0b171078 50%, transparent 75%), linear-gradient(0deg, #101b1477, transparent 38%); }
.hero-inner { min-height: clamp(500px, 39vw, 570px); display: flex; align-items: center; position: relative; padding-block: 57px 69px; }
.hero-copy { width: min(100%, 710px); }
.eyebrow { font-size: .79rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; line-height: 1.45; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #dcf4d1; }
.hero-eyebrow span { width: 24px; height: 4px; border-radius: 12px; background: var(--brand); }
.hero h1 { font-size: clamp(4.6rem, 8.05vw, 8.25rem); font-weight: 755; letter-spacing: -.04em; word-spacing: .045em; line-height: .92; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-intro { color: #e2ebe0; max-width: 425px; margin-top: 26px; font-size: clamp(1rem, 1.35vw, 1.19rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-weight: 750; line-height: 1.25; text-align: center; text-decoration: none; transition: background .18s, color .18s, border-color .18s; }
.button-accent { background: var(--brand); color: #112217; }
.button-accent:hover { background: var(--brand-hover); }
.button-ghost { background: #14251c99; color: #f2f9ef; border-color: #8aa494; }
.button-ghost:hover { background: #234532; border-color: #c2ddc4; }
.button-outline { color: var(--forest); border-color: #82998a; background: transparent; }
.button-outline:hover { background: #e7f1e6; border-color: var(--green); }
.button-dark { color: #1c4328; background: #eaf3e7; }
.button-dark:hover { color: #eafbed; background: #215731; }
.button .icon { width: 18px; height: 18px; }

.hero-feature { position: absolute; right: min(10vw, 150px); bottom: 23px; display: flex; align-items: center; gap: 12px; min-width: 228px; text-align: left; color: #f4fcf1; margin: 0; padding: 8px 11px 8px 8px; background: #10241bd9; border: 1px solid #8aa494a8; border-radius: 10px; backdrop-filter: blur(8px); }
.hero-feature:hover { background: #264734; border-color: var(--brand); }
.hero-feature-image { width: 42px; height: 55px; background: #f0f5e9; border-radius: 5px; padding: 4px; }
.hero-feature-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hero-feature-copy { display: grid; gap: 3px; }
.hero-feature-copy > span { color: #b8f68e; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-feature strong { font-size: .97rem; line-height: 1.08; }
.hero-feature small { color: #c5d9c9; font-size: .75rem; }
.hero-feature-icon { margin-left: auto; color: var(--brand); }
.hero-feature-icon .icon { width: 16px; }

.collection-bar { background: #172d20; color: #f0f8ed; border-top: 1px solid #416348; }
.collection-inner { min-height: 66px; display: grid; grid-template-columns: 1fr repeat(3, 1.05fr); align-items: stretch; }
.collection-inner p { align-self: center; color: #bbcfbf; font-size: .77rem; font-weight: 780; text-transform: uppercase; letter-spacing: .09em; padding-right: 12px; }
.collection-inner a { display: flex; gap: 10px; align-items: center; padding: 12px 12px 12px clamp(12px, 2.3vw, 35px); border-left: 1px solid #3b5645; text-decoration: none; font-weight: 690; font-size: .94rem; }
.collection-inner a:hover { background: #234030; color: #dfffcd; }
.collection-inner .icon { color: var(--brand); }

.section-space { padding-block: clamp(54px, 6.2vw, 94px); }
.catalog { padding-top: clamp(50px, 4.8vw, 74px); }
.section-eyebrow { color: #31603e; margin-bottom: 8px; }
.section-eyebrow::before { content: ''; width: 16px; height: 3px; border-radius: 8px; display: inline-block; background: #4b9446; vertical-align: .2em; margin-right: 8px; }
.catalog-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.catalog h2, .how h2, .contact h2 { font-size: clamp(2.4rem, 4.55vw, 5rem); font-weight: 750; line-height: 1.03; letter-spacing: -.037em; }
.section-intro { color: var(--muted); margin-top: 13px; font-size: 1rem; line-height: 1.55; }
.search { display: flex; align-items: center; gap: 9px; padding: 0 12px; width: min(100%, 300px); min-height: 46px; color: #335944; border: 1px solid #c7d6c8; border-radius: 8px; background: #fff; }
.search:focus-within { border-color: #387a4f; box-shadow: 0 0 0 2px #387a4f42; }
.search input { width: 100%; min-height: 44px; padding: 0; border: 0; outline: 0; background: transparent; font-size: .93rem; }
.search input::placeholder { color: #596d60; opacity: 1; }
.search .icon { width: 19px; height: 19px; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px 15px; margin: 25px 0 17px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter, .color-chip, .gallery-chip { border: 1px solid #c9d8cb; background: #fff; color: #2a4633; border-radius: 8px; font-size: .87rem; font-weight: 720; min-height: 39px; padding: 7px 13px; }
.filter:hover, .color-chip:hover, .gallery-chip:hover { border-color: #397247; background: #edf5e9; }
.filter[aria-pressed='true'], .color-chip[aria-pressed='true'], .gallery-chip[aria-pressed='true'] { background: #235632; color: #fff; border-color: #235632; }
.results { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { border: 1px solid var(--line); background: white; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.product-card:hover { border-color: #a2bba3; box-shadow: 0 7px 26px #16392013; }
.product-image { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.22; background: #edf2e9; border: 0; border-bottom: 1px solid #e7ede5; padding: 31px 21px 15px; overflow: hidden; }
.product-image:focus-visible { outline-offset: -3px; }
.product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.product-image:hover img { transform: scale(1.045); }
.card-code { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 4px 7px; color: #2e5138; background: #f8fbf6; border: 1px solid #d7e2d4; border-radius: 5px; font-size: .68rem; letter-spacing: .065em; font-weight: 800; line-height: 1.1; }
.card-info { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.card-info > .button { align-self: stretch; margin-top: auto; min-height: 40px; font-size: .88rem; }
.card-info h3 { font-weight: 760; font-size: clamp(1rem, 1.61vw, 1.24rem); letter-spacing: -.03em; line-height: 1.15; }
.card-info h3 button { background: none; padding: 0; border: 0; text-align: left; }
.card-info h3 button:hover { text-decoration: underline; }
.variant-text { color: var(--muted); margin-block: 7px 14px; font-size: .83rem; line-height: 1.4; }
.variant-text span { white-space: nowrap; }
.load-row { text-align: center; }
.load-row button { margin-top: 26px; }
.no-results { grid-column: 1/-1; padding: 37px 18px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.no-results p { margin-block: 7px 15px; color: var(--muted); }

.how { background: #e8f0e5; border-top: 1px solid var(--line); }
.how-inner { display: grid; grid-template-columns: minmax(180px, .85fr) 2fr; align-items: start; gap: clamp(23px, 6vw, 100px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; padding: 0; list-style: none; }
.steps li { display: grid; align-content: start; gap: 13px; }
.step-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #265c35; background: #d8e9d3; border: 1px solid #c0d9bb; border-radius: 8px; }
.steps h3 { font-size: 1.13rem; letter-spacing: -.025em; }
.steps p { margin-top: 5px; color: var(--muted); font-size: .91rem; line-height: 1.54; }

.contact { color: #f5f9f0; background: radial-gradient(ellipse at 90% 100%, #315942 -12%, transparent 60%), #12251a; padding-block: clamp(50px, 6vw, 90px); }
.contact-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 7vw, 90px); align-items: center; }
.contact-eyebrow { color: var(--brand); margin-bottom: 9px; }
.contact p:not(.eyebrow) { max-width: 450px; color: #c9dacf; margin-top: 15px; line-height: 1.55; }
.contact-actions { display: grid; gap: 9px; }
.contact-actions .button { justify-content: flex-start; text-align: left; min-height: 54px; }
.contact-value { margin-left: auto; font-size: .9rem; font-weight: 580; overflow-wrap: anywhere; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 107px; }
.footer-inner img { width: 91px; height: auto; }
.footer-inner p { color: var(--muted); font-size: .85rem; line-height: 1.55; }
.footer-inner a { font-size: .87rem; font-weight: 770; text-underline-offset: 4px; }

dialog { border: 1px solid #d3e0d5; border-radius: 14px; color: var(--ink); background: #fff; padding: 0; max-height: calc(100dvh - 34px); box-shadow: 0 11px 60px #091d1a44; }
dialog::backdrop { background: #0a1b11b8; }
#product-dialog { width: min(880px, calc(100% - 30px)); }
.detail-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 9px 10px 0; background: #fff; }
.icon-button { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: #f3f7f2; border-radius: 8px; color: #294b34; padding: 0; }
.icon-button:hover { background: #e6f0e5; }
.detail-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 25px; padding: 3px 25px 25px; }
.detail-picture { display: grid; place-items: center; aspect-ratio: 1; padding: 13px; background: #f0f4ed; border: 1px solid #e6ede3; border-radius: 10px; }
.detail-picture img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.detail-gallery { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gallery-chip { padding-inline: 8px; font-size: .81rem; }
.product-meta { font-size: .74rem; font-weight: 810; text-transform: uppercase; letter-spacing: .09em; color: #376243; }
.detail-info h2, .cart-head h2 { font-size: clamp(1.75rem, 3.1vw, 2.7rem); letter-spacing: -.027em; line-height: 1.09; margin-top: 4px; }
.detail-copy { color: var(--muted); font-size: .96rem; margin-top: 10px; line-height: 1.5; }
.detail-info dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 11px; font-size: .86rem; background: #f2f6f0; border-radius: 7px; padding: 10px; }
.detail-info dt { font-weight: 780; }
.detail-info dd { margin: 0; overflow-wrap: anywhere; }
.detail-info fieldset { border: 0; margin: 0; padding: 0; }
.detail-info legend { font-size: .89rem; font-weight: 750; margin-bottom: 7px; }
.detail-colors { display: flex; flex-wrap: wrap; gap: 5px; }
.color-chip { padding: 6px 9px; font-size: .82rem; }
.add-detail { display: flex; align-items: end; gap: 7px; margin-top: 16px; }
.add-detail label, .cart-controls label { font-size: .85rem; font-weight: 710; }
.add-detail label { display: grid; gap: 4px; }
.qty { width: 80px; min-height: 40px; border: 1px solid #a4b6a8; border-radius: 6px; padding: 5px 7px; background: #fff; }
.add-detail .button, .add-detail .qty { min-height: 44px; }
.detail-note { margin-top: 12px; font-size: .82rem; color: var(--muted); line-height: 1.45; }

.cart-dialog { inset: 0 0 0 auto; margin: 0; width: min(475px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 14px 0 0 14px; }
.cart-dialog[open] { display: flex; flex-direction: column; }
.cart-head { display: flex; align-items: start; gap: 12px; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cart-head p { margin-top: 6px; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.cart-body { flex: 1; overflow-y: auto; padding: 0 18px 15px; }
.cart-item { display: grid; gap: 10px; grid-template-columns: 75px 1fr; border-bottom: 1px solid var(--line); padding-block: 12px; }
.cart-item img { align-self: start; width: 75px; height: 75px; object-fit: contain; padding: 6px; background: #edf3e9; border-radius: 7px; mix-blend-mode: multiply; }
.cart-item h3 { font-size: 1.02rem; }
.cart-item p { margin-block: 2px 6px; color: var(--muted); font-size: .82rem; }
.cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 11px; }
.cart-controls .qty { min-height: 36px; }
.link-button { color: #285737; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; font-weight: 720; font-size: .86rem; padding: 8px 0; }
.cart-empty { padding-block: 25px; }
.cart-empty p { margin-bottom: 12px; }
.cart-notes { display: block; margin-top: 18px; font-size: .9rem; font-weight: 710; }
.cart-notes span { color: var(--muted); font-weight: 400; }
.cart-notes textarea { width: 100%; margin-top: 7px; padding: 8px; border: 1px solid #a4b6a8; border-radius: 7px; resize: vertical; font-size: .9rem; }
.cart-footer { display: grid; gap: 7px; padding: 9px 18px 12px; border-top: 1px solid var(--line); background: #f5f8f3; }
.quote-help { color: var(--muted); font-size: .8rem; text-align: center; line-height: 1.35; }
#toast { position: fixed; z-index: 7; right: 16px; bottom: 16px; left: auto; max-width: calc(100% - 32px); color: #f4fbf2; background: #1a432a; border: 1px solid #50795b; border-radius: 9px; font-size: .91rem; padding: 11px 15px; box-shadow: 0 8px 28px #12301835; pointer-events: none; }
#toast:empty { visibility: hidden; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .brands { gap: 12px; }
  .header-inner { gap: 16px; }
  .hero h1 { font-size: clamp(4.45rem, 9.9vw, 6.8rem); }
  .product-grid { gap: 12px; }
  .product-image { padding: 27px 14px 12px; }
  .card-info { padding: 12px; }
}

@media (max-width: 800px) {
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: .82rem; }
  .fonte-logo { width: 103px; }
  .pepper-logo { width: 52px; }
  .cart-trigger { gap: 6px; padding-left: 9px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-inner { grid-template-columns: 1fr; }
  .contact-inner { gap: 22px; }
  .contact-value { font-size: .81rem; }
}

@media (max-width: 675px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .site-header nav { display: none; }
  .cart-label { display: none; }
  .cart-short { display: inline; }
  .hero-inner { min-height: 540px; align-items: start; padding-block: 43px 130px; }
  .hero h1 { font-size: clamp(3.4rem, 13.4vw, 5.65rem); }
  .hero-eyebrow { margin-bottom: 17px; font-size: .7rem; }
  .hero-image img { object-position: 75% 54%; }
  .hero::after { background: linear-gradient(180deg, #0c1b12e3 0%, #0c1b12b5 42%, #0c1b1240 72%, #0c1b1285 100%), linear-gradient(90deg,#0b1710c9, transparent); }
  .hero-intro { max-width: 350px; margin-top: 17px; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .button { padding-inline: 11px; font-size: .88rem; }
  .hero-feature { bottom: 17px; left: 0; right: auto; min-width: 218px; }
  .collection-inner { grid-template-columns: 1fr 1fr 1.15fr; min-height: 62px; }
  .collection-inner p { display: none; }
  .collection-inner a { gap: 5px; font-size: .78rem; padding: 9px 7px; line-height: 1.17; }
  .collection-inner a:first-of-type { border-left: 0; padding-left: 0; }
  .collection-inner .icon { width: 17px; height: 17px; }
  .catalog-top { display: grid; gap: 15px; }
  .search { width: 100%; }
  .catalog-controls { align-items: start; flex-direction: column; margin-top: 15px; }
  .filter { padding-inline: 8px; font-size: .8rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-image { padding-inline: 9px; }
  .card-info > .button { padding-inline: 5px; gap: 3px; font-size: .8rem; }
  .card-info > .button .icon { width: 15px; }
  .steps { grid-template-columns: 1fr; gap: 17px; }
  .steps li { grid-template-columns: 44px 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: 9px 14px; padding-block: 17px; }
  .footer-inner img { width: 68px; }
  .footer-inner p { flex: 1 1 180px; }
  .detail-grid { grid-template-columns: 1fr; gap: 16px; padding: 2px 15px 20px; }
  .detail-picture { aspect-ratio: auto; height: min(36vh, 250px); }
  .cart-dialog { border-radius: 0; }
}

@media (max-width: 365px) {
  .brands { gap: 8px; }
  .cart-short { display: none; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 3.12rem); }
  .hero-actions { gap: 7px; }
  .hero-actions .button { padding-inline: 8px; font-size: .83rem; }
  .card-info { padding: 9px; }
  .contact-actions .button { gap: 5px; padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
