/* Ohana & Berner Food Products — site styles
   Brand palette pulled from the logo */
:root {
  --red: #E8252B;
  --red-dark: #C41C22;
  --red-soft: #FDE8E6;
  --brown: #A0522D;
  --brown-soft: #F5E9DF;
  --green: #8DC63F;
  --green-dark: #4F7419;
  --green-soft: #EEF6E1;
  --ink: #241D1A;
  --ink-soft: #4A3F39;
  --ink-mute: #6F625A;
  --cream: #FFFCF7;
  --peach: #FFF3E5;
  --sand: #F7F1E8;
  --line: #EDE3D6;
  --white: #FFFFFF;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(36, 29, 26, 0.06), 0 4px 12px rgba(36, 29, 26, 0.05);
  --shadow-md: 0 2px 4px rgba(36, 29, 26, 0.04), 0 16px 40px rgba(120, 60, 30, 0.12);
  --shadow-lg: 0 30px 70px rgba(120, 60, 30, 0.18);
  --font-display: 'Nunito', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); transition: color .2s; }
a:hover { color: var(--red); }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-weight: 900; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-weight: 900; font-size: clamp(30px, 3.8vw, 44px); }
h3 { font-weight: 800; font-size: 20px; }
p { margin: 0; }
ul { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 104px; }
@media (max-width: 720px) { .section { padding-block: 72px; } .container { padding-inline: 18px; } }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 18px; color: var(--ink-soft); }
.section-head { max-width: 700px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head.center .kicker { align-self: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(232, 37, 43, 0.28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 12px 28px rgba(232, 37, 43, 0.36); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); align-self: flex-start; margin-top: 8px; }
.btn-light:hover { background: var(--green); color: var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green); outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 247, 0.82);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(36, 29, 26, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: var(--radius-pill); transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--peach); color: var(--red); }
.nav .btn { margin-left: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0;
}
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .brand img { height: 40px; }
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 18px 20px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(36, 29, 26, 0.1);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav .btn { margin: 8px 0 0; min-height: 52px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(232, 37, 43, 0.10), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(141, 198, 63, 0.16), transparent 60%),
    linear-gradient(180deg, var(--peach), var(--cream));
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding-block: 72px 96px; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-block: 48px 72px; } }
.hero-copy { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hero h1 { color: var(--ink); }
.hl { color: var(--red); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em; z-index: -1;
  background: var(--green); opacity: .45; border-radius: 4px;
}
.hero-lead { font-size: 19px; color: var(--ink-soft); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.hero-proof { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { color: #fff; background: var(--green-dark); border-radius: 50%; padding: 3px; flex: none; }

.hero-visual {
  position: relative; min-width: 0;
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px;
  aspect-ratio: 1.1 / 1;
}
.tile {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-xl);
  background: #fff; box-shadow: var(--shadow-md);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile-main { grid-row: 1 / 3; }
.tile-main figcaption { top: 12px; bottom: auto; }
.tile-main img { object-position: center 30%; }
.tile-a img { object-position: center 12%; }
.tile-b img { object-position: 22% 70%; }
.tile figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.tile figcaption strong, .tile figcaption span {
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: var(--radius-pill); font-size: 13px; box-shadow: var(--shadow-sm);
}
.tile figcaption strong { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.tile figcaption span { margin-top: 6px; color: var(--ink-mute); font-weight: 600; }
.hero-badge {
  position: absolute; left: -18px; bottom: -24px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 14px 20px 14px 14px; border-radius: 18px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.hero-badge small { font-size: 13px; color: var(--ink-mute); }
.badge-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .hero-badge { left: 12px; } }
@media (max-width: 520px) { .hero-badge { display: none; } }
@media (max-width: 520px) { .hero-visual { gap: 10px; } .tile { border-radius: 20px; } .tile figcaption span { display: none; } }

/* Brands strip */
.brands { border-block: 1px solid var(--line); background: #fff; }
.brands-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; padding-block: 26px; }
.brands-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.brands-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.brands-list li { font-family: var(--font-display); font-weight: 900; font-size: 21px; color: var(--ink-soft); opacity: .8; }

/* Products */
.products { background: var(--sand); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }
.product {
  background: #fff; border-radius: var(--radius-xl); overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-photo {
  position: relative; height: 230px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product-photo img { transform: scale(1.05); }
.product-photo-split img { width: 50%; min-width: 0; }
.product-photo-split img:first-child { object-position: center 12%; border-right: 2px solid #fff; }
.product-photo-split.is-white { background: #fff; }
.product-photo-split.is-white img { object-fit: contain; padding: 18px 8px; }
.product-photo-split.is-white img:first-child { border-right-color: var(--line); }
.photo-empty {
  color: var(--brown);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 50%),
    repeating-linear-gradient(45deg, var(--brown-soft) 0 14px, #FAF3EC 14px 28px);
}
.chip {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #fff; box-shadow: var(--shadow-sm);
}
.chip-red { color: var(--red); } .chip-brown { color: var(--brown); } .chip-green { color: var(--green-dark); }
.product-body { flex: 1; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.product h3 { font-weight: 900; font-size: 23px; }
.product ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft); font-size: 15px; }
.product li { position: relative; padding-left: 22px; }
.product li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.product strong { color: var(--ink); }
.product-cta {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; color: var(--red); text-decoration: none;
}
.product-cta span { transition: transform .2s var(--ease); }
.product-cta:hover span { transform: translateX(4px); }

/* Brand catalog */
.catalog { background: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 32px; padding-bottom: 6px; }
@media (max-width: 720px) { .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  padding: 10px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--cream);
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink-soft); color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.cat-item {
  min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: pop .35s var(--ease);
}
.cat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-item[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.cat-photo { aspect-ratio: 1 / 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.cat-photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s var(--ease); }
.cat-item:hover .cat-photo img { transform: scale(1.05); }
.cat-photo.is-poster img { object-fit: cover; object-position: 0 4%; padding: 0; }
.cat-photo.is-bulk img { padding: 8px; }
.cat-photo.is-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--brown); font-size: 13px; font-weight: 600;
  background: repeating-linear-gradient(45deg, var(--brown-soft) 0 14px, #FAF3EC 14px 28px);
}
.cat-info { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.cat-brand { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.cat-info h3 { font-size: 17px; font-weight: 800; }
.cat-info p { font-size: 14px; color: var(--ink-mute); }
@media (max-width: 720px) { .cat-info { padding: 12px; } .cat-info h3 { font-size: 15.5px; } .cat-info p { font-size: 13px; } }
.catalog-foot {
  margin-top: 36px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--peach);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.catalog-foot p { font-family: var(--font-display); font-weight: 800; font-size: 20px; }

/* About */
.about-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-inner { grid-template-columns: 1fr; gap: 40px; } }
.about-copy { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tags span { background: #fff; border: 1px solid var(--line); color: var(--brown); font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: var(--radius-pill); }
.about-statements { min-width: 0; display: grid; gap: 20px; }
.statement {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-xl); padding: 32px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-md);
}
.statement::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.statement.mission { background: linear-gradient(135deg, var(--red), #C9161C); }
.statement.vision { background: linear-gradient(135deg, #5C8A1F, var(--green-dark)); }
.statement-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.18); display: grid; place-items: center; }
.statement h3 { font-weight: 900; font-size: 23px; }
.statement p { font-size: 16px; line-height: 1.65; opacity: .95; }

/* Why us */
.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.why {
  min-width: 0; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.why h3 { font-size: 19px; }
.why p { font-size: 15px; color: var(--ink-soft); }
.bg-red { background: var(--red); } .bg-brown { background: var(--brown); } .bg-green { background: var(--green-dark); } .bg-ink { background: var(--ink); }

/* Clients */
.clients { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.clients::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 0% 0%, rgba(232, 37, 43, 0.22), transparent 60%),
              radial-gradient(40% 70% at 100% 100%, rgba(141, 198, 63, 0.16), transparent 60%);
}
.clients-inner { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .clients-inner { grid-template-columns: 1fr; gap: 40px; } }
.clients .section-head { margin-bottom: 0; }
.clients .kicker { color: var(--green); }
.clients .lead { color: #D8CFC6; }
.client-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .client-grid { grid-template-columns: 1fr; } }
.client {
  min-width: 0; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.client:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.22); transform: translateY(-3px); }
.client svg { color: var(--green); }
.client h3 { font-size: 18px; color: #FFD7B0; }
.client p { font-size: 14.5px; color: #D8CFC6; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--peach), var(--cream)); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; gap: 40px; } }
.contact-copy { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 12px; }
.contact-list li {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 18px;
}
.contact-list li > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.contact-list small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.contact-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--red); }

.quote-form {
  min-width: 0; background: #fff; border-radius: var(--radius-xl); padding: 36px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 520px) { .quote-form { padding: 24px 20px; } }
.form-head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 6px; }
.form-head h3 { font-size: 24px; font-weight: 900; }
.form-head p { font-size: 14px; color: var(--ink-mute); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input, .field select { height: 50px; padding-block: 0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #D9CBBB; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(232, 37, 43, 0.12);
}
.field.invalid input { border-color: var(--red); background: var(--red-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.form-status { font-size: 15px; font-weight: 600; color: var(--green-dark); text-align: center; min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--ink); color: #D8CFC6; padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer-brand img { height: 56px; width: auto; align-self: flex-start; background: #fff; padding: 10px 14px; border-radius: 14px; box-sizing: content-box; }
.footer-brand p { font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h4 { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer-col a { color: #D8CFC6; text-decoration: none; align-self: flex-start; }
.footer-col a:hover { color: var(--green); }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 22px; font-size: 14px; color: #A89A90; }

/* Floating quote button on phones */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; justify-content: center; min-height: 54px;
  border-radius: var(--radius-pill); background: var(--red); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 14px 30px rgba(232, 37, 43, 0.4);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.mobile-cta:hover { color: #fff; }
.mobile-cta.show { transform: none; }
@media (max-width: 720px) { .mobile-cta { display: flex; } .site-footer { padding-bottom: 80px; } }

/* Catalog toolbar, search, quick view, nav highlight, back to top */
.nav a.active:not(.btn) { color: var(--red); background: var(--red-soft); }
.brand-chip { all: unset; cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.brand-chip:hover { color: var(--red); border-bottom-color: var(--red); }

.cat-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: -20px 0 18px; }
.filters { margin-top: 0; }
.search { position: relative; flex: 1 1 320px; max-width: 520px; }
.search > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-mute); pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 48px 0 46px; border-radius: var(--radius-pill); border: 1.5px solid var(--line);
  background: var(--cream); font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(232, 37, 43, 0.12); }
.search-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--sand); color: var(--ink-soft); display: grid; place-items: center; cursor: pointer;
}
.search-clear:hover { background: var(--line); color: var(--ink); }
.search-clear[hidden] { display: none; }
.cat-count { font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.filter .count { margin-left: 6px; font-size: 12px; font-weight: 700; opacity: .55; }
.filter.active .count { opacity: .8; }

.cat-item { position: relative; cursor: pointer; }
.cat-item:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.cat-photo { position: relative; }
.cat-photo::after {
  content: "Quick view"; position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(36, 29, 26, 0.82); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease); pointer-events: none;
}
@media (hover: hover) { .cat-item:hover .cat-photo::after, .cat-item:focus-visible .cat-photo::after { opacity: 1; transform: none; } }
.cat-empty {
  margin-top: 8px; padding: 40px 24px; text-align: center; color: var(--ink-soft); font-size: 16px;
  border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
}
.cat-empty[hidden] { display: none; }

.qv { border: 0; padding: 0; background: transparent; width: 100%; max-width: min(900px, calc(100vw - 32px)); }
.qv::backdrop { background: rgba(36, 29, 26, 0.6); backdrop-filter: blur(4px); }
.qv[open] { animation: pop .3s var(--ease); }
.qv-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.qv-photo { aspect-ratio: 1 / 1; max-height: min(72vh, 640px); background: var(--cream); border-right: 1px solid var(--line); }
.qv-photo img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.qv-photo.is-poster { aspect-ratio: 5 / 7; }
.qv-photo.is-poster img { padding: 0; }
.qv-body { padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; }
.qv-body h3 { font-size: 26px; font-weight: 900; }
.qv-desc { font-size: 16px; color: var(--ink-soft); }
.qv-note { margin-top: 6px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--peach); font-size: 14px; color: var(--ink-mute); }
.qv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 18px; }
.qv-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
}
.qv-close:hover { background: var(--red); color: #fff; }
body.qv-open { overflow: hidden; }
@media (max-width: 720px) {
  .qv-inner { grid-template-columns: 1fr; }
  .qv-photo { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .qv-photo.is-poster { aspect-ratio: 3 / 4; max-height: 56vh; }
  .qv-body { padding: 24px 20px 28px; }
  .qv-body h3 { font-size: 22px; }
}

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s, background .2s, color .2s;
}
.to-top:hover { background: var(--ink); color: #fff; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 720px) { .to-top { right: 14px; bottom: 86px; width: 44px; height: 44px; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
