/*
Theme Name: ThemeLiving
Theme URI: http://yenliving.test/
Author: HT Agency
Author URI: http://yenliving.test/
Description: A luxury, minimalist theme for Yen Living (inspired by Bo Concept)
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themeliving
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

:root {
  --primary-dark: #1a1a1a;
  --secondary-dark: #2c2c2c;
  --accent-light: #f5f5f5;
  --white: #ffffff;
  --text-color: #333;
  --text-light: #666;
  --border-color: #e0e0e0;
  --accent-color: #d4845c;
  --logo-color: #906030;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --content-padding: 50px;
  --font-size-base: 16px;
  --system-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Montserrat, Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--system-font-family);
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
}

/* ========== CART PAGE ========== */
.woocommerce-cart article:has(.yen-empty-cart) { border: 0; box-shadow: none; background: transparent; }
.woocommerce-cart .yen-empty-cart { width: 100%; padding: 24px 50px 56px; box-sizing: border-box; }
.yen-empty-cart__breadcrumb { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #777; font-size: 13px; }
.yen-empty-cart__breadcrumb a { color: #333; text-decoration: none; }
.yen-empty-cart__panel { min-height: 380px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid #e8e3dc; border-radius: 12px; background: #faf9f6; }
.yen-empty-cart__icon { width: 88px; height: 88px; border-radius: 50%; background: #eee8df; display: grid; place-items: center; margin-bottom: 22px; color: #806443; }
.yen-empty-cart__icon svg { width: 50px; height: 50px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.woocommerce-cart .yen-empty-cart__panel h1 { margin: 0 0 12px; color: #252525; font-size: clamp(23px, 2vw, 30px); font-weight: 500; line-height: 1.35; }
.woocommerce-cart .yen-empty-cart__panel p { max-width: 520px; margin: 0 0 26px; color: #68635e; font-size: 15px; line-height: 1.7; }
.woocommerce-cart .yen-empty-cart__button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; padding: 12px 26px; background: #222; color: #fff; text-decoration: none; font-size: 15px; line-height: 1.5; border-radius: 3px; transition: background .2s; }
.woocommerce-cart .yen-empty-cart__button:hover { background: #806443; color: #fff; }
.yen-empty-cart__button:focus-visible { outline: 2px solid #806443; outline-offset: 4px; }
@media (max-width: 600px) {
  .woocommerce-cart .yen-empty-cart { padding: 20px 10px 32px; }
  .yen-empty-cart__panel { min-height: 340px; padding: 32px 18px; }
}

.woocommerce-cart .site-content {
  display: block;
  padding: 0;
}

.woocommerce-cart .content-area,
.woocommerce-cart .entry-content {
  width: 100%;
}

.woocommerce-cart .entry-header,
.woocommerce-cart .entry-title {
  display: none;
}

.woocommerce-cart article,
.woocommerce-cart .entry-content {
  margin: 0;
  padding: 0;
}

.woocommerce-cart .woocommerce-notices-wrapper:not(:empty) {
  width: calc(100% - 100px);
  margin: 18px auto;
}

.yen-cart-page {
  width: 100%;
  background: #faf9f7;
  color: #191919;
}

.yen-cart-shell {
  width: calc(100% - 100px);
  max-width: none;
  margin-inline: auto;
}

.yen-cart-hero {
  min-height: 150px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 244, 240, .98), rgba(247, 244, 240, .72) 47%, rgba(247, 244, 240, .18)),
    var(--cart-banner, linear-gradient(120deg, #f2eee8, #ded5c9));
  background-position: center;
  background-size: cover;
}

.yen-cart-hero .yen-cart-shell {
  padding-block: 24px;
}

.yen-cart-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: #777;
  font-size: 12px;
}

.yen-cart-breadcrumb a {
  color: inherit;
}

.yen-cart-hero h1 {
  margin: 0;
  color: #1b1b1b;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 500;
  line-height: 1.15;
}

.yen-cart-hero p {
  margin: 7px 0 0;
  color: #666;
  font-size: 14px;
}

.yen-cart-content {
  padding-block: 22px 40px;
}

.yen-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 31%);
  gap: 16px;
  align-items: start;
}

.yen-cart-form,
.yen-cart-summary .cart_totals {
  border: 1px solid #e8e6e2;
  background: #fff;
  box-shadow: 0 7px 24px rgba(44, 38, 31, .035);
}

.yen-cart-table-heading,
.yen-cart-item {
  display: grid;
  grid-template-columns: minmax(360px, 1.8fr) minmax(105px, .65fr) minmax(130px, .7fr) minmax(120px, .72fr) 56px;
  align-items: center;
}

.yen-cart-table-heading {
  min-height: 52px;
  padding-inline: 18px;
  border-bottom: 1px solid #eeeae5;
  color: #6e6a65;
  font-size: 12px;
}

.yen-cart-table-heading span:not(:first-child) {
  text-align: center;
}

.yen-cart-item {
  min-height: 118px;
  padding: 16px 18px;
  border-bottom: 1px solid #efede9;
}

.yen-cart-item__product {
  min-width: 0;
  display: grid;
  grid-template-columns: 18px 98px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.yen-cart-check {
  position: relative;
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
  cursor: pointer;
}

.yen-cart-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.yen-cart-check > span {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1c1c1c;
  border-radius: 3px;
  background: #1c1c1c;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}

.yen-cart-check input:not(:checked) + span {
  background: #fff;
  color: transparent;
}

.yen-cart-check input:focus-visible + span {
  outline: 2px solid rgba(28, 28, 28, .3);
  outline-offset: 2px;
}

.yen-cart-item__image {
  width: 98px;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #f1efec;
}

.yen-cart-item__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.yen-cart-item__details {
  min-width: 0;
}

.yen-cart-item__name {
  display: block;
  overflow: hidden;
  color: #1d1d1d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yen-cart-item__meta {
  margin-top: 5px;
  color: #68645f;
  font-size: 11px;
  line-height: 1.45;
}

.yen-cart-item__meta dl {
  margin: 0;
}

.yen-cart-item__meta dt,
.yen-cart-item__meta dd {
  display: inline;
  float: none;
  margin: 0 3px 0 0;
}

.yen-cart-item__meta dd::after {
  content: " · ";
}

.yen-cart-item__price,
.yen-cart-item__subtotal {
  color: #1c1c1c;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.yen-cart-item__quantity {
  display: flex;
  justify-content: center;
}

.yen-cart-item__quantity .quantity {
  width: 88px;
  height: 36px;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  border: 1px solid #dedbd6;
}

.yen-cart-item__quantity input.qty {
  width: 30px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 13px;
  text-align: center;
  appearance: textfield;
}

.yen-cart-qty-button {
  width: 28px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.yen-cart-item__quantity input.qty::-webkit-inner-spin-button,
.yen-cart-item__quantity input.qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.yen-cart-item__remove {
  text-align: center;
}

.yen-cart-item__remove .remove {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: #555 !important;
  background: transparent !important;
}

.yen-cart-item__remove svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yen-cart-actions {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 18px;
  color: #555;
  font-size: 12px;
}

.yen-cart-select-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.yen-cart-item.is-unselected {
  background: #fbfbfa;
}

.yen-cart-item.is-unselected > :not(.yen-cart-item__product),
.yen-cart-item.is-unselected .yen-cart-item__image,
.yen-cart-item.is-unselected .yen-cart-item__details {
  opacity: .48;
}

.yen-cart-actions button {
  border: 0;
  background: none;
  color: #666;
  font: inherit;
  cursor: pointer;
}

.yen-cart-actions a {
  margin-left: auto;
  color: #555;
}

.yen-cart-summary {
  position: sticky;
  top: 104px;
}

.yen-cart-summary .cart_totals {
  width: 100%;
  padding: 22px;
}

.yen-cart-summary h2 {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 600;
}

.yen-cart-summary__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
  color: #555;
  font-size: 12px;
}

.yen-cart-summary__row strong {
  color: #222;
  font-weight: 600;
  white-space: nowrap;
}

.yen-cart-summary__row small {
  display: block;
  margin-top: 2px;
  color: #999;
  font-size: 10px;
}

.yen-cart-coupon form {
  height: 42px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  margin: 8px 0;
  border: 1px solid #dedbd6;
  background: #fff;
}

.yen-cart-coupon svg {
  width: 16px;
  margin-left: 10px;
  fill: none;
  stroke: #666;
  stroke-width: 1.5;
}

.yen-cart-coupon input {
  min-width: 0;
  height: 40px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.yen-cart-coupon button {
  height: 34px;
  margin-right: 4px;
  padding-inline: 17px;
  border: 0;
  background: #1d1d1d;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}

.yen-cart-summary__shipping {
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e2dd;
}

.yen-cart-summary__total {
  align-items: center;
  padding: 17px 0 10px;
  color: #222;
  font-size: 15px;
  font-weight: 600;
}

.yen-cart-summary__total strong {
  font-size: 23px;
}

.yen-cart-summary .wc-proceed-to-checkout {
  padding: 4px 0 15px;
}

.yen-cart-summary .checkout-button {
  min-height: 52px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #1d1d1d !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.yen-cart-trust {
  display: grid;
  gap: 13px;
  padding-top: 15px;
  border-top: 1px solid #e5e2dd;
}

.yen-cart-trust > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
}

.yen-cart-trust svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: #f3f0eb;
  fill: none;
  stroke: #222;
  stroke-width: 1.4;
}

.yen-cart-trust span,
.yen-cart-trust strong,
.yen-cart-trust small {
  display: block;
}

.yen-cart-recommendations {
  position: relative;
  width: 100%;
  margin-top: 26px;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.yen-cart-recommendations__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.yen-cart-recommendations__heading h2 {
  margin: 0;
  color: #1b1b1b;
  font-size: 24px;
  font-weight: 600;
}

.yen-cart-recommendations__heading a {
  color: #222;
  font-size: 12px;
}

.yen-cart-recommendations .home-category-strip__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.yen-cart-recommendations .home-category-strip__viewport::-webkit-scrollbar {
  display: none;
}

.yen-cart-recommendations .home-products-strip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
}

.yen-cart-recommendations .home-product-card {
  scroll-snap-align: start;
  border: 1px solid #e9e6e1;
}

.yen-cart-recommendations .home-product-card__media {
  aspect-ratio: 4 / 3;
}

.yen-cart-recommendations .home-product-card__body {
  padding: 12px;
}

.yen-cart-recommendations .home-product-card__label {
  margin-bottom: 5px;
  font-size: 10px;
}

.yen-cart-recommendations .home-product-card__title {
  font-size: 14px;
}

.yen-cart-recommendations .home-product-card__price {
  margin-top: 5px;
  font-size: 13px;
}

.yen-cart-recommendations .home-category-strip__arrow {
  top: 50%;
  left: 0;
  width: 38px;
  height: 54px;
  transform: translateY(-20%);
}

.yen-cart-recommendations .home-category-strip__arrow--next {
  right: 0;
  left: auto;
}

.yen-cart-recommendations:not(:hover) .home-category-strip__arrow {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1180px) {
  .yen-cart-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .yen-cart-table-heading,
  .yen-cart-item {
    grid-template-columns: minmax(300px, 1.5fr) 95px 110px 110px 44px;
  }

  .yen-cart-recommendations .home-products-strip__track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }
}

@media (max-width: 980px) {
  .yen-cart-layout {
    grid-template-columns: 1fr;
  }

  .yen-cart-summary {
    position: static;
  }

  .yen-cart-recommendations .home-products-strip__track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 760px) {
  .yen-cart-shell {
    width: calc(100% - 32px);
  }

  .yen-cart-hero {
    min-height: 130px;
  }

  .yen-cart-table-heading {
    display: none;
  }

  .yen-cart-item {
    position: relative;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }

  .yen-cart-item__product {
    grid-column: 1 / -1;
    grid-template-columns: 16px 92px minmax(0, 1fr);
  }

  .yen-cart-item__price,
  .yen-cart-item__subtotal {
    text-align: left;
  }

  .yen-cart-item__quantity {
    justify-content: flex-start;
  }

  .yen-cart-item__remove {
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .yen-cart-actions {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .yen-cart-actions a {
    width: 100%;
    margin-left: 0;
  }

  .yen-cart-recommendations .home-products-strip__track {
    grid-auto-columns: min(76vw, 290px);
  }
}

.yen-cart-trust strong {
  font-size: 12px;
  font-weight: 600;
}

.yen-cart-trust small {
  margin-top: 1px;
  color: #777;
  font-size: 10px;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* ========== LAYOUT ========== */

.site {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 3rem var(--content-padding);
  width: 100%;
  flex: 1;
}

.content-area {
  background-color: var(--white);
}

/* ========== BOCONCEPT-STYLE HEADER (authoritative) ========== */
/* Base header: solid dark bar on inner pages */
.site-header {
  width: 100%;
  padding: 0;
  background: #1c1c1c;
  color: #fff;
  position: relative;
  z-index: 100;
}

/* Homepage / blog: transparent header overlaid on the hero media */
.home .site-header,
.blog .site-header,
.page-template-front .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}

/* One row: nav (left) | centered logo | search + cart (right) */
.site-header .site-header-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 90px;
  gap: 30px;
  padding: 8px var(--content-padding);
  box-sizing: border-box;
}
.site-header .header-topbar,
.site-header .header-mainbar { display: contents; }
.site-header .header-spacer { display: none; }

.site-header .main-navigation { order: 1; }
.site-header .site-branding {
  order: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.site-header .header-search { order: 3; margin-left: auto; }
.site-header .cart-link { order: 4; margin-left: 4px; }

.site-header .store-locator {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.site-header .store-locator:hover { color: rgba(255,255,255,.7); }
.site-header .header-icon { font-size: 1rem; line-height: 1; }

.site-header .site-branding { justify-self: center; text-align: center; }
.site-header .site-branding .custom-logo-link { display: block; }
.site-header .site-branding .custom-logo,
.site-header .site-branding img {
  display: block;
  width: auto;
  max-width: 300px;
  max-height: 70px;
  filter: brightness(0) invert(1);
}
.site-header .site-title { margin: 0; font-size: 1.35rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.site-header .site-title a,
.site-header .site-title a:hover { color: #fff; }

.site-header .cart-link {
  position: relative;
  flex-shrink: 0;
  justify-self: end;
  display: inline-flex;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #fff;
}
.site-header .cart-link:hover { color: rgba(255,255,255,.7); }
.site-header .cart-link svg,
.site-header .search-btn svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Row 2: hamburger + nav | search */
.site-header .main-navigation { display: flex; align-items: center; gap: 26px; }
.site-header .menu-toggle,
.site-header .main-navigation .menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-header .menu-toggle span { display: block; width: 22px; height: 1px; background: #fff; }

/* Header mega menu */
.site-header .header-mega-wrap {
  display: flex;
  align-items: center;
}

.site-header .header-mega-menu {
  position: absolute;
  top: calc(50% + 14px);
  left: 50px;
  z-index: 1200;
  width: 70vw;
  max-width: 1400px;
  color: #242424;
  background: #fff;
  border: 1px solid #e4e1dc;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}

.site-header .header-mega-menu::before {
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background: transparent;
  content: '';
}

.site-header .header-mega-wrap:hover .header-mega-menu,
.site-header .header-mega-wrap:focus-within .header-mega-menu,
.site-header .header-mega-wrap.is-open .header-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.site-header .header-mega-menu__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 430px;
}

.site-header .header-mega-menu__locations,
.site-header .header-mega-menu__categories,
.site-header .header-mega-menu__featured {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid #ece9e4;
}

.site-header .header-mega-menu__locations {
  display: flex;
  flex-direction: column;
}

.site-header .header-mega-menu__dynamic,
.site-header .header-mega-menu__panel {
  min-width: 0;
  height: 100%;
}

.site-header .header-mega-menu__panel {
  display: none;
  grid-template-columns: minmax(180px, 25%) minmax(250px, 34%) minmax(300px, 41%);
}

.site-header .header-mega-menu__panel.is-active {
  display: grid;
}

.site-header .header-mega-menu__title {
  position: relative;
  margin: 0 0 16px;
  padding: 0 0 10px;
  color: #171717;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header .header-mega-menu__title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 104px;
  height: 2px;
  background: #b3312d;
  content: '';
}

.site-header .header-mega-menu__location-list {
  display: grid;
  gap: 3px;
}

.site-header .header-mega-menu__location {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 34px;
  padding: 5px 9px;
  color: #282828;
  background: transparent;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.site-header .header-mega-menu__location:hover,
.site-header .header-mega-menu__location:focus-visible,
.site-header .header-mega-menu__location.is-active {
  color: #171717;
  background: #f5f3f0;
  outline: none;
}

.site-header .header-mega-menu__location svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header .header-mega-menu__location .header-mega-menu__chevron {
  width: 13px;
  height: 13px;
  justify-self: end;
}

.site-header .header-mega-menu__quick-links {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e8e5e0;
}

.site-header .main-navigation .header-mega-menu a,
.site-header .main-navigation .header-mega-menu a:hover,
.site-header.is-stuck .main-navigation .header-mega-menu a,
.site-header.is-stuck .main-navigation .header-mega-menu a:hover,
body:not(.home):not(.blog):not(.page-template-front) .site-header .main-navigation .header-mega-menu a,
body:not(.home):not(.blog):not(.page-template-front) .site-header .main-navigation .header-mega-menu a:hover {
  border: 0;
  color: #242424;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.site-header .header-mega-menu__quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 400;
}

.site-header .header-mega-menu__quick-links a:hover,
.site-header .header-mega-menu__categories a:hover,
.site-header .header-mega-menu__view-all:hover {
  color: #a52a27;
}

.site-header .header-mega-menu__categories > ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .header-mega-menu__categories li {
  margin: 0;
}

.site-header .header-mega-menu__categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 7px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  transition: background-color .16s ease, color .16s ease;
}

.site-header .header-mega-menu__categories a:hover,
.site-header .header-mega-menu__categories a:focus-visible {
  color: #a52a27;
  background: #f5f3f0;
  outline: none;
}

.site-header .header-mega-menu__empty {
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
}

.site-header .header-mega-menu__featured {
  display: flex;
  flex-direction: column;
}

.site-header .header-mega-menu__products {
  display: grid;
  gap: 10px;
}

.site-header .header-mega-menu__product {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.site-header .header-mega-menu__product-image {
  display: block;
  width: 88px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1efeb;
  border-radius: 5px;
}

.site-header .header-mega-menu__product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f1efeb;
}

.site-header .header-mega-menu__product-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.site-header .header-mega-menu__product-info strong {
  overflow: hidden;
  color: #222;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .header-mega-menu__product-info small,
.site-header .header-mega-menu__product-info .amount {
  color: #4d4d4d;
  font-size: 11px;
  font-weight: 400;
}

.site-header .header-mega-menu__product-info del {
  display: none;
}

.site-header .header-mega-menu__view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #e8e5e0 !important;
  font-size: 11px;
  font-weight: 500;
}

.site-header .header-mega-menu__banner {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  background-color: #ded8ce;
  background-position: center;
  background-size: cover;
}

.site-header .header-mega-menu__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 240, 233, .92) 0%, rgba(244, 240, 233, .72) 47%, rgba(244, 240, 233, .08) 100%);
}

.site-header .header-mega-menu__banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(330px, 88%);
  padding: 30px 22px;
}

.site-header .header-mega-menu__banner-content small {
  margin-bottom: 12px;
  color: #69645d;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-header .header-mega-menu__banner-content > strong {
  display: block;
  color: #191919;
  font-family: inherit;
  max-width: 310px;
  font-size: clamp(22px, 1.65vw, 29px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.025em;
  text-transform: none;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.site-header .header-mega-menu__banner-copy {
  margin-top: 14px;
  color: #5e5953;
  font-size: 11px;
  line-height: 1.55;
}

.site-header .header-mega-menu__banner-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 11px 14px;
  color: #fff;
  background: #222;
  border-radius: 2px;
  font-size: 10px;
}

.site-header .header-mega-menu__banner-button b {
  font-size: 14px;
  font-weight: 400;
}

.site-header .header-mega-menu__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 68px;
  border-top: 1px solid #e5e1dc;
}

.site-header .header-mega-menu__benefits > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border-right: 1px solid #ece9e4;
}

.site-header .header-mega-menu__benefits > div:last-child {
  border-right: 0;
}

.site-header .header-mega-menu__benefits svg {
  width: 35px;
  height: 35px;
  padding: 8px;
  flex: 0 0 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: #f5f3f0;
  border-radius: 50%;
}

.site-header .header-mega-menu__benefits span {
  display: grid;
  gap: 2px;
}

.site-header .header-mega-menu__benefits strong {
  color: #292929;
  font-size: 11px;
  font-weight: 500;
}

.site-header .header-mega-menu__benefits small {
  color: #767676;
  font-size: 9px;
}

.site-header .main-navigation ul.menu,
.site-header .main-navigation .menu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header .main-navigation li { margin: 0; }
.site-header .main-navigation a {
  padding: 0;
  border: 0;
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-header .main-navigation a:hover { color: rgba(255,255,255,.7); border: 0; }

.site-header .header-search {
  display: flex;
  align-items: center;
  width: min(340px, 30vw);
  border-bottom: 1px solid rgba(255,255,255,.85);
}
.site-header .header-search .search-input {
  width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: .78rem;
}
.site-header .header-search .search-input::placeholder { color: rgba(255,255,255,.9); }
.site-header .header-search .search-input:focus { background: transparent; border: 0; outline: none; }
.site-header .header-search .search-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.site-header .header-search .search-btn:hover { background: transparent; opacity: .7; }

/* ===== STICKY (scrolled) state: one compact light bar ===== */
.site-header.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  animation: hdrDrop .28s ease;
}
@keyframes hdrDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.site-header.is-stuck .site-header-inner {
  position: relative;
  flex-direction: row;
  align-items: center;
  min-height: 86px;
  gap: 30px;
}
.site-header.is-stuck .header-topbar,
.site-header.is-stuck .header-mainbar { display: contents; }
.site-header.is-stuck .header-spacer { display: none; }

.site-header.is-stuck .main-navigation { order: 1; }
.site-header.is-stuck .site-branding {
  order: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.site-header.is-stuck .header-search { order: 3; margin-left: auto; }
.site-header.is-stuck .cart-link { order: 4; margin-left: 4px; }

/* Sticky logo: hidden by default, swaps in when stuck */
.site-header .sticky-logo-link { display: none; }
.site-header .sticky-logo { display: block; width: auto; max-width: 300px; max-height: 70px; }
.site-header.is-stuck .sticky-logo-link { display: block; }
.site-header.is-stuck .site-branding .custom-logo-link,
.site-header.is-stuck .site-branding > .custom-logo { display: none; }

/* Dark ink on the white bar */
.site-header.is-stuck .site-branding .custom-logo,
.site-header.is-stuck .site-branding img { filter: none; max-height: 70px; }
.site-header.is-stuck .site-title,
.site-header.is-stuck .site-title a { color: var(--primary-dark); }
.site-header.is-stuck .main-navigation a,
.site-header.is-stuck .cart-link { color: var(--primary-dark); }
.site-header.is-stuck .main-navigation a:hover,
.site-header.is-stuck .cart-link:hover { color: #888; }
.site-header.is-stuck .menu-toggle span { background: var(--primary-dark); }
.site-header.is-stuck .header-search { border-bottom-color: rgba(0,0,0,.35); }
.site-header.is-stuck .header-search .search-input,
.site-header.is-stuck .header-search .search-btn { color: var(--primary-dark); }
.site-header.is-stuck .header-search .search-input::placeholder { color: rgba(0,0,0,.5); }

/* Inner pages use the same compact light header as the sticky state. */
body:not(.home):not(.blog):not(.page-template-front) .site-header {
  position: relative;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .site-header-inner {
  min-height: 86px;
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .sticky-logo-link {
  display: block;
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .site-branding .custom-logo-link,
body:not(.home):not(.blog):not(.page-template-front) .site-header .site-branding > .custom-logo {
  display: none;
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .site-branding img,
body:not(.home):not(.blog):not(.page-template-front) .site-header .site-branding .custom-logo {
  filter: none;
  max-height: 70px;
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .site-title,
body:not(.home):not(.blog):not(.page-template-front) .site-header .site-title a,
body:not(.home):not(.blog):not(.page-template-front) .site-header .main-navigation a,
body:not(.home):not(.blog):not(.page-template-front) .site-header .cart-link {
  color: var(--primary-dark);
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .menu-toggle span {
  background: var(--primary-dark);
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .header-search {
  border-bottom-color: rgba(0,0,0,.35);
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .header-search .search-input,
body:not(.home):not(.blog):not(.page-template-front) .site-header .header-search .search-btn {
  color: var(--primary-dark);
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .header-search .search-input::placeholder {
  color: rgba(0,0,0,.5);
}

body:not(.home):not(.blog):not(.page-template-front) .site-header .header-search .search-open-text {
  color: var(--primary-dark);
}

/* Preserve the fixed sticky behavior on inner pages while scrolling. */
body:not(.home):not(.blog):not(.page-template-front) .site-header.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  animation: hdrDrop .28s ease;
}

body.admin-bar:not(.home):not(.blog):not(.page-template-front) .site-header.is-stuck {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar:not(.home):not(.blog):not(.page-template-front) .site-header.is-stuck {
    top: 46px;
  }
}

.admin-bar .site-header.is-stuck { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header.is-stuck { top: 46px; }
}

/* Push overlay header below the WP admin bar when logged in.
   .admin-bar and .home are both on <body>, so the selectors must be
   concatenated (no space) to match the same element. */
.admin-bar.home .site-header,
.admin-bar.blog .site-header,
.admin-bar.page-template-front .site-header { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar.home .site-header,
  .admin-bar.blog .site-header,
  .admin-bar.page-template-front .site-header { top: 46px; }
}

@media (max-width: 900px) {
  .site-header .header-mega-menu {
    display: none;
  }

  .site-header .header-topbar { min-height: 60px; }
  .site-header .store-locator,
  .site-header .main-navigation ul.menu,
  .site-header .main-navigation .menu { display: none; }
  .site-header .header-mainbar { min-height: 50px; }
  .site-header .header-search { width: min(280px, 60vw); }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .site-header .header-mega-menu {
    left: 30px;
    width: calc(100vw - 60px);
  }
}

@media (max-width: 540px) {
  .site-header .site-header-inner { padding: 8px 20px; }
  .site-header .site-branding .custom-logo,
  .site-header .site-branding img { max-width: 150px; max-height: 34px; }
  .site-header .site-title { font-size: 1rem; }
  .site-header .header-mainbar { gap: 18px; }
  .site-header .header-search { width: auto; flex: 1; }
}

@media (max-width: 700px) {
  .home-category-strip {
    padding: 18px 16px 0;
  }

  .home-category-strip__track {
    grid-auto-columns: min(72vw, 260px);
  }

  .home-category-strip__arrow--prev {
    left: 16px;
  }

  .home-category-strip__arrow--next {
    right: 16px;
  }

  .home-category-card strong {
    font-size: 16px;
  }
}

/* Search trigger button (replaces inline form) */
.site-header .header-search.search-open {
  justify-content: space-between;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.85);
  color: #fff;
  cursor: text;
}
.site-header .header-search.search-open .search-open-text {
  font-size: .78rem;
  color: rgba(255,255,255,.9);
  cursor: text;
}
.site-header .header-search.search-open .search-btn {
  width: 18px;
  height: 18px;
  color: #fff;
  cursor: pointer;
}
.site-header.is-stuck .header-search.search-open,
.site-header.is-stuck .header-search.search-open .search-open-text,
.site-header.is-stuck .header-search.search-open .search-btn { color: var(--primary-dark); }
.site-header.is-stuck .header-search.search-open {
  border-bottom: 1px solid rgba(0,0,0,.35);
}
.site-header.is-stuck .header-search.search-open .search-open-text {
  color: var(--primary-dark);
  font-weight: 300;
}
.site-header.is-stuck .header-search.search-open .search-btn {
  color: var(--primary-dark);
}

/* ===== SEARCH OVERLAY (popup) ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.58);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility 0s .28s;
}
.search-overlay-panel {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  background: #fff;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .28s ease;
}
.search-overlay-inner {
  position: relative;
  width: min(100%, 1320px);
  min-height: 100%;
  margin: 0 auto;
  padding: 78px 48px 96px;
  transform: translateY(-14px);
  transition: transform .3s ease;
}
.search-overlay.active .search-overlay-inner { transform: translateY(0); }
.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 80px);
  margin: 0 0 42px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.35);
}
.search-overlay-form .search-overlay-input,
.search-overlay-form input.search-overlay-input {
  flex: 1;
  width: auto;
  border: 0;
  margin: 0;
  padding: 2px 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 400;
  color: var(--primary-dark);
}
.search-overlay-form .search-overlay-input::placeholder { color: rgba(0,0,0,.45); }
.search-overlay-form .search-overlay-input:focus,
.search-overlay-form input.search-overlay-input:focus { outline: none; border: 0; background: transparent; }
.search-overlay-submit,
.search-overlay-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  cursor: pointer;
}
.search-overlay-submit svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.search-overlay-close {
  position: absolute;
  top: 70px;
  right: 48px;
  line-height: 0;
  color: #555;
}
.search-overlay-close svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; }
.search-overlay-close:hover { color: #000; }
.search-overlay-body {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) 2.2fr;
  gap: 56px;
}
.search-col-title { margin: 0 0 24px; font-size: 1.15rem; font-weight: 500; color: var(--primary-dark); }
.search-terms ul { margin: 0; padding: 0; list-style: none; }
.search-terms li { margin: 0 0 16px; }
.search-terms a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  font-size: .9rem;
  font-weight: 300;
}
.search-terms a:hover { color: var(--primary-dark); }
.search-terms svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.search-cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 20px;
}
.search-cat-card { display: block; color: var(--primary-dark); }
.search-cat-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #efece7 center/cover no-repeat;
  border-radius: 3px;
  overflow: hidden;
  transition: opacity .25s ease;
}
.search-cat-card:hover .search-cat-thumb { opacity: .82; }
.search-cat-name {
  display: block;
  margin-top: 10px;
  font-size: .8rem;
  font-weight: 400;
  color: #6b6b6b;
  letter-spacing: .01em;
}
.search-cat-card:hover .search-cat-name { color: var(--primary-dark); }
body.search-open-active { overflow: hidden; }

@media (max-width: 900px) {
  .search-cats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .search-overlay-panel {
    top: 10px;
    right: 10px;
  }
  .search-overlay-inner {
    padding: 56px 22px 48px;
  }
  .search-overlay-close {
    top: 22px;
    right: 22px;
  }
  .search-overlay-form {
    max-width: calc(100% - 42px);
    margin-bottom: 32px;
  }
  .search-overlay-body { grid-template-columns: 1fr; gap: 32px; }
  .search-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .search-overlay-input { font-size: 1.1rem; }
}

/* ========== HERO SECTION ========== */

.hero-section {
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--content-padding);
  max-width: 600px;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.hero-cta:hover {
  background-color: var(--primary-dark);
  text-decoration: none;
}

/* ========== PRODUCT GRID ========== */

.home-category-strip {
  --category-gap: 8px;
  position: relative;
  width: 100%;
  padding: 28px var(--content-padding) 0;
  box-sizing: border-box;
  background: #fff;
}

.home-category-strip::before,
.home-category-strip::after {
  position: absolute;
  z-index: 2;
  top: 28px;
  bottom: 0;
  width: clamp(24px, 4vw, 64px);
  content: '';
  opacity: 1;
  pointer-events: none;
  transition: opacity .18s ease;
}

.home-category-strip::before {
  left: var(--content-padding);
  background: linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0));
}

.home-category-strip::after {
  right: var(--content-padding);
  background: linear-gradient(270deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0));
}

.home-category-strip.at-start::before,
.home-category-strip.at-end::after {
  opacity: 0;
}

.home-category-strip__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 14px;
  border-bottom: 1px solid #b8b8b8;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.home-category-strip.is-dragging .home-category-strip__viewport {
  cursor: grabbing;
  scroll-snap-type: none;
}

.home-category-strip.is-dragging .home-category-card {
  pointer-events: none;
}

.home-category-strip.is-dragging .home-product-card {
  pointer-events: none;
}

.home-category-strip__viewport::-webkit-scrollbar {
  display: none;
}

.home-category-strip__track {
  display: grid;
  grid-auto-flow: column;
  /* Eight category tiles are visible on desktop; the strip can still scroll
   * horizontally when more categories exist. */
  grid-auto-columns: calc((100vw - (2 * var(--content-padding)) - (7 * var(--category-gap))) / 8);
  column-gap: var(--category-gap);
  width: max-content;
}

.home-category-card {
  display: block;
  min-width: 0;
  color: #222;
  scroll-snap-align: start;
  text-decoration: none;
}

.home-category-card:hover {
  color: #222;
}

.home-category-card__media {
  display: block;
  width: 100%;
  height: auto;
  /* Preserve each category image's native proportions (e.g. 4:3 stays 4:3). */
  aspect-ratio: auto;
  overflow: hidden;
  box-sizing: border-box;
  background: transparent;
}

.home-category-card__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
}

.home-category-card strong {
  display: block;
  padding-top: 10px;
  overflow: hidden;
  color: #252525;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  transition: color .18s ease;
  white-space: nowrap;
}

.home-category-card:hover strong,
.home-category-card:focus-visible strong {
  color: #111;
}

.home-category-strip__arrow {
  position: absolute;
  z-index: 3;
  top: 46%;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #1b1b1b;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, background-color .18s ease;
}

.home-category-strip__arrow--prev {
  left: var(--content-padding);
}

.home-category-strip__arrow--next {
  right: var(--content-padding);
}

.home-category-strip.can-scroll:hover .home-category-strip__arrow:not(:disabled),
.home-category-strip.can-scroll:focus-within .home-category-strip__arrow:not(:disabled) {
  opacity: 1;
  pointer-events: auto;
}

.home-category-strip__arrow:hover {
  background: #333;
}

.home-category-strip__arrow:disabled {
  display: none;
}

@media (max-width: 700px) {
  .home-category-strip {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-category-strip::before {
    left: 16px;
  }

  .home-category-strip::after {
    right: 16px;
  }

  .home-category-strip__track {
    grid-auto-columns: min(72vw, 260px);
  }
}

.products-section {
  padding: 4rem var(--content-padding);
  background-color: var(--accent-light);
}

/* Consecutive homepage product sliders share the first section's bottom space. */
body.home .home-products-strip + .home-products-strip {
  padding-top: .5rem;
}

.home-products-strip {
  position: relative;
  overflow: hidden;
}

.home-products-strip .container {
  position: relative;
}

.home-products-strip .home-category-strip__viewport {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-products-strip .home-category-strip__arrow {
  top: 50%;
  left: 0;
  right: auto;
}

.home-products-strip .home-category-strip__arrow--next {
  right: 0;
  left: auto;
}

.home-products-strip .section-title {
  max-width: none;
  margin-bottom: .65rem;
  white-space: nowrap;
}

.home-products-strip__track {
  grid-auto-columns: clamp(250px, 24vw, 330px);
  column-gap: 16px;
}

.home-product-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  color: #222;
  text-decoration: none;
}

.home-product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-product-card__link:hover,
.home-product-card__link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.home-product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7f7f5;
}

.home-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .3s ease;
}

.home-product-card:hover .home-product-card__media img {
  transform: none;
}

/* Swap to the first gallery image on real hover without changing the card
 * dimensions or affecting touch devices. */
.home-product-card__media {
  isolation: isolate;
}
.home-product-card__media > img:not(.home-product-card__alternate) {
  position: relative;
  z-index: 1;
}
.home-product-card__alternate {
  position: absolute !important;
  z-index: 2;
  inset: 0;
  opacity: 0;
  transition: opacity .24s ease;
}
@media (hover: hover) and (pointer: fine) {
  .home-product-card:hover .home-product-card__alternate,
  .home-product-card:focus-within .home-product-card__alternate {
    opacity: 1;
  }
}

.home-product-card__badges {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  pointer-events: none;
}

.home-product-card__badge {
  padding: 3px 8px;
  background: #faf7ed;
  color: #69562e;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.home-product-card__body {
  padding: 14px 16px 16px;
}

.home-product-card__label {
  display: block;
  margin-bottom: 6px;
  color: #111;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-product-card__title {
  display: block;
  height: 24px;
  overflow: hidden;
  color: #222;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 32px;
  margin-top: 5px;
  color: #111;
  font-size: 12px;
  line-height: 1.3;
}

.home-product-card__meta span {
  display: block;
  height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-card__colors {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 16px;
  margin-top: 7px;
}

.home-product-card__colors.is-empty {
  visibility: hidden;
}

.home-product-card__color {
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border: 1px solid rgba(0, 0, 0, .28);
  border-radius: 50%;
  background: var(--card-color, #d8d8d8);
}

.home-product-card__more {
  color: #111;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.home-product-card__price {
  margin-top: 6px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
}

.home-product-card__price del {
  margin-left: 6px;
  color: #111;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

/* Sale amounts use the regular card-price typography, not browser <ins> defaults. */
.home-product-card__price ins {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  background: transparent;
  text-decoration: none;
}

.home-product-card__price ins .amount,
.home-product-card__price ins bdi {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

/* ========== HOMEPAGE ABOUT ========== */
.home-feedback__body > .home-feedback-strip:only-child { grid-column: 1 / -1; width: 100%; }
.home-about {
  width: calc(100% - (var(--content-padding) * 2));
  min-height: clamp(300px, 25vw, 380px);
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  margin-top: 40px;
  margin-inline: var(--content-padding);
  background: #fff;
}

.home-about__media {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #eeece8;
}

.home-about__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-about__content {
  min-height: clamp(300px, 25vw, 380px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 2.5vw, 38px);
  box-sizing: border-box;
  color: #181818;
}

.home-about__eyebrow {
  margin: 0 0 13px;
  color: #858585;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-about__content h2 {
  max-width: 560px;
  margin: 0;
  color: #151515;
  font-size: clamp(30px, 3.15vw, 52px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.home-about__description {
  max-width: 570px;
  margin: 18px 0 0;
  color: #4d4d4d;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 300;
  line-height: 1.65;
}

.home-about__button {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
  padding: 10px 17px;
  border: 1px solid #aaa;
  border-radius: 0;
  color: #171717;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.home-about__button:hover {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

/* ========== HOMEPAGE DESIGN GALLERY ========== */
.home-design-gallery {
  width: calc(100% - 100px);
  max-width: none;
  margin: 58px auto 0;
}

.home-design-gallery__heading {
  margin-bottom: 30px;
}

.home-design-gallery__heading p {
  margin: 0 0 12px;
  color: #766f66;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-design-gallery__heading h2 {
  max-width: none;
  margin: 0;
  color: #211f1c;
  font-size: clamp(16px, 3.8vw, 38px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.home-design-gallery__items {
  min-height: clamp(400px, 42vw, 640px);
  display: flex;
  gap: 14px;
  isolation: isolate;
}

.home-design-gallery__item {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #c8c3bb;
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  will-change: flex-grow;
  transition: flex-grow .78s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.home-design-gallery__item.is-active {
  flex-grow: 6.2;
  cursor: default;
}

.home-design-gallery__item img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .82s cubic-bezier(.22, 1, .36, 1), filter .48s ease;
}

.home-design-gallery__item:not(.is-active) img {
  filter: saturate(.82) brightness(.78);
}

.home-design-gallery__item:hover img,
.home-design-gallery__item:focus-visible img {
  transform: scale(1.035);
}

.home-design-gallery__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 16, 14, .72), rgba(18, 16, 14, .04) 60%);
  opacity: 0;
  transition: opacity .42s ease;
}

.home-design-gallery__item.is-active .home-design-gallery__shade {
  opacity: 1;
}

.home-design-gallery__number {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 50%;
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transform: translateX(-50%);
  transition: left .78s cubic-bezier(.22, 1, .36, 1), transform .78s cubic-bezier(.22, 1, .36, 1), background-color .3s ease, border-color .3s ease;
}

.home-design-gallery__item.is-active .home-design-gallery__number {
  left: 30px;
  transform: none;
}

.home-design-gallery__content {
  position: absolute;
  z-index: 2;
  right: clamp(26px, 4vw, 62px);
  bottom: clamp(28px, 4vw, 58px);
  left: clamp(26px, 4vw, 62px);
  display: grid;
  gap: 14px;
  font-family: var(--system-font-family);
  text-align: left;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .2s ease, transform .42s cubic-bezier(.22, 1, .36, 1);
}

.home-design-gallery__content strong {
  max-width: none;
  color: #fff;
  font-family: var(--system-font-family);
  font-size: clamp(29px, 3.1vw, 50px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: nowrap;
}

.home-design-gallery__content small {
  max-width: 65ch;
  color: rgba(255, 255, 255, .92);
  font-family: var(--system-font-family);
  font-size: 14px;
  line-height: 1.6;
}

.home-design-gallery__item.is-active .home-design-gallery__content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .18s;
}

.home-design-gallery__item:focus-visible {
  outline: 3px solid #26231f;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .home-design-gallery {
    width: calc(100% - 40px);
    margin-top: 44px;
  }

  .home-design-gallery__items { min-height: clamp(370px, 52vw, 540px); gap: 10px; }
  .home-design-gallery__item.is-active { flex-grow: 4.6; }
  .home-design-gallery__number { top: 20px; width: 48px; font-size: 13px; }
  .home-design-gallery__item.is-active .home-design-gallery__number { left: 22px; }
  .home-design-gallery__content { right: 28px; bottom: 30px; left: 28px; }
}

@media (max-width: 700px) {
  .home-design-gallery__heading { margin-bottom: 22px; }
  .home-design-gallery__heading h2 { max-width: none; }

  .home-design-gallery__items {
    min-height: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-design-gallery__items::-webkit-scrollbar { display: none; }

  .home-design-gallery__item,
  .home-design-gallery__item.is-active {
    width: 100%;
    min-width: 100%;
    min-height: 390px;
    flex: none;
    scroll-snap-align: start;
  }

  .home-design-gallery__number { top: 18px; }
  .home-design-gallery__item.is-active .home-design-gallery__number { left: 20px; }
  .home-design-gallery__content { right: 24px; bottom: 26px; left: 24px; gap: 10px; }
  .home-design-gallery__content strong {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(17px, 5.1vw, 24px);
    text-overflow: ellipsis;
  }
  .home-design-gallery__content small {
    max-width: 100%;
    min-width: 0;
    font-size: clamp(11px, 3.2vw, 13px);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .home-design-gallery { width: calc(100% - 32px); margin-top: 36px; }
  .home-design-gallery__heading p { margin-bottom: 10px; }

  .home-design-gallery__item.is-active { min-height: 340px; }
}

.home-promotions { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.home-design-consult {
  width: min(520px, calc(100% - 32px));
  max-width: 520px;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  background: #f7f6f2;
  color: #24221f;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .24);
}

.home-design-consult::backdrop { background: rgba(17, 16, 14, .62); }

.home-design-consult__content {
  position: relative;
  padding: clamp(30px, 6vw, 52px);
}

.home-design-consult__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #d9d6d0;
  background: transparent;
  color: #292723;
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.home-design-consult__eyebrow {
  margin: 0 46px 13px 0;
  color: #81796f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.home-design-consult h2 {
  max-width: 15ch;
  margin: 0;
  color: #24221f;
  font-size: clamp(29px, 5vw, 40px);
  font-weight: 500;
  line-height: 1.1;
}

.home-design-consult__intro {
  margin: 14px 0 24px;
  color: #67635d;
  font-size: 14px;
  line-height: 1.6;
}

.home-design-consult__contacts { border-top: 1px solid #dedbd5; }

.home-design-consult__contacts a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #dedbd5;
  color: #24221f;
  text-decoration: none;
}

.home-design-consult__contacts span {
  color: #77736d;
  font-size: 12px;
}

.home-design-consult__contacts strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

.home-design-consult__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  padding: 0 18px;
  background: #24221f;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.home-design-consult__link:hover,
.home-design-consult__link:focus-visible { background: #514a40; color: #fff; }

.ylpv-design-consult__eyebrow {
  margin: 0 42px 12px 0;
  color: #81796f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .home-design-consult { width: calc(100% - 24px); max-height: calc(100% - 24px); }
  .home-design-consult__content { padding: 36px 22px 26px; }
  .home-design-consult__contacts a { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; padding-block: 12px; }
  .home-design-consult__contacts strong { text-align: left; }
}

@media (max-width: 900px) {
  .home-about {
    width: calc(100% - (var(--content-padding) * 2));
    height: auto;
    grid-template-columns: 1fr;
  }

  .home-about__media {
    aspect-ratio: 16 / 9;
  }

  .home-about__content {
    padding: 46px var(--content-padding) 54px;
  }

  .home-about__content h2 {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .home-about {
    width: calc(100% - 40px);
    margin-top: 24px;
    margin-inline: 20px;
  }

  .home-about__media {
    aspect-ratio: 4 / 3;
  }

  .home-about__content {
    padding: 34px 20px 40px;
  }

  .home-about__content h2 {
    font-size: 29px;
  }

  .home-about__description {
    margin-top: 18px;
  }

  .home-about__button {
    margin-top: 22px;
  }
}

/* ========== HOMEPAGE FEEDBACK & JOURNAL ========== */
.home-editorial-container {
  width: 100%;
  padding-inline: var(--content-padding);
}

.home-feedback,
.home-journal {
  background: #fff;
}

.home-feedback {
  padding-block: 64px 36px;
}

.home-journal {
  padding-block: 36px 72px;
}

/* ========== HOMEPAGE PROMOTIONS ========== */
.home-promotions {
  width: calc(100% - 100px);
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 42px auto 0;
}

.home-promo-card {
  position: relative;
  min-height: clamp(230px, 21vw, 318px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: #dcd6cd;
}

.home-promo-card.has-image {
  background-image: var(--home-promo-image);
  background-position: center;
  background-size: cover;
}

.home-promo-card__scrim {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 15, 12, .69) 0%, rgba(17, 15, 12, .33) 47%, rgba(17, 15, 12, .06) 100%);
}

.home-promo-card:nth-child(2) .home-promo-card__scrim {
  background: linear-gradient(90deg, rgba(255, 253, 249, .84) 0%, rgba(255, 253, 249, .48) 56%, rgba(255, 253, 249, .08) 100%);
}

.home-promo-card__content {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(24px, 3vw, 48px);
  color: #fff;
}

.home-promo-card:first-child .home-promo-card__content,
.home-promo-card:first-child .home-promo-card__content h2,
.home-promo-card:first-child .home-promo-card__content p {
  color: #fff;
}

.home-promo-card:nth-child(2) .home-promo-card__content,
.home-promo-card:nth-child(2) .home-promo-card__content h2,
.home-promo-card:nth-child(2) .home-promo-card__content p {
  color: #111;
}

.home-promo-card h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(25px, 2.25vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.home-promo-card p {
  max-width: 60ch;
  margin: 13px 0 21px;
  font-size: 13px;
  line-height: 1.55;
}

.home-promo-card h2.is-typing::after {
  width: 1px;
  height: .94em;
  display: inline-block;
  margin-left: .1em;
  background: currentColor;
  content: '';
  vertical-align: -.08em;
  animation: themeliving-promo-caret .72s steps(1, end) infinite;
}

@keyframes themeliving-promo-caret {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

.home-promo-card a {
  display: inline-flex;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: #1b1916;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.home-promo-card:nth-child(2) a { color: #fff; background: #201d19; }
.home-promo-card a:hover { color: #fff; background: #201d19; transform: translateY(-2px); }
.home-promo-card:nth-child(2) a:hover { color: #201d19; background: #fff; }

@media (max-width: 800px) {
  .home-promotions { width: calc(100% - 40px); grid-template-columns: 1fr; margin-top: 28px; }
  .home-promo-card { min-height: 270px; }
}

@media (max-width: 600px) {
  .home-promotions { width: calc(100% - 32px); }
  .home-promo-card__content { width: 100%; padding: 26px; }
  .home-promo-card h2 { font-size: 30px; }
}

.home-editorial-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.home-editorial-eyebrow {
  margin: 0 0 7px;
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-editorial-heading h2 {
  margin: 0;
  color: #171717;
  font-size: clamp(26px, 2.3vw, 38px);
  font-weight: 400;
  line-height: 1.15;
}

.home-editorial-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  color: #3b3b3b;
  font-size: 12px;
  white-space: nowrap;
}

.home-editorial-heading > a:hover {
  color: var(--accent-color);
}

.home-feedback .home-editorial-container {
  position: relative;
}

.home-feedback__body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 12px;
}

.home-feedback-strip {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.home-feedback__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.home-feedback__viewport::-webkit-scrollbar {
  display: none;
}

.home-feedback-strip.is-dragging .home-feedback__viewport {
  cursor: grabbing;
  scroll-snap-type: none;
}

.home-feedback-strip.is-dragging .home-feedback__image,
.home-feedback-strip.is-dragging .home-feedback__quote {
  pointer-events: none;
}

.home-feedback__track {
  --feedback-gap: 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100vw - (2 * var(--content-padding)) - 36px) / 4);
  column-gap: var(--feedback-gap);
  width: max-content;
}

.home-feedback__quotes-track {
  grid-auto-columns: calc((100vw - (2 * var(--content-padding)) - 36px) / 4);
}

.home-feedback-quotes-strip {
  min-width: 0;
}

.home-feedback__image,
.home-feedback__quote {
  min-width: 0;
  height: clamp(220px, 20vw, 310px);
  margin: 0;
  overflow: hidden;
  background: #f1f0ed;
  scroll-snap-align: start;
}

.home-feedback__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #1b1b1b;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, background-color .18s ease;
}

.home-feedback__arrow--prev {
  left: 0;
}

.home-feedback__arrow--next {
  right: 0;
}

.home-feedback-strip.can-scroll:hover .home-feedback__arrow:not(:disabled),
.home-feedback-strip.can-scroll:focus-within .home-feedback__arrow:not(:disabled) {
  opacity: 1;
  pointer-events: auto;
}

.home-feedback__arrow:hover {
  background: #333;
}

.home-feedback__arrow:disabled {
  display: none;
}

.home-feedback__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.home-feedback__image:hover img {
  transform: scale(1.025);
}

.home-feedback__quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2vw, 30px);
  color: #303030;
}

.home-feedback__quote-mark {
  height: 24px;
  margin-bottom: 8px;
  color: #111;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.home-feedback__quote blockquote {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
}

.home-feedback__quote strong,
.home-feedback__quote small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
}

.home-feedback__quote small {
  color: #858585;
}

.home-feedback__quote a {
  width: fit-content;
  margin-top: 12px;
  color: #1b1b1b;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}

.home-feedback__quote a:hover {
  color: var(--brand-color, #9d5f4a);
}

.home-journal__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-journal-strip {
  position: relative;
  overflow: hidden;
  padding-inline: 0;
}

.home-journal-strip .home-editorial-container {
  position: relative;
}

.home-journal-strip .home-journal__viewport {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-journal-strip .home-journal__track {
  grid-auto-columns: calc((100vw - (2 * var(--content-padding)) - (3 * 24px)) / 4);
  column-gap: 24px;
}

.home-journal-strip .home-category-strip__arrow {
  top: calc(50% + 28px);
  left: 0;
}

.home-journal-strip .home-category-strip__arrow--next {
  right: 0;
  left: auto;
}

.home-journal-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f0ed;
}

.home-journal-card__image img,
.home-journal-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.home-journal-card:hover .home-journal-card__image img {
  transform: scale(1.025);
}

.home-journal-card h3 {
  margin: 14px 0 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.home-journal-card h3 a {
  color: #202020;
}

.home-journal-card h3 a:hover {
  color: var(--accent-color);
}

.home-journal-card time {
  color: #858585;
  font-size: 11px;
}

@media (max-width: 1024px) {
  .home-journal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-journal-strip .home-journal__track {
    grid-auto-columns: calc((100vw - (2 * var(--content-padding)) - 24px) / 2);
  }
}

@media (max-width: 700px) {
  .home-feedback {
    padding-block: 44px 24px;
  }

  .home-journal {
    padding-block: 24px 48px;
  }

  .home-editorial-heading {
    align-items: flex-start;
  }

  .home-editorial-heading h2 {
    font-size: 26px;
  }

  .home-journal__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-journal-strip .home-journal__track {
    grid-auto-columns: calc(100vw - 40px);
  }

  .home-feedback__body {
    grid-template-columns: 1fr;
  }

  .home-feedback__track {
    grid-auto-columns: calc(100vw - 40px);
  }

  .home-feedback__quotes-track {
    grid-auto-columns: calc(100vw - 40px);
  }

  .home-feedback__arrow--prev {
    left: 20px;
  }

  .home-feedback__arrow--next {
    right: 20px;
  }
}

.home-product-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.home-product-card__button {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d31818;
  border-radius: 0;
  background: #fff;
  color: #d31818;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-product-card__button:hover,
.home-product-card__button--buy {
  background: #d31818;
  color: #fff;
}

.home-product-card__button--buy:hover {
  background: #b81212;
}

.home-quick-view {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
  place-items: center;
}

.home-quick-view.is-open {
  visibility: visible;
  opacity: 1;
}

.home-quick-view__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .48);
}

.home-quick-view__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 40px));
  height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}

.home-quick-view__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-quick-view__close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

body.quick-view-open {
  overflow: hidden;
}

.mini-cart-toggle {
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mini-cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50%;
  background: #d31818;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  place-items: center;
}

.mini-cart-panel {
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
  display: flex;
  width: min(360px, 92vw);
  height: 100vh;
  padding: 24px;
  visibility: hidden;
  flex-direction: column;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .14);
  opacity: 0;
  transform: translateX(100%);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.mini-cart-panel.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
.mini-cart-panel__header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #ddd; }
.mini-cart-panel__close { border: 0; background: transparent; font-size: 26px; cursor: pointer; }
.mini-cart-panel__body { flex: 1; overflow-y: auto; padding: 18px 0; }
.mini-cart-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.mini-cart-item small { color: #666; white-space: nowrap; }
.mini-cart-empty { color: #777; }
.mini-cart-panel__checkout { display: block; padding: 14px; background: #d31818; color: #fff; text-align: center; text-decoration: none; }

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 9ch;
  color: var(--primary-dark);
  letter-spacing: 1px;
  line-height: 1.25;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin: 0 auto 3rem;
  max-width: 26ch;
  font-size: 1rem;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  background-color: var(--accent-light);
  overflow: hidden;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: none;
}

.product-info {
  padding: 2rem;
  text-align: center;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.product-category {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.product-card-btn {
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-dark);
  color: var(--white);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.product-card-btn:hover {
  background-color: var(--accent-color);
  text-decoration: none;
}

/* ========== COLLECTIONS GRID ========== */

.collections-section {
  padding: 4rem var(--content-padding);
  background-color: var(--white);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.collection-card {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  group: 'collection';
}

.collection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.collection-card:hover::before {
  background: rgba(0, 0, 0, 0.4);
}

.collection-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: var(--white);
  z-index: 2;
}

.collection-title {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.collection-link {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--white);
  transition: all 0.3s ease;
}

.collection-card:hover .collection-link {
  border-bottom-color: var(--accent-color);
  color: var(--accent-color);
}

/* ========== POSTS & ARTICLES ========== */

.post {
  background-color: var(--white);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.post-title {
  font-size: 2rem;
  font-weight: 300;
  margin: 1rem 0;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.post-title a {
  color: var(--primary-dark);
}

.post-title a:hover {
  color: var(--accent-color);
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-content {
  margin: 1.5rem 0;
  line-height: 1.8;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

.post-thumbnail {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== JOURNAL SINGLE ========== */

.yen-journal-single {
  padding: clamp(32px, 5vw, 84px) 0 clamp(64px, 8vw, 132px);
  background: #f8f7f4;
}

.yen-journal-single__main {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
}

.yen-journal-single__article {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.yen-journal-single__hero {
  display: grid;
  grid-template-columns: minmax(280px, .83fr) minmax(0, 1.17fr);
  min-height: min(700px, 53vw);
  background: #e9e5de;
}

.yen-journal-single__hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(36px, 6vw, 104px);
}

.yen-journal-single__breadcrumb,
.yen-journal-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: #6b6861;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yen-journal-single__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.yen-journal-single__breadcrumb a:hover { color: #9a7853; }

.yen-journal-single__eyebrow {
  margin: clamp(46px, 8vw, 108px) 0 16px;
  color: #9a7853;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.yen-journal-single__title {
  max-width: 650px;
  margin: 0;
  color: #22211e;
  font-size: clamp(34px, 4.1vw, 72px);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -.035em;
}

.yen-journal-single__meta { margin-top: 32px; }

.yen-journal-single__hero-image {
  min-height: 100%;
  overflow: hidden;
  background: #dedbd3;
}

.yen-journal-single__hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.yen-journal-single__content-wrap {
  width: min(760px, calc(100% - 48px));
  margin: clamp(52px, 8vw, 126px) auto 0;
}

.yen-journal-single__content {
  color: #373530;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.9;
}

.yen-journal-single__content > :first-child { margin-top: 0; }

.yen-journal-single__content p,
.yen-journal-single__content ul,
.yen-journal-single__content ol,
.yen-journal-single__content blockquote { margin: 0 0 1.6em; }

.yen-journal-single__content h2,
.yen-journal-single__content h3,
.yen-journal-single__content h4 {
  margin: 2.2em 0 .65em;
  color: #24221e;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.yen-journal-single__content h2 { font-size: clamp(27px, 3vw, 42px); }
.yen-journal-single__content h3 { font-size: clamp(22px, 2.4vw, 31px); }

.yen-journal-single__content a { color: #725632; text-underline-offset: 3px; }

.yen-journal-single__content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 2.6em auto;
}

.yen-journal-single__content figure {
  width: min(1120px, calc(100% + 260px));
  margin: 3.4em 50%;
  transform: translateX(-50%);
}

.yen-journal-single__content figure img { width: 100%; margin: 0; }

.yen-journal-single__content figcaption {
  margin-top: 10px;
  color: #77736b;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.yen-journal-single__content blockquote {
  margin-top: 2.2em;
  padding: 6px 0 6px 28px;
  border-left: 2px solid #aa8964;
  color: #554532;
  font-size: clamp(21px, 2.4vw, 31px);
  font-style: italic;
  line-height: 1.45;
}

.yen-journal-single__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(48px, 7vw, 90px);
  padding-top: 28px;
  border-top: 1px solid #d9d5cd;
}

.yen-journal-single__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.yen-journal-single__tags a {
  padding: 8px 12px;
  border: 1px solid #d1cbc1;
  color: #625b52;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.yen-journal-single__tags a:hover { border-color: #9a7853; background: #9a7853; color: #fff; }

.yen-journal-single__back {
  color: #37332d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.yen-journal-single__back:hover { color: #9a7853; }

.yen-journal-single__comments {
  width: min(760px, calc(100% - 48px));
  margin: 70px auto 0;
}

@media (max-width: 900px) {
  .yen-journal-single__main { width: min(100% - 40px, 760px); }
  .yen-journal-single__hero { grid-template-columns: 1fr; }
  .yen-journal-single__hero-copy { min-height: 430px; }
  .yen-journal-single__hero-image { min-height: 56vw; }
  .yen-journal-single__content figure { width: 100%; margin: 2.5em 0; transform: none; }
}

@media (max-width: 560px) {
  .yen-journal-single { padding-top: 18px; }
  .yen-journal-single__main { width: min(100% - 32px, 760px); }
  .yen-journal-single__hero-copy { min-height: 370px; padding: 30px 25px 38px; }
  .yen-journal-single__eyebrow { margin-top: 52px; }
  .yen-journal-single__hero-image { min-height: 72vw; }
  .yen-journal-single__content-wrap,
  .yen-journal-single__comments { width: 100%; }
  .yen-journal-single__footer { align-items: flex-start; flex-direction: column; }
}

/* Full-width journal article with an always-present desktop sidebar. */
.yen-journal-single__main {
  width: calc(100% - 10px);
  max-width: none;
}

.yen-journal-single__hero {
  grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr);
  min-height: min(720px, 54vw);
}

.yen-journal-single__content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: clamp(34px, 5vw, 100px);
  width: calc(100% - 80px);
  max-width: none;
}

.yen-journal-single__content {
  width: min(780px, 100%);
  justify-self: end;
}

.yen-journal-single__sidebar {
  position: sticky;
  top: 110px;
  padding: 30px 26px 26px;
  border-top: 2px solid #9a7853;
  background: #ebe7df;
}

.yen-journal-single__sidebar-label {
  margin: 0 0 10px;
  color: #9a7853;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.yen-journal-single__sidebar h2 {
  margin: 0 0 26px;
  color: #24211d;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -.025em;
}

.yen-journal-single__related-list {
  border-top: 1px solid #d0c9be;
}

.yen-journal-single__related-list article {
  padding: 18px 0;
  border-bottom: 1px solid #d0c9be;
}

.yen-journal-single__related-list p {
  margin: 0 0 7px;
  color: #8a8175;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
}

.yen-journal-single__related-list h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.36;
}

.yen-journal-single__related-list h3 a {
  color: #38332d;
  text-decoration: none;
}

.yen-journal-single__related-list h3 a:hover { color: #9a7853; }

.yen-journal-single__sidebar-empty {
  margin: 0;
  color: #70695f;
  line-height: 1.6;
}

.yen-journal-single__sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #c8c0b4;
  color: #453c32;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.yen-journal-single__sidebar-cta:hover { color: #9a7853; }
.yen-journal-single__sidebar-cta span { font-size: 19px; font-weight: 400; }

.yen-journal-single__footer {
  grid-column: 1 / -1;
  width: min(780px, 100%);
  justify-self: start;
}

@media (max-width: 1050px) {
  .yen-journal-single__content-wrap {
    grid-template-columns: minmax(0, 1fr) 280px;
    width: calc(100% - 48px);
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .yen-journal-single__main { width: calc(100% - 10px); }
  .yen-journal-single__hero { grid-template-columns: 1fr; }
  .yen-journal-single__hero-copy { min-height: 410px; }
  .yen-journal-single__hero-image { min-height: 62vw; }
  .yen-journal-single__content-wrap {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 760px);
  }
  .yen-journal-single__content { width: 100%; }
  .yen-journal-single__sidebar { position: static; width: 100%; }
  .yen-journal-single__footer { width: 100%; }
}

@media (max-width: 560px) {
  .yen-journal-single__main { width: calc(100% - 10px); }
  .yen-journal-single__content-wrap { width: calc(100% - 32px); }
  .yen-journal-single__sidebar { padding: 26px 20px 22px; }
}

/* Rebalanced journal body: the reading column, footer and comments share one axis. */
.yen-journal-single__content-wrap {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(40px, 4.2vw, 82px);
  margin-top: clamp(54px, 5vw, 86px);
}

.yen-journal-single__content {
  width: min(940px, 100%);
  justify-self: center;
}

.yen-journal-single__sidebar {
  padding: 34px 30px 30px;
}

.yen-journal-single__footer {
  grid-column: 1;
  width: min(940px, 100%);
  justify-self: center;
  margin-top: clamp(44px, 5vw, 72px);
}

.yen-journal-single__comments {
  grid-column: 1;
  width: min(940px, 100%);
  justify-self: center;
  margin: 56px 0 0;
  padding-top: 0;
}

@media (max-width: 1050px) {
  .yen-journal-single__content-wrap {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
  }
}

@media (max-width: 820px) {
  .yen-journal-single__footer,
  .yen-journal-single__comments {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
}

/* ========== SIDEBAR & WIDGETS ========== */

.primary-sidebar {
  background-color: var(--accent-light);
  padding: 2rem;
  height: fit-content;
  border: 1px solid var(--border-color);
}

.widget {
  margin-bottom: 2rem;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: var(--text-color);
  font-size: 0.95rem;
}

/* ========== FOOTER ========== */

.site-footer {
  background: #1b1b1b;
  color: #fff;
  margin-top: auto;
  width: 100%;
  position: relative;
}

.footer-container {
  width: min(1320px, calc(100% - (var(--content-padding) * 2)));
  margin: 0 auto;
}

.footer-newsletter {
  background: #f3f1ed;
  color: #1b1b1b;
  padding: 3.75rem 0;
}

.footer-newsletter__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.footer-eyebrow {
  color: #777;
  font-size: .68rem;
  letter-spacing: .16em;
  margin-bottom: .75rem;
}

.footer-newsletter h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: .75rem;
}

.footer-newsletter p:not(.footer-eyebrow) {
  color: #676767;
  font-size: .9rem;
  max-width: 520px;
}

.footer-newsletter__form {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto;
  max-width: 470px;
  width: 100%;
  border-bottom: 1px solid #1b1b1b;
}

.footer-newsletter__form input {
  border: 0;
  background: transparent;
  color: #1b1b1b;
  min-width: 0;
  padding: .85rem 0;
  outline: 0;
}

.footer-newsletter__form button {
  background: transparent;
  color: #1b1b1b;
  padding: .85rem 0 .85rem 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.footer-newsletter__form button span { margin-left: 1rem; }
.footer-newsletter__form small { grid-column: 1 / -1; color: #777; font-size: .68rem; padding-top: .75rem; }

.footer-benefits { border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.footer-benefit { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 2rem; border-right: 1px solid rgba(255,255,255,.15); }
.footer-benefit:first-child { padding-left: 0; }
.footer-benefit:last-child { border-right: 0; }
.footer-benefit strong, .footer-benefit span { display: block; }
.footer-benefit strong { font-size: .82rem; font-weight: 500; }
.footer-benefit div span { color: rgba(255,255,255,.58); font-size: .72rem; margin-top: .2rem; }
.footer-benefit__icon { width: 28px; height: 28px; flex: 0 0 28px; position: relative; opacity: .9; }
.footer-benefit__icon::before { content: ''; position: absolute; inset: 3px; border: 1px solid currentColor; }
.footer-benefit__icon--truck::after { content: '→'; position: absolute; inset: 2px 0 0 8px; font-size: 1.1rem; }
.footer-benefit__icon--shield::after { content: '✓'; position: absolute; inset: 2px 0 0 8px; font-size: .95rem; }
.footer-benefit__icon--headset::after { content: '◡'; position: absolute; inset: 1px 0 0 8px; font-size: 1.2rem; }

.footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) repeat(2, minmax(150px, 1fr)) minmax(200px, 1.1fr);
  gap: 3rem;
  padding: 4rem 0;
}

.footer-brand .custom-logo-link { display: inline-block; margin-bottom: 1.25rem; }
.footer-brand .custom-logo { max-width: 165px; max-height: 55px; filter: brightness(0) invert(1); }
.footer-brand__name { color: #fff; font-size: 1.3rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.7; max-width: 270px; }
.footer-social { display: flex; gap: .55rem; margin-top: 1.5rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: #fff; font-size: .78rem; }
.footer-social a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.footer-social a:hover { background: #fff; color: #1b1b1b; }
.footer-column h3 { color: #fff; font-size: .75rem; font-weight: 500; letter-spacing: .08em; margin-bottom: 1.25rem; text-transform: uppercase; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin: .65rem 0; }
.footer-column a, .footer-column li { color: rgba(255,255,255,.6); font-size: .8rem; }
.footer-column a:hover { color: #fff; }
.footer-contact li { line-height: 1.55; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; }
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,.48); font-size: .7rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a:hover { color: #fff; }
.footer-to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: #1b1b1b; color: #fff; font-size: 1.2rem; line-height: 1; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.footer-to-top.is-visible { opacity: 1; pointer-events: auto; }
.footer-to-top:hover { background: var(--accent-color); transform: translateY(-2px); }

/* Legacy widget compatibility */
.footer-content { display: none; }
.footer-widget-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .footer-newsletter__inner { align-items: flex-start; flex-direction: column; }
  .footer-newsletter__form { max-width: none; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 600px) {
  .footer-container { width: min(100% - 32px, 1320px); }
  .footer-newsletter { padding: 2.5rem 0; }
  .footer-benefits__grid { grid-template-columns: 1fr; }
  .footer-benefit, .footer-benefit:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding: 1.1rem 0; }
  .footer-benefit:last-child { border-bottom: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 2.75rem 0; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom__inner { align-items: flex-start; flex-direction: column; }
}

/* Footer reference layout: light palette and image-led newsletter. */
.site-footer {
  --footer-border: #dededb;
  --footer-muted: #686868;
  --footer-text: #171717;
  background: #fff;
  color: var(--footer-text);
}

.site-footer .footer-container {
  box-sizing: border-box;
  max-width: none;
  padding-left: 50px;
  padding-right: 50px;
  width: 100%;
}

.footer-newsletter {
  background: #f2f0eb;
  color: var(--footer-text);
  aspect-ratio: 2079 / 756;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.footer-newsletter__inner {
  align-items: stretch;
  display: flex;
  gap: 0;
  max-width: none;
  height: 100%;
  min-height: 0;
  width: 100% !important;
}

.footer-newsletter::after {
  background: linear-gradient(90deg, rgba(247, 245, 241, .98) 0%, rgba(247, 245, 241, .94) 31%, rgba(247, 245, 241, .7) 45%, rgba(247, 245, 241, .18) 60%, transparent 74%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.footer-newsletter__copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(2rem, 5vw, 5rem);
  position: relative;
  z-index: 2;
  width: 48%;
}

.footer-eyebrow {
  color: #4d4d4d;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  margin: 0 0 1.35rem;
  text-transform: uppercase;
}

.footer-newsletter h2 {
  color: var(--footer-text);
  font-family: var(--system-font-family);
  font-size: clamp(2rem, 3.4vw, 3.65rem);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0;
  max-width: 590px;
}

.footer-newsletter p:not(.footer-eyebrow) {
  color: var(--footer-muted);
  font-size: .92rem;
  line-height: 1.65;
  margin: 1.4rem 0 0;
  max-width: 510px;
}

.footer-newsletter__form {
  background: transparent;
  border: 0;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 2rem;
  max-width: 520px;
  padding: 0;
  width: 100%;
}

.footer-newsletter__field {
  align-items: center;
  background: #fff;
  border: 1px solid #cbc9c4;
  border-right: 0;
  border-radius: 7px 0 0 7px;
  box-sizing: border-box;
  display: flex;
  gap: .8rem;
  height: 52px;
  min-width: 0;
  padding-left: 1.2rem;
}

.footer-newsletter__field svg {
  fill: none;
  flex: 0 0 24px;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 24px;
}

.footer-newsletter__field input[type="email"] {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  color: var(--footer-text);
  font-size: .86rem;
  height: 52px;
  margin: 0 !important;
  min-width: 0;
  outline: 0;
  padding: 0 .8rem 0 0;
  width: 100%;
}

.footer-newsletter__form button {
  align-items: center;
  background: #171717;
  border: 1px solid #171717;
  border-radius: 7px;
  color: #fff;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 500;
  gap: .75rem;
  height: 52px;
  justify-content: center;
  letter-spacing: .04em;
  padding: 0 1.45rem;
  text-transform: none;
  white-space: nowrap;
}

.footer-newsletter__form button:hover {
  background: #333;
  color: #fff;
}

.footer-newsletter__form button span {
  margin: 0;
}

.footer-newsletter__consent {
  align-items: flex-start;
  color: #747474;
  display: flex;
  font-size: .7rem;
  gap: .55rem;
  grid-column: 1 / -1;
  line-height: 1.5;
  margin-top: .85rem;
}

.footer-newsletter__consent input[type="checkbox"] {
  accent-color: #171717;
  flex: 0 0 auto;
  height: 14px;
  margin: .08rem 0 0;
  padding: 0;
  width: 14px;
}

.footer-newsletter__image {
  inset: 0;
  min-height: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.footer-newsletter__image img {
  display: block;
  filter: none;
  height: 100%;
  inset: 0;
  max-height: none;
  max-width: none;
  object-fit: contain;
  object-position: center;
  position: absolute;
  width: 100%;
}

.footer-benefits {
  background: #fff;
  border-bottom: 1px solid var(--footer-border);
  color: var(--footer-text);
}

.footer-benefits__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-benefit,
.footer-benefit:first-child {
  border-right: 1px solid var(--footer-border);
  padding: 1.7rem clamp(1rem, 2.5vw, 2.5rem);
}

.footer-benefit:first-child {
  padding-left: 0;
}

.footer-benefit:last-child {
  border-right: 0;
}

.footer-benefit strong {
  color: var(--footer-text);
  font-size: .82rem;
  font-weight: 600;
}

.footer-benefit div span {
  color: var(--footer-muted);
  font-size: .72rem;
}

.footer-benefit .footer-benefit__icon {
  align-items: center;
  background: #f2f0eb;
  border-radius: 50%;
  color: var(--footer-text);
  display: inline-flex;
  flex: 0 0 58px;
  height: 58px;
  justify-content: center;
  opacity: 1;
  width: 58px;
}

.footer-benefit__icon::before,
.footer-benefit__icon::after {
  content: none;
}

.footer-benefit__icon svg {
  display: block;
  flex: 0 0 32px;
  fill: none;
  height: 32px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 32px;
}

.footer-main {
  background: #fff;
  color: var(--footer-text);
  gap: clamp(2rem, 4vw, 5rem);
  grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(190px, 1fr)) minmax(250px, 1fr);
  padding: 4rem 0 3.25rem;
}

.footer-brand .custom-logo-link {
  align-items: flex-start;
  display: inline-flex;
  margin-bottom: 1.35rem;
  width: fit-content;
}

.footer-brand .custom-logo,
.site-footer .footer-brand img.custom-logo {
  aspect-ratio: auto;
  display: block;
  filter: none;
  height: auto !important;
  max-height: none;
  max-width: 250px;
  object-fit: contain;
  object-position: left center;
  width: auto !important;
}

.footer-brand p,
.footer-column a,
.footer-column li {
  color: var(--footer-muted);
}

.footer-contact ul {
  display: grid;
  gap: .4rem;
}

.site-footer .footer-contact__item {
  align-items: flex-start;
  display: flex;
  gap: .7rem;
  line-height: 1.55;
  margin: 0;
}

.footer-contact__item > svg {
  fill: none;
  flex: 0 0 20px;
  height: 20px;
  margin-top: .1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 20px;
}

.footer-contact__item > span,
.footer-contact__item > a {
  min-width: 0;
}

.footer-menu-column .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-policy-column .footer-menu {
  column-count: 1;
  column-gap: 0;
}

.footer-menu-column .footer-menu li {
  break-inside: avoid;
  margin: 0 0 .55rem;
}

.site-footer .footer-column a:hover,
.site-footer .footer-contact__item a:hover {
  color: var(--footer-text);
}

.footer-brand__name,
.footer-column h3 {
  color: var(--footer-text);
}

.footer-column h3 {
  font-size: .76rem;
}

.footer-social a {
  border-color: #cfcfcd;
  color: var(--footer-text);
}
.footer-social a.footer-social__facebook { color: #1877f2; border-color: rgba(24,119,242,.35); }
.footer-social a.footer-social__instagram { color: #e1306c; border-color: rgba(225,48,108,.38); }
.footer-social a.footer-social__youtube { color: #ff0000; border-color: rgba(255,0,0,.35); }
.footer-social a.footer-social__whatsapp { color: #25d366; border-color: rgba(37,211,102,.42); }
.footer-social a.footer-social__facebook:hover { background: #1877f2; color: #fff; }
.footer-social a.footer-social__instagram:hover { background: #e1306c; color: #fff; }
.footer-social a.footer-social__youtube:hover { background: #ff0000; color: #fff; }
.footer-social a.footer-social__whatsapp:hover { background: #25d366; color: #fff; }

.footer-social a:hover {
  background: var(--footer-text);
  color: #fff;
}

.footer-bottom {
  background: #fff;
  border-top-color: var(--footer-border);
}

.footer-bottom p,
.footer-bottom a {
  color: var(--footer-muted);
}

.footer-bottom a:hover {
  color: var(--footer-text);
}

.footer-to-top {
  background: #fff;
  border-color: #cfcfcd;
  color: var(--footer-text);
}

@media (max-width: 900px) {
  .footer-newsletter {
    aspect-ratio: auto;
  }

  .footer-newsletter__inner {
    min-height: 450px;
  }

  .footer-newsletter__copy {
    padding: 3.5rem 0;
    width: 65%;
  }

  .footer-newsletter__image {
    min-height: 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-newsletter::after {
    background: rgba(247, 245, 241, .88);
  }

  .footer-newsletter__copy {
    padding: 2.75rem 0;
    width: 100%;
  }

  .footer-newsletter__form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-newsletter__form button {
    padding: 0 1rem;
  }

  .footer-benefits__grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-menu-column .footer-menu {
    column-count: 1;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-benefit,
  .footer-benefit:first-child {
    border-bottom: 1px solid var(--footer-border);
    border-right: 0;
    padding: 1.25rem 0;
  }

  .footer-benefit:last-child {
    border-bottom: 0;
  }

  .footer-brand {
    grid-column: auto;
  }

  /* Keep the mobile footer compact and visually grouped without changing desktop. */
  .footer-main {
    gap: 0;
    padding: 2.25rem 0 0;
  }

  .site-footer .footer-brand img.custom-logo {
    width: 165px !important;
    max-width: 64vw;
  }

  .footer-brand {
    padding-bottom: 1.3rem;
  }

  .footer-brand .custom-logo-link {
    margin-bottom: .85rem;
  }

  .footer-brand p {
    max-width: 300px;
    font-size: .82rem;
    line-height: 1.6;
  }

  .footer-social {
    gap: .6rem;
    margin-top: 1.1rem;
  }

  .footer-social a {
    height: 32px;
    width: 32px;
  }

  .footer-menu-column,
  .footer-contact {
    border-top: 1px solid var(--footer-border);
    padding: 1.25rem 0 1.3rem;
  }

  .footer-column h3 {
    font-size: .72rem;
    letter-spacing: .1em;
    margin-bottom: .9rem;
  }

  .footer-menu-column .footer-menu li {
    margin-bottom: .55rem;
  }

  .footer-column a,
  .footer-column li {
    font-size: .8rem;
    line-height: 1.5;
  }

  .footer-contact ul {
    gap: .65rem;
  }

  .site-footer .footer-contact__item {
    gap: .65rem;
  }

  .footer-contact__item > svg {
    flex-basis: 18px;
    height: 18px;
    width: 18px;
  }

  .footer-bottom__inner {
    gap: 1rem;
    padding: 1.1rem 0 1.35rem;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: .7rem;
    line-height: 1.5;
  }

  .footer-bottom nav {
    column-gap: 1.1rem;
    row-gap: .45rem;
  }
}

/* ========== BUTTONS ========== */

.btn,
button,
input[type="button"],
input[type="submit"] {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: var(--accent-color);
}

/* ========== FORMS ========== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--white);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* ========== TYPOGRAPHY ========== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  color: var(--primary-dark);
  margin: 1.5rem 0 1rem;
  letter-spacing: 0.5px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* ========== LISTS ========== */

ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

/* ========== 404 PAGE ========== */

.error-404 {
  text-align: center;
  padding: 3rem 2rem;
}

.error-404 h1 {
  font-size: 4rem;
  color: var(--accent-color);
}

/* ========== YEN LIVING 404 ========== */

.yen-404-page {
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: clamp(50px, 8vw, 110px) 10px;
  background: #f3f0ea;
}

.yen-404-page__main {
  width: min(980px, 100%);
  background: transparent;
}

.yen-404-page__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 92px) clamp(24px, 7vw, 108px);
  border: 1px solid #ded7cc;
  background: #fbfaf7;
  text-align: center;
}

.yen-404-page__panel::before,
.yen-404-page__panel::after {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(154, 120, 83, .24);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.yen-404-page__panel::before { top: -112px; left: -96px; }
.yen-404-page__panel::after { right: -120px; bottom: -130px; }

.yen-404-page__number {
  color: #c5b29d;
  font-size: clamp(76px, 13vw, 158px);
  font-weight: 300;
  line-height: .8;
  letter-spacing: -.08em;
}

.yen-404-page__eyebrow {
  margin: 34px 0 16px;
  color: #987653;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.yen-404-page h1 {
  margin: 0;
  color: #24211e;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.yen-404-page__intro {
  max-width: 530px;
  margin: 22px auto 0;
  color: #6c675f;
  font-size: 16px;
  line-height: 1.75;
}

.yen-404-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.yen-404-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.yen-404-page__button:hover { transform: translateY(-2px); }

.yen-404-page__button--primary { gap: 24px; background: #252320; color: #fff; }
.yen-404-page__button--primary:hover { background: #987653; color: #fff; }
.yen-404-page__button--primary span { font-size: 17px; font-weight: 400; }

.yen-404-page__button--secondary { border: 1px solid #cfc6b9; color: #4a433a; }
.yen-404-page__button--secondary:hover { border-color: #987653; color: #987653; }

.yen-404-page__search {
  max-width: 610px;
  margin: 52px auto 0;
  padding-top: 26px;
  border-top: 1px solid #e3ddd3;
}

.yen-404-page__search > p {
  margin: 0 0 13px;
  color: #81796f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yen-404-page__search .search-form {
  display: flex;
  gap: 8px;
}

.yen-404-page__search .search-field {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0 15px;
  border: 1px solid #d6cfc4;
  background: #fff;
  color: #302d29;
}

.yen-404-page__search .search-submit {
  height: 46px;
  padding: 0 20px;
  border: 0;
  background: #252320;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.yen-404-page__search .search-submit:hover { background: #987653; }

@media (max-width: 560px) {
  .yen-404-page { min-height: 540px; padding: 30px 10px 64px; }
  .yen-404-page__panel { padding: 48px 20px 34px; }
  .yen-404-page__intro { font-size: 14px; }
  .yen-404-page__search .search-form { display: block; }
  .yen-404-page__search .search-field,
  .yen-404-page__search .search-submit { width: 100%; }
  .yen-404-page__search .search-submit { margin-top: 8px; }
}

/* ========== PAGINATION ========== */

.posts-navigation,
.pagination {
  margin: 2rem 0;
  text-align: center;
}

.page-links,
.posts-navigation a,
.pagination a {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-light);
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  transition: all 0.3s ease;
}

.page-links a:hover,
.posts-navigation a:hover,
.pagination a:hover,
.page-links .current {
  background-color: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
  text-decoration: none;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  :root {
    --content-padding: 40px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .site-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --content-padding: 30px;
  }

  .hero-section {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .collections-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  :root {
    --content-padding: 20px;
    --font-size-base: 14px;
  }

  .site-header-inner {
    padding: 0 var(--content-padding);
  }

  .hero-section {
    height: 300px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

/* ========== SHOP ARCHIVE ========== */
.shop-page {
  background: #fff;
  color: #151515;
}

.shop-shell {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: 50px;
  box-sizing: border-box;
}

.shop-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: #d8d4ce center / cover no-repeat;
}

.shop-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .38) 40%, transparent 70%);
}

.shop-hero__content {
  position: relative;
  z-index: 1;
}

.shop-hero__content h1 {
  margin: 6px 0 14px;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shop-hero__content > p:last-child {
  max-width: 430px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.shop-hero__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.shop-categories {
  padding: 24px 0 42px;
  border-bottom: 1px solid #e7e7e7;
}

.shop-categories__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.shop-category {
  color: #161616;
  text-align: center;
  text-decoration: none;
}

.shop-category__media {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 13px;
  overflow: hidden;
  background: #f2f1ef;
}

.shop-category__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.shop-category:hover .shop-category__media img {
  transform: scale(1.035);
}

.shop-category strong {
  display: block;
}

.shop-category strong {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 600;
}

.shop-catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
  gap: 28px;
  padding-block: 38px 60px;
}

.shop-filter-toggle {
  display: none;
}

.shop-filters {
  position: sticky;
  z-index: 3;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  border: 1px solid #e2e2e2;
  background: #fff;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shop-filters::-webkit-scrollbar {
  display: none;
}

.admin-bar .shop-filters {
  top: 124px;
  max-height: calc(100vh - 144px);
}

.shop-filters__heading,
.shop-filter-group {
  margin: 0;
}

.shop-filters__heading {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #e2e2e2;
  box-sizing: border-box;
}

.shop-filters__heading a {
  color: #777;
  font-size: 12px;
}

.shop-filter-group {
  padding: 14px 18px 16px;
  border: 0;
  border-bottom: 1px solid #e2e2e2;
}

.shop-filter-group legend {
  width: 100%;
  margin-bottom: 0;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.shop-filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #454545;
  font-size: 13px;
  cursor: pointer;
}

.shop-filter-group label:last-child {
  margin-bottom: 0;
}

.shop-filter-group input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #151515;
}

.shop-filter-group--colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-filter-group--colors legend {
  flex: 0 0 100%;
}

.shop-filter-group--colors .shop-color-filter {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  margin: 0;
}

.shop-color-filter input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.shop-color-filter__swatch {
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 50%;
  background: var(--filter-color, #d8d5cf);
  box-shadow: inset 0 0 0 2px #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.shop-color-filter:hover .shop-color-filter__swatch {
  border-color: #111;
  transform: scale(1.06);
}

.shop-color-filter input:checked + .shop-color-filter__swatch {
  border-color: #111;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #111;
}

.shop-color-filter input:focus-visible + .shop-color-filter__swatch {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.shop-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shop-price-inputs label {
  display: block;
  margin: 0;
}

.shop-price-inputs span {
  display: block;
  margin-bottom: 5px;
}

.shop-price-inputs input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 8px;
  border: 1px solid #cacaca;
  border-radius: 0;
  font-size: 12px;
}

.shop-filters__submit {
  width: calc(100% - 36px);
  margin: 18px;
  padding: 12px;
  border: 1px solid #151515;
  border-radius: 0;
  background: #151515;
  color: #fff;
  cursor: pointer;
}

.shop-toolbar {
  height: 65px;
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e2e2;
}

.shop-toolbar p {
  margin: 0;
  font-size: 14px;
}

.shop-toolbar label {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}

.shop-toolbar label > span {
  height: 38px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.shop-sort {
  height: 38px;
  margin: 0;
  padding: 0 36px 0 12px;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #fff;
}

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 16px;
  padding: 16px;
  background: var(--accent-light);
}

.shop-product-card {
  min-width: 0;
  height: 100%;
  background: #fff;
}

.shop-product-card .home-product-card__link {
  height: 100%;
}

.shop-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7f7f5;
}

.shop-product-card__media img {
  width: 100%;
  height: 100%;
  /* Show the complete product without cropping or distortion. */
  object-fit: contain;
  object-position: center;
  transition: opacity .28s ease, transform .35s ease;
}

.shop-product-card__alternate {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.shop-product-card:hover .shop-product-card__alternate {
  opacity: 1;
}

.shop-product-card__badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  background: #222;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.shop-product-card__body {
  padding-top: 12px;
}

.shop-product-card__title {
  display: block;
  margin-bottom: 7px;
  color: #171717;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.shop-product-card__price {
  min-height: 22px;
  color: #171717;
  font-size: 14px;
  font-weight: 600;
}

.shop-product-card__price del {
  margin-right: 5px;
  color: #888;
  font-weight: 400;
}

.shop-product-card__price ins {
  color: #c91920;
  text-decoration: none;
}

.shop-product-card__colors {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.shop-product-card__colors > span {
  width: 15px;
  height: 15px;
  border: 1px solid #bdbdbd;
  border-radius: 50%;
  background: var(--swatch-color);
}

.shop-product-card__colors small {
  color: #666;
  font-size: 11px;
}

.shop-load-more-wrap {
  padding-top: 46px;
  text-align: center;
}

.shop-load-more {
  min-width: 210px;
  height: 46px;
  border: 1px solid #171717;
  border-radius: 0;
  background: #fff;
  color: #171717;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.shop-load-more:hover {
  background: #171717;
  color: #fff;
}

.shop-load-more:disabled {
  cursor: wait;
  opacity: .55;
}

.shop-load-status {
  margin: 10px 0 0;
  color: #b42318;
  font-size: 12px;
}

.shop-benefits {
  border-block: 1px solid #e2e2e2;
}

.shop-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.shop-benefit {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 26px;
  border-right: 1px solid #e2e2e2;
}

.shop-benefit:first-child {
  border-left: 1px solid #e2e2e2;
}

.shop-benefit__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-benefit__content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shop-benefits__grid strong {
  font-size: 14px;
}

.shop-benefits__grid span {
  color: #666;
  font-size: 12px;
}

/* ========== CHECKOUT ========== */
body.woocommerce-checkout {
  background: #faf9f7;
}

.yen-checkout-page {
  width: calc(100% - 32px);
  max-width: 1400px;
  margin: 20px auto 42px;
  overflow: hidden;
  color: #1c1c1c;
  background: #faf9f7;
  box-shadow: 0 12px 45px rgba(35, 29, 22, .06);
}

.yen-checkout-shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 28px;
}

.yen-checkout-hero {
  min-height: 175px;
  display: flex;
  align-items: center;
  background-color: #e8e1d9;
  background-image: linear-gradient(90deg, rgba(246, 242, 237, .97) 0%, rgba(246, 242, 237, .78) 38%, rgba(246, 242, 237, .12) 72%), var(--checkout-banner);
  background-position: center;
  background-size: cover;
}

.yen-checkout-hero h1 {
  margin: 0 0 9px;
  color: #181818;
  font-size: clamp(44px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.yen-checkout-hero p {
  margin: 0;
  color: #555;
  font-size: 16px;
  font-weight: 300;
}

.yen-checkout-content {
  padding-bottom: 22px;
}

.yen-checkout-steps {
  position: relative;
  min-height: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin: 0 0 22px;
  padding: 16px 0;
  box-sizing: border-box;
}

.yen-checkout-steps::before {
  position: absolute;
  top: 32px;
  right: 16.66%;
  left: 16.66%;
  height: 1px;
  background: #cfcfcf;
  content: '';
}

.yen-checkout-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #777;
  font-size: 13px;
}

.yen-checkout-step span {
  width: 32px;
  height: 32px;
  display: grid;
  border-radius: 50%;
  background: #e4e4e4;
  place-items: center;
}

.yen-checkout-step strong {
  font-weight: 400;
}

.yen-checkout-step.is-active {
  color: #171717;
}

.yen-checkout-step.is-active span {
  background: #1f1f1f;
  color: #fff;
}

.yen-checkout-step.is-active strong {
  font-weight: 600;
}

.yen-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(400px, 1fr);
  align-items: start;
  gap: 24px;
}

.yen-checkout-main {
  display: grid;
  gap: 12px;
}

.yen-checkout-card {
  padding: 22px 24px;
  border: 1px solid #eeece9;
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 30px rgba(44, 37, 29, .045);
}

.yen-checkout-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 17px;
}

.yen-checkout-card__heading svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yen-checkout-card__heading h2 {
  margin: 0;
  color: #1c1c1c;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.yen-checkout-card__heading p {
  margin: 3px 0 0;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 1.45;
}

.yen-checkout-card__heading--order {
  align-items: center;
}

.yen-checkout-card__heading--order > span {
  margin-left: auto;
  color: #777;
  font-size: 13px;
  white-space: nowrap;
}

.yen-checkout-form .woocommerce-billing-fields > h3,
.yen-checkout-form .woocommerce-additional-fields > h3,
.yen-checkout-form .woocommerce-shipping-fields > h3 {
  display: none;
}

.yen-checkout-form .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px 16px;
}

.yen-checkout-form .woocommerce-additional-fields {
  display: none;
}

.yen-checkout-form .form-row {
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
}

.yen-checkout-form .form-row-first,
.yen-checkout-form .form-row-last {
  width: 100% !important;
  grid-column: span 3;
}

.yen-checkout-form .form-row-wide {
  grid-column: 1 / -1;
}

.yen-checkout-form .form-row-third {
  grid-column: span 2;
}

.yen-checkout-form label {
  display: block;
  margin-bottom: 6px;
  color: #292929;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.yen-checkout-form label .required {
  color: #292929;
  text-decoration: none;
}

.yen-checkout-form input.input-text,
.yen-checkout-form select,
.yen-checkout-form .select2-container .select2-selection--single {
  width: 100% !important;
  height: 42px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 13px;
  line-height: 40px;
  box-shadow: none;
}

.yen-checkout-form .select2-container .select2-selection__rendered {
  padding: 0;
  line-height: 40px;
}

.yen-checkout-form .select2-container .select2-selection__arrow {
  top: 8px;
  right: 7px;
}

.yen-checkout-form input.input-text:focus,
.yen-checkout-form select:focus {
  border-color: #9b7a52;
  outline: none;
}

.yen-checkout-choice {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 8px 15px;
  border: 1px solid #b49369;
  background: #fffdfa;
}

.yen-checkout-radio {
  width: 17px;
  height: 17px;
  border: 5px solid #98764c;
  border-radius: 50%;
}

.yen-checkout-choice strong,
.yen-checkout-choice small {
  display: block;
}

.yen-checkout-choice strong {
  font-size: 14px;
  font-weight: 600;
}

.yen-checkout-choice small {
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

.yen-checkout-choice b {
  font-size: 13px;
  white-space: nowrap;
}

.yen-checkout-payment-slot #payment {
  border-radius: 0;
  background: transparent;
}

.yen-checkout-payment-slot #payment ul.payment_methods {
  padding: 0;
  border: 0;
}

.yen-checkout-payment-slot #payment ul.payment_methods li {
  margin: 0 0 8px;
  padding: 10px 14px;
  border: 1px solid #dedede;
  background: #fff;
}

.yen-checkout-payment-slot #payment ul.payment_methods li:has(input:checked) {
  border-color: #b49369;
  background: #fffdfa;
}

.yen-checkout-payment-slot #payment div.payment_box {
  margin: 8px 0 0;
  padding: 10px;
  background: #f7f5f2;
  color: #666;
  font-size: 11px;
}

.yen-checkout-payment-slot #payment div.payment_box::before {
  display: none;
}

.yen-checkout-payment-slot .place-order {
  display: none;
}

.yen-checkout-card--order > #payment {
  display: none;
}

.yen-checkout-summary {
  position: sticky;
  top: 100px;
}

.yen-checkout-card--order {
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(145deg, #fff, #f5f0ea);
}

.yen-checkout-coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
  padding: 14px 0;
  border-top: 1px solid #e2ded8;
  border-bottom: 1px solid #e2ded8;
}

.yen-checkout-coupon-row > td {
  padding: 0 !important;
}

.yen-checkout-coupon__field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d8d4cf;
  border-radius: 4px;
  background: #fff;
}

.yen-checkout-coupon__field svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: #777;
  stroke-width: 1.5;
}

.yen-checkout-coupon input {
  min-width: 0;
  width: 100%;
  height: 40px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  line-height: 40px;
}

.yen-checkout-coupon button {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  box-sizing: border-box;
  background: #aaa399;
  color: #fff;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.yen-checkout-coupon button:hover {
  background: #262626;
}

.yen-checkout-coupon button:disabled {
  cursor: wait;
  opacity: .65;
}

.yen-checkout-coupon__message {
  grid-column: 1 / -1;
  margin: 0;
  color: #6d5a44;
  font-size: 10px;
}

.yen-order-table,
.yen-order-table tbody,
.yen-order-table tfoot,
.yen-order-table tr,
.yen-order-table th,
.yen-order-table td {
  border: 0;
}

.yen-order-table {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  border-collapse: collapse;
}

.yen-order-table thead {
  display: none;
}

.yen-order-table tbody .cart_item {
  position: relative;
  border-bottom: 1px solid #e2ded8;
}

.yen-order-table tbody .product-name {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 12px 14px 0;
}

.yen-order-table tbody .product-total {
  position: relative;
  width: 116px;
  padding: 42px 0 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}

.yen-order-product__image {
  width: 98px;
  aspect-ratio: 4 / 3;
  height: auto;
  flex: 0 0 98px;
  overflow: hidden;
  border-radius: 4px;
  background: #ece9e5;
}

.yen-order-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.yen-order-product__info {
  min-width: 0;
  flex: 1;
}

.yen-order-product__info strong,
.yen-order-product__info small {
  display: block;
}

.yen-order-product__info strong {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.yen-order-product__info .variation {
  margin: 0 0 5px;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}

.yen-order-product__info .variation dt,
.yen-order-product__info .variation dd,
.yen-order-product__info .variation p {
  display: inline;
  margin: 0;
}

.yen-order-product__info small {
  color: #777;
  font-size: 11px;
}

.yen-order-product__remove {
  position: absolute;
  top: 10px;
  right: 0;
  width: 22px;
  height: 22px;
  display: grid;
  border-radius: 50%;
  background: #eceae7;
  color: #555;
  text-decoration: none;
  place-items: center;
  transition: background-color .2s ease, color .2s ease;
}

.yen-order-product__remove svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.yen-order-product__remove:hover {
  background: #1d1d1d;
  color: #fff;
}

.yen-order-table tfoot th,
.yen-order-table tfoot td {
  padding: 9px 0;
  color: #3b3b3b;
  font-size: 13px;
}

.yen-order-table tfoot td {
  text-align: right;
}

.yen-order-table tfoot .woocommerce-shipping-totals {
  display: none;
}

.yen-order-table .order-total {
  border-top: 1px solid #d9d4ce;
}

.yen-order-table .order-total th,
.yen-order-table .order-total td {
  padding-top: 15px;
  color: #171717;
  font-size: 20px;
  font-weight: 600;
}

.yen-place-order-slot .place-order {
  display: block;
  margin: 14px 0 0;
  padding: 0;
}

.yen-place-order-slot .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 10px;
  font-size: 11px;
}

.yen-place-order-slot #place_order {
  width: 100%;
  min-height: 50px;
  float: none;
  border: 0;
  border-radius: 3px;
  background: #1d1d1d;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.yen-place-order-slot #place_order:hover {
  background: #000;
}

.yen-checkout-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #777;
  font-size: 12px;
}

.yen-checkout-security svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.yen-checkout-brand {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding: 18px 24px;
  border: 1px solid #eeeae5;
  border-radius: 7px;
  background: #f4f1ed;
}

.yen-checkout-brand img {
  width: 120px;
  height: 54px;
  object-fit: contain;
}

.yen-checkout-brand strong,
.yen-checkout-brand span {
  display: block;
}

.yen-checkout-brand strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.yen-checkout-brand span {
  color: #686868;
  font-size: 10px;
  line-height: 1.45;
}

.yen-checkout-page .woocommerce-form-coupon-toggle,
.yen-checkout-page form.checkout_coupon {
  display: none !important;
}

.yen-checkout-benefits {
  max-width: 1180px;
  margin-inline: auto;
  border-top: 1px solid #e1ddd7;
  background: #f3eee7;
}

.yen-checkout-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.yen-checkout-benefit {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid #dfd8d0;
}

.yen-checkout-benefit:last-child {
  border-right: 0;
}

.yen-checkout-benefit svg {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yen-checkout-benefit span,
.yen-checkout-benefit strong,
.yen-checkout-benefit small {
  display: block;
}

.yen-checkout-benefit strong {
  font-size: 12px;
  font-weight: 600;
}

.yen-checkout-benefit small {
  margin-top: 2px;
  color: #777;
  font-size: 10px;
}

@media (max-width: 1024px) {
  .yen-checkout-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr);
  }

  .yen-checkout-card {
    padding: 20px;
  }

  .yen-checkout-form .form-row-third {
    grid-column: span 3;
  }
}

@media (max-width: 800px) {
  .yen-checkout-layout {
    grid-template-columns: 1fr;
  }

  .yen-checkout-summary {
    position: static;
  }

  .yen-checkout-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yen-checkout-benefit:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 600px) {
  .yen-checkout-page {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .yen-checkout-shell {
    padding-inline: 20px;
  }

  .yen-checkout-hero {
    min-height: 125px;
  }

  .yen-checkout-hero h1 {
    font-size: 38px;
  }

  .yen-checkout-steps {
    margin-bottom: 20px;
  }

  .yen-checkout-card {
    padding: 17px;
  }

  .yen-checkout-form .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .yen-checkout-form .form-row-first,
  .yen-checkout-form .form-row-last,
  .yen-checkout-form .form-row-wide,
  .yen-checkout-form .form-row-third {
    grid-column: 1;
  }

  .yen-checkout-choice {
    grid-template-columns: auto 1fr;
  }

  .yen-checkout-choice b {
    grid-column: 2;
  }

  .yen-checkout-benefits__grid {
    grid-template-columns: 1fr;
  }

  .yen-checkout-benefit,
  .yen-checkout-benefit:nth-child(2) {
    min-height: 68px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #dfd8d0;
  }
}

@media (max-width: 1180px) {
  .shop-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .shop-categories__grid {
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(180px, 1fr));
  }

  .shop-catalog {
    grid-template-columns: minmax(190px, 1fr) minmax(0, 4fr);
  }

  .shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shop-shell {
    padding-inline: 20px;
  }

  .shop-hero {
    min-height: 420px;
  }

  .shop-hero__content h1 {
    font-size: 48px;
  }

  .shop-catalog {
    display: block;
  }

  .shop-filter-toggle {
    width: 100%;
    height: 44px;
    display: block;
    margin-bottom: 12px;
    border: 1px solid #151515;
    border-radius: 0;
    background: #fff;
  }

  .shop-filters {
    position: static;
    top: auto;
    display: none;
    max-height: none;
    overflow: visible;
    margin-bottom: 20px;
  }

  .shop-filters.is-open {
    display: block;
  }

  .shop-toolbar label > span {
    display: none;
  }

  .shop-products-grid {
    gap: 28px 10px;
  }

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

  .shop-benefit {
    justify-content: flex-start;
    padding-inline: 16px;
  }
}

/* ========== PRODUCT SEARCH RESULTS ========== */
.product-search-page {
  min-height: 60vh;
}

.product-search-hero {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-bottom: 1px solid #e8e3dc;
  background:
    linear-gradient(90deg, #f8f5f1 0%, rgba(248, 245, 241, .96) 50%, rgba(248, 245, 241, .5) 72%, rgba(248, 245, 241, .15) 100%),
    var(--search-hero-image, none) right 38% center / 42% auto no-repeat,
    #f8f5f1;
}

.product-search-hero__inner {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 25px;
}

.product-search-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #65625f;
  font-size: 13px;
  line-height: 1;
}

.product-search-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.product-search-breadcrumb a:hover {
  color: var(--accent-color, #80643c);
}

.product-search-hero h1 {
  max-width: 780px;
  margin: 0 0 9px;
  color: #171717;
  font-family: var(--heading-font, inherit);
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.product-search-hero h1 em {
  color: var(--accent-color, #80643c);
  font-style: normal;
  font-weight: inherit;
}

.product-search-hero__inner > p {
  margin: 0;
  color: #53504d;
  font-size: 14px;
}

.product-search-catalog {
  gap: 24px;
  padding-top: 26px;
}

.product-search-filters {
  top: 86px;
}

.admin-bar .product-search-filters {
  top: 118px;
}

.product-search-toolbar {
  margin-bottom: 14px;
}

.product-search-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-search-toolbar label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #4b4845;
  font-size: 13px;
  white-space: nowrap;
}

.product-search-toolbar label > span {
  height: 38px;
  display: flex;
  align-items: center;
}

.product-search-toolbar select {
  height: 38px;
  margin: 0;
  padding: 0 34px 0 12px;
  border: 1px solid #d8d5d1;
  border-radius: 0;
  background-color: #fff;
  color: #242220;
  font-size: 13px;
}

.product-search-sort .shop-sort {
  min-width: 150px;
}

.product-search-per-page select {
  width: 78px;
  padding: 0 30px 0 12px;
}

.product-grid-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-grid-switcher button {
  width: 38px;
  height: 38px;
  display: grid;
  grid-auto-flow: column;
  place-content: center;
  gap: 3px;
  padding: 0;
  border: 1px solid #d8d5d1;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.product-grid-switcher button span {
  width: 4px;
  height: 15px;
  display: block;
  background: #aaa7a3;
}

.product-grid-switcher .product-view-list {
  grid-auto-flow: row;
  gap: 3px;
}

.product-grid-switcher .product-view-list span {
  position: relative;
  width: 17px;
  height: 2px;
  margin-left: 4px;
}

.product-grid-switcher .product-view-list span::before {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 2px;
  height: 2px;
  background: inherit;
  content: '';
  transform: translateY(-50%);
}

.product-grid-switcher button:hover,
.product-grid-switcher button.is-active {
  border-color: #171717;
  background: #fff;
}

.product-grid-switcher button:hover span,
.product-grid-switcher button.is-active span {
  background: #171717;
}

.product-search-grid[data-view="list"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-search-grid[data-view="list"] .shop-product-card {
  min-height: 210px;
}

.product-search-grid[data-view="list"] .home-product-card__link {
  display: grid;
  grid-template-columns: minmax(180px, 44%) minmax(0, 1fr);
}

.product-search-grid[data-view="list"] .home-product-card__media {
  height: 100%;
  min-height: 210px;
  aspect-ratio: auto;
}

.product-search-grid[data-view="list"] .home-product-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px;
}

.product-search-grid[data-view="list"] .home-product-card__label {
  margin-bottom: 8px;
}

.product-search-grid[data-view="list"] .home-product-card__title {
  font-size: 18px;
}

.product-search-grid[data-view="list"] .home-product-card__meta {
  margin-top: 10px;
  font-size: 13px;
}

.product-search-grid[data-view="list"] .home-product-card__colors {
  margin-top: 12px;
}

.product-search-grid[data-view="list"] .home-product-card__price {
  margin-top: 12px;
  font-size: 15px;
}

.product-search-grid .shop-products-empty {
  grid-column: 1 / -1;
  padding: 80px 20px;
  text-align: center;
}

.product-search-grid .shop-products-empty h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
}

.product-search-grid .shop-products-empty p {
  margin: 0;
  color: #6b6864;
}

@media (max-width: 1024px) {
  .product-search-hero {
    background-size: auto, 52% auto, auto;
  }

  .product-search-grid[data-view="list"] .home-product-card__link {
    grid-template-columns: minmax(170px, 40%) minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  .product-search-grid[data-view="list"] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-search-hero,
  .product-search-hero__inner {
    min-height: 155px;
  }

  .product-search-hero {
    background-image: linear-gradient(90deg, rgba(248, 245, 241, .98), rgba(248, 245, 241, .82));
  }

  .product-search-hero__inner {
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .product-search-breadcrumb {
    margin-bottom: 14px;
  }

  .product-search-hero h1 {
    font-size: 28px;
  }

  .product-search-toolbar {
    height: auto;
    min-height: 62px;
    gap: 12px;
  }

  .product-search-toolbar__controls {
    gap: 8px;
  }

  .product-grid-switcher {
    display: flex;
  }

  .product-search-toolbar__controls .shop-sort {
    max-width: 155px;
  }

  .product-search-per-page span {
    display: none;
  }

  .product-search-grid[data-view="list"] .shop-product-card {
    min-height: 150px;
  }

  .product-search-grid[data-view="list"] .home-product-card__link {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .product-search-grid[data-view="list"] .home-product-card__media {
    min-height: 150px;
  }

  .product-search-grid[data-view="list"] .home-product-card__body {
    padding: 14px 16px;
  }

  .product-search-grid[data-view="list"] .home-product-card__title {
    font-size: 16px;
  }

  .product-search-grid[data-view="list"] .home-product-card__meta {
    display: none;
  }
}

/* Cart slider overrides must remain after the shared homepage slider rules. */
.woocommerce-cart .yen-cart-recommendations .home-products-strip__track {
  width: 100%;
  grid-auto-columns: calc((100% - 48px) / 4);
  column-gap: 16px;
}

@media (max-width: 1180px) {
  .woocommerce-cart .yen-cart-recommendations .home-products-strip__track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }
}

@media (max-width: 980px) {
  .woocommerce-cart .yen-cart-recommendations .home-products-strip__track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 760px) {
  .woocommerce-cart .yen-cart-recommendations .home-products-strip__track {
    grid-auto-columns: min(76vw, 290px);
  }
}

/* Keep native WooCommerce form styles from shifting cart controls. */
.woocommerce-cart .yen-cart-item__quantity .quantity {
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  overflow: hidden;
}

.woocommerce-cart .yen-cart-item__quantity input.qty {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

.woocommerce-cart .yen-cart-qty-button {
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 34px;
}

.woocommerce-cart .yen-cart-item__meta dl.variation {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 2px 4px;
  align-items: baseline;
  margin: 0;
}

.woocommerce-cart .yen-cart-item__meta dl.variation dt,
.woocommerce-cart .yen-cart-item__meta dl.variation dd {
  display: block;
  float: none;
  clear: none;
  width: auto;
  margin: 0;
  padding: 0;
  line-height: 1.35;
}

.woocommerce-cart .yen-cart-item__meta dl.variation dd::after {
  content: none;
}

.woocommerce-cart .yen-cart-item__meta dl.variation dd p {
  display: inline;
  margin: 0;
  padding: 0;
  line-height: inherit;
}

.woocommerce-cart .yen-cart-coupon form {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  overflow: hidden;
}

.woocommerce-cart .yen-cart-coupon svg {
  place-self: center;
  margin: 0;
}

.woocommerce-cart .yen-cart-coupon input {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 40px;
}

.woocommerce-cart .yen-cart-coupon button {
  width: auto;
  min-width: 92px;
  height: 34px;
  margin: 0 4px 0 0;
  padding: 0 17px;
  border: 0;
  border-radius: 0;
  line-height: 34px;
}

/* ========== CONTACT PAGE ========== */
.yen-contact-page {
  width: 100%;
  background: #fff;
  color: #1e1e1e;
}

.yen-contact-shell {
  width: calc(100% - 100px);
  max-width: 1440px;
  margin-inline: auto;
}

.yen-contact-hero {
  min-height: 210px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 244, 240, .98), rgba(247, 244, 240, .83) 43%, rgba(247, 244, 240, .2) 72%),
    var(--contact-hero, linear-gradient(115deg, #f5f1eb, #dfd6ca));
  background-position: center;
  background-size: cover;
}

.yen-contact-hero .yen-contact-shell {
  padding-block: 30px;
}

.yen-contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #777;
  font-size: 12px;
}

.yen-contact-breadcrumb a {
  color: inherit;
}

.yen-contact-hero h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.15;
}

.yen-contact-hero p {
  margin: 8px 0 0;
  color: #5e5e5e;
  font-size: 17px;
}

.yen-contact-content {
  padding-block: 34px 60px;
}

.yen-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 34px;
  align-items: start;
}

.yen-contact-section + .yen-contact-section {
  margin-top: 38px;
}

.yen-contact-section h2,
.yen-contact-map-section h2,
.yen-contact-support h2 {
  margin: 0 0 3px;
  color: #202020;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.yen-contact-section > p,
.yen-contact-map-section > p {
  max-width: 850px;
  margin: 0;
  color: #696969;
  font-size: 13px;
  line-height: 1.55;
}

.yen-contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.yen-contact-card {
  min-height: 182px;
  padding: 18px;
  border: 1px solid #e4e2df;
  background: #fff;
}

.yen-contact-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  border-radius: 50%;
  background: #f2eee8;
}

.yen-contact-card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #1d1d1d;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yen-contact-card h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
}

.yen-contact-card p,
.yen-contact-card a {
  display: block;
  margin: 0;
  color: #252525;
  font-size: 13px;
  line-height: 1.45;
}

.yen-contact-card small {
  display: block;
  margin-top: 5px;
  color: #7b7b7b;
  font-size: 11px;
  line-height: 1.4;
}

.yen-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 18px;
}

.yen-contact-form label,
.yen-contact-form label span {
  display: block;
}

.yen-contact-form label span {
  margin-bottom: 5px;
  color: #252525;
  font-size: 12px;
  font-weight: 500;
}

.yen-contact-form input,
.yen-contact-form select,
.yen-contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #d9d7d3;
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: #252525;
  font: inherit;
  font-size: 13px;
}

.yen-contact-form input,
.yen-contact-form select {
  height: 44px;
}

.yen-contact-form textarea {
  min-height: 120px;
  padding-block: 12px;
  resize: vertical;
}

.yen-contact-form input:focus,
.yen-contact-form select:focus,
.yen-contact-form textarea:focus {
  border-color: #1c1c1c;
}

.yen-contact-form__message {
  grid-column: 1 / -1;
}

.yen-contact-form button {
  width: 210px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: #1d1d1d;
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.yen-contact-notice {
  margin-top: 14px;
  padding: 11px 14px;
  font-size: 13px;
}

.yen-contact-notice.is-success {
  background: #edf6ed;
  color: #28672d;
}

.yen-contact-notice.is-error {
  background: #fff0f0;
  color: #a32323;
}

.yen-contact-aside {
  display: grid;
  gap: 22px;
}

.yen-contact-support {
  padding: 20px;
  background: #f8f7f5;
}

.yen-contact-support h2 {
  margin-bottom: 13px;
  font-size: 19px;
}

.yen-contact-support a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 15px;
  border: 1px solid #e2e0dd;
  border-bottom: 0;
  background: #fff;
  color: #303030;
  font-size: 13px;
}

.yen-contact-support a:last-child {
  border-bottom: 1px solid #e2e0dd;
}

.yen-contact-support a:hover {
  color: var(--logo-color);
}

.yen-contact-support b {
  font-size: 16px;
  font-weight: 400;
}

.yen-contact-consult {
  min-height: 330px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(246, 243, 238, .96), rgba(246, 243, 238, .7) 60%, rgba(246, 243, 238, .2)),
    var(--contact-consult, linear-gradient(140deg, #f1ece5, #d8cdbf));
  background-position: center;
  background-size: cover;
}

.yen-contact-consult h2 {
  margin: 0;
  color: #222;
  font-family: var(--system-font-family);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

.yen-contact-consult p {
  max-width: 220px;
  margin: 18px 0;
  color: #555;
  font-size: 12px;
  line-height: 1.55;
}

.yen-contact-consult a {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
  background: #1d1d1d;
  color: #fff;
  font-size: 12px;
}

.yen-contact-map-section {
  margin-top: 44px;
}

.yen-contact-map {
  height: 360px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid #e2dfda;
  background: #f1efec;
}

.yen-contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 1180px) {
  .yen-contact-layout {
    grid-template-columns: 1fr 310px;
    gap: 24px;
  }

  .yen-contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .yen-contact-layout {
    grid-template-columns: 1fr;
  }

  .yen-contact-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .yen-contact-shell {
    width: calc(100% - 32px);
  }

  .yen-contact-hero {
    min-height: 180px;
  }

  .yen-contact-hero h1 {
    font-size: 31px;
  }

  .yen-contact-hero p {
    font-size: 14px;
  }

  .yen-contact-cards,
  .yen-contact-form,
  .yen-contact-aside {
    grid-template-columns: 1fr;
  }

  .yen-contact-form__message {
    grid-column: auto;
  }

  .yen-contact-map {
    height: 280px;
  }
}

/* Shared sidebar for policy and other static pages. */
.yen-standard-page-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 34px;
  align-items: start;
}

.yen-standard-page-layout--plain {
  display: block;
}

.yen-standard-page-layout > .content-area {
  min-width: 0;
}

.yen-page-support-sidebar {
  position: sticky;
  top: 112px;
}

.yen-page-support-sidebar .yen-contact-consult {
  min-height: 310px;
}

@media (max-width: 980px) {
  .yen-standard-page-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .yen-standard-page-layout {
    grid-template-columns: 1fr;
  }

  .yen-page-support-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .yen-page-support-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Final responsive audit overrides. */
@media (max-width: 820px) {
  :root { --content-padding: 24px; }

  .site-header .site-header-inner { padding-inline: var(--content-padding); }

  .shop-catalog,
  .yen-checkout-layout,
  .yen-standard-page-layout { grid-template-columns: 1fr; }

  .shop-filters,
  .yen-checkout-summary,
  .yen-page-support-sidebar {
    position: static;
    max-height: none;
  }

  .shop-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yen-checkout-form .form-row-third { grid-column: span 3; }
  .home-about { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --content-padding: 16px; }
  html, body { max-width: 100%; overflow-x: hidden; }

  .site-header .site-header-inner {
    padding: 8px var(--content-padding);
    gap: 12px;
  }

  /* Keep the mobile header to one predictable row. The search prompt must not
   * compete with the centered logo for horizontal space. */
  .site-header .header-search {
    width: 24px;
    flex: 0 0 24px;
    border-bottom: 0;
  }

  .site-header .search-open-text { display: none; }
  .site-header .search-btn { width: 22px; height: 22px; }
  .site-header .cart-link { width: 22px; height: 22px; }
  .site-header .main-navigation { gap: 0; }

  .site-header .site-branding .custom-logo,
  .site-header .site-branding img {
    max-width: 132px;
    max-height: 32px;
  }

  .shop-shell,
  .yen-cart-shell,
  .yen-checkout-shell,
  .yen-contact-shell {
    width: calc(100% - (2 * var(--content-padding)));
  }

  .shop-products-grid,
  .product-search-grid:not([data-view="list"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-products-strip .section-title {
    max-width: 100%;
    margin-bottom: 14px;
    padding-inline: 4px;
    overflow-wrap: anywhere;
    white-space: normal;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.12;
  }

  .home-products-strip__track {
    grid-auto-columns: min(76vw, 292px);
  }

  .home-category-strip__track {
    grid-auto-columns: min(76vw, 292px);
  }

  .home-editorial-heading h2,
  .home-about__content h2,
  .home-feedback h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .shop-product-card .home-product-card__body,
  .product-search-grid .home-product-card__body { padding: 12px; }
  .home-product-card__title { font-size: 14px; }
  .home-product-card__actions { grid-template-columns: 1fr; gap: 6px; }

  .yen-checkout-steps { min-height: 82px; margin-inline: -4px; }
  .yen-checkout-step { font-size: 11px; text-align: center; }
  .yen-checkout-step strong { max-width: 74px; line-height: 1.2; }
  .yen-checkout-card,
  .yen-checkout-card--order { padding: 16px; }
  .yen-checkout-coupon { grid-template-columns: minmax(0, 1fr) 82px; gap: 7px; }

  .yen-cart-item { grid-template-columns: 1fr 1fr; }
  .yen-cart-item__product { grid-column: 1 / -1; }

  .ylpv-product-page .ylpv-product-container { width: 100%; }
  .ylpv-product-page .ylpv-product-info,
  .ylpv-product-page .ylpv-product-details { padding-inline: var(--content-padding); }
  .ylpv-product-page .ylpv-native-add-to-cart form.cart:not(.variations_form),
  .ylpv-product-page .ylpv-native-add-to-cart .woocommerce-variation-add-to-cart { grid-template-columns: 1fr; }

  .home-feedback__body,
  .home-about,
  .yen-contact-layout { grid-template-columns: 1fr; }
  .home-feedback__track,
  .home-feedback__quotes-track,
  .home-journal-strip .home-journal__track { grid-auto-columns: calc(100vw - (2 * var(--content-padding))); }
}


/* Mobile interaction fixes: keep the hamburger menu visible and anchored to
 * the header, make sticky headers hug the viewport top, and allow native
 * horizontal pointer dragging on every content strip. */
@media (max-width: 900px) {
  .site-header .main-navigation {
    position: relative;
    align-items: center;
  }

  .site-header .main-navigation > div:not(.header-mega-wrap),
  .site-header .main-navigation > ul.menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1300;
    width: min(86vw, 360px);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 10px 0;
    background: #fff;
    border: 1px solid #e7e3de;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .16);
  }

  .site-header .main-navigation.active > div:not(.header-mega-wrap),
  .site-header .main-navigation.active > ul.menu {
    display: block;
  }

  .site-header .main-navigation > div:not(.header-mega-wrap) ul.menu,
  .site-header .main-navigation.active > ul.menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .site-header .main-navigation > div:not(.header-mega-wrap) li,
  .site-header .main-navigation.active > ul.menu li {
    width: 100%;
  }

  .site-header .main-navigation > div:not(.header-mega-wrap) a,
  .site-header .main-navigation.active > ul.menu a {
    display: block;
    padding: 13px 18px;
    color: var(--primary-dark);
    font-size: .82rem;
    letter-spacing: .03em;
    text-transform: none;
  }

  .site-header .main-navigation > div:not(.header-mega-wrap) a:hover,
  .site-header .main-navigation.active > ul.menu a:hover {
    color: var(--primary-dark);
    background: #f5f2ee;
  }

  .home-category-strip__viewport,
  .home-feedback__viewport,
  .home-products-strip .home-category-strip__viewport {
    touch-action: pan-x pan-y pinch-zoom;
    cursor: grab;
  }
}

@media (max-width: 782px) {
  /* The mobile header should sit directly against the viewport. */
  .site-header.is-stuck,
  body.admin-bar .site-header.is-stuck,
  body.admin-bar:not(.home):not(.blog):not(.page-template-front) .site-header.is-stuck {
    top: 0 !important;
  }
}

@media (max-width: 380px) {
  :root { --content-padding: 14px; }
  .shop-products-grid,
  .product-search-grid:not([data-view="list"]) { gap: 8px; }
  .shop-product-card .home-product-card__body,
  .product-search-grid .home-product-card__body { padding: 10px; }
  .home-product-card__title { font-size: 13px; }

  .site-header .site-branding .custom-logo,
  .site-header .site-branding img { max-width: 118px; }
  .home-products-strip .section-title { font-size: 28px; }
}

/* Mega menu typography and hover spacing. Keep all primary menu labels at the
 * same 12px scale as the category labels, with a visible inset hover surface. */
.site-header .header-mega-menu__categories li {
  padding-inline: 4px;
}

.site-header .header-mega-menu__categories a {
  font-size: 12px;
  padding: 7px 10px;
}

.site-header .header-mega-menu__categories a:hover,
.site-header .header-mega-menu__categories a:focus-visible {
  margin-inline: 0;
}

.site-header .header-mega-menu__quick-links a,
.site-header .header-mega-menu__view-all {
  font-size: 12px;
}

.site-header .header-mega-menu__benefits strong {
  font-size: 12px;
}
/* Final mobile spacing and mega-menu type scale. Every primary page shell
 * uses a consistent 10px gutter on narrow screens. */
.site-header .header-mega-menu__product-info strong {
  font-size: 13px;
}

.site-header .header-mega-menu__product-info small,
.site-header .header-mega-menu__product-info .amount {
  font-size: 12px;
}

.site-header .header-mega-menu__banner-copy {
  font-size: 13px;
}

.site-header .header-mega-menu__banner-button {
  font-size: 12px;
}

.site-header .header-mega-menu__benefits small {
  font-size: 10px;
}

/* ========== HOMEPAGE MOTION ========== */
/* Quiet, editorial movement: content arrives in sequence, while image-led
 * surfaces breathe slowly without disrupting the shopping journey. */
@keyframes themeliving-home-reveal {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes themeliving-home-image-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.075); }
}

@keyframes themeliving-home-sheen {
  from { transform: translateX(-125%) skewX(-16deg); }
  to { transform: translateX(260%) skewX(-16deg); }
}

body.home .home-about,
body.home .home-category-strip:not(.home-products-strip):not(.home-journal-strip),
body.home .home-products-strip,
body.home .home-feedback,
body.home .home-promotions,
body.home .home-journal {
  animation: themeliving-home-reveal .82s cubic-bezier(.2, .72, .22, 1) both;
  will-change: transform, opacity;
}

body.home .home-about { animation-delay: .08s; }
body.home .home-category-strip:not(.home-products-strip):not(.home-journal-strip) { animation-delay: .15s; }
body.home .home-products-strip { animation-delay: .21s; }
body.home .home-feedback { animation-delay: .27s; }
body.home .home-promotions { animation-delay: .33s; }
body.home .home-journal { animation-delay: .39s; }

body.home .home-about__media img,
body.home .home-promo-card.has-image::before {
  animation: themeliving-home-image-drift 12s ease-in-out alternate infinite;
}

body.home .home-promo-card.has-image::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: '';
  background: var(--home-promo-image) center / cover no-repeat;
  transform-origin: center;
}

body.home .home-promo-card.has-image {
  background-image: none;
}

body.home .home-promo-card::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 18%;
  content: '';
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  opacity: 0;
}

body.home .home-promo-card:hover::after {
  opacity: 1;
  animation: themeliving-home-sheen .75s cubic-bezier(.2, .7, .3, 1) both;
}

body.home .home-promo-card .home-promo-card__scrim { z-index: 1; }
body.home .home-promo-card__content { position: relative; z-index: 2; }

body.home .home-category-card__media img,
body.home .home-journal-card__image img,
body.home .home-product-card__media img {
  transition: transform .55s cubic-bezier(.2, .72, .22, 1), filter .55s ease;
}

body.home .home-category-card:hover .home-category-card__media img,
body.home .home-journal-card:hover .home-journal-card__image img,
body.home .home-product-card:hover .home-product-card__media img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}

body.home .home-promo-card,
body.home .home-journal-card,
body.home .home-category-card,
body.home .home-product-card {
  transition: transform .35s cubic-bezier(.2, .72, .22, 1), box-shadow .35s ease;
}

body.home .home-promo-card:hover,
body.home .home-journal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(33, 28, 22, .12);
}

body.home .home-promo-card a,
body.home .home-about__button {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}

body.home .home-promo-card a:hover,
body.home .home-about__button:hover {
  box-shadow: 0 9px 22px rgba(25, 21, 17, .16);
}

@media (prefers-reduced-motion: reduce) {
  body.home .home-about,
  body.home .home-category-strip:not(.home-products-strip):not(.home-journal-strip),
  body.home .home-products-strip,
  body.home .home-feedback,
  body.home .home-promotions,
  body.home .home-journal,
  body.home .home-about__media img,
  body.home .home-promo-card.has-image::before,
  body.home .home-promo-card:hover::after {
    animation: none !important;
  }

  body.home .home-promo-card,
  body.home .home-journal-card,
  body.home .home-category-card,
  body.home .home-product-card,
  body.home .home-category-card__media img,
  body.home .home-journal-card__image img,
  body.home .home-product-card__media img {
    transition: none !important;
  }
}

@media (max-width: 600px) {
  :root {
    --content-padding: 10px;
  }

  .site-header .site-header-inner {
    padding-inline: 10px;
  }

  .shop-shell,
  .yen-cart-shell,
  .yen-checkout-shell,
  .yen-contact-shell,
  .product-search-catalog,
  .product-search-hero__inner {
    width: calc(100% - 20px);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
  }

  .shop-shell {
    padding-inline: 0;
  }

  .yen-checkout-shell {
    padding-inline: 0;
  }

  .home-about {
    width: calc(100% - 20px);
    margin-inline: 10px;
  }

  .home-about__content {
    padding-inline: 10px;
  }

  .home-editorial-container {
    padding-inline: 10px;
  }
}
/* Mobile header and product strip alignment. Keep regular and sticky headers
 * on the same baseline and use a 10px page gutter for product sections. */
@media (max-width: 600px) {
  .site-header .site-header-inner,
  .site-header.is-stuck .site-header-inner {
    min-height: 60px;
    height: 60px;
    padding: 6px 10px;
    gap: 10px;
  }

  .site-header .main-navigation,
  .site-header.is-stuck .main-navigation {
    height: 30px;
    display: flex;
    align-items: center;
  }

  .site-header .menu-toggle,
  .site-header .main-navigation .menu-toggle,
  .site-header.is-stuck .menu-toggle {
    width: 22px;
    height: 22px;
    min-height: 22px;
    justify-content: center;
  }

  .site-header .menu-toggle span {
    width: 22px;
    height: 1px;
  }

  .site-header .site-branding,
  .site-header.is-stuck .site-branding {
    top: 50%;
  }

  .site-header .site-branding .custom-logo,
  .site-header .site-branding img,
  .site-header .sticky-logo {
    width: auto;
    max-width: 132px;
    max-height: 32px;
  }

  .site-header .header-search,
  .site-header.is-stuck .header-search,
  .site-header .cart-link,
  .site-header.is-stuck .cart-link {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }

  .home-category-strip,
  .home-products-strip,
  .home-feedback,
  .home-journal,
  .products-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .home-category-strip .container,
  .home-products-strip .container,
  .home-feedback .home-editorial-container,
  .home-journal .home-editorial-container {
    width: calc(100% - 20px);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
  }

  .home-products-strip .section-title,
  .home-category-strip .section-title,
  .home-journal .section-title,
  .home-feedback .section-title {
    max-width: 100%;
    margin-bottom: 14px;
    padding-inline: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
    font-size: clamp(22px, 6.5vw, 30px);
    line-height: 1.15;
  }
}
/* Product media standard: every product image uses a fixed 4:3 frame and
 * contains the complete source image. No crop and no distortion. */
.home-product-card__media,
.shop-product-card__media,
.product-image,
.product-search-grid .home-product-card__media,
.yen-cart-item__image,
.yen-order-product__image,
.ylpv-gallery-stage,
.ylpv-related-image,
.site-header .header-mega-menu__product-image,
.woocommerce-product-gallery .woocommerce-product-gallery__image {
  aspect-ratio: 4 / 3 !important;
  overflow: hidden;
  background: #f3f0eb;
}

.home-product-card__media img,
.shop-product-card__media img,
.product-image img,
.product-search-grid .home-product-card__media img,
.yen-cart-item__image img,
.yen-order-product__image img,
.ylpv-gallery-stage img,
.ylpv-related-image img,
.site-header .header-mega-menu__product-image img,
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center;
  background: #f3f0eb;
}

/* The list view must follow the same product-media rule as the grid view. */
.product-search-grid[data-view="list"] .home-product-card__media {
  aspect-ratio: 4 / 3 !important;
  min-height: 0;
}
/* Strict 4:3 product images: resize the rendered image itself to the frame.
 * This removes contain letterboxing while preserving the complete source. */
.home-product-card__media,
.shop-product-card__media,
.product-image,
.product-search-grid .home-product-card__media,
.yen-cart-item__image,
.yen-order-product__image,
.site-header .header-mega-menu__product-image,
.woocommerce-product-gallery .woocommerce-product-gallery__image {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
}

.home-product-card__media > img,
.shop-product-card__media > img,
.product-image > img,
.product-search-grid .home-product-card__media > img,
.yen-cart-item__image > img,
.yen-order-product__image > img,
.site-header .header-mega-menu__product-image > img,
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: fill !important;
  object-position: center !important;
  margin: 0 !important;
}

/* Mobile header sizing and working hamburger mega menu. */
@media (max-width: 900px) {
  /* Anchor the panel to the header, not the 28px hamburger navigation. */
  .site-header .main-navigation,
  .site-header .header-mega-wrap { position: static; }
  .site-header .main-navigation.active > div:not(.header-mega-wrap),
  .site-header .main-navigation.active > ul.menu { display: none; }
  .site-header .header-mega-wrap:not(.is-open) .header-mega-menu { display: none !important; }
  .site-header .header-mega-menu::before { display: none; }
  .site-header .site-header-inner,
  .site-header.is-stuck .site-header-inner {
    min-height: 86px;
    height: 86px;
    padding: 8px 10px;
  }

  .site-header .site-branding .custom-logo,
  .site-header .site-branding img,
  .site-header .sticky-logo,
  .site-header.is-stuck .site-branding img { max-width: 150px; max-height: 46px; }

  .site-header .menu-toggle,
  .site-header .main-navigation .menu-toggle,
  .site-header.is-stuck .menu-toggle { width: 28px; height: 28px; min-height: 28px; }
  .site-header .menu-toggle span,
  .site-header.is-stuck .menu-toggle span { width: 28px; height: 2px; }
  .site-header .header-search,
  .site-header.is-stuck .header-search,
  .site-header .cart-link,
  .site-header.is-stuck .cart-link { width: 28px; height: 28px; flex-basis: 28px; }

  .site-header .header-mega-wrap.is-open .header-mega-menu { display: block !important; position: absolute; top: 100%; left: 10px; right: 10px; width: auto; max-width: none; max-height: calc(100vh - 96px); overflow-y: auto; opacity: 1; visibility: visible; pointer-events: auto; transform: none; border-radius: 0; }
  .site-header .header-mega-wrap.is-open .header-mega-menu__main { display: block; min-height: 0; }
  .site-header .header-mega-wrap.is-open .header-mega-menu__panel { display: grid; grid-template-columns: 1fr; }
  .site-header .header-mega-wrap.is-open .header-mega-menu__categories,
  .site-header .header-mega-wrap.is-open .header-mega-menu__featured { border-right: 0; border-bottom: 1px solid #ece9e4; }
  .site-header .header-mega-wrap.is-open .header-mega-menu__banner { min-height: 260px; }
  .site-header .header-mega-wrap.is-open .header-mega-menu__benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Primary navigation dropdown: keep level-2 items anchored to their level-1 parent. */
.site-header .main-navigation > ul.menu > li,
.site-header .main-navigation > .menu > li { position: relative; }
.site-header .main-navigation > ul.menu > li > .sub-menu,
.site-header .main-navigation > .menu > li > .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 230px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  background: rgba(26, 20, 17, .96);
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
}
.site-header .main-navigation > ul.menu > li:hover > .sub-menu,
.site-header .main-navigation > ul.menu > li:focus-within > .sub-menu,
.site-header .main-navigation > .menu > li:hover > .sub-menu,
.site-header .main-navigation > .menu > li:focus-within > .sub-menu { display: block; }
.site-header .main-navigation .sub-menu li { display: block; margin: 0; }
.site-header .main-navigation .sub-menu a {
  display: block;
  padding: 9px 18px;
  white-space: nowrap;
  color: #fff;
  font-size: .68rem;
  line-height: 1.4;
  text-align: left;
}
.site-header .main-navigation .sub-menu a:hover,
.site-header .main-navigation .sub-menu a:focus-visible { background: rgba(255,255,255,.12); color: #fff; }
.site-header.is-stuck .main-navigation .sub-menu { background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.site-header.is-stuck .main-navigation .sub-menu a { color: var(--primary-dark); }
.site-header.is-stuck .main-navigation .sub-menu a:hover,
.site-header.is-stuck .main-navigation .sub-menu a:focus-visible { background: #f4f1ed; color: var(--primary-dark); }
@media (max-width: 900px) {
  .site-header .main-navigation > ul.menu > li > .sub-menu,
  .site-header .main-navigation > .menu > li > .sub-menu { position: static; min-width: 0; box-shadow: none; }
}

/* Final dropdown visibility override: level-2 is hidden until its level-1 item is hovered/focused. */
.site-header .main-navigation ul.menu li > ul.sub-menu,
.site-header .main-navigation .menu li > ul.sub-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-6px);
}
.site-header .main-navigation ul.menu li:hover > ul.sub-menu,
.site-header .main-navigation ul.menu li:focus-within > ul.sub-menu,
.site-header .main-navigation .menu li:hover > ul.sub-menu,
.site-header .main-navigation .menu li:focus-within > ul.sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0);
}

/* Keep the hovered level-1 item locked to the same baseline as its siblings.
 * Use a block-level anchor here: making the parent li a flex item lets the
 * dropdown's hover state participate in the navigation's cross-axis sizing
 * in some browsers, which visibly lifts the parent label. */
.site-header .main-navigation > ul.menu,
.site-header .main-navigation > .menu {
  align-items: center;
  height: 32px;
  min-height: 32px;
}
.site-header .main-navigation > ul.menu > li,
.site-header .main-navigation > .menu > li {
  position: relative;
  display: block;
  flex: 0 0 auto;
  align-self: center;
  height: 32px;
  line-height: 32px;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.site-header .main-navigation > ul.menu > li > a,
.site-header .main-navigation > .menu > li > a {
  display: block;
  height: 32px;
  line-height: 32px;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.site-header .main-navigation > ul.menu > li:hover > a,
.site-header .main-navigation > .menu > li:hover > a,
.site-header .main-navigation > ul.menu > li:focus-within > a,
.site-header .main-navigation > .menu > li:focus-within > a {
  transform: none !important;
  position: relative;
  top: 0;
}
.site-header .main-navigation > ul.menu > li > ul.sub-menu,
.site-header .main-navigation > .menu > li > ul.sub-menu {
  top: 32px;
  margin-top: 12px !important;
  line-height: 1.4;
}
.site-header.is-stuck .main-navigation > ul.menu > li,
.site-header.is-stuck .main-navigation > .menu > li,
.site-header.is-stuck .main-navigation > ul.menu > li > a,
.site-header.is-stuck .main-navigation > .menu > li > a {
  height: 32px;
  line-height: 32px;
  transform: none !important;
}

/* WordPress wraps wp_nav_menu() in .menu-primary-container.  Keep the real
 * primary menu on one fixed row too; the direct-child selectors above do not
 * reach this wrapper. */
.site-header .main-navigation .menu-primary-container > ul.menu {
  display: flex !important;
  align-items: center !important;
  height: 32px !important;
  min-height: 32px !important;
  gap: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.site-header .main-navigation .menu-primary-container > ul.menu > li {
  position: relative !important;
  display: block !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  width: auto !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.site-header .main-navigation .menu-primary-container > ul.menu > li > a {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: 32px !important;
  line-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.site-header .main-navigation .menu-primary-container > ul.menu > li > ul.sub-menu {
  position: absolute !important;
  top: 32px !important;
  left: 0 !important;
  display: none !important;
  float: none !important;
  width: max-content !important;
  min-width: 230px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  transform: none !important;
}
.site-header .main-navigation .menu-primary-container > ul.menu > li:hover > ul.sub-menu,
.site-header .main-navigation .menu-primary-container > ul.menu > li:focus-within > ul.sub-menu {
  display: block !important;
}
.site-header.is-stuck .main-navigation .menu-primary-container > ul.menu > li,
.site-header.is-stuck .main-navigation .menu-primary-container > ul.menu > li > a {
  height: 32px !important;
  line-height: 32px !important;
  transform: none !important;
}

/* ID-based fallback for menus whose wrapper class is renamed by WordPress or
 * a menu plugin.  #primary-menu is stable because it is supplied as the
 * menu_id above. */
.site-header .main-navigation > #primary-menu,
.site-header .main-navigation > div > #primary-menu {
  display: flex !important;
  align-items: center !important;
  height: 32px !important;
  min-height: 32px !important;
  gap: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.site-header .main-navigation > #primary-menu > li,
.site-header .main-navigation > div > #primary-menu > li {
  position: relative !important;
  display: block !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  width: auto !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.site-header .main-navigation > #primary-menu > li > a,
.site-header .main-navigation > div > #primary-menu > li > a {
  display: block !important;
  position: static !important;
  height: 32px !important;
  line-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.site-header .main-navigation > #primary-menu > li > .sub-menu,
.site-header .main-navigation > div > #primary-menu > li > .sub-menu {
  position: absolute !important;
  top: 32px !important;
  left: 0 !important;
  display: none !important;
  float: none !important;
  width: max-content !important;
  min-width: 230px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  transform: none !important;
}
.site-header .main-navigation > #primary-menu > li:hover > .sub-menu,
.site-header .main-navigation > #primary-menu > li:focus-within > .sub-menu,
.site-header .main-navigation > div > #primary-menu > li:hover > .sub-menu,
.site-header .main-navigation > div > #primary-menu > li:focus-within > .sub-menu {
  display: block !important;
}

/* Restore the hamburger layout below the desktop baseline lock. */
@media (max-width: 900px) {
  .site-header .main-navigation > ul.menu,
  .site-header .main-navigation > .menu,
  .site-header .main-navigation .menu-primary-container > ul.menu,
  .site-header .main-navigation > #primary-menu,
  .site-header .main-navigation > div > #primary-menu {
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .site-header .main-navigation > ul.menu > li,
  .site-header .main-navigation > .menu > li,
  .site-header .main-navigation .menu-primary-container > ul.menu > li,
  .site-header .main-navigation > #primary-menu > li,
  .site-header .main-navigation > div > #primary-menu > li {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .site-header .main-navigation > ul.menu > li > a,
  .site-header .main-navigation > .menu > li > a,
  .site-header .main-navigation .menu-primary-container > ul.menu > li > a,
  .site-header .main-navigation > #primary-menu > li > a,
  .site-header .main-navigation > div > #primary-menu > li > a {
    height: auto !important;
    line-height: 1.4 !important;
    padding: 13px 18px !important;
  }
  .site-header .main-navigation > ul.menu > li > .sub-menu,
  .site-header .main-navigation > .menu > li > .sub-menu,
  .site-header .main-navigation .menu-primary-container > ul.menu > li > .sub-menu,
  .site-header .main-navigation > #primary-menu > li > .sub-menu,
  .site-header .main-navigation > div > #primary-menu > li > .sub-menu {
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

/* Lightweight scroll motion: composited transforms only, disabled for reduced motion. */
html.ylpv-motion-ready .ylpv-scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.65,.25,1);
  transition-delay: var(--ylpv-reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.ylpv-motion-ready .ylpv-scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  html.ylpv-motion-ready .ylpv-scroll-reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile category rail: use the full white section and show two complete cards. */
@media (max-width: 600px) {
  .home-category-strip:not(.home-products-strip):not(.home-journal-strip) {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-category-strip:not(.home-products-strip):not(.home-journal-strip) .home-category-strip__viewport {
    width: 100%;
  }

  .home-category-strip:not(.home-products-strip):not(.home-journal-strip) .home-category-strip__track {
    grid-auto-columns: calc((100vw - 42px) / 2);
    column-gap: 10px;
  }

  .home-category-strip:not(.home-products-strip):not(.home-journal-strip) .home-category-strip__arrow--prev {
    left: 16px;
  }

  .home-category-strip:not(.home-products-strip):not(.home-journal-strip) .home-category-strip__arrow--next {
    right: 16px;
  }

  body.home .home-category-strip:not(.home-products-strip):not(.home-journal-strip) .home-category-card:hover .home-category-card__media img,
  body.home .home-category-strip:not(.home-products-strip):not(.home-journal-strip) .home-category-card:focus-visible .home-category-card__media img {
    transform: none !important;
    filter: none !important;
  }
}

/* Keep flex containers from preserving a desktop min-content width on phones.
 * Without this, long product-detail content makes #page wider than the body,
 * which scales the entire page down instead of allowing it to reflow. */
@media (max-width: 900px) {
  #page,
  #page > .site-main,
  .site-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}
/* Final product detail media override: 4:3 frames, full video, cropped stills. */
.ylpv-product-page .ylpv-gallery-stage,
.ylpv-product-page .ylpv-gallery-stage .ylpv-media-item,
.ylpv-product-page .ylpv-related-image,
.ylpv-product-page .ylpv-description-media,
.ylpv-product-page .ylpv-thumb,
.ylpv-product-page .ylpv-thumb[data-target="video"] {
  aspect-ratio: 4 / 3 !important;
}

.ylpv-product-page .ylpv-gallery-stage .ylpv-media-item:not([data-media-key="video"]) img,
.ylpv-product-page .ylpv-related-image img,
.ylpv-product-page .ylpv-description-media img,
.ylpv-product-page .ylpv-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover !important;
  object-position: center !important;
}

.ylpv-product-page .ylpv-gallery-stage .ylpv-media-item[data-media-key="video"] video,
.ylpv-product-page .ylpv-gallery-stage .ylpv-media-item[data-media-key="video"] iframe,
.ylpv-product-page .ylpv-thumb[data-target="video"] img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
  background: #f0ece6;
}
/* Mobile journal/article usability fixes. Keep the full image visible, use a
 * 10px page gutter, and prevent sticky/overflow layers from trapping vertical scroll. */
@media (max-width: 820px) {

  /* Do not make mobile page scrolling depend on an IntersectionObserver
   * callback. Content must be visible and touch-scrollable immediately. */
  html.ylpv-motion-ready .ylpv-scroll-reveal,
  html.ylpv-motion-ready .ylpv-scroll-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

    html,
  body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  #page,
  #content,
  .shop-page {
    min-height: 0;
    height: auto;
    overflow: visible;
    touch-action: pan-y;
  }

  .yen-journal-single__sidebar {
    position: static !important;
    top: auto !important;
  }

  .yen-journal-single__hero-image {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: visible;
  }

  .yen-journal-single__hero-image img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
  }
}

@media (max-width: 600px) {
  .yen-journal-single {
    padding: 18px 0 56px;
  }

  .yen-journal-single__main {
    width: calc(100% - 20px) !important;
    max-width: none;
    margin-inline: 10px;
  }

  .yen-journal-single__hero-copy {
    min-height: 0 !important;
    padding: 26px 10px 32px !important;
  }

  .yen-journal-single__eyebrow {
    margin-top: 32px;
  }

  .yen-journal-single__title {
    font-size: clamp(30px, 9vw, 42px);
    letter-spacing: -.02em;
  }

  .yen-journal-single__content-wrap,
  .yen-journal-single__content,
  .yen-journal-single__footer,
  .yen-journal-single__comments {
    width: 100% !important;
    max-width: none;
    margin-inline: 0;
  }

  .yen-journal-single__content-wrap {
    display: grid;
    gap: 34px;
    margin-top: 38px;
  }

  .yen-journal-single__content {
    font-size: 16px;
    line-height: 1.75;
  }

  .yen-journal-single__content figure {
    width: 100% !important;
    max-width: 100%;
    margin: 2em 0;
    transform: none;
  }

  .yen-journal-single__content figure img,
  .yen-journal-single__content > img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
  }

  .yen-journal-single__sidebar {
    padding: 24px 10px 20px;
  }

  .yen-journal-single__footer,
  .yen-journal-single__comments {
    justify-self: stretch;
  }
}

/* Do not let an inactive overlay leave a transparent layer over the page. */
html:not(.search-open-active),
body:not(.search-open-active):not(.quick-view-open) {
  touch-action: pan-y;
}
/* Hidden overlays must never capture touch gestures on small screens. */
@media (max-width: 820px) {
  .search-overlay:not(.active),
  .home-quick-view:not(.is-open),
  .site-header .header-mega-wrap:not(.is-open) .header-mega-menu {
    pointer-events: none !important;
  }

  .site-header .header-mega-wrap.is-open .header-mega-menu,
  .site-header .header-mega-wrap.is-open .header-mega-menu a,
  .site-header .header-mega-wrap.is-open .header-mega-menu button {
    pointer-events: auto !important;
  }

  html,
  body {
    overscroll-behavior-y: auto;
    scroll-behavior: auto;
  }

  body:not(.search-open-active):not(.quick-view-open) {
    overflow-y: auto !important;
  }
}
/* Let mobile browsers distinguish horizontal carousel swipes from page scrolling. */
@media (max-width: 900px) {
  .home-category-strip__viewport,
  .home-feedback__viewport,
  .home-design-gallery__items,
  .home-journal-strip .home-journal__track {
    touch-action: pan-x pan-y;
  }
}
/* Preserve the homepage about banner's native wide ratio on phones. */
@media (max-width: 600px) {
  .home-about__media {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }

  .home-about__media img {
    position: static !important;
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
  }
}
/* Mobile page scrolling: hero media is decorative and must not capture touch gestures. */
@media (max-width: 768px) {
  .hbv-hero-banner,
  .hbv-video-container,
  .hbv-slideshow-container,
  .hbv-video-poster-picture,
  .hbv-video-poster,
  .hbv-video-local,
  .hbv-video-iframe,
  .hbv-slide,
  .hbv-overlay {
    touch-action: pan-y;
  }

  .hbv-video-container,
  .hbv-video-poster-picture,
  .hbv-video-poster,
  .hbv-video-local,
  .hbv-video-iframe,
  .hbv-slide,
  .hbv-overlay {
    pointer-events: none;
  }

  .hbv-content,
  .hbv-content a,
  .hbv-content button,
  .hbv-dots,
  .hbv-dots button {
    pointer-events: auto;
    touch-action: pan-y;
  }
}
/* Final mobile journal layout override: collapse the desktop reading/sidebar grid. */
@media (max-width: 820px) {
  /* Match the compact mobile homepage logo on every inner page. */
  .site-header .site-branding .custom-logo,
  .site-header .site-branding img,
  .site-header .sticky-logo,
  .site-header.is-stuck .site-branding img {
    width: auto !important;
    max-width: 132px !important;
    max-height: 50px !important;
  }
}
@media (max-width: 820px) {
  .yen-journal-single__content-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: calc(100% - 20px) !important;
    max-width: none;
    margin-inline: auto;
    gap: 34px;
  }

  .yen-journal-single__content,
  .yen-journal-single__sidebar,
  .yen-journal-single__footer,
  .yen-journal-single__comments {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none;
    min-width: 0;
  }

  .yen-journal-single__sidebar {
    position: static !important;
  }
}

@media (max-width: 600px) {
  .yen-journal-single__content-wrap {
    width: calc(100% - 20px) !important;
    margin-inline: 10px;
  }
}
/* Keep the category video separated from the filter/catalog block. */
.shop-page .shop-category-video + .shop-catalog { margin-top: 24px !important; padding-top: 0 !important; }
@media (max-width: 600px) {
  .shop-page .shop-category-video + .shop-catalog { margin-top: 20px !important; }
}

/* Final scope for the WordPress-managed category menu and its second level. */
.site-header .header-mega-menu .header-mega-menu__categories > ul.header-mega-menu__category-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header .header-mega-menu .header-mega-menu__category-list > li { position: relative; }
.site-header .header-mega-menu .header-mega-menu__category-list ul.sub-menu {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 100%;
  display: none;
  width: min(340px, 36vw);
  margin: 0;
  padding: 12px;
  list-style: none;
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}
.site-header .header-mega-menu .header-mega-menu__category-list > li:hover > ul.sub-menu,
.site-header .header-mega-menu .header-mega-menu__category-list > li:focus-within > ul.sub-menu {
  display: grid;
  gap: 3px;
}
.site-header .header-mega-menu .header-mega-menu__category-list ul.sub-menu a { min-height: 34px; padding: 7px 8px; }
.site-header .header-mega-menu .header-mega-menu__submenu-toggle { display: none; }
.site-header .header-mega-menu .header-mega-menu__category-list > li.menu-item-has-children > a::after {
  content: '\203A';
  margin-left: 12px;
  color: #57534e;
  font-size: 18px;
  line-height: 1;
}
.site-header .header-mega-menu .header-mega-menu__category-list > li.menu-item-has-children > a:hover::after,
.site-header .header-mega-menu .header-mega-menu__category-list > li.menu-item-has-children:focus-within > a::after { color: #a52a27; }
.site-header .header-mega-menu .header-mega-menu__category-list ul.sub-menu a,
.site-header .header-mega-menu .header-mega-menu__category-list ul.sub-menu a:hover,
.site-header .header-mega-menu .header-mega-menu__category-list ul.sub-menu a:focus-visible {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #242424 !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.site-header .header-mega-menu .header-mega-menu__categories > ul.header-mega-menu__category-list > li > a {
  font-size: 14px !important;
}
.site-header .header-mega-menu .header-mega-menu__category-list ul.sub-menu a:hover,
.site-header .header-mega-menu .header-mega-menu__category-list ul.sub-menu a:focus-visible {
  color: #a52a27 !important;
  background: #f5f3f0 !important;
}
@media (max-width: 900px) {
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__category-list > li.menu-item-has-children > a::after {
    display: none;
  }
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__category-list > li:hover > ul.sub-menu,
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__category-list > li:focus-within > ul.sub-menu { display: none; }
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__category-list > li.menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
  }
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__category-list > li.menu-item-has-children > a {
    grid-column: 1;
    grid-row: 1;
  }
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__submenu-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a52a27;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); }
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__category-list > li.menu-item-has-children > ul.sub-menu {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    padding: 4px 8px 8px 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #faf9f7;
  }
  .site-header .header-mega-wrap.is-open .header-mega-menu .header-mega-menu__category-list > li.menu-item-has-children.is-submenu-open > ul.sub-menu {
    display: grid;
    gap: 2px;
  }
}
