/* =============================================================
   Sonrisa Ora — website styles
   Colours & type from the Sonrisa Ora Brand Style Guide 2026
   ============================================================= */
:root {
  --ivory: #f8f4ea;
  --sand: #e5d4b5;
  --taupe: #b7a39a;
  --mauve: #a78b91;
  --muted-plum: #8a5964;
  --deep-plum: #6d3a42;
  --mulberry: #512638;
  --espresso: #35192e;
  --gold: #c6a15b;

  --ivory-2: #f2ecdf;            /* a touch deeper than ivory, for cards */
  --line: rgba(53, 25, 46, 0.14);
  --text-soft: #6e4a55;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Garamond, Georgia, serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
main { flex: 1; width: 100%; }
[hidden] { display: none !important; }
[data-icon] { display: inline-flex; }
[data-icon] svg { display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}
.kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-plum);
}
.kicker::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-top: 0.75rem;
  background: var(--gold);
}
.center .kicker::after, .kicker.center::after { margin-inline: auto; }
.center { text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.lead { font-size: 1.3rem; color: var(--text-soft); margin: 0.9rem 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.75rem 2rem;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--mulberry); border-color: var(--mulberry); }
.btn-outline { background: transparent; color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.btn-light { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s; }
.link-arrow:hover svg { transform: translateX(4px); }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--espresso);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.icon-btn:hover { color: var(--deep-plum); background: rgba(198, 161, 91, 0.14); }
.icon-btn svg { width: 22px; height: 22px; }
.badge {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--espresso);
  color: var(--ivory);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 36px;
}
.announce p { margin: 0; padding: 0.35rem 4.5rem; text-align: center; }
.lang {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  display: flex;
  gap: 0.15rem;
  align-items: center;
}
.lang button {
  padding: 0.2rem 0.35rem;
  border: 0;
  background: none;
  color: rgba(248, 244, 234, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.lang span { color: rgba(248, 244, 234, 0.35); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
/* Header spans the full width so the logo sits close to the left edge */
.site-header .wrap, .announce .wrap { max-width: none; padding-inline: clamp(1rem, 2.5vw, 2rem); }
.header-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* logo | menu (exactly centred) | icons */
  align-items: center;
  column-gap: 2rem;
  height: var(--header-h);
}
.header-group { display: flex; align-items: center; gap: 0.35rem; }
.header-group.right { grid-column: 3; justify-self: end; margin-right: -10px; }
.header-divider { width: 1px; height: 24px; margin: 0 0.4rem; background: var(--line); }
.logo { grid-column: 1; justify-self: start; display: block; line-height: 0; }
.logo img { height: 58px; width: auto; }

.main-nav { grid-column: 2; align-self: stretch; }
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav li { display: flex; }
.main-nav a {
  display: flex;
  align-items: center;
  padding: 0 0.1rem;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  border-top: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
@media (max-width: 1100px) {
  .main-nav { display: none; }
}

/* Search (covers the whole icon row) */
.searchbar {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.searchbar.open { opacity: 1; visibility: visible; }
.searchbar > svg { flex: none; width: 22px; height: 22px; margin-left: 11px; color: var(--muted-plum); }
.searchbar input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: transparent;
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 1.45rem;
  outline: none;
}
.searchbar input::placeholder { color: var(--mauve); font-style: italic; }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchbar .close-search { width: 52px; height: 52px; }
.searchbar .close-search svg { width: 30px; height: 30px; }
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 3;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(53, 25, 46, 0.1);
}
.search-results ul { list-style: none; margin: 0; padding: 0.5rem 0; }
.search-results ul a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem var(--gutter);
  text-decoration: none;
}
.search-results ul a:hover, .search-results ul a.active { background: var(--ivory-2); }
.search-results img { width: 48px; height: 60px; object-fit: cover; background: var(--sand); }
.search-results .r-name { font-family: var(--font-display); font-size: 1rem; }
.search-results .r-price { margin-left: auto; color: var(--text-soft); }
.search-results .r-empty, .search-results .r-all { padding: 0.8rem var(--gutter); margin: 0; }
.search-results .r-all { border-top: 1px solid var(--line); }

/* ---------- Side menu ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(53, 25, 46, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: min(380px, 88vw);
  padding: 1rem 2rem 2rem;
  overflow-y: auto;
  background: var(--ivory);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.4s;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin: 0 -0.6rem 1.5rem 0; }
.drawer-head img { height: 34px; width: auto; }
.drawer .kicker { margin-top: 0.5rem; }
.drawer-cats { list-style: none; margin: 0 0 2rem; padding: 0; }
.drawer-cats li { border-bottom: 1px solid var(--line); }
.drawer-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.25s;
}
.drawer-cats a svg { width: 18px; height: 18px; color: var(--gold); }
.drawer-cats a:hover, .drawer-cats a[aria-current="page"] { color: var(--deep-plum); padding-left: 0.4rem; }
.drawer-links { list-style: none; margin: 0; padding: 0; }
.drawer-links a { display: block; padding: 0.45rem 0; text-decoration: none; font-size: 1.2rem; }
.drawer-links a:hover { color: var(--deep-plum); }
.drawer-foot { margin-top: auto; padding-top: 2rem; }
.drawer .lang { position: static; }
.drawer .lang button { color: var(--muted-plum); }
.drawer .lang button[aria-pressed="true"] { color: var(--espresso); }
.drawer .lang span { color: var(--taupe); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(380px, calc(100vw - 2 * var(--gutter)));
  padding: 0.9rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(53, 25, 46, 0.16);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
}
.toast.show { transform: none; opacity: 1; visibility: visible; }
.toast img { width: 56px; height: 70px; object-fit: cover; flex: none; }
.toast p { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.toast strong { font-family: var(--font-display); font-weight: 600; }
.toast a { margin-left: auto; flex: none; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- Product cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.25rem) clamp(0.75rem, 2vw, 1.5rem);
}
.card { position: relative; }
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:hover .card-media img { transform: scale(1.045); }
.card .fav {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  background: rgba(248, 244, 234, 0.85);
}
.fav svg { width: 20px; height: 20px; }
.fav[aria-pressed="true"] { color: var(--deep-plum); }
.fav[aria-pressed="true"] svg path { fill: currentColor; }
.card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
}
.card-text { min-width: 0; }
/* Small round "add to bag" button, under the photo next to the name */
.add-btn {
  position: relative;
  z-index: 2;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: 0.15rem;
  padding: 0;
  border: 1px solid rgba(53, 25, 46, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--espresso);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.add-btn svg { width: 20px; height: 20px; }
.add-btn:hover { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.add-btn.added { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.card-cat {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-plum);
}
.card-name { margin: 0.2rem 0 0.1rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.card-name a { text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-price { margin: 0; font-size: 1.15rem; color: var(--text-soft); }

/* ---------- Home ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 82vh, 860px);
  min-height: clamp(480px, 82svh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ivory);
  background: var(--espresso);
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(53, 25, 46, 0.72) 0%, rgba(53, 25, 46, 0.35) 45%, rgba(53, 25, 46, 0) 75%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 10vh, 6.5rem);
}
.hero .kicker { color: var(--sand); }
.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.hero .btn { padding-inline: 2.25rem; }
.hero p.hero-text { max-width: 30rem; margin: 1.25rem 0 2rem; font-size: 1.35rem; color: rgba(248, 244, 234, 0.9); }

.values { background: var(--ivory-2); border-bottom: 1px solid var(--line); }
.values ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 2.5rem 0;
  list-style: none;
  text-align: center;
}
.values svg { width: 40px; height: 40px; margin: 0 auto 0.7rem; color: var(--gold); }
.values h3 { font-size: 1.1rem; }
.values p { margin: 0.3rem auto 0; max-width: 16rem; font-size: 1.02rem; line-height: 1.4; color: var(--text-soft); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }

.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); }
.cat {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
  color: var(--ivory);
  text-decoration: none;
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(53, 25, 46, 0.6) 0%, rgba(53, 25, 46, 0) 45%);
}
.cat-label {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.cat-label svg { display: block; width: 20px; height: 20px; transition: transform 0.25s; }
.cat:hover img { transform: scale(1.05); }
.cat:hover .cat-label svg { transform: translateX(4px); }

.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--mulberry); color: var(--ivory); }
.story-media { position: relative; min-height: 480px; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 6rem);
}
.story-text .kicker { color: var(--sand); }
.story-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-style: italic; font-weight: 500; }
.story-text p { margin: 1.25rem 0 2rem; max-width: 34rem; font-size: 1.3rem; color: rgba(248, 244, 234, 0.88); }
.story-text .link-arrow { align-self: flex-start; }

.feature {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 60vh, 620px);
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
  text-decoration: none;
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease; }
.feature::after { content: ""; position: absolute; inset: 0; background: rgba(53, 25, 46, 0.35); }
.feature:hover img { transform: scale(1.025); }
.feature-content { position: relative; z-index: 1; padding: 2rem var(--gutter); }
.feature h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-style: italic; font-weight: 500; margin-bottom: 1.5rem; }
.feature .link-arrow { border-color: var(--ivory); }

/* ---------- Page header ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.breadcrumb { margin: 0 0 1rem; font-size: 0.95rem; color: var(--text-soft); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Shop ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  margin-bottom: 2rem;
  border-block: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 40px;
  padding: 0.35rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--espresso); }
.chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.toolbar-right { display: flex; align-items: center; gap: 1.25rem; color: var(--text-soft); }
.select {
  min-height: 40px;
  padding: 0.3rem 2.2rem 0.3rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-left: 1.1rem;
  background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2335192e' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
  appearance: none;
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 1.05rem;
  cursor: pointer;
}
.search-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem; margin: 0 0 1.5rem; }
.search-note button { border: 0; background: none; padding: 0; text-decoration: underline; cursor: pointer; color: var(--text-soft); }
.empty { padding: 2rem 0 3rem; font-size: 1.3rem; font-style: italic; color: var(--text-soft); }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.product-media { position: relative; background: var(--sand); aspect-ratio: 4 / 5; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 0.5rem; }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
.product-price { margin: 0.6rem 0 1.5rem; font-size: 1.6rem; }
.product-desc { margin: 0 0 1.75rem; font-size: 1.25rem; color: var(--text-soft); }
.product > *, .cart-layout > *, .about-grid > *, .contact-grid > * { min-width: 0; }
.product-desc, .accordion details p { overflow-wrap: anywhere; }
.buy-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; margin-bottom: 1rem; }
.buy-row .btn { flex: 1; }
.buy-row .fav { width: 50px; height: 50px; border: 1px solid rgba(53, 25, 46, 0.25); border-radius: 50%; flex: none; }
.qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 0 0.25rem;
  border: 1px solid var(--line);
  height: 50px;
}
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.3rem; }
.qty button:hover { background: var(--ivory-2); }
.qty output, .qty span { min-width: 2rem; text-align: center; font-size: 1.15rem; }
.perks { list-style: none; margin: 1.5rem 0; padding: 0; }
.perks li { display: flex; align-items: center; gap: 0.75rem; padding: 0.3rem 0; font-size: 1.1rem; }
.perks svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--font-body); font-size: 1.5rem; color: var(--gold); transition: transform 0.25s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { margin: 0 0 1.1rem; color: var(--text-soft); }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.cart-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 96px; height: 120px; object-fit: cover; background: var(--sand); }
.cart-item h3 { font-size: 1.15rem; font-weight: 500; }
.cart-item h3 a { text-decoration: none; }
.cart-item .meta { margin: 0.15rem 0 0.75rem; font-size: 1rem; color: var(--text-soft); }
.cart-item .qty { height: 40px; }
.cart-item .line-price { text-align: right; font-size: 1.2rem; }
.remove { display: block; margin: 0.5rem 0 0 auto; padding: 0; border: 0; background: none; font-size: 0.95rem; color: var(--text-soft); text-decoration: underline; cursor: pointer; }
.summary { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.75rem; background: var(--ivory-2); }
.summary h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.summary dl { margin: 0 0 1.25rem; }
.summary .row { display: flex; justify-content: space-between; padding: 0.35rem 0; }
.summary .row dt, .summary .row dd { margin: 0; }
.summary .total { margin-top: 0.5rem; padding-top: 0.85rem; border-top: 1px solid var(--line); font-size: 1.35rem; font-weight: 600; }
.free-bar { margin: 0 0 1.25rem; font-size: 1.02rem; color: var(--text-soft); }
.free-bar .bar { height: 3px; margin-top: 0.5rem; background: rgba(53, 25, 46, 0.1); }
.free-bar .bar i { display: block; height: 100%; background: var(--gold); }
.summary-items { list-style: none; margin: 0 0 1rem; padding: 0; }
.summary-items li { display: flex; gap: 0.85rem; align-items: center; padding: 0.5rem 0; }
.summary-items img { width: 52px; height: 64px; object-fit: cover; }
.summary-items span:last-child { margin-left: auto; }

.soon h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.soon > p { margin: 0 0 1.1rem; font-size: 1.05rem; color: var(--text-soft); }
.btn[disabled], .btn[disabled]:hover { background: transparent; border-color: rgba(53, 25, 46, 0.25); color: var(--muted-plum); cursor: default; }
.soon-follow { margin: 1rem 0 0; text-align: center; }
.soon-follow a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.02rem; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.soon-follow svg { width: 18px; height: 18px; }
.notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  background: var(--ivory-2);
  font-size: 1.08rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold); }
.form fieldset { border: 0; margin: 0 0 2rem; padding: 0; }
.form legend { margin-bottom: 1rem; padding: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 1rem; color: var(--text-soft); }
.input, .field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(53, 25, 46, 0.25);
  border-radius: 0;
  background: #fffdf8;
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 1.15rem;
}
.field select { appearance: none; background: #fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2335192e' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.field .error { display: none; font-size: 0.95rem; color: var(--deep-plum); }
.field.invalid input { border-color: var(--deep-plum); }
.field.invalid .error { display: block; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 1.08rem; cursor: pointer; }
.field .check { color: var(--espresso); }
.field .check input { flex: none; width: 18px; height: 18px; min-height: 0; padding: 0; margin-top: 0.3rem; accent-color: var(--espresso); }

.confirm { max-width: 640px; margin: 0 auto; padding-block: clamp(3rem, 8vw, 6rem); text-align: center; }
.confirm .seal { width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--gold); }
.confirm h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.confirm .order-no { margin: 1rem 0; font-size: 1.1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-plum); }
.confirm .summary { position: static; margin: 2rem 0; text-align: left; }

/* ---------- Content pages ---------- */
.prose { max-width: 42rem; }
.prose p { margin: 0 0 1.25rem; font-size: 1.28rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.about-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.keywords { background: var(--deep-plum); color: var(--ivory); }
.keywords ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem clamp(1.5rem, 4vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.keywords li { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.keywords .kicker { color: var(--sand); }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
.service-block h2 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; margin-bottom: 0.75rem; }
.service-block h2 svg { width: 28px; height: 28px; color: var(--gold); flex: none; }
.service-block p { margin: 0; color: var(--text-soft); font-size: 1.2rem; }
.faq { max-width: 52rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.faq h2 { font-size: 1.8rem; margin-bottom: 1rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.contact-info h2 { font-size: 1.25rem; margin: 0 0 0.4rem; }
.contact-info p { margin: 0 0 1.75rem; }
.contact-info a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.form-note { margin: 0.75rem 0 0; font-size: 1rem; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--ivory); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { margin: 0.75rem 0 0; max-width: 18rem; font-family: var(--font-display); font-style: italic; color: var(--sand); font-size: 1.05rem; }
.site-footer h2 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 0.25rem 0; text-decoration: none; color: rgba(248, 244, 234, 0.85); }
.site-footer li a:hover { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.socials .icon-btn { color: var(--ivory); border: 1px solid rgba(248, 244, 234, 0.3); }
.socials .icon-btn:hover { color: var(--espresso); background: var(--gold); border-color: var(--gold); }
.socials .icon-btn svg { width: 19px; height: 19px; }
.footer-email { margin: 1rem 0 0; font-size: 1.05rem; }
.footer-email a { color: rgba(248, 244, 234, 0.85); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(248, 244, 234, 0.14);
  padding-block: 1.1rem 1.4rem;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 244, 234, 0.7);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.75rem; margin-bottom: 0.5rem; }
.footer-bottom li { display: flex; align-items: center; gap: 0.45rem; }
.footer-bottom li svg { width: 14px; height: 14px; color: var(--gold); }
.footer-bottom small { font-size: 0.95em; letter-spacing: 0.08em; text-transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .logo img { height: 48px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story, .product, .about-grid, .contact-grid, .cart-layout, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .story-media { min-height: 0; aspect-ratio: 4 / 3; }
  .summary { position: static; }
  .announce p { padding-inline: 0 6rem; text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 1.12rem; }
  :root { --header-h: 64px; }
  .logo img { height: 40px; }
  .header-row { column-gap: 0.5rem; }
  .header-group { gap: 0; }
  .header-divider { margin: 0 0.15rem; }
  .icon-btn { width: 40px; height: 40px; }
  .values ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:last-child { grid-column: 1 / -1; }
  .fields { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item img { width: 80px; height: 100px; }
  .cart-item .line-price { grid-column: 2; text-align: left; }
  .remove { margin-left: 0; }
  .announce { font-size: 0.62rem; letter-spacing: 0.1em; }
  .announce .lang { display: none; }            /* language switch lives in the menu on phones */
  .announce p { padding: 0.5rem 0; text-align: center; white-space: nowrap; }
  .buy-row .btn { order: 3; flex-basis: 100%; }
  .buy-row .fav { margin-left: auto; }
  .header-group.right { margin-right: -8px; }
  .hero h1 { font-size: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
