/* JOMARI MODA — trilho de ganchos */
:root { --tile: #F3F1EC; --hook: #8D9499; --red: #A32020; --fat: #E7D7C1; --grout: #2A2A28; }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body.skin-hook { margin: 0; background: var(--tile); color: var(--grout); font-family: "Spectral", serif; font-size: 1.08rem; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--grout); }
h1, h2, h3, .brand-name { font-family: "Archivo", sans-serif; font-weight: 700; line-height: 1.05; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 0 0 0.4rem; }
.brand-name { font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1; }
.skip-link { position: absolute; left: 0.5rem; top: -4rem; background: #fff; z-index: 90; padding: 0.4rem 0.6rem; }
.skip-link:focus { top: 0.4rem; }
[data-site-header], main, [data-site-footer], .hook-rail, .hook-item { min-width: 0; }
.hook-wrap { width: min(1080px, calc(100% - 1.4rem)); margin-inline: auto; min-width: 0; }
.hook-kicker { margin: 0 0 0.3rem; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; color: var(--red); font-weight: 700; font-family: "Archivo", sans-serif; }
.hook-header { position: relative; background-color: var(--tile); background-image: linear-gradient(var(--grout) 1px, transparent 1px), linear-gradient(90deg, var(--grout) 1px, transparent 1px); background-size: 92px 46px; border-bottom: 8px solid var(--hook); }
.hook-bar { display: flex; align-items: center; gap: 0.7rem; min-width: 0; padding: 0.7rem 0.8rem 0.85rem; }
.hook-brand { text-decoration: none; color: var(--grout); background: rgba(243,241,236,0.92); padding: 0.2rem 0.4rem; }
.site-nav { margin-left: auto; min-width: 0; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 0.55rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--grout); text-decoration: none; font-family: "Archivo", sans-serif; font-weight: 700; background: rgba(243,241,236,0.92); padding: 0.25rem 0.4rem; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.15rem; color: var(--red); }
.menu-toggle { display: none; font-family: "Archivo", sans-serif; background: var(--tile); border: 1px solid var(--grout); padding: 0.3rem 0.55rem; }
.cart-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--grout); text-decoration: none; font-family: "Archivo", sans-serif; font-weight: 700; background: rgba(243,241,236,0.92); padding: 0.25rem 0.4rem; flex: 0 0 auto; }
.cart-link strong { display: inline-flex; min-width: 1.35rem; height: 1.35rem; align-items: center; justify-content: center; background: var(--red); color: #fff; font-size: 0.72rem; }
.hook-edge { position: absolute; left: 0; right: 0; bottom: -22px; height: 22px; display: flex; justify-content: space-evenly; pointer-events: none; }
.hook-s { width: 16px; height: 28px; background: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 36'><path d='M15 4c0 6-10 6-10 12s10 6 10 12' fill='none' stroke='%238D9499' stroke-width='3' stroke-linecap='round'/></svg>"); }
.hook-hero { background: var(--tile); background-image: linear-gradient(var(--grout) 1px, transparent 1px), linear-gradient(90deg, var(--grout) 1px, transparent 1px); background-size: 72px 72px; padding: 1.4rem 0.6rem 0.4rem; overflow: hidden; }
.hook-hero-row { display: flex; gap: 1rem; justify-content: center; }
.hook-pagehead { padding: 1.4rem 0 0.3rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.3rem 0 0.6rem; }
.filters button { font-family: "Archivo", sans-serif; background: var(--tile); color: var(--grout); border: 1px solid var(--grout); padding: 0.3rem 0.55rem; cursor: pointer; }
.filters button.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.hook-rail { overflow-x: auto; max-width: 100%; min-width: 0; background-color: var(--tile); background-image: linear-gradient(var(--grout) 1px, transparent 1px), linear-gradient(90deg, var(--grout) 1px, transparent 1px); background-size: 64px 64px; border-top: 6px solid var(--hook); padding: 0.4rem 0.6rem 1rem; }
.hook-row { display: flex; gap: 0.9rem; width: max-content; min-width: 100%; align-items: flex-start; }
.hook-item { width: 132px; flex: 0 0 132px; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hook-svg { width: 22px; height: 42px; display: block; margin-bottom: -12px; position: relative; z-index: 2; }
.hook-photo { display: block; width: 118px; height: 146px; overflow: hidden; background: var(--fat); border-left: 1px solid var(--grout); border-right: 1px solid var(--grout); }
.hook-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hook-tag { width: 118px; background: #fff; border: 1px solid var(--grout); border-top: 0; text-align: center; min-width: 0; }
.hook-tag h3 { margin: 0.15rem 0.3rem 0; font-size: 0.92rem; }
.hook-tag h3 a { color: var(--grout); text-decoration: none; }
.hook-cat { margin: 0.25rem 0.3rem 0; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: "Archivo", sans-serif; }
.hook-price { margin: 0.1rem 0.3rem 0.35rem; color: var(--red); font-family: "Archivo", sans-serif; font-weight: 700; }
.hook-tag .btn { margin: 0 0.3rem 0.4rem; }
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; font-family: "Archivo", sans-serif; font-weight: 700; background: var(--grout); color: var(--tile); border: 0; padding: 0.4rem 0.5rem; text-decoration: none; cursor: pointer; margin: 0 0.35rem 0.45rem; }
.btn:hover { background: var(--red); }
.hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.product-detail, .cart-layout, .checkout-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-bottom: 1.4rem; }
.hook-stage { background: var(--tile); padding: 1rem; display: flex; justify-content: center; }
.hook-stage .hook-item { width: min(100%, 280px); }
.hook-stage .hook-photo { height: 280px; }
.field, select.field, textarea.field { width: 100%; min-width: 0; font: inherit; color: var(--grout); background: #fff; border: 1px solid var(--grout); padding: 0.6rem 0.7rem; }
textarea.field { min-height: 8rem; }
label { display: block; font-weight: 700; font-family: "Archivo", sans-serif; margin: 0.55rem 0 0.2rem; }
.field-hint { font-size: 0.92rem; }
.checkbox-line { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.45rem 0; font-weight: 400; }
.checkbox-line input { margin-top: 0.25rem; flex: 0 0 auto; }
.pay-option { display: flex; gap: 0.5rem; align-items: flex-start; border: 1px solid var(--grout); background: #fff; padding: 0.6rem; margin: 0.3rem 0; }
.pay-option:has(input:checked) { box-shadow: inset 4px 0 0 var(--red); }
.form-feedback { background: var(--grout); color: var(--tile); padding: 0.7rem; margin-top: 0.6rem; }
.hook-side { background: #fff; border: 1px solid var(--grout); padding: 0.8rem; min-width: 0; }
.summary-row { display: flex; justify-content: space-between; gap: 0.5rem; margin: 0.3rem 0; }
.hook-cart-item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid var(--fat); }
.hook-cart-item .hook-photo { height: 90px; }
.qty { display: inline-flex; gap: 0.3rem; align-items: center; }
.qty button, .remove-btn { font: inherit; background: var(--tile); border: 1px solid var(--grout); min-width: 2rem; min-height: 2rem; cursor: pointer; }
.legal-page { background: #fff; color: var(--grout); }
.legal-page, .legal-page .legal-article, .legal-page .legal-nav { font-family: "Archivo", sans-serif; color: var(--grout); }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1rem 0 2rem; }
.legal-nav { position: static; }
.legal-nav a { display: block; margin: 0.3rem 0; text-decoration: underline; }
.legal-nav a[aria-current="page"] { font-weight: 700; }
.legal-article { max-width: 68ch; min-width: 0; }
.legal-article h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.hook-facts { list-style: none; padding: 0; }
.hook-extra { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
.hook-extra img { width: 100%; height: 150px; object-fit: cover; }
.hook-footer { background: var(--grout); color: var(--tile); padding: 1rem 0 0.7rem; }
.hook-footer a { color: var(--tile); text-decoration: underline; }
.hook-news { background: var(--tile); color: var(--grout); padding: 0.8rem; margin-bottom: 0.8rem; }
.hook-news a { color: var(--red); }
.hook-footgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
.hook-footgrid a, .hook-footgrid p { display: block; margin: 0.2rem 0; }
.footer-copy { margin-top: 0.7rem; padding-top: 0.5rem; border-top: 1px solid rgba(243,241,236,0.3); }
.toast { position: fixed; z-index: 80; left: 1rem; right: 1rem; bottom: 1rem; margin-inline: auto; width: fit-content; max-width: calc(100vw - 2rem); background: var(--red); color: #fff; padding: 0.65rem 0.8rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (min-width: 860px) {
  .product-detail, .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .legal-wrap { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
  .hook-footgrid { grid-template-columns: 1.3fr 1fr 1fr; }
  .hook-extra { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .hook-bar { flex-wrap: wrap; }
  .hook-brand { order: 1; }
  .menu-toggle { order: 2; }
  .cart-link { order: 3; }
  .site-nav { display: none; order: 4; flex: 1 0 100%; margin-left: 0; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
}
