/* ===== Be-Infusion Label: style.css (shared across pages) ===== */
:root {
  --cream: #ebddc5;
  --cream-2: #f3e9d6;
  --sand: #d9c4a0;
  --tan: #a97c50;
  --brown: #5a3214;
  --espresso: #2e1a0b;
  --line: rgba(90, 50, 20, 0.25);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --pad: clamp(1.25rem, 5vw, 4.5rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-loading,
body.no-scroll {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ol {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  color: var(--brown);
}
h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
em {
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border: 1px solid var(--brown);
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.btn--solid {
  background: var(--brown);
  color: var(--cream);
}
.btn--solid:hover {
  background: var(--espresso);
  transform: translateY(-2px);
}
.btn--ghost:hover {
  background: var(--brown);
  color: var(--cream);
}
.btn--block {
  width: 100%;
}
.link-line {
  display: inline-block;
  border-bottom: 1px solid var(--brown);
  padding-bottom: 2px;
  transition: letter-spacing 0.4s var(--ease);
}
.link-line:hover {
  letter-spacing: 0.08em;
}

/* Intro veil */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--brown);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: transform 1s var(--ease) 0.1s;
}
.intro img {
  width: 200px;
  border-radius: 200px;
}
body.is-ready .intro {
  transform: translateY(-100%);
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fadein {
  to {
    opacity: 1;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition:
    background 0.4s,
    padding 0.4s,
    box-shadow 0.4s;
}
.site-header.is-scrolled {
  background: rgba(235, 221, 197, 0.92);
  backdrop-filter: blur(10px);
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}
.brand img {
  width: 60px;
  border-radius: 200px;
  border: 1px solid white;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--brown);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
}
.nav {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
}
.nav a {
  position: relative;
  padding: 0.3rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-btn {
  position: relative;
  padding: 0.5rem;
}
.cart-btn-count {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}
.cart-btn-count.bump {
  transform: scale(1.5);
}
.menu-btn {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 1.5px;
  background: var(--brown);
  transition:
    transform 0.4s var(--ease),
    top 0.4s var(--ease);
}
.menu-btn span:first-child {
  top: 0.95rem;
}
.menu-btn span:last-child {
  top: 1.4rem;
}
.menu-btn[aria-expanded="true"] span:first-child {
  top: 1.15rem;
  transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  top: 1.15rem;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 7rem var(--pad) 4rem;
  overflow: hidden;
}
.hero-ring {
  position: absolute;
  right: -8vw;
  top: 50%;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  color: var(--brown);
  pointer-events: none;
}
.hero-ring svg:first-child {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.35;
  overflow: visible;
}
.hero-ring circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
body.is-ready .hero-ring circle {
  animation: draw 3s var(--ease) 0.5s forwards;
}
.hero-spark {
  position: absolute;
  left: 18%;
  bottom: 6%;
  width: 2rem;
  opacity: 0;
}
body.is-ready .hero-spark {
  animation: twinkle 3.5s ease-in-out 2.4s infinite;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(0);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(45deg);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-kicker {
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 1s 0.9s;
}
.hero-title {
  font-size: clamp(3.4rem, 9.5vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.3s var(--ease);
}
.hero-title .line:nth-child(2) span {
  font-style: italic;
  transition-delay: 0.15s;
}
.hero-lead {
  max-width: 30rem;
  margin: 1.8rem 0 2.2rem;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 1s 1.1s;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transition: opacity 1s 1.3s;
}
body.is-ready .hero-title .line span {
  transform: none;
  transition-delay: 0.55s;
}
body.is-ready .hero-title .line:nth-child(2) span {
  transition-delay: 0.7s;
}
body.is-ready :is(.hero-kicker, .hero-lead, .hero-cta) {
  opacity: 1;
}
.hero-visuals {
  position: relative;
  height: min(70vh, 620px);
  z-index: 1;
}
.float {
  position: absolute;
  overflow: hidden;
  border-radius: 200px 200px 12px 12px;
  background: linear-gradient(160deg, var(--sand), var(--tan));
  box-shadow: 0 30px 60px -25px rgba(46, 26, 11, 0.5);
  will-change: transform;
}
.float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.float--a {
  width: 52%;
  height: 78%;
  right: 30%;
  top: 0;
  animation: bob 7s ease-in-out infinite;
}
.float--b {
  width: 44%;
  height: 58%;
  right: 0;
  bottom: 0;
  border-radius: 12px 12px 200px 200px;
  animation: bob 8s ease-in-out -3s infinite;
}
@keyframes bob {
  50% {
    translate: 0 -14px;
  }
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  width: 1px;
  height: 3rem;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--brown);
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(260%);
  }
}

/* Ribbon */
.ribbon {
  background: var(--brown);
  color: var(--cream);
  overflow: hidden;
  padding: 1rem 0;
  white-space: nowrap;
}
.ribbon-track {
  display: inline-flex;
  animation: slide 32s linear infinite;
}
.ribbon-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  padding: 0 2rem;
  position: relative;
}
.ribbon-track span::after {
  content: "";
  position: absolute;
  right: -0.25rem;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--sand);
  transform: translateY(-50%) rotate(45deg);
}
.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
}
.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}
.section-head p {
  margin-top: 0.8rem;
  font-size: 1.1rem;
}
.section-head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.section-foot {
  margin-top: 3.5rem;
  text-align: center;
}

/* Collection tiles */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--sand), var(--tan));
}
.tile:nth-child(odd) {
  margin-top: 2.5rem;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 26, 11, 0.75), transparent 55%);
}
.tile:hover img {
  transform: scale(1.08);
}
.tile-label {
  position: absolute;
  z-index: 2;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.3rem;
  color: var(--cream-2);
}
.tile-label h3 {
  color: inherit;
  font-size: 1.7rem;
}
.tile-label span {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  border-bottom: 1px solid currentColor;
  transition: padding 0.4s var(--ease);
}
.tile:hover .tile-label span {
  padding-right: 1.2rem;
}

/* Filter + product grid */
.filter {
  display: flex;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem;
}
.filter-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  transition:
    background 0.3s,
    color 0.3s;
}
.filter-btn.is-active {
  background: var(--brown);
  color: var(--cream);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.25rem;
}
.card {
  animation: cardin 0.7s var(--ease) both;
}
@keyframes cardin {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
.card-img {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--cream-2), var(--sand));
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.card:hover .card-img img {
  transform: scale(1.07);
}
.card-add {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.75rem;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.9rem;
  transform: translateY(140%);
  transition:
    transform 0.5s var(--ease),
    background 0.3s,
    color 0.3s;
}
.card:hover .card-add,
.card-add:focus-visible {
  transform: none;
}
.card-add:hover {
  background: var(--brown);
  color: var(--cream);
}
.card-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.78rem;
}
.card-info {
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.card-info h3 {
  font-size: 1.4rem;
}
.card-meta {
  font-size: 0.88rem;
  opacity: 0.8;
}
.card-price {
  font-family: var(--serif);
  font-size: 1.3rem;
  white-space: nowrap;
}

/* Statement */
.statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--brown);
  color: var(--cream);
}
.statement-media {
  min-height: 34rem;
  background: linear-gradient(160deg, var(--tan), var(--espresso));
}
.statement-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.statement-body {
  padding: clamp(3rem, 7vw, 7rem) var(--pad);
  align-self: center;
}
.statement h2 {
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.statement p {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.statement .link-line {
  border-color: var(--cream);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.steps li {
  border-top: 1px solid var(--brown);
  padding-top: 1.4rem;
}
.steps-n {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--brown);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.steps h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

/* Join */
.join {
  text-align: center;
  background: var(--cream-2);
}
.join p {
  margin-top: 0.7rem;
  font-size: 1.1rem;
}
.join-form {
  display: flex;
  gap: 0.6rem;
  max-width: 32rem;
  margin: 2rem auto 0;
}
.join-form input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--brown);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  color: var(--brown);
}
.join-form input::placeholder {
  color: var(--tan);
}
.join-msg {
  min-height: 1.5rem;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: var(--sand);
  padding: 4rem var(--pad) 2rem;
}
.site-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer .brand-mark {
  border-color: var(--sand);
  margin-bottom: 1rem;
  color: var(--cream);
}
.site-footer-brand img {
  width: 70px;
  border-radius: 100px;
}
.site-footer-brand p {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--cream);
}
.site-footer .tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--sand);
}
.site-footer h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.site-footer nav a,
.site-footer div > a {
  display: block;
  padding: 0.2rem 0;
  transition:
    color 0.3s,
    padding 0.3s;
}
.site-footer a:hover {
  color: var(--cream);
  padding-left: 0.4rem;
}
.site-footer-legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(217, 196, 160, 0.25);
  font-size: 0.85rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-israel {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(217, 196, 160, 0.25);
  font-size: 0.85rem;
  text-align: center;
}

/* Basket drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(46, 26, 11, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0.4s;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(26rem, 100%);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}
.drawer.is-open {
  transform: none;
}
.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 2rem;
}
.drawer-close {
  font-size: 2rem;
  line-height: 1;
  padding: 0 0.4rem;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.drawer-empty {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}
.line-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.line-item img,
.line-item-ph {
  width: 4.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 6px;
  background: var(--sand);
}
.line-item h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}
.line-item small {
  display: block;
  opacity: 0.75;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.3rem;
}
.qty button {
  width: 1.7rem;
  height: 1.7rem;
  font-size: 1.1rem;
}
.line-item-rm {
  font-size: 0.8rem;
  text-decoration: underline;
  opacity: 0.7;
}
.drawer-foot {
  padding: 1.4rem 1.5rem;
  border-top: 1px solid var(--line);
}
.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
.drawer-total strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(46, 26, 11, 0.6);
  transition: transform 0.4s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--brown);
  animation: ping 2.6s ease-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
}
@keyframes ping {
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .menu-btn {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    background: var(--cream);
    font-family: var(--serif);
    font-size: 2.2rem;
    clip-path: circle(0 at 90% 5%);
    transition: clip-path 0.8s var(--ease);
  }
  .nav.is-open {
    clip-path: circle(150% at 90% 5%);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 6.5rem;
  }
  .hero-visuals {
    height: 52vh;
    margin-top: 2rem;
  }
  .hero-ring {
    width: 110vw;
    right: -40vw;
  }
  .collections-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .statement,
  .steps {
    grid-template-columns: 1fr;
  }
  .statement-media {
    min-height: 22rem;
  }
  .site-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .card-add {
    transform: none;
    position: static;
    margin-top: 0.6rem;
    border: 1px solid var(--line);
    width: 100%;
  }

  .site-footer-legal {
    font-size: 0.7rem;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-israel {
    font-size: 0.7rem;
  }
}
@media (max-width: 520px) {
  .brand-text {
    font-size: 1.1rem;
  }
  .tile:nth-child(odd) {
    margin-top: 0;
  }
  .join-form {
    flex-direction: column;
  }
  .card-info {
    flex-direction: column;
    gap: 0.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-ring circle {
    stroke-dashoffset: 0;
  }
}

/* ===== Inner pages + shop ===== */
.page-hero {
  padding: 9.5rem var(--pad) 2.5rem;
  max-width: 60rem;
}
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin-top: 1rem;
  font-size: 1.15rem;
  max-width: 34rem;
}
.shop {
  padding: 1rem var(--pad) 6rem;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  padding: 1rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 3.9rem;
  z-index: 20;
  background: var(--cream);
}
.search {
  flex: 1 1 15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 1.1rem;
  transition: border-color 0.3s;
}
.search:focus-within {
  border-color: var(--brown);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.8rem 0;
  font: inherit;
  color: var(--brown);
  outline: 0;
}
.sort select {
  appearance: none;
  padding: 0.75rem 2.2rem 0.75rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235A3214' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 1rem center;
  font: inherit;
  color: var(--brown);
  cursor: pointer;
}
.result-count {
  margin: 1.4rem 0 1.6rem;
  font-size: 0.95rem;
  opacity: 0.8;
}
.empty {
  text-align: center;
  padding: 4rem 0;
}
.empty p {
  margin: 0.8rem 0 1.6rem;
}
.empty[hidden] {
  display: none;
}
.card-img {
  cursor: zoom-in;
}

/* Quick view modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  transition: visibility 0s 0.5s;
}
.modal.is-open {
  visibility: visible;
  transition-delay: 0s;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 26, 11, 0.6);
  opacity: 0;
  transition: opacity 0.5s;
}
.modal.is-open .modal-backdrop {
  opacity: 1;
}
.modal-panel {
  position: relative;
  width: min(58rem, 100%);
  max-height: 92vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}
.modal.is-open .modal-panel {
  opacity: 1;
  transform: none;
}
.modal-media {
  min-height: 22rem;
  background: linear-gradient(160deg, var(--sand), var(--tan));
}
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}
.modal-body h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.modal-price {
  font-family: var(--serif);
  font-size: 1.9rem;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.8rem;
}
.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  z-index: 2;
  font-size: 2rem;
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--cream);
}
@media (max-width: 760px) {
  .toolbar {
    position: static;
  }
  .modal-panel {
    grid-template-columns: 1fr;
  }
  .modal-media {
    min-height: 16rem;
    max-height: 40vh;
  }
  .modal-body {
    padding: 1.6rem 1.4rem 2rem;
  }
}
[hidden] {
  display: none !important;
}

/* ===== Order page ===== */
.order {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 1rem var(--pad) 6rem;
  align-items: start;
}
.order-form fieldset {
  border: 0;
  margin-bottom: 2.4rem;
  display: grid;
  gap: 1.1rem;
}
.order-form legend {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding: 0;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.95rem;
}
.field label small {
  opacity: 0.7;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-2);
  font: inherit;
  color: var(--brown);
  resize: vertical;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(90, 50, 20, 0.12);
}
.field.has-error input,
.field.has-error textarea {
  border-color: #9b2c1d;
}
.field-err {
  min-height: 1.1rem;
  font-size: 0.85rem;
  color: #9b2c1d;
}
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.choice-opt {
  position: relative;
  cursor: pointer;
}
.choice-opt input {
  position: absolute;
  opacity: 0;
}
.choice-opt span {
  display: grid;
  gap: 0.1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.choice-opt small {
  opacity: 0.75;
}
.choice-opt input:checked + span {
  border-color: var(--brown);
  background: var(--cream-2);
  box-shadow: inset 0 0 0 1px var(--brown);
}
.choice-opt input:focus-visible + span {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}
#addressGroup {
  display: grid;
  gap: 1.1rem;
}
.btn--lg {
  padding: 1.15rem 2rem;
  font-size: 1.05rem;
}
.order-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  opacity: 0.8;
}
.order-summary {
  position: sticky;
  top: 6rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream-2);
}
.order-summary h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.order-summary .drawer-total {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.order-empty,
.order-done {
  text-align: center;
  padding: 3rem var(--pad) 8rem;
  max-width: 40rem;
  margin: 0 auto;
}
.order-empty p,
.order-done p {
  margin: 1rem 0 1.8rem;
  font-size: 1.1rem;
}
.order-done-mark {
  width: 5rem;
  margin: 0 auto 1.5rem;
  color: var(--brown);
}
.order-done-mark circle,
.order-done-mark path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.2s var(--ease) 0.1s forwards;
}
.order-done-mark path {
  animation-delay: 0.9s;
  animation-duration: 0.7s;
}
.order-done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
@media (max-width: 960px) {
  .order {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
    order: -1;
  }
}
@media (max-width: 520px) {
  .choice {
    grid-template-columns: 1fr;
  }
}

/* ===== About page ===== */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 11rem var(--pad) 6rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.about-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.about-hero-ring {
  position: absolute;
  right: -12vw;
  top: 50%;
  width: min(60vw, 640px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--brown);
}
.about-hero-ring svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.35;
  overflow: visible;
}
.about-hero-ring circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 3.2s var(--ease) 0.3s forwards;
}
.statement--rev .statement-media {
  order: 2;
}
.statement p + p {
  margin-top: -0.8rem;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.principles article {
  border-top: 1px solid var(--brown);
  padding-top: 1.6rem;
}
.principles svg {
  width: 2.6rem;
  margin-bottom: 1.1rem;
  color: var(--tan);
}
.principles h3 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}
.cta-band {
  text-align: center;
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
  background: var(--cream-2);
}
.cta-band p {
  margin: 0.8rem 0 2rem;
  font-size: 1.1rem;
}
.cta-band-actions {
  justify-content: center;
  opacity: 1;
}
@media (max-width: 960px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .statement--rev .statement-media {
    order: 0;
  }
  .about-hero {
    padding-top: 8rem;
    min-height: auto;
  }
}

/* ===== Contact page ===== */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 1rem var(--pad) 4rem;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 1.1rem;
}
.contact-form h2 {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}
.field select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-2);
  font: inherit;
  color: var(--brown);
}
.field select:focus {
  outline: 0;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(90, 50, 20, 0.12);
}
.contact-info {
  display: grid;
  gap: 1rem;
}
.info-card {
  display: block;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream-2);
  transition:
    transform 0.5s var(--ease),
    border-color 0.3s,
    background 0.3s;
}
a.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--brown);
  background: var(--cream);
}
.info-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}
.info-card p {
  margin-bottom: 0.9rem;
}
.info-card--plain p {
  margin-bottom: 0;
}
.faq-list {
  max-width: 52rem;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.8rem;
  transition: transform 0.5s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq details p {
  padding: 0 3rem 1.6rem 0;
  max-width: 40rem;
  animation: cardin 0.5s var(--ease);
}
@media (max-width: 960px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Live products: loading, errors, sold out ===== */
.grid-note {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 1rem;
  font-size: 1.05rem;
}
.grid-note h3 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}
.card.is-soldout .card-img img {
  filter: grayscale(0.7);
  opacity: 0.65;
}
.card.is-soldout .card-tag {
  background: var(--espresso);
}
.card.is-soldout .card-add,
.card-add:disabled {
  cursor: not-allowed;
  opacity: 0.85;
}
.card.is-soldout .card-add:hover {
  background: var(--cream);
  color: var(--brown);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.order-notice {
  margin: 0 var(--pad) 1.5rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--tan);
  border-radius: 10px;
  background: var(--cream-2);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

