/*
Theme Name: Elaiou Kallos
Theme URI: https://elaiou-kallos.myshopify.com/
Author: Xoumeriako
Description: A premium WordPress theme for Elaiou Kallos extra virgin olive oil, inspired by the Shopify layout and built with Customizer controls for text, images, release data, stockists and footer content.
Version: 3.2.0
Requires at least: 6.0
Requires PHP: 7.4
Requires Plugins: woocommerce
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elaiou-kallos
Tags: custom-logo, custom-menu, featured-images, editor-style, one-column, two-columns, e-commerce, food-and-drink, blog
*/

:root {
  --ek-black: #0b0c0a;
  --ek-ink: #171512;
  --ek-ink-soft: #362d25;
  --ek-muted: #6f6251;
  --ek-cream: #fbf3e3;
  --ek-cream-2: #f5e7ce;
  --ek-cream-3: #ead7b9;
  --ek-paper: #fff8ec;
  --ek-gold: #c99a4f;
  --ek-gold-2: #e0b86d;
  --ek-line: rgba(23, 21, 18, 0.12);
  --ek-line-strong: rgba(23, 21, 18, 0.18);
  --ek-shadow: 0 24px 60px rgba(28, 20, 10, 0.13);
  --ek-serif: Georgia, 'Times New Roman', Times, serif;
  --ek-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ek-wrap: min(100% - 96px, 1740px);
  --ek-wrap-narrow: min(100% - 96px, 1280px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ek-ink);
  background: var(--ek-cream);
  font-family: var(--ek-sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
a:hover, a:focus { color: var(--ek-gold); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 999999;
  display: block;
  width: auto;
  height: auto;
  padding: 12px 18px;
  color: var(--ek-paper);
  background: var(--ek-black);
  clip: auto;
  white-space: normal;
}

.ek-wrap {
  width: var(--ek-wrap);
  margin-inline: auto;
}
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }

/* Header */
.site-header {
  position: relative;
  top: 0;
  z-index: 1000;
  background: rgba(251, 243, 227, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 21, 18, .08);
}
.admin-bar .site-header { top: 32px; }
.ek-topbar {
  color: rgba(255, 248, 236, .92);
  background: var(--ek-black);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.ek-topbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ek-topbar__left { color: var(--ek-gold-2); font-weight: 800; }
.ek-topbar__right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; font-weight: 700; }
.ek-topbar__currency { white-space: nowrap; }
.ek-header-main { background: linear-gradient(180deg, rgba(255,248,236,.96), rgba(251,243,227,.94)); }
.ek-header__inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.site-branding {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
  gap: 12px;
  text-decoration: none;
  color: var(--ek-ink);
}
.site-logo,
.custom-logo-link img { max-width: 255px; max-height: 76px; width: auto; object-fit: contain; }
.site-title-wrap { display: grid; line-height: 1.08; }
.site-title { font-family: var(--ek-serif); font-size: 1.35rem; letter-spacing: .09em; text-transform: uppercase; }
.site-description { margin-top: 4px; color: var(--ek-muted); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.primary-navigation { flex: 1 1 auto; }
.primary-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--ek-ink-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.primary-navigation a:hover,
.primary-navigation a:focus,
.primary-navigation .current-menu-item > a { color: var(--ek-gold); }
.ek-header-icons { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.ek-header-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--ek-ink); text-decoration: none; }
.ek-header-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ek-line);
  background: transparent;
  color: var(--ek-ink);
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded='true']::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span { opacity: 0; }
.menu-toggle[aria-expanded='true']::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons and utility */
.ek-button,
.wp-block-button__link,
input[type='submit'],
button[type='submit'],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 31px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.ek-button:hover,
.ek-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type='submit']:hover,
button[type='submit']:hover { transform: translateY(-1px); }
.ek-button-dark,
.wp-block-button__link,
input[type='submit'],
button[type='submit'],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button { color: var(--ek-paper); background: var(--ek-black); }
.ek-button-dark:hover,
.ek-button-dark:focus { color: var(--ek-paper); background: #000; }
.ek-button-gold { color: var(--ek-black); background: linear-gradient(180deg, #e5bd72, #c99a4f); }
.ek-button-gold:hover,
.ek-button-gold:focus { color: var(--ek-black); background: linear-gradient(180deg, #f0ce88, #d1a75a); }
.ek-eyebrow {
  margin: 0 0 16px;
  color: var(--ek-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}
.ek-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: var(--ek-ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
}

/* Landing */
.ek-landing { overflow: hidden; background: var(--ek-cream); }
.ek-hero {
  position: relative;
  min-height: 560px;
  background: linear-gradient(100deg, #fbf0dd 0%, #f7e5ca 47%, #ecd1a8 100%);
}
.ek-hero__layout {
  min-height: clamp(520px, 47vw, 720px);
  display: grid;
  grid-template-columns: .77fr 1.23fr;
  align-items: stretch;
}
.ek-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  padding: clamp(56px, 7vw, 92px) 0;
}
.ek-hero h1,
.ek-collection h2,
.ek-origin-band h2,
.ek-quality h2,
.ek-release h2,
.ek-stockists-section h2,
.entry-title,
.page-title {
  margin: 0;
  color: var(--ek-ink);
  font-family: var(--ek-serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: .98;
}
.ek-hero h1 { font-size: clamp(4rem, 6.4vw, 6.4rem); }
.ek-lede { margin: 22px 0 0; color: var(--ek-ink-soft); font-size: clamp(1.15rem, 1.55vw, 1.45rem); line-height: 1.38; }
.ek-hero .ek-button { margin-top: 30px; align-self: flex-start; }
.ek-hero-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 24px 0 0;
  color: var(--ek-ink-soft);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.ek-hero-note span { width: 12px; height: 12px; border-radius: 50%; background: var(--ek-gold); flex: 0 0 12px; }
.ek-hero__media {
  position: relative;
  margin: 0 calc((100vw - min(100vw, 1440px)) / -2) 0 0;
  overflow: hidden;
}
.ek-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 243, 227, .35), rgba(251, 243, 227, 0) 24%);
  pointer-events: none;
}
.ek-hero__media img { width: 100%; height: 100%; object-fit: var(--ek-hero-fit, cover); object-position: var(--ek-hero-position, center center); }

.ek-feature-strip {
  padding: 28px 0 34px;
  background: linear-gradient(180deg, #faefd9, #f6e7ce);
  border-top: 1px solid rgba(23,21,18,.06);
  border-bottom: 1px solid rgba(23,21,18,.08);
}
.ek-feature-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ek-feature-card {
  min-height: 132px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--ek-line);
}
.ek-feature-card:last-child { border-right: 0; }
.ek-feature-icon { width: 58px; height: 58px; object-fit: contain; margin-bottom: 12px; opacity: .96; color: var(--ek-ink); }
.ek-feature-icon--svg { display: block; overflow: visible; }
.ek-feature-card h2 { margin: 0; color: var(--ek-ink); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; }
.ek-feature-card p { margin: 6px 0 0; color: var(--ek-ink-soft); font-size: 13px; line-height: 1.35; }

.ek-section { padding: 10px 0 22px; }
.ek-collection { background: #fbf3e4; }
.ek-collection__grid {
  display: grid;
  grid-template-columns: 315px 1fr;
  gap: 28px;
  align-items: stretch;
  padding-top: 0;
}
.ek-collection__copy {
  padding: 58px 22px 42px 0;
  align-self: center;
}
.ek-collection h2 { font-size: clamp(2.25rem, 3.45vw, 4rem); }
.ek-collection__text { margin-top: 22px; max-width: 270px; }
.ek-collection__text p,
.ek-origin-text p,
.ek-quality__copy p,
.ek-release__copy p,
.ek-stockists__copy p,
.ek-reserve p { margin: 0 0 12px; color: var(--ek-ink-soft); }
.ek-product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.ek-product-gallery figure {
  margin: 0;
  overflow: hidden;
  min-height: 360px;
  background: var(--ek-cream-2);
}
.ek-product-gallery img { width: 100%; height: 100%; min-height: 360px; aspect-ratio: 3 / 4; object-fit: var(--ek-gallery-fit, contain); object-position: var(--ek-gallery-position, center center); transition: transform .6s ease; }
.ek-product-gallery figure:hover img { transform: scale(1.035); }

.ek-origin-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  background: #f7ead6;
  border-top: 1px solid rgba(23,21,18,.08);
  border-bottom: 1px solid rgba(23,21,18,.08);
}
.ek-origin-band__image { overflow: hidden; }
.ek-origin-band__image img { width: 100%; height: 100%; min-height: 300px; object-fit: var(--ek-origin-fit, cover); object-position: var(--ek-origin-position, center center); filter: saturate(.9) contrast(1.02); }
.ek-origin-band__copy {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(105deg, #fff6e8, #f4e5cd);
}
.ek-origin-band__copy::after {
  content: '';
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: 330px;
  height: 330px;
  opacity: .18;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0 44%, rgba(201,154,79,.5) 45% 46%, transparent 47% 100%),
    radial-gradient(ellipse at 55% 10%, transparent 0 43%, rgba(201,154,79,.55) 44% 46%, transparent 47% 100%);
  transform: rotate(-28deg);
}
.ek-origin-decor { position: absolute; right: 0; bottom: 0; width: 300px; opacity: .18; }
.ek-origin-band__inner { position: relative; z-index: 1; max-width: 700px; padding: clamp(42px, 5vw, 72px) clamp(42px, 6vw, 84px); }
.ek-origin-band h2 { font-size: clamp(2.05rem, 3.3vw, 3.65rem); letter-spacing: -0.035em; }
.ek-origin-text { margin-top: 15px; }

.ek-quality {
  background: #fbf3e4;
  border-bottom: 1px solid var(--ek-line);
}
.ek-quality__grid {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(640px, 1.15fr);
  gap: 42px;
  align-items: center;
  min-height: 168px;
  padding: 40px 0 42px;
}
.ek-quality h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.ek-quality__copy p { font-size: 13px; line-height: 1.45; max-width: 680px; }
.ek-quality__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--ek-line);
}
.ek-quality-metric {
  min-height: 98px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 8px 22px;
  border-right: 1px solid var(--ek-line);
}
.ek-quality-metric strong {
  display: block;
  color: var(--ek-ink);
  font-family: var(--ek-serif);
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  line-height: 1;
  font-weight: 500;
}
.ek-quality-metric span { display: block; margin-top: 9px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ek-quality-metric small { display: block; margin-top: 3px; color: var(--ek-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }

.ek-release {
  padding: clamp(62px, 7vw, 96px) 0;
  color: rgba(255,248,236,.78);
  background: radial-gradient(circle at 88% 10%, rgba(201,154,79,.18), transparent 26rem), linear-gradient(135deg, #11110e, #070806 68%);
}
.ek-release .ek-eyebrow { color: var(--ek-gold-2); }
.ek-release__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.ek-release h2 { color: var(--ek-paper); font-size: clamp(2.2rem, 3.8vw, 4.6rem); }
.ek-release p { color: rgba(255,248,236,.72); }
.ek-release-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ek-release-card {
  min-height: 150px;
  padding: 22px 20px;
  border: 1px solid rgba(255,248,236,.14);
  background: rgba(255,248,236,.055);
}
.ek-release-card strong { display: block; color: var(--ek-paper); font-family: var(--ek-serif); font-size: clamp(1.45rem, 2vw, 2.25rem); font-weight: 500; line-height: 1.05; }
.ek-release-card span { display: block; margin-top: 12px; color: var(--ek-gold-2); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ek-release-card small { display: block; margin-top: 7px; color: rgba(255,248,236,.65); font-size: 12px; line-height: 1.35; }

.ek-stockists-section { padding: clamp(70px, 8vw, 110px) 0; background: #fff7e9; }
.ek-stockists__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 86px); align-items: start; }
.ek-stockists-section h2 { font-size: clamp(2rem, 3.5vw, 4.2rem); }
.ek-contact-links { display: grid; gap: 8px; margin-top: 24px; font-weight: 750; }
.ek-stockist-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ek-stockist-card { padding: 28px; border: 1px solid var(--ek-line); background: var(--ek-paper); box-shadow: 0 14px 44px rgba(28,20,10,.07); }
.ek-stockist-card h3 { margin: 0 0 12px; font-family: var(--ek-serif); font-size: 1.55rem; line-height: 1.12; font-weight: 500; }
.ek-stockist-card p { margin: 0 0 12px; color: var(--ek-muted); }
.ek-stockist-card__links { display: grid; gap: 5px; margin-top: 16px; font-size: 13px; font-weight: 750; }

.ek-reserve {
  color: var(--ek-paper);
  background: radial-gradient(circle at 12% 0, rgba(201,154,79,.18), transparent 20rem), var(--ek-black);
  border-top: 1px solid rgba(255,255,255,.08);
}
.ek-reserve__inner {
  min-height: 132px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 26px 0;
}
.ek-reserve__icon { width: 70px; height: 70px; object-fit: contain; opacity: .9; }
.ek-reserve__mark { color: var(--ek-gold-2); font-size: 62px; line-height: 1; }
.ek-reserve__eyebrow { margin: 0 0 6px; color: var(--ek-gold-2); text-transform: uppercase; font-size: 11px; font-weight: 850; letter-spacing: .15em; }
.ek-reserve h2 { margin: 0; color: var(--ek-paper); font-family: var(--ek-serif); font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.05; font-weight: 500; }
.ek-reserve p { margin: 6px 0 0; color: rgba(255,248,236,.72); }

/* Footer */
.ek-site-footer {
  padding: 38px 0 28px;
  color: var(--ek-ink-soft);
  background: linear-gradient(180deg, #f8ead3, #f2dfc2);
}
.ek-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, .76fr) .9fr;
  gap: 28px;
  align-items: start;
}
.footer-brand { padding-right: 28px; border-right: 1px solid var(--ek-line); min-height: 120px; }
.footer-brand__logo { display: inline-flex; align-items: center; text-decoration: none; margin-bottom: 14px; }
.footer-brand img { max-width: 210px; max-height: 66px; }
.footer-brand__line { color: var(--ek-ink-soft); font-size: 13px; line-height: 1.45; }
.footer-col { padding-left: 18px; }
.footer-col h2 { margin: 0 0 13px; color: var(--ek-ink); font-size: 12px; line-height: 1; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.footer-col a { color: var(--ek-ink-soft); text-decoration: none; }
.footer-col a:hover, .footer-col a:focus { color: var(--ek-gold); }
.footer-col li { color: var(--ek-ink-soft); font-size: 13px; line-height: 1.45; }
.ek-site-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--ek-line);
  color: var(--ek-muted);
  font-size: 12px;
}
.ek-footer-policies { display: flex; flex-wrap: wrap; gap: 26px; }
.ek-footer-policies a { color: var(--ek-muted); text-decoration: none; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ek-line); }
.footer-widgets .widget-title { margin-top: 0; font-family: var(--ek-serif); }

/* Content templates */
.content-area {
  width: var(--ek-wrap-narrow);
  margin-inline: auto;
  padding: clamp(64px, 8vw, 112px) 0;
}
.entry-header,
.page-header { max-width: 860px; margin-bottom: 36px; }
.entry-title,
.page-title { font-size: clamp(2.8rem, 6vw, 6rem); }
.entry-meta,
.entry-footer,
.posted-on,
.byline { color: var(--ek-muted); font-size: .92rem; }
.entry-content,
.entry-summary { max-width: 860px; }
.entry-content > *:first-child,
.entry-summary > *:first-child { margin-top: 0; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 1.7em; margin-bottom: .5em; font-family: var(--ek-serif); line-height: 1.12; }
.entry-content h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.entry-content h3 { font-size: clamp(1.5rem, 2.6vw, 2.4rem); }
.entry-content p,
.entry-content li { color: var(--ek-ink-soft); }
.entry-content a { color: #94651f; }
.entry-content img,
.entry-content .wp-block-image img { border-radius: 0; }
.wp-block-quote { margin-left: 0; padding: 18px 0 18px 24px; border-left: 4px solid var(--ek-gold); color: var(--ek-muted); }
.post-thumbnail { margin: 0 0 34px; overflow: hidden; box-shadow: var(--ek-shadow); }
.post-thumbnail img { width: 100%; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; border: 1px solid var(--ek-line); background: rgba(255, 248, 236, .76); box-shadow: 0 16px 44px rgba(23, 19, 15, .07); }
.post-card__image img { width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card .entry-title { font-size: 1.8rem; line-height: 1.08; }
.post-card .entry-title a { text-decoration: none; }
.nav-links,
.post-navigation .nav-links,
.posts-navigation .nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 44px; }
.nav-links a { display: inline-flex; padding: 12px 18px; border: 1px solid var(--ek-line); text-decoration: none; background: rgba(255, 250, 241, .72); }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 600px; }
.search-form label { flex: 1 1 260px; }
.search-field,
input[type='text'],
input[type='email'],
input[type='search'],
input[type='url'],
input[type='tel'],
textarea { width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid rgba(23, 19, 15, .18); color: var(--ek-ink); background: var(--ek-paper); }
.comments-area { max-width: 860px; margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--ek-line); }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { margin-bottom: 22px; padding: 22px; border: 1px solid var(--ek-line); background: rgba(255, 250, 241, .7); }
.archive-description { max-width: 760px; color: var(--ek-muted); }

/* WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { padding: 18px; border: 1px solid var(--ek-line); background: rgba(255, 248, 236, .76); box-shadow: 0 16px 44px rgba(23, 19, 15, .07); }
.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img { border-radius: 0; }
.woocommerce span.onsale,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt { background: var(--ek-gold); color: var(--ek-black); }
.woocommerce div.product .product_title { font-family: var(--ek-serif); font-size: clamp(2.4rem, 4vw, 5rem); line-height: .98; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--ek-gold); font-weight: 800; }

/* Screenshot-matched refinements */
.ek-landing::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .20;
  background-image: radial-gradient(circle at 1px 1px, rgba(23,21,18,.10) 1px, transparent 0);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  z-index: -1;
}
.ek-feature-card svg path,
.ek-feature-card svg g { vector-effect: non-scaling-stroke; }
.ek-feature-card:nth-child(4) .ek-feature-icon--svg { width: 52px; }
.ek-feature-card:nth-child(5) .ek-feature-icon--svg { width: 50px; }
.ek-product-gallery { gap: 6px; }
.ek-product-gallery figure { min-height: 430px; }
.ek-product-gallery img { min-height: 430px; }
.ek-origin-band { min-height: 330px; }
.ek-origin-band__image img { min-height: 330px; }
.ek-quality__grid { min-height: 162px; padding-top: 34px; padding-bottom: 36px; }
.ek-reserve__mark { font-family: var(--ek-serif); color: var(--ek-gold-2); }

@media (max-width: 1180px) {
  :root { --ek-wrap: min(100% - 44px, 1440px); --ek-wrap-narrow: min(100% - 44px, 1180px); }
  .primary-navigation ul { gap: 20px; }
  .ek-header__inner { gap: 20px; }
  .site-branding { min-width: 180px; }
  .site-logo, .custom-logo-link img { max-width: 190px; }
  .ek-collection__grid { grid-template-columns: 250px 1fr; }
  .ek-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { border-right: 0; padding-right: 0; }
}

@media (max-width: 980px) {
  .admin-bar .site-header { top: 46px; }
  .ek-topbar__inner { justify-content: center; text-align: center; }
  .ek-topbar__right { display: none; }
  .ek-header__inner { min-height: 76px; }
  .menu-toggle { display: inline-block; order: 5; }
  .ek-header-icons { margin-left: auto; }
  .primary-navigation {
    position: absolute;
    left: 22px;
    right: 22px;
    top: calc(100% + 10px);
    display: none;
    padding: 18px;
    border: 1px solid var(--ek-line);
    background: rgba(255,248,236,.98);
    box-shadow: var(--ek-shadow);
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; gap: 0; }
  .primary-navigation a { min-height: 46px; justify-content: space-between; width: 100%; border-bottom: 1px solid rgba(23,21,18,.08); }
  .primary-navigation li:last-child a { border-bottom: 0; }
  .ek-hero__layout { grid-template-columns: 1fr; min-height: auto; }
  .ek-hero__copy { max-width: none; padding: 58px 0 36px; }
  .ek-hero__media { min-height: 420px; margin: 0 calc((100vw - 100%) / -2); }
  .ek-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .ek-feature-card { border-bottom: 1px solid var(--ek-line); }
  .ek-feature-card:nth-child(2n) { border-right: 0; }
  .ek-collection__grid,
  .ek-origin-band,
  .ek-quality__grid,
  .ek-release__grid,
  .ek-stockists__grid { grid-template-columns: 1fr; }
  .ek-collection__copy { padding: 52px 0 16px; }
  .ek-collection__text { max-width: 680px; }
  .ek-product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ek-quality__grid { gap: 24px; min-height: auto; }
  .ek-quality__metrics { border-left: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ek-line); }
  .ek-quality-metric { border-bottom: 1px solid var(--ek-line); }
  .ek-quality-metric:nth-child(2n) { border-right: 0; }
  .ek-release-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ek-reserve__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ek-reserve .ek-button { width: min(100%, 360px); }
  .post-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --ek-wrap: min(100% - 28px, 1440px); --ek-wrap-narrow: min(100% - 28px, 1180px); }
  body { font-size: 15px; }
  .site-logo, .custom-logo-link img { max-width: 152px; }
  .site-branding { min-width: auto; }
  .ek-header-icons { gap: 7px; }
  .ek-header-icon { width: 26px; }
  .ek-header-icon:nth-child(2) { display: none; }
  .ek-hero h1 { font-size: clamp(3.4rem, 18vw, 5.3rem); }
  .ek-hero__media { min-height: 310px; }
  .ek-feature-grid,
  .ek-product-gallery,
  .ek-release-cards,
  .ek-stockist-cards,
  .ek-footer-grid,
  .footer-widgets,
  .post-list { grid-template-columns: 1fr; }
  .ek-feature-card { border-right: 0; padding: 22px; }
  .ek-product-gallery figure,
  .ek-product-gallery img { min-height: 280px; }
  .ek-origin-band__inner { padding: 38px 22px; }
  .ek-quality__metrics { grid-template-columns: 1fr; }
  .ek-quality-metric { border-right: 0; }
  .ek-button { width: 100%; }
  .ek-hero .ek-button { align-self: stretch; }
  .ek-site-info { display: grid; }
  .ek-footer-policies { gap: 12px; display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Reference-accurate v1.4 refinements */
:root {
  --ek-wrap: min(100% - 124px, 1840px);
  --ek-wrap-narrow: min(100% - 124px, 1320px);
}
.site-header {
  background: rgba(251, 243, 227, .97);
  backdrop-filter: none;
  border-bottom: 0;
}
.ek-topbar {
  font-size: 10px;
  letter-spacing: .18em;
}
.ek-topbar__inner { min-height: 28px; }
.ek-header-main {
  background: linear-gradient(180deg, #fff8ec 0%, #fbf3e3 100%);
  border-bottom: 1px solid rgba(23,21,18,.07);
}
.ek-header__inner { min-height: 96px; }
.site-branding { min-width: 286px; }
.site-logo,
.custom-logo-link img { max-width: 280px; max-height: 78px; }
.primary-navigation ul { gap: 38px; }
.primary-navigation a { font-size: 12px; letter-spacing: .10em; font-weight: 720; }
.ek-header-icons { gap: 21px; min-width: 148px; }
.ek-header-icon svg { width: 24px; height: 24px; stroke-width: 1.45; }
.ek-hero {
  min-height: 620px;
  background: linear-gradient(100deg, #fbf0dc 0%, #faedd8 43%, #efd3a9 100%);
}
.ek-hero__layout {
  min-height: clamp(610px, 45vw, 720px);
  grid-template-columns: .71fr 1.29fr;
}
.ek-hero__copy { max-width: 520px; padding: clamp(62px, 7.6vw, 108px) 0; }
.ek-hero h1 { font-size: clamp(4.8rem, 6.8vw, 7.15rem); line-height: .92; letter-spacing: -0.055em; }
.ek-lede { margin-top: 24px; font-size: clamp(1.12rem, 1.35vw, 1.35rem); line-height: 1.38; }
.ek-hero .ek-button { min-width: 252px; margin-top: 28px; min-height: 54px; }
.ek-hero-note { margin-top: 24px; font-size: 10px; letter-spacing: .09em; }
.ek-hero-note span { width: 11px; height: 11px; flex-basis: 11px; }
.ek-hero__media { margin-right: calc((100vw - 100%) / -2); }
.ek-hero__media::after { background: linear-gradient(90deg, rgba(251, 243, 227, .32), rgba(251, 243, 227, 0) 21%); }
.ek-feature-strip { padding: 30px 0 32px; background: linear-gradient(180deg, #f9edd8 0%, #f4e2c4 100%); }
.ek-feature-card { min-height: 135px; padding: 0 28px; }
.ek-feature-icon { width: 62px; height: 52px; margin-bottom: 14px; object-fit: contain; }
.ek-feature-card:nth-child(1) .ek-feature-icon { width: 58px; height: 58px; }
.ek-feature-card:nth-child(2) .ek-feature-icon { width: 94px; height: 48px; }
.ek-feature-card:nth-child(3) .ek-feature-icon { width: 72px; height: 58px; }
.ek-feature-card:nth-child(4) .ek-feature-icon { width: 58px; height: 58px; }
.ek-feature-card:nth-child(5) .ek-feature-icon { width: 52px; height: 58px; }
.ek-feature-card h2 { font-size: 12px; letter-spacing: .135em; font-weight: 820; }
.ek-feature-card p { margin-top: 5px; font-size: 12px; line-height: 1.33; }
.ek-section { padding: 0; }
.ek-collection { border-top: 0; background: #fbf3e4; }
.ek-collection__grid { grid-template-columns: 322px 1fr; gap: 24px; }
.ek-collection__copy { padding: 62px 18px 46px 0; }
.ek-collection h2 { font-size: clamp(2.1rem, 3.1vw, 3.75rem); line-height: .98; }
.ek-collection__text { max-width: 286px; margin-top: 22px; }
.ek-product-gallery { gap: 6px; }
.ek-product-gallery figure,
.ek-product-gallery img { min-height: 430px; }
.ek-origin-band { min-height: 334px; grid-template-columns: 1fr 1fr; }
.ek-origin-band__image img { min-height: 334px; }
.ek-origin-band__copy { background: linear-gradient(105deg, #fff6e8 0%, #f5e5cd 100%); }
.ek-origin-band__inner { padding: clamp(44px, 4.2vw, 70px) clamp(58px, 7vw, 98px); }
.ek-origin-band h2 { font-size: clamp(2.25rem, 3.2vw, 3.75rem); }
.ek-origin-text { max-width: 730px; font-size: 14px; }
.ek-quality { background: #fbf3e4; }
.ek-quality__grid { grid-template-columns: minmax(360px, .92fr) minmax(720px, 1.08fr); min-height: 168px; padding: 36px 0 38px; gap: 48px; }
.ek-quality h2 { font-size: clamp(2rem, 2.65vw, 3.2rem); line-height: 1; }
.ek-quality__copy p { max-width: 660px; font-size: 13px; line-height: 1.5; }
.ek-quality__metrics { border-left: 1px solid var(--ek-line); }
.ek-quality-metric { min-height: 96px; }
.ek-quality-metric strong { font-family: var(--ek-serif); font-size: clamp(1.75rem, 2.35vw, 3rem); font-weight: 500; line-height: 1; }
.ek-quality-metric span { margin-top: 7px; font-size: 11px; letter-spacing: .13em; font-weight: 850; }
.ek-quality-metric small { margin-top: 5px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.ek-release { background: #f6e8d0; }
.ek-reserve { background: radial-gradient(circle at 8% -20%, rgba(224,184,109,.19), transparent 22rem), #070808; }
.ek-reserve__inner { min-height: 132px; grid-template-columns: 98px 1fr minmax(250px, auto); gap: 28px; padding: 26px 0; }
.ek-reserve__icon { width: 82px; height: 82px; object-fit: contain; opacity: .98; }
.ek-reserve__eyebrow { color: var(--ek-gold-2); font-size: 10px; letter-spacing: .17em; }
.ek-reserve h2 { font-size: clamp(2.1rem, 3vw, 3.25rem); }
.ek-reserve .ek-button { min-width: 252px; min-height: 54px; }
.ek-site-footer { padding-top: 34px; background: linear-gradient(180deg, #f8ead3 0%, #f2dfc2 100%); }
.ek-footer-grid { grid-template-columns: 1.38fr repeat(4, .78fr) .94fr; gap: 30px; }
.footer-brand img { max-width: 230px; max-height: 68px; }
.footer-col h2 { font-size: 11px; letter-spacing: .16em; }
.footer-col li { font-size: 12px; }
.ek-site-info { margin-top: 28px; padding-top: 20px; }

@media (max-width: 1180px) {
  :root { --ek-wrap: min(100% - 44px, 1440px); --ek-wrap-narrow: min(100% - 44px, 1180px); }
  .site-branding { min-width: 190px; }
  .ek-header-icons { min-width: 0; }
  .ek-collection__grid { grid-template-columns: 260px 1fr; }
  .ek-quality__grid { grid-template-columns: 1fr; }
}


/* v1.5 image sizing refinements: product photos stay visible instead of being enlarged/cut. */
.ek-hero__media { background: linear-gradient(100deg, #f6e2c0, #e9c99b); }
.ek-product-gallery figure {
  height: clamp(320px, 24vw, 430px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5e3c4;
}
.ek-product-gallery img {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: var(--ek-gallery-fit, contain);
  object-position: var(--ek-gallery-position, center center);
}
.ek-hero__media img {
  object-fit: var(--ek-hero-fit, cover);
  object-position: var(--ek-hero-position, center center);
}
.ek-origin-band__image img {
  object-fit: var(--ek-origin-fit, cover);
  object-position: var(--ek-origin-position, center center);
}
@media (max-width: 900px) {
  .ek-product-gallery figure { height: clamp(260px, 56vw, 380px); }
}


/* v1.7 hard image-size safety: static preview and live theme now use actual max dimensions for product photos. */
.ek-hero,
.ek-hero__layout { min-height: var(--ek-hero-min-height, 620px); }
.ek-product-gallery figure {
  height: var(--ek-gallery-card-height, 390px) !important;
  min-height: 0 !important;
  padding: var(--ek-gallery-image-padding, 14px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.ek-product-gallery img {
  width: auto !important;
  height: auto !important;
  max-width: var(--ek-gallery-image-max-width, 86%) !important;
  max-height: var(--ek-gallery-image-max-height, 88%) !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: var(--ek-gallery-position, center center) !important;
  transform: none !important;
}
.ek-product-gallery figure:hover img { transform: none !important; }
.ek-origin-band { min-height: var(--ek-origin-band-height, 334px); }
.ek-origin-band__image img { min-height: var(--ek-origin-band-height, 334px); }
@media (max-width: 900px) {
  .ek-product-gallery figure { height: min(var(--ek-gallery-card-height, 390px), 380px) !important; }
}


/* v2.0 production-ready responsive refinements. These rules intentionally come last. */
:root {
  --ek-wrap: min(100% - 116px, 1840px);
  --ek-wrap-narrow: min(100% - 116px, 1320px);
  --ek-gallery-fit: cover;
  --ek-gallery-card-height: 0px;
  --ek-gallery-image-padding: 0px;
  --ek-gallery-image-max-width: 100%;
  --ek-gallery-image-max-height: 100%;
}
.ek-landing { background: var(--ek-cream); }
.site-header { position: relative; width: 100%; }
.ek-header__inner { min-height: 96px; }
.site-logo, .custom-logo-link img { width: auto; max-width: 282px; max-height: 74px; object-fit: contain; }
.ek-hero { min-height: var(--ek-hero-min-height, 620px); }
.ek-hero__layout {
  min-height: var(--ek-hero-min-height, 620px);
  grid-template-columns: 0.72fr 1.28fr;
}
.ek-hero__media { min-height: var(--ek-hero-min-height, 620px); background: #eed2aa; }
.ek-hero__media img { width: 100%; height: 100%; object-fit: var(--ek-hero-fit, cover); object-position: var(--ek-hero-position, center center); }
.ek-hero__copy { padding-block: clamp(54px, 7.5vw, 106px); }
.ek-feature-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ek-feature-card { min-width: 0; }
.ek-feature-icon { object-fit: contain; }
.ek-collection__grid { grid-template-columns: 310px minmax(0, 1fr); gap: 24px; }
.ek-product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}
.ek-product-gallery figure {
  margin: 0;
  min-height: 0 !important;
  height: var(--ek-gallery-card-height, auto) !important;
  aspect-ratio: 2 / 3;
  padding: 0 !important;
  overflow: hidden;
  display: block !important;
  background: #f5e3c4;
}
.ek-product-gallery img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: var(--ek-gallery-fit, cover) !important;
  object-position: var(--ek-gallery-position, center center) !important;
  transform: none !important;
  transition: none !important;
}
.ek-product-gallery figure:hover img { transform: none !important; }
.ek-origin-band { min-height: var(--ek-origin-band-height, 334px); grid-template-columns: 1fr 1fr; }
.ek-origin-band__image img { width: 100%; height: 100%; min-height: var(--ek-origin-band-height, 334px); object-fit: var(--ek-origin-fit, cover); object-position: var(--ek-origin-position, center center); }
.ek-quality__metrics { min-width: 0; }
.ek-quality-metric strong, .ek-quality-metric span, .ek-quality-metric small { display: block; }
.ek-reserve__inner { grid-template-columns: 96px minmax(0, 1fr) auto; }
.ek-site-footer a { text-decoration: none; }

@supports (content-visibility: auto) {
  .ek-collection, .ek-origin-band, .ek-quality, .ek-reserve, .ek-site-footer { content-visibility: auto; contain-intrinsic-size: auto 420px; }
}

@media (max-width: 1180px) {
  :root { --ek-wrap: min(100% - 44px, 1120px); --ek-wrap-narrow: min(100% - 44px, 980px); }
  .primary-navigation ul { gap: 22px; }
  .ek-header__inner { gap: 20px; }
  .site-branding { min-width: 210px; }
  .site-logo, .custom-logo-link img { max-width: 230px; }
  .ek-hero__layout { grid-template-columns: 0.82fr 1.18fr; }
  .ek-hero h1 { font-size: clamp(4.2rem, 8vw, 6.3rem); }
  .ek-collection__grid { grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
  .ek-quality__grid { grid-template-columns: 1fr; gap: 24px; }
  .ek-quality__metrics { border-left: 0; border-top: 1px solid var(--ek-line); }
  .ek-footer-grid { grid-template-columns: 1.3fr repeat(3, .9fr); }
}

@media (max-width: 960px) {
  :root { --ek-wrap: min(100% - 36px, 860px); --ek-wrap-narrow: min(100% - 36px, 760px); }
  .ek-topbar__inner { justify-content: center; text-align: center; }
  .ek-topbar__right { display: none; }
  .ek-header__inner { min-height: 80px; flex-wrap: wrap; }
  .site-branding { min-width: 0; flex: 1 1 auto; }
  .menu-toggle { display: inline-flex; }
  .primary-navigation {
    order: 10;
    display: none;
    flex: 1 0 100%;
    padding: 8px 0 16px;
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; gap: 0; }
  .primary-navigation a { min-height: 46px; border-top: 1px solid rgba(23,21,18,.08); }
  .ek-hero { min-height: 0; }
  .ek-hero__layout { grid-template-columns: 1fr; min-height: 0; }
  .ek-hero__copy { max-width: none; padding-block: 44px 34px; }
  .ek-hero__media { min-height: 0; height: clamp(330px, 66vw, 520px); margin-inline: calc((100vw - 100%) / -2); }
  .ek-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ek-feature-card { border-bottom: 1px solid var(--ek-line); }
  .ek-feature-card:nth-child(2n) { border-right: 0; }
  .ek-collection__grid, .ek-origin-band, .ek-release__grid, .ek-stockists__grid { grid-template-columns: 1fr; }
  .ek-collection__copy { padding: 42px 0 18px; }
  .ek-collection__text { max-width: 720px; }
  .ek-product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ek-origin-band__image img { min-height: 0; height: clamp(260px, 56vw, 380px); }
  .ek-quality__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ek-quality-metric:nth-child(2n) { border-right: 0; }
  .ek-reserve__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ek-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --ek-wrap: min(100% - 28px, 100%); --ek-wrap-narrow: min(100% - 28px, 100%); }
  body { font-size: 15px; }
  .ek-header__inner { min-height: 74px; }
  .site-logo, .custom-logo-link img { max-width: 190px; max-height: 58px; }
  .ek-header-icons { gap: 8px; }
  .ek-header-icon { width: 28px; height: 28px; }
  .ek-hero h1 { font-size: clamp(3.25rem, 17vw, 5.25rem); }
  .ek-lede { font-size: 1rem; }
  .ek-hero__copy { padding-block: 34px 28px; }
  .ek-hero__media { height: clamp(280px, 82vw, 390px); }
  .ek-feature-grid, .ek-product-gallery, .ek-quality__metrics, .ek-release-cards, .ek-stockist-cards, .ek-footer-grid { grid-template-columns: 1fr; }
  .ek-feature-card { border-right: 0; padding: 22px; }
  .ek-product-gallery figure { aspect-ratio: 4 / 5; }
  .ek-quality__grid { padding-block: 34px; }
  .ek-quality-metric { border-right: 0; }
  .ek-reserve .ek-button, .ek-button { width: 100%; }
  .ek-site-info { display: grid; gap: 16px; }
}


/* v2.0.1 reference proportion and medium-desktop fixes. */
.ek-hero,
.ek-hero__layout,
.ek-hero__media { min-height: var(--ek-hero-min-height, clamp(386px, 35.5vw, 620px)); }
@media (min-width: 961px) and (max-width: 1180px) {
  .ek-quality__grid { grid-template-columns: minmax(320px, .88fr) minmax(560px, 1.12fr) !important; gap: 42px !important; }
  .ek-quality__metrics { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; border-top: 0 !important; border-left: 1px solid var(--ek-line) !important; }
  .ek-footer-grid { grid-template-columns: 1.35fr repeat(4, .78fr) .95fr !important; gap: 24px !important; }
  .ek-footer-grid .footer-col li { font-size: 11px; }
}

/* v2.0.2 compatibility: avoid content-visibility hiding sections in static previews and older mobile browsers. */
.ek-collection,
.ek-origin-band,
.ek-quality,
.ek-reserve,
.ek-site-footer {
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
}


/* v2.1 reference calibration: tighter desktop proportions, safer responsive defaults. */
:root {
  --ek-hero-min-height-default: clamp(382px, 35.5vw, 560px);
  --ek-gallery-card-height-default: clamp(255px, 26.5vw, 340px);
  --ek-origin-band-height-default: clamp(174px, 17.1vw, 260px);
}

@media (min-width: 1025px) {
  :root {
    --ek-wrap: min(100% - 128px, 1840px);
    --ek-wrap-narrow: min(100% - 128px, 1320px);
  }

  .ek-topbar { height: 28px; overflow: hidden; }
  .ek-topbar__inner { min-height: 28px !important; font-size: 11px; letter-spacing: .14em; }
  .ek-topbar__right { gap: 34px; }

  .ek-header__inner { min-height: 76px !important; padding-block: 0; gap: 30px; }
  .site-branding.has-logo { flex: 0 0 285px; }
  .site-logo { max-width: 268px; max-height: 64px; }
  .primary-navigation { justify-content: center; }
  .primary-navigation ul { gap: 42px; }
  .primary-navigation a { font-size: 12px; letter-spacing: .10em; }
  .ek-header-icons { min-width: 150px; gap: 22px; }
  .ek-header-icon svg { width: 23px; height: 23px; }

  .ek-hero,
  .ek-hero__layout,
  .ek-hero__media {
    min-height: var(--ek-hero-min-height, var(--ek-hero-min-height-default)) !important;
  }
  .ek-hero__layout { grid-template-columns: .47fr .53fr !important; }
  .ek-hero__copy { max-width: 470px; padding-block: clamp(48px, 5.4vw, 86px) !important; }
  .ek-eyebrow { font-size: 12px; letter-spacing: .14em; margin-bottom: 16px; }
  .ek-hero h1 { font-size: clamp(4.55rem, 5.75vw, 6.35rem) !important; line-height: .91; letter-spacing: -.06em; }
  .ek-lede { margin-top: 20px; font-size: 17px; line-height: 1.36; }
  .ek-hero .ek-button { min-width: 258px; min-height: 48px; margin-top: 25px !important; }
  .ek-hero-note { margin-top: 21px; font-size: 10px; letter-spacing: .075em; }
  .ek-hero-note span { width: 10px; height: 10px; flex-basis: 10px; }

  .ek-feature-strip { padding: 22px 0 23px !important; }
  .ek-feature-card { min-height: 112px !important; padding: 0 22px !important; }
  .ek-feature-icon { margin-bottom: 9px !important; }
  .ek-feature-card:nth-child(1) .ek-feature-icon { width: 50px; height: 48px; }
  .ek-feature-card:nth-child(2) .ek-feature-icon { width: 92px; height: 42px; }
  .ek-feature-card:nth-child(3) .ek-feature-icon { width: 66px; height: 48px; }
  .ek-feature-card:nth-child(4) .ek-feature-icon { width: 48px; height: 48px; }
  .ek-feature-card:nth-child(5) .ek-feature-icon { width: 45px; height: 48px; }
  .ek-feature-card h2 { font-size: 12px; letter-spacing: .12em; }
  .ek-feature-card p { font-size: 12px; line-height: 1.27; margin-top: 4px; }

  .ek-collection__grid { grid-template-columns: 258px minmax(0, 1fr) !important; gap: 20px !important; }
  .ek-collection__copy { padding: 44px 10px 34px 0 !important; }
  .ek-collection h2 { font-size: clamp(2.35rem, 2.55vw, 3.15rem) !important; line-height: .98; }
  .ek-collection__text { max-width: 250px; margin-top: 19px !important; }
  .ek-collection__text p { font-size: 14px; line-height: 1.42; }
  .ek-product-gallery { gap: 5px !important; }
  .ek-product-gallery figure {
    height: var(--ek-gallery-card-height, var(--ek-gallery-card-height-default)) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    background: #f5dfbf;
  }
  .ek-product-gallery img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: var(--ek-gallery-fit, cover) !important;
    object-position: var(--ek-gallery-position, center center) !important;
    padding: var(--ek-gallery-image-padding, 0px) !important;
    max-width: var(--ek-gallery-image-max-width, 100%) !important;
    max-height: var(--ek-gallery-image-max-height, 100%) !important;
  }

  .ek-origin-band {
    min-height: var(--ek-origin-band-height, var(--ek-origin-band-height-default)) !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .ek-origin-band__image img {
    min-height: 0 !important;
    height: 100% !important;
    object-fit: var(--ek-origin-fit, cover) !important;
  }
  .ek-origin-band__inner { padding: 38px 64px !important; max-width: 660px; }
  .ek-origin-band h2 { font-size: clamp(2.15rem, 2.7vw, 3.1rem) !important; line-height: 1.03; }
  .ek-origin-text { margin-top: 12px !important; }
  .ek-origin-text p { font-size: 12px; line-height: 1.36; }
  .ek-origin-band .ek-text-link { margin-top: 10px; }

  .ek-quality__grid {
    min-height: 126px !important;
    padding: 25px 0 27px !important;
    grid-template-columns: minmax(330px, .98fr) minmax(560px, 1.02fr) !important;
    gap: 38px !important;
  }
  .ek-quality h2 { font-size: clamp(2rem, 2.35vw, 2.75rem) !important; }
  .ek-quality__copy p { font-size: 12px; line-height: 1.36; max-width: 620px; }
  .ek-quality__metrics { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .ek-quality-metric { min-height: 82px !important; padding: 0 16px; }
  .ek-quality-metric strong { font-size: clamp(1.75rem, 2.05vw, 2.35rem) !important; }
  .ek-quality-metric span { font-size: 10px; letter-spacing: .11em; margin-top: 6px; }
  .ek-quality-metric small { font-size: 9px; }

  .ek-reserve__inner {
    min-height: 94px !important;
    padding: 13px 0 !important;
    grid-template-columns: 82px minmax(0, 1fr) 258px !important;
    gap: 20px !important;
  }
  .ek-reserve__icon { width: 70px !important; height: 70px !important; }
  .ek-reserve__eyebrow { font-size: 10px; margin-bottom: 5px; }
  .ek-reserve h2 { font-size: clamp(2rem, 2.5vw, 2.7rem) !important; }
  .ek-reserve p { font-size: 13px; margin-top: 3px; }
  .ek-reserve .ek-button { min-height: 48px !important; min-width: 246px; }

  .ek-site-footer { padding: 24px 0 14px !important; }
  .ek-footer-grid { grid-template-columns: 1.28fr repeat(4, .78fr) .95fr !important; gap: 24px !important; padding-bottom: 22px !important; }
  .footer-brand .site-logo { max-width: 215px; max-height: 70px; }
  .footer-brand__line { margin-top: 10px; font-size: 12px; line-height: 1.38; }
  .footer-col h2 { font-size: 11px; margin-bottom: 10px; letter-spacing: .13em; }
  .footer-col li { font-size: 11px !important; line-height: 1.5; margin: 0 0 4px; }
  .ek-site-info { padding-top: 14px; font-size: 10px; }
  .ek-footer-policies { gap: 28px; }
}

@media (max-width: 1024px) {
  :root { --ek-wrap: min(100% - 42px, 900px); }
  .ek-hero__media img,
  .ek-product-gallery img,
  .ek-origin-band__image img { max-width: 100%; }
  .ek-product-gallery figure { min-height: 0 !important; height: auto !important; aspect-ratio: 3 / 4; }
  .ek-product-gallery img { min-height: 0 !important; height: 100% !important; object-fit: cover; }
  .ek-footer-grid { align-items: start; }
}

@media (max-width: 640px) {
  :root { --ek-wrap: min(100% - 28px, 100%); }
  .ek-topbar__inner { min-height: 28px !important; font-size: 9px; }
  .ek-header__inner { min-height: 68px !important; }
  .site-logo { max-width: 190px; max-height: 56px; }
  .ek-hero__copy { padding-block: 30px 24px !important; }
  .ek-hero h1 { font-size: clamp(3.05rem, 16vw, 4.65rem) !important; }
  .ek-hero__media { height: clamp(260px, 74vw, 360px) !important; }
  .ek-feature-grid { grid-template-columns: 1fr !important; }
  .ek-feature-card { min-height: auto !important; padding: 20px 14px !important; }
  .ek-collection__copy { padding: 34px 0 18px !important; }
  .ek-product-gallery { grid-template-columns: 1fr !important; }
  .ek-product-gallery figure { aspect-ratio: 4 / 5; }
  .ek-origin-band__image img { height: 245px !important; }
  .ek-origin-band__inner { padding: 32px 22px !important; }
  .ek-quality__metrics { grid-template-columns: 1fr !important; }
  .ek-reserve__inner { padding: 30px 0 !important; }
  .ek-site-footer { padding: 30px 0 18px !important; }
  .ek-footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}


/* v2.2 production hardening: responsive, accessible and independently scalable feature icons. */
:root {
  --ek-feature-1-w: 50px; --ek-feature-1-h: 50px;
  --ek-feature-2-w: 92px; --ek-feature-2-h: 42px;
  --ek-feature-3-w: 66px; --ek-feature-3-h: 48px;
  --ek-feature-4-w: 48px; --ek-feature-4-h: 48px;
  --ek-feature-5-w: 45px; --ek-feature-5-h: 48px;
}
.ek-feature-card .ek-feature-icon { display: block; object-fit: contain; max-width: 100%; flex: 0 0 auto; }
.ek-feature-card:nth-child(1) .ek-feature-icon { width: var(--ek-feature-1-w); height: var(--ek-feature-1-h); }
.ek-feature-card:nth-child(2) .ek-feature-icon { width: var(--ek-feature-2-w); height: var(--ek-feature-2-h); }
.ek-feature-card:nth-child(3) .ek-feature-icon { width: var(--ek-feature-3-w); height: var(--ek-feature-3-h); }
.ek-feature-card:nth-child(4) .ek-feature-icon { width: var(--ek-feature-4-w); height: var(--ek-feature-4-h); }
.ek-feature-card:nth-child(5) .ek-feature-icon { width: var(--ek-feature-5-w); height: var(--ek-feature-5-h); }

.ek-landing :where(img, svg) { max-width: 100%; }
.ek-product-gallery figure,
.ek-hero__media,
.ek-origin-band__image { background-color: #f4dfbd; }
.ek-product-gallery img,
.ek-hero__media img,
.ek-origin-band__image img { backface-visibility: hidden; }

@media (min-width: 1025px) {
  .ek-product-gallery figure { contain: layout paint; }
  .ek-hero__media, .ek-origin-band__image { overflow: hidden; }
}

@media (max-width: 1024px) {
  :root {
    --ek-feature-1-w: 46px; --ek-feature-1-h: 46px;
    --ek-feature-2-w: 84px; --ek-feature-2-h: 38px;
    --ek-feature-3-w: 60px; --ek-feature-3-h: 44px;
    --ek-feature-4-w: 44px; --ek-feature-4-h: 44px;
    --ek-feature-5-w: 42px; --ek-feature-5-h: 45px;
  }
  .ek-feature-card .ek-feature-icon { margin-inline: auto; }
  .ek-product-gallery img { object-fit: var(--ek-gallery-fit, cover) !important; object-position: var(--ek-gallery-position, center center) !important; }
  .ek-origin-band__image, .ek-hero__media { overflow: hidden; }
}

@media (max-width: 640px) {
  :root {
    --ek-feature-1-w: 42px; --ek-feature-1-h: 42px;
    --ek-feature-2-w: 76px; --ek-feature-2-h: 34px;
    --ek-feature-3-w: 54px; --ek-feature-3-h: 40px;
    --ek-feature-4-w: 40px; --ek-feature-4-h: 40px;
    --ek-feature-5-w: 38px; --ek-feature-5-h: 42px;
  }
  .ek-topbar { overflow-wrap: anywhere; }
  .ek-hero__media img { object-fit: var(--ek-hero-fit, cover); object-position: var(--ek-hero-position, center center); }
  .ek-product-gallery figure { aspect-ratio: 4 / 5; max-height: 520px; }
  .ek-origin-band__copy { min-width: 0; }
  .ek-origin-band h2, .ek-quality h2, .ek-reserve h2 { overflow-wrap: anywhere; }
}

@media (max-width: 380px) {
  :root { --ek-wrap: min(100% - 22px, 100%); }
  .ek-hero h1 { font-size: clamp(2.75rem, 15vw, 4.1rem) !important; }
  .ek-feature-card p { font-size: 11px; }
}

/* v2.2.1 icon sizing: Customizer variables control desktop/tablet/mobile independently. */
:root {
  --ek-feature-1-w-tablet: 46px; --ek-feature-1-h-tablet: 46px; --ek-feature-1-w-mobile: 42px; --ek-feature-1-h-mobile: 42px;
  --ek-feature-2-w-tablet: 84px; --ek-feature-2-h-tablet: 38px; --ek-feature-2-w-mobile: 76px; --ek-feature-2-h-mobile: 34px;
  --ek-feature-3-w-tablet: 60px; --ek-feature-3-h-tablet: 44px; --ek-feature-3-w-mobile: 54px; --ek-feature-3-h-mobile: 40px;
  --ek-feature-4-w-tablet: 44px; --ek-feature-4-h-tablet: 44px; --ek-feature-4-w-mobile: 40px; --ek-feature-4-h-mobile: 40px;
  --ek-feature-5-w-tablet: 42px; --ek-feature-5-h-tablet: 45px; --ek-feature-5-w-mobile: 38px; --ek-feature-5-h-mobile: 42px;
}
@media (max-width: 1024px) {
  :root {
    --ek-feature-1-w: var(--ek-feature-1-w-tablet); --ek-feature-1-h: var(--ek-feature-1-h-tablet);
    --ek-feature-2-w: var(--ek-feature-2-w-tablet); --ek-feature-2-h: var(--ek-feature-2-h-tablet);
    --ek-feature-3-w: var(--ek-feature-3-w-tablet); --ek-feature-3-h: var(--ek-feature-3-h-tablet);
    --ek-feature-4-w: var(--ek-feature-4-w-tablet); --ek-feature-4-h: var(--ek-feature-4-h-tablet);
    --ek-feature-5-w: var(--ek-feature-5-w-tablet); --ek-feature-5-h: var(--ek-feature-5-h-tablet);
  }
}
@media (max-width: 640px) {
  :root {
    --ek-feature-1-w: var(--ek-feature-1-w-mobile); --ek-feature-1-h: var(--ek-feature-1-h-mobile);
    --ek-feature-2-w: var(--ek-feature-2-w-mobile); --ek-feature-2-h: var(--ek-feature-2-h-mobile);
    --ek-feature-3-w: var(--ek-feature-3-w-mobile); --ek-feature-3-h: var(--ek-feature-3-h-mobile);
    --ek-feature-4-w: var(--ek-feature-4-w-mobile); --ek-feature-4-h: var(--ek-feature-4-h-mobile);
    --ek-feature-5-w: var(--ek-feature-5-w-mobile); --ek-feature-5-h: var(--ek-feature-5-h-mobile);
  }
}
