/* Cairé shop · xilogravura em três cores. Mirrors caire-coffee app/globals.css + Tailwind usage. */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--preto);
  font-family: 'Caire Alegreya', Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
::selection { background: var(--sangue); color: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sangue); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.skip-link { position: absolute !important; left: -999px; top: 0; z-index: 100; background: var(--preto); color: var(--paper); padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 80rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.wrap-wide { max-width: 80rem; margin: 0 auto; }
@media (min-width: 640px) { .wrap { padding-left: 2rem; padding-right: 2rem; } }

/* ── Type (globals.css) ── */
.display-black { font-family: 'Caire Anybody', Impact, sans-serif; font-weight: 900; font-stretch: 72%; letter-spacing: -0.005em; text-transform: uppercase; }
.display-soft { font-family: 'Caire Alegreya', Georgia, serif; font-style: italic; font-weight: 500; text-transform: none; }
.eyebrow { font-family: 'Caire Courier', 'Courier New', monospace; font-size: .875rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.ui { font-family: 'Caire Anybody', ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .01em; }
.mono, .notes { font-family: 'Caire Courier', 'Courier New', monospace; font-size: 13px; font-weight: 700; }
.red { color: var(--sangue); }
.overprint { position: relative; display: inline-block; isolation: isolate; }
.overprint::before { content: attr(data-text); position: absolute; inset: 0; color: var(--block, var(--ink, var(--sangue))); transform: translate(.045em, -.03em); mix-blend-mode: multiply; z-index: -1; pointer-events: none; }
.overprint-on-dark::before { mix-blend-mode: normal; opacity: .95; color: var(--sangue); }
.print-on { mix-blend-mode: multiply; }
.ink-grain { position: relative; }
.ink-grain::after { content: ''; position: absolute; inset: 0; opacity: .18; mix-blend-mode: multiply; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.lede { font-size: 1.25rem; line-height: 1.35; max-width: 28rem; }

/* ── Buttons (.btn-ink / .btn-red / .btn-line) ── */
.btn-ink, .btn-red, .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce #respond input#submit, #place_order, .wc-proceed-to-checkout .checkout-button, .single_add_to_cart_button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  font-family: 'Caire Anybody', ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .01em;
  font-size: 17px; line-height: 1.1; padding: .95rem 1.5rem;
  background: var(--preto); color: var(--paper);
  box-shadow: 5px -4px 0 var(--block, var(--ink, var(--sangue)));
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-ink:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover, .single_add_to_cart_button:hover, #place_order:hover { transform: translate(-1px, 1px); box-shadow: 2px -2px 0 var(--block, var(--ink, var(--sangue))); background: var(--preto); color: var(--paper); }
.btn-ink:active, .button:active { transform: translate(2px, -1px); box-shadow: 0 0 0 var(--sangue); }
.btn-red, #place_order, .wc-proceed-to-checkout .checkout-button { background: var(--sangue) !important; color: var(--paper) !important; box-shadow: 5px -4px 0 var(--preto) !important; }
.btn-red:hover, #place_order:hover, .wc-proceed-to-checkout .checkout-button:hover { box-shadow: 2px -2px 0 var(--preto) !important; }
.button.disabled, .button:disabled, .woocommerce button.button.alt.disabled, .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; background: var(--preto); color: var(--paper); }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border: 2px solid currentColor; padding: calc(.95rem - 2px) 1.4rem; text-decoration: none; font-size: 16px; transition: background .15s ease; }
.btn-line:hover { background: var(--preto); }
.btn-line:hover > * { color: var(--paper); }
.btn-line.on-dark { color: var(--paper); }
.btn-line.on-dark:hover { background: var(--paper); }
.btn-line.on-dark:hover > * { color: var(--preto); }
.added_to_cart { display: inline-block; margin-left: .75rem; font-family: 'Caire Courier', monospace; font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

/* ── Announcement + header (site-header.tsx) ── */
.announce { position: relative; z-index: 60; background: var(--sangue); color: var(--paper); }
.announce-in { max-width: 80rem; margin: 0 auto; height: 36px; display: flex; align-items: center; justify-content: center; gap: .75rem; overflow: hidden; white-space: nowrap; padding: 0 1rem; font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.hide-sm, .hide-xs { display: none; }
@media (min-width: 440px) { .hide-xs { display: inline; } }
@media (min-width: 640px) { .hide-sm { display: inline; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 236, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 2px solid var(--preto); }
.site-header .bar { max-width: 80rem; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 1.5rem; padding: 0 1rem; }
@media (min-width: 640px) { .site-header .bar { padding: 0 1.5rem; } }
.brand { flex-shrink: 0; display: block; }
.brand img { height: 28px; width: auto; }
.main-nav { display: none; flex: 1; align-items: center; justify-content: center; gap: 1.5rem; }
.main-nav a { font-size: 15px; text-decoration: none; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.main-nav a:hover, .main-nav a.is-current { text-decoration: underline; }
.main-nav a.is-current { text-decoration-color: var(--sangue); }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.tools { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
@media (min-width: 1024px) { .tools { margin-left: 0; } }
.cart-link { position: relative; display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--preto); }
.caire-count { position: absolute; right: -4px; top: -4px; min-width: 20px; height: 20px; padding: 0 4px; display: flex; align-items: center; justify-content: center; background: var(--sangue); color: var(--paper); font-family: 'Caire Courier', monospace; font-size: 11px; font-weight: 700; }
.caire-count.is-empty { display: none; }
.menu-btn { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
@media (min-width: 1024px) { .site-header .menu-btn { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: var(--sangue); color: var(--preto); opacity: 0; transition: opacity .25s ease; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mm-top { display: flex; height: 64px; align-items: center; justify-content: space-between; padding: 0 1rem; }
.mm-top img { height: 26px; width: auto; }
.mm-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .25rem; padding: 0 1.75rem; }
.mm-nav a { font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: .95; text-decoration: none; }

/* ── Footer (site-footer.tsx) ── */
.site-footer { position: relative; overflow: hidden; background: var(--preto); color: var(--paper); margin-top: 0; }
.ft-in { max-width: 80rem; margin: 0 auto; padding: 5rem 1.5rem 2.5rem; }
.ft-grid { display: grid; gap: 3.5rem; }
@media (min-width: 1024px) { .ft-grid { grid-template-columns: 1.1fr 2fr; } }
.ft-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.ft-brand .seal { width: 144px; height: 144px; }
.ft-tag { font-size: 1.875rem; line-height: 1.2; max-width: 20rem; }
.ft-blurb { max-width: 24rem; font-size: 1rem; line-height: 1.6; color: rgba(244, 242, 236, .7); }
.ft-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
@media (min-width: 640px) { .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ft-title.eyebrow { color: var(--moon); }
.ft-cols ul { list-style: none; margin-top: 1.25rem; display: grid; gap: .75rem; }
.ft-cols a { font-size: 17px; color: rgba(244, 242, 236, .85); text-decoration: none; text-underline-offset: 4px; }
.ft-cols a:hover { color: var(--paper); text-decoration: underline; }
.ft-word { position: relative; margin-top: 5rem; }
.ft-word svg { width: 100%; height: auto; display: block; }
.ft-word .w-red { position: absolute; left: .6%; top: -1.2%; color: var(--sangue); }
.ft-word .w-paper { position: relative; color: var(--paper); mix-blend-mode: screen; }
.ft-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid rgba(244, 242, 236, .2); display: flex; flex-direction: column; gap: .75rem; font-family: 'Caire Courier', monospace; font-size: 13px; color: rgba(244, 242, 236, .6); }
@media (min-width: 640px) { .ft-legal { flex-direction: row; justify-content: space-between; } }

/* ── Shop home / collections ── */
.shop-hero { padding-top: 3rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .shop-hero { padding-top: 4rem; } }
.hero-grid { margin-top: 1rem; display: grid; gap: 2rem; align-items: end; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.3fr 1fr; } }
.hero-title { font-size: clamp(2.9rem, 10vw, 9rem); line-height: .84; }
.hero-title .overprint { --block: var(--sangue); }
.hero-title .display-soft { font-weight: 400; }
.coll-banner { margin-top: 1rem; display: grid; gap: 1.25rem; align-items: end; border-bottom: 4px solid var(--preto); padding-bottom: 1.25rem; }
@media (min-width: 1024px) { .coll-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 2.5rem; } .coll-art { order: 2; } }
.coll-art { isolation: isolate; background: var(--paper); }
.coll-art img { width: 100%; height: auto; filter: contrast(1.12) brightness(1.06); }
.coll-title { font-size: clamp(2.8rem, 7vw, 3.75rem); line-height: .9; margin-top: .25rem; }
.coll-text .lede { margin-top: .75rem; font-size: 1.125rem; }
.chips { margin-top: 2.5rem; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; border: 2px solid var(--preto); padding: .375rem .75rem; font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; text-decoration: none; transition: background-color .15s; }
.chip:hover { background: var(--paper-2); }
.chip.on { background: var(--preto); color: var(--paper); }
.chip .n { opacity: .6; }
.crumbs { font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 .5rem; }
.crumbs .here, .crumbs > :last-child:not(a) { color: var(--sangue); }

/* ── Product grid + card (PackCard). Scoped and !important against WooCommerce float grid. ── */
.shop-grid { padding-bottom: 6rem; }
body.woocommerce ul.products, .pdp-related ul.products, ul.products {
  list-style: none; margin: 0 !important; padding: 0;
  display: grid !important; grid-template-columns: 1fr; gap: 3.5rem 2rem;
}
ul.products::before, ul.products::after { content: none !important; display: none !important; }
@media (min-width: 640px) { body.woocommerce ul.products, .pdp-related ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { body.woocommerce ul.products, .pdp-related ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.woocommerce ul.products li.product, ul.products li.product.card {
  width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important;
  display: flex; flex-direction: column; min-width: 0; text-align: left;
}
.card-tile { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.card-tile.is-pack { padding: 2.25rem 16% 1.75rem; }
.card-tile.is-art { padding: 2rem 12%; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.card-tile.is-art .card-img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.card-block { position: absolute; left: 22%; right: 22%; top: 16%; bottom: 9%; background: var(--ink); transform: translate(10px, -8px); transition: transform .5s ease; }
.card-tile.is-art .card-block { left: 16%; right: 16%; top: 12%; bottom: 10%; }
.card:hover .card-block { transform: translate(16px, -14px); }
.card-tile .card-img { position: relative; width: 100%; height: auto !important; box-shadow: 0 22px 40px -12px rgba(0, 0, 0, .55); transition: transform .5s ease; }
.card-tile.is-art .card-img { background: var(--paper); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .45); }
.card:hover .card-img { transform: translateY(-.5rem) rotate(-2deg); }
.flag-new, .flag-out { position: absolute; top: 0; z-index: 2; font-family: 'Caire Courier', monospace; font-size: 11px; font-weight: 700; padding: .25rem .5rem; }
.flag-new { right: 0; background: var(--paper); }
.flag-out { left: 0; background: var(--preto); color: var(--paper); }
.card-meta { margin-top: 1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.card-name { min-width: 0; }
.card-name a { text-decoration: none; line-height: 1; display: block; }
.card-name a:hover { text-decoration: underline; }
.card-name .lead { font-size: 2.1rem; }
.card-name .lead-sm { font-size: 1.6rem; line-height: .95; }
.card-name .tail { font-size: 1.5rem; }
.card .meaning { margin-top: .25rem; font-size: 1.125rem; font-style: italic; color: var(--ink-light); }
.card .notes { margin-top: .5rem; }
.card-price { flex-shrink: 0; font-family: 'Caire Courier', monospace; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-price del { opacity: .5; }
.release-note { margin-top: .75rem; font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.card-buy { margin-top: 1rem; }
.card-buy .button, .woocommerce .card-buy a.button { font-size: 15px; padding: .8rem 1.2rem; --block: var(--ink); }
.card-buy .button.loading { opacity: .7; }
.card-buy .button.added::after { content: ' ✓'; }

/* ── Product page (product-detail.tsx) ── */
.pdp-buy { display: grid; }
@media (min-width: 1024px) { .pdp-buy { grid-template-columns: 1.05fr 1fr; } }
.pdp-media { min-width: 0; padding: 1.25rem 1.5rem 1rem; }
@media (min-width: 640px) { .pdp-media { padding: 2rem 2.5rem 2.5rem; } }
@media (min-width: 1024px) { .pdp-media { padding-top: 2rem; } .photo-frame { max-width: calc((100svh - 10rem) * .8); min-width: 420px; margin: 0 auto; } .pdp-thumbs { max-width: calc((100svh - 10rem) * .8); min-width: 420px; margin-left: auto; margin-right: auto; } }
.photo-frame { position: relative; }
.photo-frame .offset, .offset-red { position: absolute; inset: 0; transform: translate(12px, -10px); background: var(--red, var(--sangue)); }
.offset-red { background: var(--sangue); }
.pdp-photo { position: relative; width: 100%; height: auto; background: var(--preto); }
.photo-frame .woocommerce-product-gallery__image { position: relative; }
.pdp-thumbs { list-style: none; display: flex; gap: .75rem; margin-top: 1.5rem; }
.pdp-thumbs li { width: 88px; border: 2px solid var(--preto); background: var(--paper-2); }
.pdp-info { padding: 2.5rem 1.25rem; }
@media (min-width: 640px) { .pdp-info { padding: 2.5rem 3rem; } }
@media (min-width: 1024px) { .pdp-info { padding-top: 4rem; padding-bottom: 4rem; } }
.chips-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.tag { border: 2px solid var(--preto); padding: .25rem .5rem; }
.tag-ink { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pdp-title { margin-top: 1.25rem; line-height: .86; }
.pdp-title .t-lead { display: block; font-size: clamp(3.2rem, 7vw, 6rem); }
.pdp-title .overprint { --block: var(--ink); }
.pdp-title .t-tail { display: block; margin-top: .25rem; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.pdp-meaning { margin-top: .75rem; font-size: 1.5rem; font-style: italic; }
.verse { margin: 1.5rem 0 0; border-left: 4px solid var(--ink); padding-left: 1rem; font-size: 19px; font-style: italic; line-height: 1.35; }
.verse span { display: block; }
.pdp-lede { margin-top: 1.5rem; max-width: 32rem; font-size: 1.125rem; line-height: 1.65; }
.pdp-info .notes { margin-top: 1rem; font-size: 14px; }
.perks { list-style: none; margin-top: 1.25rem; display: grid; gap: .4rem; font-family: 'Caire Courier', monospace; font-size: 14px; }
.pdp-cart { margin-top: 2rem; border-top: 2px solid var(--preto); padding-top: 1.5rem; }
.pdp-size { font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.pdp-price { margin-top: .5rem; font-family: 'Caire Courier', monospace; font-size: 1.5rem; font-weight: 700; }
.pdp-cart form.cart { margin-top: 1rem; }
.pdp-cart table.variations { border: 0; margin: 0 0 .5rem; width: 100%; border-collapse: collapse; }
.pdp-cart table.variations th, .pdp-cart table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.pdp-cart table.variations th.label label { font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.pdp-cart .reset_variations { display: none !important; }
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .5rem; }
.swatches.many { display: flex; flex-wrap: wrap; }
.swatch { border: 2px solid var(--preto); background: transparent; color: var(--preto); padding: .75rem 1rem; text-align: left; cursor: pointer; font-family: 'Caire Anybody', sans-serif; font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: 17px; transition: background-color .15s; }
.swatches.many .swatch { font-size: 14px; padding: .5rem .75rem; }
.swatch:hover { background: var(--paper-2); }
.swatch[aria-checked='true'] { background: var(--preto); color: var(--paper); }
.woocommerce-variation-description { margin: .75rem 0; font-size: 1rem; font-style: italic; }
.woocommerce-variation-price { display: none; }
.single_variation_wrap .woocommerce-variation-availability { font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.pdp-cart .quantity { display: inline-flex; align-items: center; border: 2px solid var(--preto); height: 52px; }
.pdp-cart .quantity .qty { width: 4rem; height: 100%; border: 0; background: transparent; text-align: center; font-family: 'Caire Courier', monospace; font-size: 1.125rem; font-weight: 700; }
.pdp-cart form.cart:not(.variations_form), .pdp-cart .woocommerce-variation-add-to-cart { display: flex; gap: .75rem; align-items: stretch; margin-top: 1rem; }
.pdp-cart .single_add_to_cart_button { flex: 1; --block: var(--ink); }
.stock.out-of-stock { font-family: 'Caire Courier', monospace; font-weight: 700; color: var(--sangue); }
.promises { list-style: none; margin-top: 1.25rem; display: grid; gap: .25rem; font-family: 'Caire Courier', monospace; font-size: 13px; }
@media (min-width: 640px) { .promises { grid-template-columns: 1fr 1fr; } }
.ordem-cta { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--preto); color: var(--paper); padding: 1.25rem; text-decoration: none; }
.ordem-cta .eyebrow { display: block; color: rgba(244, 242, 236, .7); }
.ordem-cta .cta-line { display: block; margin-top: .25rem; font-size: 1.125rem; line-height: 1.35; }
.ordem-cta .arrow { font-size: 1.5rem; transition: transform .15s; }
.ordem-cta:hover .arrow { transform: translateX(4px); }
.pdp-legend { border-top: 2px solid var(--preto); background: var(--paper-2); padding: 5rem 0; }
.legend-grid { display: grid; gap: 3rem; align-items: center; max-width: 72rem; }
@media (min-width: 1024px) { .legend-grid { grid-template-columns: minmax(0, 440px) 1fr; gap: 5rem; } }
.legend-art { position: relative; }
.legend-art .woodcut { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 3px solid var(--preto); background: var(--paper); }
.story { margin-top: 1.25rem; font-size: 1.6rem; font-style: italic; line-height: 1.5; }
.myth { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.65; }
.ritual { margin-top: 2rem; border-left: 4px solid var(--ink); padding-left: 1.25rem; }
.ritual p:last-child { margin-top: .25rem; font-size: 1.125rem; }
.more-links { margin-top: 2rem; }
.pdp-specs { display: grid; gap: 3.5rem; padding-top: 5rem; padding-bottom: 5rem; max-width: 72rem; }
@media (min-width: 1024px) { .pdp-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pdp-specs.pdp-specs-1 { grid-template-columns: minmax(0, 44rem); } }
.spec-h { font-size: 1.875rem; border-bottom: 4px solid var(--preto); padding-bottom: .5rem; }
.pdp-specs dl { margin: 1.5rem 0 0; display: grid; gap: 1.25rem; font-size: 1.125rem; }
.pdp-specs dt { font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.pdp-specs dd { margin: .25rem 0 0; display: flex; align-items: center; gap: .75rem; }
.roast-dots { display: inline-flex; gap: 4px; }
.roast-dots i { width: 16px; height: 16px; border: 2px solid var(--preto); }
.roast-dots i.on { background: var(--preto); }
.origin { margin-top: 1.5rem; font-size: 1.875rem; }
.pdp-specs .origin + p { margin-top: .75rem; font-size: 1.125rem; line-height: 1.6; }
.brew { list-style: none; margin-top: 1rem; }
.brew li { padding: 1rem 0; border-bottom: 2px solid rgba(21, 19, 17, .15); }
.brew .ui { font-size: 17px; }
.brew .mono { margin-top: .25rem; font-weight: 400; }
.pdp-specs > div > .mono a { color: var(--sangue); text-decoration: none; }
.prose { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.65; }
.prose p + p, .prose ul { margin-top: 1rem; }
.prose ul { padding-left: 1.25rem; }
.pdp-related { border-top: 2px solid var(--preto); background: var(--paper-2); padding: 5rem 0; }
.pdp-related .card-tile { background: var(--paper); }
.rel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-bottom: 4px solid var(--preto); padding-bottom: 1rem; margin-bottom: 3rem; }
.rel-head h2 { font-size: clamp(2.2rem, 5vw, 3rem); line-height: .9; }
.rel-head a { white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; }

/* ── Pages: cart, checkout, account ── */
.page-wrap { padding-top: 3rem; padding-bottom: 6rem; }
.page-head { border-bottom: 4px solid var(--preto); padding-bottom: 1rem; margin-bottom: 2.5rem; }
.page-title { font-size: clamp(3rem, 8vw, 6rem); line-height: .86; margin-top: .5rem; }
.page-body { font-size: 1.0625rem; }
.small-print { margin-top: .75rem; text-align: center; font-family: 'Caire Courier', monospace; font-size: 12px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice, .wc-block-components-notice-banner {
  list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 2px solid var(--preto); background: var(--cream);
  font-family: 'Caire Courier', monospace; font-size: 14px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { content: none !important; }
.woocommerce-error { border-color: var(--sangue); color: var(--sangue); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; font-size: 14px; padding: .6rem 1rem; }
.woocommerce-cart .cart-empty { font-size: 1.5rem; font-style: italic; font-family: 'Caire Alegreya', serif; font-weight: 400; border: 0; background: none; padding: 0; }
.woocommerce-cart .cart-empty::after { content: ''; display: block; width: min(320px, 70vw); aspect-ratio: 1; margin-top: 1.5rem; background: url('https://caireroasters.com/images/spots/empty-cup.jpg') center / cover no-repeat; mix-blend-mode: multiply; }
.return-to-shop { margin-top: 2rem; }
table.shop_table { width: 100%; border-collapse: collapse; border: 2px solid var(--preto); background: var(--cream); font-size: 1rem; }
table.shop_table th { font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; text-align: left; padding: .75rem; border-bottom: 2px solid var(--preto); }
table.shop_table td { padding: .75rem; border-top: 1px solid var(--border-brown); vertical-align: middle; }
table.shop_table td.product-name a { font-family: 'Caire Anybody', sans-serif; font-weight: 900; font-stretch: 72%; text-transform: uppercase; font-size: 1.25rem; text-decoration: none; }
table.shop_table td.product-thumbnail img { width: 72px; height: auto; }
table.shop_table .amount { font-family: 'Caire Courier', monospace; font-weight: 700; }
table.shop_table a.remove { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 2px solid var(--preto); text-decoration: none; font-weight: 700; color: var(--preto) !important; }
table.shop_table a.remove:hover { background: var(--sangue); border-color: var(--sangue); color: var(--paper) !important; }
.quantity .qty { width: 4.5rem; padding: .5rem; border: 2px solid var(--preto); background: var(--paper); font-family: 'Caire Courier', monospace; font-size: 1rem; font-weight: 700; text-align: center; }
table.cart td.actions { text-align: right; }
table.cart td.actions .coupon { display: inline-flex; gap: .5rem; float: left; }
table.cart td.actions .button { font-size: 14px; padding: .7rem 1rem; }
.cart-collaterals { margin-top: 2.5rem; display: flex; justify-content: flex-end; }
.cart_totals { width: 100%; max-width: 28rem; }
.cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3, .woocommerce-column__title, .woocommerce-order-details__title { font-family: 'Caire Anybody', sans-serif; font-weight: 900; font-stretch: 72%; text-transform: uppercase; font-size: 1.875rem; border-bottom: 4px solid var(--preto); padding-bottom: .5rem; margin-bottom: 1rem; }
.wc-proceed-to-checkout { margin-top: 1.5rem; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; font-size: 1.125rem; }
@media (max-width: 767px) {
  table.shop_table_responsive thead { display: none; }
  table.shop_table_responsive tr { display: block; border-bottom: 2px solid var(--preto); }
  table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; border-top: 0; }
  table.shop_table_responsive td::before { content: attr(data-title); font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; text-align: left; }
  table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.actions::before { content: none; }
  table.cart td.actions { display: block; }
  table.cart td.actions .coupon { float: none; display: flex; margin-bottom: .75rem; }
  table.cart td.product-thumbnail { display: none; }
}
/* forms */
.woocommerce form .form-row { margin: 0 0 1rem; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: .35rem; font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; }
.woocommerce form .form-row .required { color: var(--sangue); text-decoration: none; }
.woocommerce form .input-text, .woocommerce form select, .woocommerce-page form .input-text, input[type='text'], input[type='email'], input[type='tel'], input[type='password'], input[type='search'], textarea, select {
  width: 100%; border: 2px solid var(--preto); border-radius: 0; background: var(--cream); color: var(--preto);
  padding: .7rem .8rem; font-family: 'Caire Alegreya', Georgia, serif; font-size: 1.0625rem; line-height: 1.3;
}
.select2-container .select2-selection--single { height: auto !important; border: 2px solid var(--preto) !important; border-radius: 0 !important; background: var(--cream) !important; padding: .55rem .4rem; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100% !important; }
.select2-dropdown { border: 2px solid var(--preto) !important; border-radius: 0 !important; }
.select2-results__option--highlighted { background: var(--preto) !important; }
@media (min-width: 768px) {
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - .5rem); float: left; }
  .woocommerce form .form-row-last { float: right; }
  .woocommerce form .form-row-wide { clear: both; }
}
.woocommerce form .form-row::after, .woocommerce-billing-fields__field-wrapper::after, .woocommerce-shipping-fields__field-wrapper::after { content: ''; display: table; clear: both; }
form.checkout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  form.checkout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; column-gap: 3rem; row-gap: 0; }
  form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
  form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
}
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; }
#customer_details .col-2 { margin-top: 2rem; }
#ship-to-different-address { float: none; clear: both; font-size: 1.35rem !important; }
#ship-to-different-address label { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.woocommerce-additional-fields { clear: both; margin-top: 2rem; }
.woocommerce-shipping-fields, .woocommerce-additional-fields__field-wrapper { clear: both; }
#order_review { position: relative; }
#payment { margin-top: 1.5rem; border: 2px solid var(--preto); background: var(--cream); padding: 1.25rem; }
#payment ul.payment_methods { list-style: none; padding: 0 0 1rem; border-bottom: 1px solid var(--border-brown); }
#payment .payment_box { background: var(--paper-2); padding: 1rem; margin-top: .5rem; font-size: 1rem; }
#payment .place-order { padding-top: 1rem; }
#place_order { width: 100%; font-size: 1.125rem; }
.woocommerce-privacy-policy-text { font-size: .9375rem; margin-bottom: 1rem; }
.woocommerce-form-coupon-toggle .woocommerce-info { font-weight: 400; }
.blockUI.blockOverlay { background: rgba(244, 242, 236, .7) !important; }
/* account */
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.woocommerce-MyAccount-navigation a { display: block; border: 2px solid var(--preto); padding: .375rem .75rem; font-family: 'Caire Courier', monospace; font-size: 13px; font-weight: 700; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--preto); color: var(--paper); }
.u-columns { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .u-columns { grid-template-columns: 1fr 1fr; } }
.u-columns h2 { font-family: 'Caire Anybody', sans-serif; font-weight: 900; font-stretch: 72%; text-transform: uppercase; font-size: 2rem; margin-bottom: 1rem; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.woocommerce-pagination a, .woocommerce-pagination span { display: block; border: 2px solid var(--preto); padding: .375rem .75rem; font-family: 'Caire Courier', monospace; font-weight: 700; text-decoration: none; }
.woocommerce-pagination .current { background: var(--preto); color: var(--paper); }

/* ── 404 ── */
.nf { background: var(--preto); color: var(--paper); padding: 5rem 0; }
.nf-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .nf-grid { grid-template-columns: 1fr 1fr; } }
.nf .eyebrow { color: rgba(244, 242, 236, .7); }
.nf-title { margin-top: 1rem; font-size: clamp(5rem, 16vw, 12rem); line-height: .8; }
.nf-lede { margin-top: 1.5rem; max-width: 28rem; font-size: 1.5rem; font-style: italic; line-height: 1.35; color: rgba(244, 242, 236, .9); }
.nf-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.nf-actions .btn-red { box-shadow: 5px -4px 0 var(--paper) !important; }
.nf-art { position: relative; max-width: 32rem; width: 100%; margin: 0 auto; }
.nf-art img { position: relative; width: 100%; height: auto; }

@media (hover: none) { .card:hover .card-block, .card:hover .card-img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* WooCommerce disabled/secondary controls in brand */
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce button.button.disabled { background: var(--preto) !important; color: var(--paper) !important; opacity: .45; padding: .7rem 1rem; }
.woocommerce-cart table.cart td.actions .coupon .input-text { border: 2px solid var(--preto); background: var(--paper); width: 12rem; padding: .6rem .7rem; }
