/*
Theme Name: Elyon Custom
Theme URI: https://elyonstore.com
Author: Matthew
Description: A faith-meets-fashion commerce theme for Elyon. Matches the Penpot homepage design exactly, built for WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elyon-custom
Tags: e-commerce, woocommerce, fashion, full-width-template, responsive-layout
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --black:          #1a1a1a;
  --off-white:      #f8f6f2;
  --warm-brown:     #2d1e17;
  --warm-brown-bg:  #241710;
  --quote-bg:       #2d1e17;
  --banner-bg:      #2d1e17;
  --divider:        rgba(0,0,0,0.18);
  --divider-light:  rgba(255,255,255,0.18);
  --text-muted:     rgba(29,29,29,0.55);
  --caption:        rgba(29,29,29,0.45);

  --font-display:   'Noto Serif', Georgia, serif;
  --font-body:      'Manrope', sans-serif;

  --nav-h:          80px;
  --site-max:       1300px;
  --side-pad:       clamp(20px, 5vw, 80px);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ============================================================
   PLACEHOLDER IMAGE
   ============================================================ */
.elyon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.elyon-img:hover {
  transform: scale(1.03);
}
.elyon-ph {
  position: relative;
  background: #d9d2c8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}
.elyon-ph:hover {
  transform: scale(1.03);
}
.elyon-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 14px,
    rgba(0,0,0,0.03) 14px,
    rgba(0,0,0,0.03) 15px
  );
}
.elyon-ph__text {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  text-align: center;
  padding: 12px;
}

/* ============================================================
   UTILITY
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 36px;
  border: 1.5px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  transition: right 0.4s ease;
  z-index: 0;
}
.btn:hover::before {
  right: 0;
}
.btn span {
  position: relative;
  z-index: 1;
}
.btn:hover {
  color: var(--black);
}

.btn--filled {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.btn--filled::before {
  background: rgba(255,255,255,0.9);
}
.btn--filled:hover::before {
  right: 0;
}

/* ─── Global slide-hover button ─── */
.ev-btn,
.woocommerce * .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce input[type="submit"],
.woocommerce .woocommerce-form__submit,
.ev-co__submit-btn,
.ev-cart__checkout-btn,
.ev-cart__coupon-form button,
.ev-sp__add-btn,
.ev-sp__add-to-cart,
.single_add_to_cart_button,
.ev-cart__empty a,
.ev-btn,
input[type="submit"],
button[type="submit"] {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 36px;
  border: 1.5px solid var(--black);
  background: var(--black);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  text-decoration: none;
}
.ev-btn::before,
.woocommerce * .button::before,
.woocommerce button.button::before,
.woocommerce a.button::before,
.woocommerce input.button::before,
.woocommerce input[type="submit"]::before,
.woocommerce .woocommerce-form__submit::before,
.ev-co__submit-btn::before,
.ev-cart__checkout-btn::before,
.ev-cart__coupon-form button::before,
.ev-sp__add-btn::before,
.ev-sp__add-to-cart::before,
.single_add_to_cart_button::before,
.ev-cart__empty a::before,
.ev-btn::before,
input[type="submit"]::before,
button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  transition: right 0.4s ease;
  z-index: 0;
}
.ev-btn:hover::before,
.woocommerce * .button:hover::before,
.woocommerce button.button:hover::before,
.woocommerce a.button:hover::before,
.woocommerce input.button:hover::before,
.woocommerce input[type="submit"]:hover::before,
.woocommerce .woocommerce-form__submit:hover::before,
.ev-co__submit-btn:hover::before,
.ev-cart__checkout-btn:hover::before,
.ev-cart__coupon-form button:hover::before,
.ev-sp__add-btn:hover::before,
.ev-sp__add-to-cart:hover::before,
.single_add_to_cart_button:hover::before,
.ev-cart__empty a:hover::before,
.ev-btn:hover::before,
input[type="submit"]:hover::before,
button[type="submit"]:hover::before {
  right: 0;
}
.ev-btn span,
.woocommerce * .button span,
.woocommerce button.button span,
.woocommerce a.button span,
.woocommerce input.button span,
.woocommerce input[type="submit"] span,
.woocommerce .woocommerce-form__submit span,
.ev-co__submit-btn span,
.ev-cart__checkout-btn span,
.ev-cart__coupon-form button span,
.ev-sp__add-btn span,
.ev-sp__add-to-cart span,
.single_add_to_cart_button span,
.ev-cart__empty a span,
.ev-btn span,
input[type="submit"] span,
button[type="submit"] span {
  position: relative;
  z-index: 1;
}
.ev-btn:hover,
.woocommerce * .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce input[type="submit"]:hover,
.woocommerce .woocommerce-form__submit:hover,
.ev-co__submit-btn:hover,
.ev-cart__checkout-btn:hover,
.ev-cart__coupon-form button:hover,
.ev-sp__add-btn:hover,
.ev-sp__add-to-cart:hover,
.single_add_to_cart_button:hover,
.ev-cart__empty a:hover,
.ev-btn:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  color: var(--black);
  border-color: var(--black);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--nav-h);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

@media (max-width: 860px) {
  .nav-inner {
    padding: 0 20px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 0 20px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
}

/* Logo — left */
.site-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  line-height: 0;
}
.site-logo__img {
  display: block;
  height: 50px !important;
  width: auto;
}
@media (max-width: 640px) {
  .site-logo__img {
    height: 38px;
  }
}

/* Centre: View Products */
.nav-cta-center {
  justify-self: center;
}

/* Right: links + icons + hamburger */
.nav-icons-hamburger {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right a,
.nav-icons-hamburger a {
  display: inline-block;
}
.nav-right a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  position: relative;
}
.nav-right a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}
.nav-right a:hover::after {
  width: 100%;
}
.nav-right .nav-icon::after {
  display: none;
}
.nav-right .nav-icon {
  display: flex !important;
  align-items: center;
  opacity: 1;
}

.nav-icon {
  display: flex !important;
  align-items: center;
  cursor: pointer;
}
.nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(244, 242, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  padding: 0 28px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
}
.mobile-menu__links a {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--black);
  border-bottom: 1px solid var(--divider);
  padding: 20px 0;
}
.mobile-menu__footer {
  margin-top: auto;
  padding: 32px 0 40px;
}
.mobile-menu__footer .btn {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 0.75rem;
}
.nav-right a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  position: relative;
  display: inline-block;
}
.nav-right a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.3s ease;
}
.nav-right a:hover::after {
  width: 100%;
}
.nav-right .nav-icon::after {
  display: none;
}
.nav-right .nav-icon {
  display: flex;
  align-items: center;
  opacity: 1;
}

.nav-icon {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.nav-icon svg {
  width: 20px; height: 20px;
  stroke: var(--black); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Hamburger (mobile only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   MAIN OFFSET
   ============================================================ */
/* (sticky header, so no padding-top needed) */

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 40px var(--side-pad) 240px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  min-height: 480px;
}

/* Left: portrait + label card overlay */
.hero__media {
  position: relative;
  width: 100%;
}
.hero__portrait {
  position: relative;
  border-radius: 140px 140px 0 0;
  overflow: hidden;
  aspect-ratio: 5/6;
  max-width: 520px;
  width: 100%;
  max-height: 560px;
}
.hero__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__label-card {
  position: absolute;
  right: 60px;
  bottom: -25px;
  background: var(--warm-brown);
  color: #fff;
  padding: 24px 32px;
  min-width: 234px;
}
.hero__label-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  margin-bottom: 6px;
}
.hero__label-card__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

/* Right: copy */
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: fadeIn 1s ease forwards;
}
.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--black);
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MEDIA / EDITORIAL SECTION (quote + 2 portraits)
   ============================================================ */
.editorial {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--side-pad) 70px;
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Quote card */
.editorial__quote-card {
  margin-top: 50px;
  background: var(--quote-bg);
  color: #fff;
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  aspect-ratio: 4/5;
}
.editorial__quote-mark {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.4);
  display: block;
}
.editorial__quote-mark--end {
  text-align: right;
}
.editorial__quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: #fff;
  flex: 1;
}
.editorial__quote-source {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 14px;
}

/* Portrait columns */
.editorial__portrait {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.editorial__portrait:last-child { padding-top: 80px; }
.editorial__portrait-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.editorial__portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial__portrait-link {
  display: block;
  text-decoration: none;
}
.editorial__portrait-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 35%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
.editorial__portrait-link:hover .editorial__portrait-img::before {
  opacity: 1;
}
.editorial__portrait-img .elyon-img,
.editorial__portrait-img .elyon-ph {
  transition: transform 0.5s ease;
}
.editorial__portrait-link:hover .editorial__portrait-img .elyon-img,
.editorial__portrait-link:hover .editorial__portrait-img .elyon-ph {
  transform: scale(1.05);
}
.editorial__portrait-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.editorial__portrait-link:hover .editorial__portrait-overlay {
  opacity: 1;
  transform: translateY(0);
}
.editorial__portrait-overlay__text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.editorial__portrait-overlay__arrow {
  font-size: 1rem;
}
.editorial__portrait:last-child .editorial__portrait-img { margin-top: 0; }
.editorial__portrait-img { margin-top: 0; }

.editorial__caption {
  font-size: 0.68rem;
  color: var(--caption);
  letter-spacing: 0.06em;
}

/* ── Mobile (< 640px) ── */
@media (max-width: 640px) {
  .editorial__portrait:last-child { padding-top: 0; }
}

/* ============================================================
   SCROLLING BANNER
   ============================================================ */
.scrolling-banner {
  background: var(--warm-brown-bg, #1a1a1a);
  display: block;
  overflow: hidden;
  padding: 1.5rem 0;
}
@media (max-width: 520px) {
  .scrolling-banner { display: none; }
}
.scrolling-banner__track {
  display: inline-flex;
  gap: 0;
  animation: marquee 90s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.scrolling-banner__track span {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.02em;
  padding: 0 48px;
}
.scrolling-banner__track span.sep {
  color: rgba(255,255,255,0.25);
  font-style: normal;
  padding: 0 8px;
}

.scrolling-banner__track {
  display: inline-flex;
  gap: 0;
  animation: marquee 90s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   PRODUCT FEATURE SECTIONS
   ============================================================ */
.product-feature {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 120px var(--side-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-feature + .product-feature {
  border-top: none;
  padding: 60px var(--side-pad) 200px;
}

/* Content side */
.pf-content { display: flex; flex-direction: column; gap: 16px; max-width: 90%; }
.pf-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--black);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.pf-title::after {
  content: '';
  display: block;
  width: 90%;
  height: 1.5px;
  background: var(--black);
  margin-top: 12px;
}
.pf-desc {
  font-size: 1.1rem;
  color: var(--warm-brown);
  line-height: 1.7;
  max-width: 50ch;
  padding-left: 17px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.pf-actions {
  margin-top: 10px;
  padding-left: 10px;
}
.pf-feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--divider);
  font-size: 0.95rem;
}
.pf-features li:first-child { border-top: none; }
.pf-feature-row:last-child { border-bottom: 1px solid var(--divider); }
.pf-feature-row__x {
  font-size: 0.85rem;
  color: var(--black);
  font-family: var(--font-body);
  flex-shrink: 0;
  line-height: 0;
}
.product-feature:not(.product-feature--reverse) .pf-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
  padding-left: 10px;
}
.product-feature--reverse .pf-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
  margin-left: 40%;
}

/* Media side */
.pf-media {
  position: relative;
}
.pf-media-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: visible;
  max-width: 80%;
  margin-left: auto;
  transform: rotate(2deg);
}
.pf-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pf-media-label {
  position: absolute;
  top: 50%;
  left: -25%;
  transform: translateY(-50%) rotate(-2deg);
  background: var(--warm-brown);
  color: #fff;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  white-space: nowrap;
  border: 2px solid rgba(255,255,255,0.4);
}
.pf-media-label span {
  display: block;
  font-style: italic;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 20px 40px;
}

.product-feature:not(.product-feature--reverse) .pf-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
  margin-right: 40%;
  padding-left: 10px;
}
.product-feature--reverse .pf-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
  margin-left: 40%;
}
.product-feature--reverse .pf-actions {
  margin-top: 10px;
  padding-left: 10px;
  text-align: right;
}
.product-feature--reverse .pf-media-wrap {
  margin-left: 0;
}
.product-feature--reverse .pf-media-label {
  left: auto;
  right: -20%;
  transform: translateY(-50%) rotate(-2deg);
}
.product-feature--reverse .pf-media-label span {
  display: block;
  font-size: 1.5rem;
}

/* ============================================================
   PRODUCT GRID (4 images in a row)
   ============================================================ */
.products-grid-section {
  padding: 0 var(--side-pad) 40px;
  max-width: var(--site-max);
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.products-grid__item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.products-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.products-grid__item:nth-child(1),
.products-grid__item:nth-child(3) {
  margin-top: 60px;
}

/* ============================================================
   NEWSLETTER / KEEP UPDATED
   ============================================================ */
.newsletter {
  padding: 80px var(--side-pad) 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.newsletter__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--black);
}
.newsletter__sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.newsletter__form {
  display: flex;
  gap: 0;
  border: 1px solid var(--divider);
  max-width: 420px;
  width: 100%;
  margin-top: 10px;
}
.newsletter__form-icon {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid var(--divider);
  color: var(--text-muted);
}
.newsletter__form-icon svg {
  width: 18px; height: 18px;
  stroke: var(--text-muted); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.newsletter__form input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--black);
  outline: none;
}
.newsletter__form input[type="email"]::placeholder { color: var(--text-muted); }
.newsletter__submit {
  margin-top: 18px;
}
.newsletter__msg--success { color: #276749; }
.newsletter__msg--error { color: #c53030; }

.sib_signup_form {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.sib_loader { display: none !important; }

form#sib_signup_form_1 input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--black);
  background: transparent;
  outline: none;
}
form#sib_signup_form_1 input[type="email"]::placeholder {
  color: var(--text-muted);
}
/* ── Brevo button wrapper — gets the slide-hover overlay ── */
form#sib_signup_form_1 p.sib-default-btn-area {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: var(--black);
  border: 1.5px solid var(--black);
  cursor: pointer;
  margin: 0;
  padding: 0;
}
form#sib_signup_form_1 p.sib-default-btn-area::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  transition: right 0.4s ease;
  z-index: 0;
}
form#sib_signup_form_1 p.sib-default-btn-area:hover::before {
  right: 0;
}
/* ── Brevo submit input — sits above the overlay ── */
form#sib_signup_form_1 input.sib-default-btn {
  display: block;
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 36px;
  cursor: pointer;
  transition: color 0.4s ease;
  width: 100%;
  margin: 0;
}
form#sib_signup_form_1 p.sib-default-btn-area:hover input.sib-default-btn {
  color: var(--black);
}

/* ── Mobile (< 640px) ── */
@media (max-width: 640px) {
  .sib_signup_form {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #fff;
  border-top: 1px solid var(--divider);
  padding: 60px var(--side-pad) 36px;
  text-align: center;
}
.footer-brand-name {
  margin-bottom: 10px;
  line-height: 0;
}
.footer-brand-name__img {
  display: inline-block !important;
  max-width: 280px !important;
  width: 100% !important;
  height: auto !important;
}
@media (max-width: 640px) {
  .footer-brand-name__img {
    max-width: 200px;
  }
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  padding-bottom: 15px
}
.footer-legal a {
  color: var(--caption);
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--text-muted);
}
.footer-legal__sep {
  color: var(--caption);
  font-size: 0.6rem;
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--caption);
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE — ≤ 860px (tablet)
   ============================================================ */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }
  .hero__portrait { max-width: 100%; border-radius: 80px 80px 0 0; }
  .pf-media-wrap { max-width: 100%; }

  .editorial {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .editorial__quote-card { grid-column: 1 / -1; aspect-ratio: auto; }

  .product-feature {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 50px var(--side-pad);
  }
  .product-feature--reverse .pf-media { order: 0; }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .products-grid__item { aspect-ratio: 3/4 !important; margin-top: 0 !important; }

  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta-center { display: none; }
  .nav-icons-hamburger { display: flex; align-items: center; gap: 16px; }
}

/* ============================================================
   RESPONSIVE — ≤ 520px (mobile)
   ============================================================ */
@media (max-width: 520px) {
  :root { --nav-h: 70px; }

  .editorial {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .pf-media-label {
    left: -10px;
    font-size: 1rem;
  }
  .pf-media-label span { padding: 12px 20px; }
  .product-feature--reverse .pf-media-label {
    right: -10px;
    left: auto;
  }

  .newsletter__form { flex-direction: column; border: none; gap: 0; }
  .newsletter__form-icon { display: none; }
  .newsletter__form input[type="email"] {
    padding: 12px 14px;
    width: 100%;
  }
}

/* ============================================================
   WOOCOMMERCE
   ============================================================ */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img { border-radius: 0; }

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--black) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 11px 28px !important;
}
.woocommerce .button:hover { background: var(--warm-brown) !important; }

.elyon-woo-wrap { max-width: var(--site-max); margin: 0 auto; padding: 80px var(--side-pad); }

/* ============================================================
   SINGLE PRODUCT — REVIEWS
   ============================================================ */
.ev-sp__reviews-wrap .ev-sp__reviews-inner {
    max-width: 760px;
}

/* ── Summary ── */
.ev-sp__reviews-summary {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--rule, #dddad5);
}
.ev-sp__reviews-score-wrap {
    text-align: center;
    flex-shrink: 0;
    min-width: 140px;
}
.ev-sp__reviews-score {
    font-family: var(--serif, 'Noto Serif', Georgia, serif);
    font-size: 3.5rem;
    color: var(--ink, #1a1a2e);
    line-height: 1;
    display: block;
}
.ev-sp__reviews-stars {
    color: #d4a847;
    font-size: 1.1rem;
    margin: .4rem 0 .2rem;
    line-height: 1;
}
.ev-sp__reviews-meta {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .8rem;
    color: var(--dust, #a09880);
}
.ev-sp__reviews-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}
.ev-sp__reviews-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ev-sp__reviews-bar-label {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .7rem;
    color: var(--dust, #a09880);
    min-width: 12px;
    text-align: right;
}
.ev-sp__reviews-bar-track {
    flex: 1;
    height: 6px;
    background: #e8e5e0;
    border-radius: 3px;
    overflow: hidden;
}
.ev-sp__reviews-bar-fill {
    height: 100%;
    background: #d4a847;
    border-radius: 3px;
    transition: width .4s ease;
}
.ev-sp__reviews-bar-count {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .7rem;
    color: var(--dust, #a09880);
    min-width: 20px;
}

/* ── Review List ── */
.ev-sp__reviews-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ev-sp__review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--rule, #dddad5);
    list-style: none;
}
.ev-sp__review-item:first-child {
    padding-top: 0;
}
.ev-sp__review-item:last-child {
    border-bottom: none;
}
.ev-sp__review-inner {
    padding-left: 56px;
    position: relative;
    min-height: 48px;
}
.ev-sp__review-author-avatar {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
}
.ev-sp__review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.ev-sp__review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.ev-sp__review-author {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ev-sp__review-author-name {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink, #1a1a2e);
}
.ev-sp__review-verified {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #276749;
    background: #edf5ef;
    padding: 2px 8px;
    border-radius: 3px;
}
.ev-sp__review-date {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .7rem;
    color: var(--dust, #a09880);
    white-space: nowrap;
}
.ev-sp__review-rating {
    color: #d4a847;
    font-size: .85rem;
    margin-bottom: 6px;
    line-height: 1;
}
.ev-sp__review-awaiting {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .75rem;
    font-style: italic;
    color: var(--dust, #a09880);
    margin-bottom: 6px;
}
.ev-sp__review-content {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .9rem;
    line-height: 1.7;
    color: var(--dust, #a09880);
}
.ev-sp__review-content p {
    margin: 0 0 .5rem;
}
.ev-sp__review-content p:last-child {
    margin-bottom: 0;
}

/* ── Stars (CSS) ── */
.ev-sp__stars {
    display: inline-flex;
    gap: 2px;
    vertical-align: middle;
}
.ev-sp__star {
    font-size: inherit;
    line-height: 1;
}
.ev-sp__star--full {
    color: #d4a847;
}
.ev-sp__star--half {
    background: linear-gradient(90deg, #d4a847 50%, #ddd9d4 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ev-sp__star--empty {
    color: #ddd9d4;
}

/* ── No Reviews / Empty ── */
.ev-sp__no-reviews {
    text-align: center;
    padding: 3rem 0;
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .9rem;
    color: var(--dust, #a09880);
    font-style: italic;
}

/* ── Pagination ── */
.ev-sp__reviews-pagination {
    margin-top: 2rem;
    text-align: center;
}
.ev-sp__reviews-pagination .page-numbers {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ev-sp__reviews-pagination .page-numbers li a,
.ev-sp__reviews-pagination .page-numbers li span {
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .75rem;
    padding: 6px 12px;
    border: 1px solid var(--rule, #dddad5);
    color: var(--ink, #1a1a2e);
    transition: all .2s;
    display: inline-block;
}
.ev-sp__reviews-pagination .page-numbers li a:hover,
.ev-sp__reviews-pagination .page-numbers li .current {
    background: var(--ink, #1a1a2e);
    color: #fff;
    border-color: var(--ink, #1a1a2e);
}

/* ── Review Form ── */
.ev-sp__reviews-wrap #respond {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule, #dddad5);
}
.ev-sp__reviews-wrap .comment-reply-title {
    font-family: var(--serif, 'Noto Serif', Georgia, serif);
    font-size: 1.3rem;
    color: var(--ink, #1a1a2e);
    margin-bottom: 1.5rem;
    display: block;
}
.ev-sp__reviews-wrap .comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}
.ev-sp__reviews-wrap .comment-form .comment-form-author { grid-column: 1; }
.ev-sp__reviews-wrap .comment-form .comment-form-email { grid-column: 2; }
.ev-sp__reviews-wrap .comment-form .comment-form-rating { grid-column: 1 / -1; }
.ev-sp__reviews-wrap .comment-form .comment-form-comment { grid-column: 1 / -1; }
.ev-sp__reviews-wrap .comment-form .form-submit { grid-column: 1 / -1; }
.ev-sp__reviews-wrap .comment-form .must-log-in { grid-column: 1 / -1; }

.ev-sp__reviews-wrap .comment-form label {
    display: block;
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink, #1a1a2e);
    margin-bottom: 6px;
}
.ev-sp__reviews-wrap .comment-form input[type="text"],
.ev-sp__reviews-wrap .comment-form input[type="email"],
.ev-sp__reviews-wrap .comment-form textarea {
    width: 100%;
    padding: .75rem 1rem;
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .85rem;
    color: var(--ink, #1a1a2e);
    background: #fafaf8;
    border: 1px solid var(--rule, #dddad5);
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: border-color .2s, background .2s;
}
.ev-sp__reviews-wrap .comment-form input:focus,
.ev-sp__reviews-wrap .comment-form textarea:focus {
    outline: none;
    border-color: var(--ink, #1a1a2e);
    background: #fff;
}
.ev-sp__reviews-wrap .comment-form input::placeholder,
.ev-sp__reviews-wrap .comment-form textarea::placeholder {
    color: #c5c0b8;
}
.ev-sp__reviews-wrap .comment-form textarea {
    resize: vertical;
    min-height: 120px;
}
.ev-sp__reviews-wrap .form-submit .submit {
    padding: 1rem 2.5rem;
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fff;
    background: var(--bark, #2d1f14);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background .3s;
}
.ev-sp__reviews-wrap .form-submit .submit:hover {
    background: var(--ink, #1a1a2e);
}

/* ── Interactive Star Input ── */
.ev-sp__star-input {
    position: relative;
    margin-bottom: 1rem;
}
.ev-sp__star-input select {
    display: none;
}
.ev-sp__star-preview {
    display: inline-flex;
    gap: 4px;
    cursor: pointer;
}
.ev-sp__star-preview .ev-sp__star {
    font-size: 1.6rem;
    color: #ddd9d4;
    transition: color .15s;
    cursor: pointer;
    user-select: none;
}
.ev-sp__star-preview .ev-sp__star--full {
    color: #d4a847;
}
.stars {
  display: none !important;
}

/* ── Login Required ── */
.ev-sp__reviews-login-required {
    text-align: center;
    padding: 2rem 0;
    font-family: var(--sans, 'Manrope', sans-serif);
    font-size: .85rem;
    color: var(--dust, #a09880);
}
.ev-sp__reviews-login-required a {
    color: var(--ink, #1a1a2e);
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .ev-sp__reviews-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .ev-sp__reviews-bars {
        width: 100%;
        max-width: 280px;
    }
    .ev-sp__review-inner {
        padding-left: 0;
    }
    .ev-sp__review-author-avatar {
        position: static;
        display: inline-block;
        vertical-align: middle;
    }
    .ev-sp__review-author {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .ev-sp__reviews-wrap .comment-form {
        grid-template-columns: 1fr;
    }
    .ev-sp__reviews-wrap .comment-form .comment-form-author { grid-column: 1; }
    .ev-sp__reviews-wrap .comment-form .comment-form-email { grid-column: 1; }
}

/* ============================================================
   ELYON SHOP — Abstract Product Grid
   ============================================================ */
.elyon-shop {
  --shop-gap: 20px;
}

.elyon-shop__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}

.elyon-shop__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.elyon-shop__filters .widget {
  margin: 0;
}

.elyon-shop__filters .woocommerce-widget-layered-nav-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.elyon-shop__filters .woocommerce-widget-layered-nav-list li {
  position: relative;
}

.elyon-shop__filters .woocommerce-widget-layered-nav-list a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--divider);
  background: transparent;
  color: var(--black);
  transition: all 0.25s ease;
}

.elyon-shop__filters .woocommerce-widget-layered-nav-list a:hover,
.elyon-shop__filters .woocommerce-widget-layered-nav-list .chosen a {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.elyon-shop__sort-count {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.elyon-shop__count {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--caption);
  white-space: nowrap;
}

.elyon-shop__sort select {
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--divider);
  background: transparent;
  color: var(--black);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

.elyon-shop__sort select:focus {
  outline: none;
  border-color: var(--black);
}

.elyon-shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--shop-gap);
  align-items: start;
}

.elyon-shop__grid > ul.products,
.elyon-shop__grid > .products {
  display: contents;
}

.elyon-shop__grid > ul.products li.product,
.elyon-shop__grid > .products li.product {
  grid-column: unset;
}

.elyon-product {
  position: relative;
}

.elyon-product:nth-child(4n+1) { margin-top: 0; }
.elyon-product:nth-child(4n+2) { margin-top: 40px; }
.elyon-product:nth-child(4n+3) { margin-top: 20px; }
.elyon-product:nth-child(4n+4) { margin-top: 60px; }

@media (max-width: 860px) {
  .elyon-product:nth-child(4n+1),
  .elyon-product:nth-child(4n+2),
  .elyon-product:nth-child(4n+3),
  .elyon-product:nth-child(4n+4) { margin-top: 0; }

  .elyon-product:nth-child(2n+2) { margin-top: 30px; }
}

@media (max-width: 520px) {
  .elyon-product:nth-child(2n+2) { margin-top: 0; }
}

.elyon-product__image-link {
  display: block;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.elyon-product__image {
  width: 100%;
  aspect-ratio: unset;
}

.elyon-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.elyon-product:hover .elyon-product__image img {
  transform: scale(1.04);
}

.elyon-product__image-wrap--1 {
  aspect-ratio: 3/4;
}

.elyon-product__image-wrap--2 {
  aspect-ratio: 4/5;
}

.elyon-product__image-wrap--3 {
  aspect-ratio: 2/3;
  border-radius: 100px 100px 0 0;
}

.elyon-product__meta {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.elyon-product__info {
  flex: 1;
}

.elyon-product__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 4px;
}

.elyon-product__title a {
  transition: opacity 0.2s;
}

.elyon-product__title a:hover {
  opacity: 0.7;
}

.elyon-product__subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--caption);
  line-height: 1.4;
}

.elyon-product__price {
  flex-shrink: 0;
}

.elyon-product__price .price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
}

.elyon-product__price .price del {
  color: var(--caption);
  font-weight: 400;
}

.elyon-product__price .price ins {
  text-decoration: none;
}

.elyon-shop__no-products {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.woocommerce-pagination {
  margin-top: 60px;
  text-align: center;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
}

.woocommerce-pagination a,
.woocommerce-pagination .current {
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 8px 14px;
  border: 1px solid var(--divider);
  color: var(--black);
  transition: all 0.2s;
}

.woocommerce-pagination a:hover,
.woocommerce-pagination .current {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.elyon-product__image-wrap--3 {
  aspect-ratio: 2/3;
  border-radius: 100px 100px 0 0;
}

@media (max-width: 860px) {
  .elyon-shop__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .elyon-shop__filters {
    order: 2;
  }

  .elyon-shop__sort-count {
    order: 1;
    justify-content: space-between;
  }

  .elyon-shop__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .elyon-shop__grid {
    gap: 12px;
  }

  .elyon-product__title {
    font-size: 0.9rem;
  }

  .elyon-product__price .price {
    font-size: 0.85rem;
  }
}

/* ============================================================
   WOOCOMMERCE BLOCKS CHECKOUT
   Let the native WooCommerce Blocks flexbox handle layout.
   We only style colors, fonts, spacing, and borders.
   ============================================================ */

/* ── Body class override for checkout pages ── */
body.woocommerce-checkout {
  background: #f4f2ef;
}
body.woocommerce-checkout .entry-content {
  max-width: none !important;
}
body.woocommerce-checkout .entry-content > article > header {
  display: none;
}
.wc-block-checkout {
  font-family: var(--font-body);
  color: var(--black);
}

/* ── Checkout steps / sections ── */
.wc-block-components-checkout-step {
  position: relative;
  border: none;
  padding: 0;
  margin-bottom: 36px;
}
.wc-block-components-checkout-step__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--divider);
}
.wc-block-components-checkout-step__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.02em;
}
.wc-block-components-checkout-step__container {
  padding-left: 0;
}

/* ── Form fields (text input, select, textarea) ── */
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-country-input,
.wc-block-components-state-input {
  position: relative;
  margin-bottom: 18px;
}
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox input,
.wc-block-components-country-input select,
.wc-block-components-state-input select {
  width: 100%;
  padding: 18px 14px 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--black);
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
  line-height: 1.5;
  height: auto;
  min-height: 48px;
  appearance: none;
}
.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-country-input select:focus,
.wc-block-components-state-input select:focus {
  border-color: var(--black);
  box-shadow: none;
}
.wc-block-components-text-input input[type="checkbox"],
.wc-block-components-text-input input[type="radio"] {
  padding: 0;
  min-height: auto;
  width: auto;
}
.wc-block-components-text-input label,
.wc-block-components-combobox label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.2s ease;
  transform-origin: left center;
  line-height: 1;
  margin: 0;
}
.wc-block-components-text-input input:focus + label,
.wc-block-components-text-input input:not(:placeholder-shown) + label,
.wc-block-components-text-input textarea:focus + label,
.wc-block-components-text-input textarea:not(:placeholder-shown) + label,
.wc-block-components-text-input input:-webkit-autofill + label {
  top: 6px;
  transform: translateY(0) scale(0.8);
}
.wc-block-components-text-input input::placeholder,
.wc-block-components-text-input textarea::placeholder {
  color: transparent;
}
.wc-block-components-text-input input[type="email"]:placeholder-shown:not(:focus)::placeholder {
  color: transparent;
}

/* ── Select arrows ── */
.wc-block-components-country-input select,
.wc-block-components-state-input select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ── Combobox (country/state with autocomplete) ── */
.wc-block-components-combobox .wc-block-components-combobox-control {
  position: relative;
}
.wc-block-components-combobox .components-combobox-control__suggestions-container {
  position: relative;
}
.wc-block-components-combobox .components-form-token-field__suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--divider);
  border-top: none;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wc-block-components-combobox .components-form-token-field__suggestion {
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--black);
  cursor: pointer;
  margin: 0;
}
.wc-block-components-combobox .components-form-token-field__suggestion.is-selected {
  background: var(--off-white);
}

/* ── Checkbox & radio fields ── */
.wc-block-components-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.wc-block-components-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--black);
  flex-shrink: 0;
}
.wc-block-components-checkbox label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--black);
  line-height: 1.5;
}

/* ── Payment method radio cards ── */
.wc-block-checkout__payment-method {
  margin-top: 24px;
}
.wc-block-components-radio-control-accordion-option {
  border: 1px solid var(--divider);
  margin-bottom: 10px;
  padding: 0;
  border-radius: 0;
  background: #fff;
  transition: border-color 0.2s ease;
}
.wc-block-components-radio-control-accordion-option:hover {
  border-color: var(--black);
}
.wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked {
  border-color: var(--black);
  border-width: 1.5px;
}
.wc-block-components-radio-control__option {
  padding: 16px 16px 16px 48px;
  position: relative;
  cursor: pointer;
}
.wc-block-components-radio-control__input {
  position: absolute;
  left: 16px;
  top: 20px;
  width: 18px;
  height: 18px;
  accent-color: var(--black);
}
.wc-block-components-radio-control__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}
.wc-block-components-radio-control__label .wc-block-components-payment-method-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wc-block-components-radio-control__label img {
  width: auto;
  height: 24px;
  display: inline-block;
}
.wc-block-components-radio-control-accordion-option__content {
  padding: 0 16px 16px 48px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--divider);
  margin-top: 0;
  padding-top: 16px;
}

/* ── "No payment methods" notice ── */
.wc-block-checkout__no-payment-methods-notice {
  padding: 24px;
  background: var(--off-white);
  border: 1px solid var(--divider);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin: 20px 0;
}

/* ── Billing / shipping same address toggle ── */
.wc-block-components-checkbox .wc-block-components-checkbox__label {
  font-weight: 500;
  font-size: 0.82rem;
}

/* ── Order notes / additional info ── */
.wc-block-components-textarea {
  margin-bottom: 18px;
}
.wc-block-components-textarea textarea {
  width: 100%;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--black);
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 0;
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s ease;
}
.wc-block-components-textarea textarea:focus {
  border-color: var(--black);
}

/* ── Sticky sidebar ── */
.wc-block-components-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
}
@media (max-width: 1150px) {
  .wc-block-components-sidebar {
    position: static;
  }
}

/* ── Place order button ── */
.wc-block-checkout__actions_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  flex-wrap: wrap;
  gap: 8px;
}
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button svg {
  position: relative;
  transform: none;
}
.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button:hover {
  color: var(--black);
}
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions button.wc-block-components-checkout-place-order-button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 44px;
  border: 1.5px solid var(--black);
  background: var(--black);
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  border-radius: 0;
  white-space: nowrap;
  min-width: 200px;
  text-align: center;
}
.wc-block-components-checkout-place-order-button::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  transition: right 0.4s ease;
  z-index: 0;
  right: -100%;
}
.wc-block-components-checkout-place-order-button:hover::before {
  right: 0;
}
.wc-block-components-checkout-place-order-button div {
  position: relative;
  z-index: 1;
}
.wc-block-components-checkout-place-order-button:hover {
  color: var(--black) !important;
  border-color: var(--black);
  background: var(--black);
}
.wc-block-components-checkout-place-order-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wc-block-components-checkout-place-order-button:disabled::before {
  display: none;
}
.wc-block-components-checkout-place-order-button:disabled:hover {
  color: #fff;
}

/* ── Order summary sidebar ── */
.wc-block-components-order-summary {
  background: var(--off-white);
  padding: 28px;
  border: none;
}
.wc-block-components-order-summary .wc-block-components-panel__button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  padding: 12px 0;
  border-top: 1px solid var(--divider);
  margin-top: 0;
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wc-block-components-order-summary .wc-block-components-panel__button:hover {
  opacity: 0.8;
}
.wc-block-components-order-summary .wc-block-components-panel__button[aria-expanded="true"] + .wc-block-components-panel__content {
  padding-bottom: 12px;
}
.wc-block-components-order-summary .wc-block-components-order-summary__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Product items in order summary ── */
.wc-block-components-order-summary-item {
  display: grid;
  grid-template-columns: 60px minmax(0,1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}
.wc-block-components-order-summary-item:last-child {
  border-bottom: none;
}
.wc-block-components-order-summary-item__image {
  width: 60px;
  height: 75px;
  object-fit: cover;
  border-radius: 0;
}
.wc-block-components-order-summary-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wc-block-components-order-summary-item__description {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wc-block-components-product-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
}
.wc-block-components-product-metadata {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.wc-block-components-order-summary-item__quantity {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.wc-block-components-order-summary-item__total-price {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

/* ── Totals rows ── */
.wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--black);
}
.wc-block-components-totals-item__label {
  font-weight: 500;
  color: var(--black);
}
.wc-block-components-totals-item__value {
  font-weight: 500;
  color: var(--black);
}
.wc-block-components-totals-footer-item {
  margin-top: 4px;
  padding-top: 14px;
  font-weight: 600;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 0.9rem;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1rem;
  font-weight: 700;
}

/* ── Coupon form ── */
.wc-block-components-totals-coupon {
  padding: 16px 0 0;
  border-top: 1px solid var(--divider);
  margin-top: 4px;
}
.wc-block-components-totals-coupon .wc-block-components-panel__button {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wc-block-components-totals-coupon .wc-block-components-panel__button:hover {
  color: var(--black);
}
.wc-block-components-totals-coupon__form {
  display: flex;
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--divider);
}
.wc-block-components-totals-coupon__form input {
  flex: 1;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--black);
  border: none;
  background: #fff;
  outline: none;
}
.wc-block-components-totals-coupon__form input:focus {
  background: #fff;
}
.wc-block-components-totals-coupon__form button {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--warm-brown);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.wc-block-components-totals-coupon__form button:hover {
  background: var(--black);
}

.wc-block-components-totals-coupon__form button:hover div {
  z-index: 100;
}

/* ── Notices (errors, success, info) ── */
.wc-block-components-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  border: none;
  border-radius: 0;
  line-height: 1.5;
}
.wc-block-components-notice-banner.is-error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 3px solid #dc2626;
}
.wc-block-components-notice-banner.is-success {
  background: #f0fdf4;
  color: #166534;
  border-left: 3px solid #16a34a;
}
.wc-block-components-notice-banner.is-info {
  background: var(--off-white);
  color: var(--black);
  border-left: 3px solid var(--black);
}
.wc-block-components-notice-banner__content {
  flex: 1;
}
.wc-block-components-notice-banner__content a {
  text-decoration: underline;
  font-weight: 600;
}
.wc-block-components-notice-banner__content a:hover {
  opacity: 0.7;
}
.wc-block-components-notice-banner__dismiss {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.5;
  padding: 0;
  line-height: 1;
}
.wc-block-components-notice-banner__dismiss:hover {
  opacity: 1;
}

/* ── Shipping calculator ── */
.wc-block-components-shipping-calculator-address__wrapper {
  padding: 16px 0;
}
.wc-block-components-shipping-rates-control__package {
  margin-bottom: 16px;
}
.wc-block-components-shipping-rates-control__package__title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wc-block-components-shipping-rates-control__package__description {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.wc-block-components-radio-control__option .wc-block-components-radio-control__label {
  font-weight: 400;
  font-size: 0.82rem;
}
.wc-block-components-radio-control__option .wc-block-components-radio-control__description {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-left: 28px;
}

/* ── Loading / processing overlay ── */
.wc-block-components-main .wc-block-components-processing {
  opacity: 0.6;
  pointer-events: none;
}

/* ── Validation error text ── */
.wc-block-components-text-input .wc-block-components-validation-error,
.wc-block-components-textarea .wc-block-components-validation-error,
.wc-block-components-combobox .wc-block-components-validation-error,
.wc-block-components-country-input .wc-block-components-validation-error,
.wc-block-components-state-input .wc-block-components-validation-error {
  font-size: 0.72rem;
  color: #dc2626;
  margin-top: 4px;
}
.wc-block-components-validation-error > * {
  font-size: 0.72rem;
  color: #dc2626;
}

/* ── Responsive: ≤ 520px (mobile) ── */
@media (max-width: 520px) {
  .wc-block-components-order-summary {
    padding: 20px;
  }
  .wc-block-components-checkout-step__heading {
    padding-bottom: 10px;
    margin-bottom: 16px;
  }
  .wc-block-components-checkout-step__title {
    font-size: 1rem;
  }
  .wc-block-components-text-input input,
  .wc-block-components-text-input textarea,
  .wc-block-components-country-input select,
  .wc-block-components-state-input select {
    padding: 16px 12px 6px;
    font-size: 0.82rem;
  }
  .wc-block-components-radio-control__option {
    padding: 14px 14px 14px 42px;
  }
  .wc-block-components-radio-control__input {
    left: 14px;
    top: 16px;
  }
  .wc-block-components-radio-control-accordion-option__content {
    padding: 0 14px 14px 42px;
  }
  .wc-block-components-checkout-place-order-button,
  .wc-block-checkout__actions button.wc-block-components-checkout-place-order-button {
    width: fit-content;
    min-width: 0;
  }
  .wc-block-checkout__actions {
    flex-direction: column-reverse;
  }
  .wc-block-components-order-summary-item {
    grid-template-columns: 50px minmax(0,1fr) auto;
    gap: 8px;
  }
  .wc-block-components-order-summary-item__image {
    width: 50px;
    height: 62px;
  }
  .wc-block-components-product-name {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .wc-block-components-order-summary-item__total-price {
    white-space: normal;
  }
}


@media (min-width: 1151px) {
  .wc-block-components-sidebar-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .wc-block-checkout__main {
    width: 60%;
  }

  .wc-block-checkout__sidebar {
    width: 40%;
  }
}

@media (max-width: 1150px) {
  .wc-block-components-sidebar-layout {
    flex-direction: column;
  }

  .wc-block-checkout__main,
  .wc-block-checkout__sidebar {
    width: 100%;
  }
}

@media (max-width: 780px) {
  .wp-block-woocommerce-checkout {
    padding-top: 0;
  }
}

/* ============================================================
   FIRST-VISIT POPUP
   ============================================================ */
.elyon-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.elyon-popup-modal {
  background: #fff;
  max-width: 520px;
  width: 100%;
  padding: 3rem 2.5rem;
  position: relative;
  text-align: center;
}
.elyon-popup-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--black);
  line-height: 1;
}
.elyon-popup-modal__heading {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.elyon-popup-modal .sib-form {
  text-align: left;
}

/* ============================================================
   NOTIFICATION TOAST
   ============================================================ */
.elyon-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 10000;
  background: var(--black);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.elyon-notification--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
@media (max-width: 600px) {
  .elyon-notification {
    white-space: normal;
    text-align: center;
    width: calc(100% - 40px);
    font-size: 0.82rem;
  }
}