/* ===== ABÔ Atelier — design tokens ===== */
:root {
  --color-bg: #ededed;
  --color-bg-alt: #c4c4c4;
  --color-ink: #161616;
  --color-ink-soft: #5c5c5c;
  --color-line: rgba(0, 0, 0, 0.14);
  --color-accent: #161616;
  --color-cream: #ffffff;

  --font-display: "Bodoni Moda", "Didot", "Bodoni MT", "Didot LT STD", serif;
  --font-body: "Bodoni Moda", "Didot", "Bodoni MT", "Didot LT STD", serif;

  --max-width: 1240px;
  --header-h: 160px;
  --header-h-scrolled: 88px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { inset-inline-start: 12px; top: 12px; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(237, 237, 237, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  border-bottom-color: var(--color-line);
}

.header-inner {
  max-width: none;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-self: center;
  color: var(--color-ink);
}
.brand-logo {
  height: 120px;
  width: auto;
  transition: height 0.3s ease;
}
.site-header.is-scrolled .brand-logo {
  height: 60px;
}

.site-nav {
  grid-column: 1;
  justify-self: start;
  display: flex;
  gap: 32px;
}
.site-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-ink);
  transition: width 0.25s ease;
}
.site-nav a:hover::after { width: 100%; }

.nav-item-shop {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-shop-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px 4px 6px;
  color: var(--color-ink);
}
.nav-shop-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.nav-shop-menu {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 190px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  z-index: 150;
}
.nav-shop-menu[hidden] { display: none; }
.nav-shop-menu li { margin: 0; }
.nav-shop-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.85rem;
  letter-spacing: normal;
  text-transform: none;
}
.nav-shop-menu a::after { display: none; }
.nav-shop-menu a:hover {
  background: var(--color-bg-alt);
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.cart-link {
  display: flex;
  align-items: center;
  color: var(--color-ink);
}
.cart-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-link:hover { color: var(--color-ink-soft); }

.nav-toggle {
  grid-column: 1;
  justify-self: start;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Language switcher ===== */
.lang-switcher { position: relative; }
.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
  padding: 4px 2px;
}
.lang-switcher-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 150px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  z-index: 150;
}
.lang-switcher-menu[hidden] { display: none; }
.lang-switcher-menu li { margin: 0; }
.lang-switcher-menu button {
  display: block;
  width: 100%;
  text-align: start;
  padding: 9px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-ink);
}
.lang-switcher-menu button:hover,
.lang-switcher-menu button.is-active {
  background: var(--color-bg-alt);
}

/* Hide content until translations are applied, to avoid a flash of the
   English fallback text on repeat visits in another language. */
body:not(.i18n-ready) { visibility: hidden; }

/* ===== Hero — two full-bleed editorial tiles ===== */
.hero {
  margin-top: var(--header-h);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-line);
  height: clamp(480px, 78vh, 780px);
}

.hero-tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: #ffffff;
}
.hero-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-tile:hover .hero-tile-img { transform: scale(1.045); }

.hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.72) 0%, rgba(10, 9, 8, 0.12) 45%, rgba(10, 9, 8, 0) 65%);
}

.hero-tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px 40px;
}

.hero-tile-title {
  display: block;
  height: clamp(2.6rem, 4.6vw, 4rem);
  width: auto;
  margin-bottom: 14px;
}

.hero-tile-text {
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.hero-tile-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 18px;
  font-weight: 500;
}
.hero-tile:hover .hero-tile-link { border-color: #ffffff; }

.hero-tile-title-crack {
  display: block;
  height: clamp(2.44rem, 4.58vw, 3.51rem);
  width: auto;
  margin-bottom: 14px;
}

/* ===== Story (fixed dark card — a deliberate contrast, not theme-driven) ===== */
.story {
  padding: 120px 32px 48px;
  scroll-margin-top: var(--header-h);
}

.story-inner {
  max-width: 760px;
  margin: 0 auto;
  background: #BEBEBE url("../img/grain-texture.png") repeat;
  padding: 64px clamp(28px, 6vw, 64px);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.story-copy {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
}

.story.is-visible .story-copy {
  opacity: 1;
  transform: translateY(0);
}

.story-copy .eyebrow {
  display: inline-block;
  padding-bottom: 8px;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
}

.story h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.25;
  color: var(--color-ink);
  max-width: 560px;
}

.story .lede {
  font-size: 0.95rem;
  color: var(--color-ink);
  margin-bottom: 20px;
}

.story p {
  font-size: 0.95rem;
  color: var(--color-ink);
  margin: 0 0 18px;
}

.story p a {
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
}

.story p em {
  font-style: normal;
}

.story blockquote {
  margin: 36px 0 0;
  padding-inline-start: 24px;
  border-inline-start: 1px solid var(--color-ink);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-ink);
}
.story blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

/* ===== Story showcase ===== */
.story-showcase {
  padding: 0 32px 20px;
}
.story-showcase-inner {
  max-width: 760px;
  margin: 0 auto;
}
.story-showcase-placeholder {
  display: block;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 24px;
}
.story-showcase-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.story-showcase-product {
  display: block;
  color: inherit;
  text-align: center;
}
.story-showcase-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: blur(4px);
  transition: transform 0.4s ease;
}
.story-showcase-product:hover img {
  transform: scale(1.03);
}
.story-showcase-product-media {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg);
}
.story-showcase-product-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  text-align: center;
}
.story-showcase-product-name {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--color-ink);
}
.story-showcase-product-quote {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--color-ink-soft);
}
.story-showcase-more {
  display: flex;
  justify-content: flex-end;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-right: 32px;
  margin-top: 48px;
}
.story-showcase-more-link {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-ink);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.story-showcase-more-link:hover {
  color: var(--color-ink-soft);
  border-color: var(--color-ink-soft);
}

/* ===== Contact ===== */
.contact-section {
  max-width: var(--max-width);
  margin: 0 auto 0;
  padding: 32px 32px 40px;
  border-top: 1px solid var(--color-line);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  scroll-margin-top: var(--header-h);
}
.contact-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin: 0 0 28px;
}
.contact-columns {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.contact-block {
  max-width: 420px;
  width: 100%;
  color: var(--color-ink-soft);
  font-size: 0.85rem;
}
.contact-info .contact-block {
  margin: 0;
}
.contact-block p {
  margin: 0 0 4px;
}
.contact-block a {
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
}
.contact-address {
  margin-top: 16px;
}
.contact-address p {
  margin: 0 0 2px;
}
.contact-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.contact-social .social-link {
  display: inline-flex;
  color: var(--color-ink);
  border-bottom: none;
}
.contact-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.contact-social .social-link:hover {
  color: var(--color-ink-soft);
}

/* ===== Newsletter form (shared by contact section + floating widget) ===== */
.newsletter-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.newsletter-form input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--color-line);
  background: #ffffff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
}
.newsletter-form input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #757575;
  opacity: 1;
}
.contact-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' stroke='%23161616' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.contact-form select.is-placeholder {
  color: #757575;
}
.contact-form textarea {
  resize: vertical;
  min-height: 70px;
}
.newsletter-form button,
.contact-form button {
  padding: 8px 16px;
  border: 1px solid var(--color-ink);
  background: var(--color-ink);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.newsletter-form button:hover,
.contact-form button:hover {
  background: transparent;
  color: var(--color-ink);
}
.newsletter-form button:disabled,
.contact-form button:disabled {
  opacity: 0.6;
  cursor: default;
}
.newsletter-status {
  margin: 0;
  font-size: 0.75rem;
}
.newsletter-status[hidden] { display: none; }
.newsletter-status.is-success { color: #2f6b3a; }
.newsletter-status.is-error { color: #a33b3b; }
.newsletter-phone-row {
  display: flex;
  gap: 8px;
}
.newsletter-phone-code {
  flex: 0 0 auto;
  padding: 8px;
  border: 1px solid var(--color-line);
  background: #ffffff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
}
.newsletter-phone-row input {
  flex: 1;
  min-width: 0;
}

.phone-country-picker {
  position: relative;
  flex: 0 0 auto;
}
.phone-country-picker .phone-country-btn {
  display: flex;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--color-line);
  background: #ffffff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  white-space: nowrap;
}
.phone-country-picker .phone-country-btn:hover {
  background: #ffffff;
  color: var(--color-ink);
}
.phone-country-panel {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  z-index: 160;
}
.phone-country-panel[hidden] { display: none; }
.phone-country-panel.opens-upward {
  top: auto;
  bottom: calc(100% + 4px);
}
.phone-country-search {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid var(--color-line);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-ink);
}
.phone-country-search:focus { outline: none; }
.phone-country-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 220px;
  overflow-y: auto;
}
.phone-country-list .phone-country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-ink);
  text-align: start;
}
.phone-country-option-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone-country-option-code { color: var(--color-ink-soft); }
.phone-country-list .phone-country-option:hover,
.phone-country-list .phone-country-option.is-highlighted {
  background: var(--color-bg-alt);
  color: var(--color-ink);
}
.phone-country-empty {
  padding: 12px;
  font-size: 0.8rem;
  color: var(--color-ink-soft);
}
/* ===== Newsletter floating widget ===== */
.newsletter-widget {
  position: fixed;
  inset-inline-start: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.newsletter-tooltip {
  position: relative;
  max-width: 220px;
  background: var(--color-ink);
  color: #ffffff;
  padding-block: 12px;
  padding-inline: 14px 30px;
  font-size: 0.8rem;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.newsletter-tooltip-close {
  position: absolute;
  top: 4px;
  inset-inline-end: 6px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  padding: 4px;
}
.newsletter-tooltip-close:hover {
  opacity: 1;
}
.newsletter-anchor {
  position: relative;
}
.newsletter-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-ink);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.newsletter-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.newsletter-popup {
  position: absolute;
  inset-inline-start: 0;
  bottom: 60px;
  width: 280px;
  max-width: calc(100vw - 48px);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.newsletter-close {
  position: absolute;
  top: 6px;
  inset-inline-end: 10px;
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-ink-soft);
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 0 0 14px;
  padding-inline-end: 14px;
}

/* ===== Cookie consent banner ===== */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}
.cookie-consent[hidden] {
  display: none;
}
.cookie-consent-card {
  pointer-events: auto;
  width: 100%;
  max-width: 460px;
  background: var(--color-ink);
  color: #ffffff;
  border-radius: 0;
  padding: 24px 26px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}
.cookie-consent-text {
  margin: 0 0 18px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.cookie-consent-text a {
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.cookie-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-consent-btn {
  width: 100%;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  text-align: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cookie-consent-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-consent-settings[hidden] {
  display: none;
}
.cookie-consent-settings-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
}
.cookie-consent-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.cookie-consent-row:first-of-type {
  border-top: none;
  padding-top: 0;
}
.cookie-consent-row-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cookie-consent-row-label {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.cookie-consent-row-desc {
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}
.cookie-consent-save {
  width: 100%;
  margin-top: 6px;
}

.cookie-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 22px;
  margin-top: 2px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
}
.cookie-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cookie-toggle[aria-checked="true"] {
  background: #ffffff;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-knob {
  transform: translateX(18px);
  background: var(--color-ink);
}
.cookie-toggle--locked {
  cursor: default;
  background: #ffffff;
}
.cookie-toggle--locked .cookie-toggle-knob {
  transform: translateX(18px);
  background: var(--color-ink);
  opacity: 0.55;
}

@media (max-width: 560px) {
  .cookie-consent {
    bottom: 16px;
    padding: 0 16px;
  }
  .cookie-consent-card {
    padding: 20px;
  }
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 40px;
  background: var(--color-ink);
  color: var(--color-cream);
  padding: 28px 32px 20px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.brand--footer {
  justify-content: center;
  margin-bottom: 14px;
}
.brand-logo--footer {
  height: 70px;
}

.footer-copy {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.footer-links {
  margin: 10px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.footer-links a {
  color: rgba(255,255,255,0.45);
  border-bottom: none;
  margin: 0 8px;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: rgba(255,255,255,0.8);
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .header-inner { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 14px; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    grid-column: unset;
    justify-self: unset;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    z-index: 96;
    transition: top 0.3s ease, transform 0.3s ease, opacity 0.25s ease, box-shadow 0.4s ease;
  }
  .site-header.is-scrolled .site-nav {
    top: var(--header-h-scrolled);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  }
  .site-nav a {
    padding: 18px 24px;
    border-top: 1px solid var(--color-line);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0s;
  }
  .site-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav.is-open a:nth-child(1) { transition-delay: 0.08s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.14s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.2s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.26s; }
  .site-nav.is-open .nav-item-shop > a:nth-child(1) { transition-delay: 0.14s; }

  .nav-item-shop {
    border-top: 1px solid var(--color-line);
    padding: 0 24px;
    flex-wrap: wrap;
  }
  .nav-item-shop a {
    border-top: none;
    padding: 18px 0;
    flex: 1;
  }
  .nav-shop-toggle {
    padding: 18px 8px;
  }
  .nav-shop-menu {
    position: static;
    flex-basis: 100%;
    width: 100%;
    border: none;
    box-shadow: none;
    background: var(--color-bg-alt);
    padding: 0;
    min-width: 0;
  }
  .nav-shop-menu a {
    padding: 14px 24px 14px 40px;
    border-top: 1px solid var(--color-line);
  }

  .nav-backdrop {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(10, 9, 8, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: inset 0.3s ease, opacity 0.35s ease;
    z-index: 95;
  }
  .site-header.is-scrolled ~ .nav-backdrop {
    inset: var(--header-h-scrolled) 0 0 0;
  }
  .nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-tile { aspect-ratio: 5 / 6; }
  .hero-tile-copy { padding: 24px 22px 28px; }
  .hero-tile-text { max-width: 100%; }

  .story { padding-top: 88px; }
  .contact-section { margin-top: 0; padding: 24px 24px 32px; }
  .site-footer { margin-top: 32px; }

  .story-showcase-product-badge { font-size: 0.95rem; }
  .story-showcase-product-name { font-size: 0.85rem; }
  .story-showcase-product-quote { font-size: 0.74rem; }
}

@media (max-width: 480px) {
  .brand-word { font-size: 1.05rem; }
}

/* ===== Arabic: display font has no italic style for this script ===== */
html[lang="ar"] .contact-section h2,
html[lang="ar"] .story-showcase-product-badge,
html[lang="ar"] .story-showcase-product-quote,
html[lang="ar"] .cookie-consent-settings-title {
  font-style: normal;
}
