/*
Theme Name: Walbre Story Child
Theme URI: https://walbre.co.jp/
Description: Walbre Story 2.0を保護したまま、正式EC表示を追加する子テーマです。
Author: Walbre
Template: walbre-story
Version: 1.0.14
Text Domain: walbre-story-child
*/

:root {
  --sukoyaka-forest: #245235;
  --sukoyaka-teal: #1e7774;
  --sukoyaka-mist: #eaf0e8;
  --sukoyaka-washi: #fbf9f2;
  --sukoyaka-charcoal: #20221e;
}

.walbre-commerce .woocommerce,
.walbre-commerce .woocommerce-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px clamp(24px, 6vw, 90px) 100px;
}

.woocommerce ul.products li.product,
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--walbre-white, #fff);
}

.woocommerce ul.products li.product {
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(36, 36, 33, .12);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding-right: 20px;
  padding-left: 20px;
}

.woocommerce div.product .product_title,
.woocommerce-checkout h3,
.woocommerce-account h2 {
  font-family: var(--serif);
  font-weight: 500;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: var(--sukoyaka-forest);
  font-weight: 700;
}

.walbre-product-facts,
.walbre-shipping-notice,
.walbre-checkout-notice {
  margin: 24px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--walbre-gold, #b99b52);
  background: var(--sukoyaka-washi);
}

.walbre-product-facts dl {
  margin: 0;
}

.walbre-product-facts dl > div {
  display: grid;
  grid-template-columns: 10em 1fr;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 36, 33, .12);
}

.walbre-product-facts dt {
  font-weight: 700;
}

.walbre-faq-item + .walbre-faq-item {
  margin-top: 18px;
}

.walbre-legal-table th {
  width: 13em;
}

@media (max-width: 780px) {
  .walbre-commerce .woocommerce,
  .walbre-commerce .woocommerce-page {
    padding: 110px 20px 70px;
  }

  .walbre-product-facts dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* Phase 1.5 — brand experience. The parent theme and commerce data stay untouched. */
:root {
  --brand-header-h: 84px;
  --brand-paper: #f3f1ea;
  --brand-ink: #1d211c;
  --brand-line: rgba(29, 33, 28, .15);
  --brand-ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-padding-top: var(--brand-header-h); }
body.walbre-brand-phase15 { background: var(--brand-paper); }
body.menu-open { overflow: hidden; }
.scroll-progress { left: 0; }
.site-main,
.site-footer { margin-left: 0; }
.home .site-main { padding-top: 0; }
.page-hero { overflow: hidden; }
.page-hero-copy,
.page-hero-image { min-width: 0; max-width: 100%; }

/* Top header */
.brand-header {
  position: fixed;
  z-index: 130;
  top: 0;
  right: 0;
  left: 0;
  height: var(--brand-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 64px);
  color: var(--brand-ink);
  background: rgba(247, 245, 238, .82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: height .45s var(--brand-ease), background .45s ease, border-color .45s ease;
}
.admin-bar .brand-header { top: 32px; }
.is-scrolled .brand-header {
  height: 68px;
  background: rgba(247, 245, 238, .96);
  border-color: var(--brand-line);
}
.brand-header-logo { display: block; width: clamp(145px, 13vw, 190px); line-height: 0; }
.brand-header-logo img,
.brand-header-logo .custom-logo { width: 100%; height: auto; max-height: 48px; object-fit: contain; object-position: left center; }
.brand-header-logo .custom-logo-link { display: block; }
.brand-header-actions { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.brand-cart-link,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
}
.brand-cart-link svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.walbre-cart-count {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: 0;
}
.menu-toggle { padding: 0; border: 0; background: transparent; cursor: pointer; font: inherit; }
.menu-toggle-label { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.menu-toggle-lines { position: relative; width: 34px; height: 13px; }
.menu-toggle-lines i {
  position: absolute;
  right: 0;
  width: 34px;
  height: 1px;
  background: currentColor;
  transition: top .45s var(--brand-ease), transform .45s var(--brand-ease);
}
.menu-toggle-lines i:first-child { top: 2px; }
.menu-toggle-lines i:last-child { top: 10px; width: 24px; }
.menu-open .menu-toggle-lines i:first-child { top: 6px; transform: rotate(42deg); }
.menu-open .menu-toggle-lines i:last-child { top: 6px; width: 34px; transform: rotate(-42deg); }

.menu-overlay {
  position: fixed;
  z-index: 108;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(11, 16, 12, .35);
  transition: opacity .55s ease, visibility .55s;
}
.menu-open .menu-overlay { visibility: visible; opacity: 1; }
.site-nav.brand-menu {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(320px, 42vw) 1fr;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  background: #e9e9e2;
  transform: translateY(-22px);
  transition: opacity .55s ease, transform .75s var(--brand-ease), visibility .75s;
}
.menu-open .site-nav.brand-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.brand-menu-visual { background: center/cover no-repeat; filter: saturate(.7); }
.brand-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(110px, 11vh, 150px) clamp(38px, 8vw, 130px) 58px;
  overflow-y: auto;
}
.brand-menu-kicker { margin: 0 0 34px; color: #566052; font-size: 10px; font-weight: 700; letter-spacing: .22em; }
.brand-menu-list { margin: 0; padding: 0; list-style: none; }
.brand-menu-list li { overflow: hidden; border-bottom: 1px solid rgba(29, 33, 28, .12); }
.brand-menu-list a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 12px 0 15px;
  color: var(--brand-ink);
  font-family: var(--serif);
  font-size: clamp(23px, 3.3vw, 45px);
  line-height: 1.3;
  text-decoration: none;
  transform: translateY(108%);
  transition: color .3s, transform .7s var(--brand-ease);
}
.menu-open .brand-menu-list a { transform: translateY(0); }
.menu-open .brand-menu-list li:nth-child(2) a { transition-delay: .05s; }
.menu-open .brand-menu-list li:nth-child(3) a { transition-delay: .1s; }
.menu-open .brand-menu-list li:nth-child(4) a { transition-delay: .15s; }
.menu-open .brand-menu-list li:nth-child(5) a { transition-delay: .2s; }
.menu-open .brand-menu-list li:nth-child(6) a { transition-delay: .25s; }
.brand-menu-list a span { color: #74806e; font-family: var(--sans); font-size: 9px; letter-spacing: .12em; }
.brand-menu-list a:hover { color: var(--sukoyaka-forest); }
.brand-menu-links { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 34px; }
.brand-menu-links a { color: #394238; font-size: 11px; letter-spacing: .08em; text-decoration: none; }
.brand-menu-links a span { display: inline-block; transition: transform .3s ease; }
.brand-menu-links a:hover span { transform: translateX(5px); }

/* Hero: photography first, with restrained staggered motion. */
.hero {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.28fr) minmax(380px, .72fr);
  background: var(--brand-paper);
}
.hero-media { min-height: 100svh; }
.hero-copy { min-height: 100svh; padding: 132px clamp(42px, 5vw, 86px) 60px; }
.hero h1 { font-size: clamp(38px, 3.8vw, 62px); line-height: 1.42; }
.hero .eyebrow { transition-delay: .2s; }
.hero-title-line:first-child > span { transition-delay: .36s; }
.hero-title-line:nth-child(2) > span { transition-delay: .48s; }
.hero-title-line:nth-child(3) > span { transition-delay: .6s; }
.hero-lead { transition-delay: .78s; }
.hero-actions { transition-delay: .92s; }
.hero-scroll { transition-delay: 1.02s; }
.hero-bullet.is-active::after { animation-duration: 4.2s; }

/* Home page rhythm */
.photo-story { padding: clamp(100px, 11vw, 170px) clamp(28px, 6vw, 92px); }
.photo-story-message { margin-top: clamp(80px, 10vw, 150px); }
.photo-story-collage { margin-top: clamp(80px, 9vw, 132px); }
.section { padding-top: clamp(92px, 9vw, 144px); padding-bottom: clamp(92px, 9vw, 144px); }
.services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 38px);
  background: transparent;
  border: 0;
}
.service-card { background: transparent; }
.service-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
  align-items: stretch;
}
.service-card:first-child img { height: 100%; min-height: 560px; aspect-ratio: auto; }
.service-card:not(:first-child) img { aspect-ratio: 5 / 4; }
.service-card-body { padding: 34px clamp(5px, 2vw, 30px) 26px; }
.service-card:first-child .service-card-body { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(42px, 5vw, 78px); background: #e9ece4; }
.service-card h3 { min-height: 0; }
.business-pathway {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--brand-line);
  color: #676b63;
  font-size: 12px;
}
.business-pathway p { margin: 0; }
.sukoyaka-feature { min-height: 730px; grid-template-columns: 1.2fr .8fr; }
.sukoyaka-photo { min-height: 730px; }
.sukoyaka-pathway { max-width: 38em; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(35, 78, 50, .18); font-size: 11px !important; }
.product-gallery {
  min-height: 860px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 170px 280px 280px;
  gap: clamp(10px, 1.5vw, 24px);
  padding: clamp(70px, 9vw, 140px) clamp(28px, 6vw, 92px);
  background: #faf9f5;
}
.product-gallery-lead { grid-column: 1 / 5; grid-row: 1 / 3; align-self: start; padding-top: 20px; }
.product-gallery-lead h2 { margin: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 54px); font-weight: 500; line-height: 1.55; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-main { grid-column: 5 / 10; grid-row: 1 / 4; }
.product-gallery-salt { grid-column: 10 / 13; grid-row: 1 / 3; }
.product-gallery-bottle { grid-column: 2 / 5; grid-row: 3; }
.category-section { background: #e9e7df; }
.category-grid { grid-template-columns: 1.2fr .8fr; gap: clamp(16px, 2vw, 30px); }
.category-card { min-height: 460px; }
.category-card:first-child { grid-row: span 2; min-height: 950px; }
.category-card:first-child img { object-position: center; }
.category-card-copy { padding: 90px clamp(24px, 3vw, 42px) 36px; }
.category-card-copy h3 { font-size: clamp(22px, 2.2vw, 32px); }
.shop-header { margin-bottom: 52px; }
.section-dark .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.section-dark .woocommerce ul.products li.product { padding: 0; border: 0; background: transparent; }
.section-dark .woocommerce ul.products li.product img { aspect-ratio: 4 / 5; margin-bottom: 23px !important; transition: transform .7s var(--brand-ease); }
.section-dark .woocommerce ul.products li.product:hover img { transform: scale(1.018); }
.section-dark .woocommerce ul.products li.product .woocommerce-loop-product__title,
.section-dark .woocommerce ul.products li.product .price { padding: 0; }
.section-dark .woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 23px) !important; font-weight: 500; }
.section-dark .woocommerce .walbre-product-excerpt { margin: 9px 0 12px; color: #c7cec5; font-size: 11px; line-height: 1.8; }
.section-dark .woocommerce a.button {
  min-width: 0;
  margin-top: 15px;
  padding: 5px 24px 8px 0 !important;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.45) !important;
  border-radius: 0 !important;
  font-size: 10px !important;
  letter-spacing: .12em;
}

/* WooCommerce remains functional, but reads as part of the brand. */
.walbre-commerce .site-main { padding-top: var(--brand-header-h); }
.walbre-commerce .woocommerce,
.walbre-commerce .woocommerce-page {
  max-width: 1320px;
  padding: 0 clamp(24px, 6vw, 88px) clamp(90px, 10vw, 150px);
}
.post-type-archive-product .woocommerce-page-wrap {
  max-width: none;
  padding: 0 0 clamp(90px, 10vw, 150px);
}
.post-type-archive-product .woocommerce-page-wrap > .woocommerce-breadcrumb,
.post-type-archive-product .woocommerce-page-wrap > .woocommerce-notices-wrapper,
.post-type-archive-product .woocommerce-page-wrap > .woocommerce-result-count,
.post-type-archive-product .woocommerce-page-wrap > .woocommerce-ordering,
.post-type-archive-product .woocommerce-page-wrap > ul.products {
  width: min(calc(100% - clamp(48px, 12vw, 176px)), 1144px);
  margin-right: auto;
  margin-left: auto;
}
.single-product .woocommerce-page-wrap {
  max-width: 1320px;
  padding: clamp(110px, 12vw, 170px) clamp(24px, 6vw, 88px) clamp(90px, 10vw, 150px);
}
.woocommerce-cart .content-page,
.woocommerce-checkout .content-page,
.woocommerce-account .content-page {
  max-width: 1180px;
  padding: clamp(110px, 12vw, 160px) clamp(24px, 5vw, 70px) clamp(84px, 10vw, 140px);
}
.woocommerce-cart .content-page > h1,
.woocommerce-checkout .content-page > h1,
.woocommerce-account .content-page > h1 { margin-bottom: 54px; }
.commerce-hero {
  max-width: 1320px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 auto;
  padding: clamp(104px, 10vw, 146px) clamp(24px, 6vw, 88px) clamp(42px, 5vw, 72px);
}
.commerce-hero .section-kicker { margin-bottom: 20px; }
.commerce-hero h1 { max-width: 11em; margin: 0; font-family: var(--serif); font-size: clamp(38px, 5vw, 70px); font-weight: 500; line-height: 1.45; letter-spacing: .04em; }
.commerce-hero p:last-child { max-width: 39em; margin: 27px 0 0; color: #62675f; font-size: 13px; }
.post-type-archive-product .woocommerce-products-header,
.post-type-archive-product .woocommerce-page-wrap > .page-title { display: none; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 48px; color: #757970; font-size: 10px; letter-spacing: .08em; }
.post-type-archive-product .woocommerce-page-wrap > .woocommerce-result-count,
.post-type-archive-product .woocommerce-page-wrap > .woocommerce-ordering {
  float: none !important;
  display: block;
}
.woocommerce .woocommerce-ordering select { min-width: 190px; padding: 9px 28px 9px 0; background: transparent; border: 0; border-bottom: 1px solid var(--brand-line); }
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(52px, 6vw, 86px) clamp(22px, 3.2vw, 48px);
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; overflow: hidden; }
.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 0 24px !important;
  object-fit: cover;
  background: #ebeae4;
  transition: transform .8s var(--brand-ease), filter .5s ease;
}

.woocommerce ul.products li.product img.walbre-product-fallback-image,
.walbre-product-fallback-image {
  object-fit: contain;
  padding: clamp(18px, 2.6vw, 34px);
  background:
    radial-gradient(circle at 74% 18%, rgba(196, 163, 95, .16), transparent 24%),
    linear-gradient(180deg, #fffaf0, #f4efe2) !important;
}
.woocommerce ul.products li.product:hover img { transform: scale(1.018); filter: saturate(.94); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  color: var(--brand-ink);
  font-family: var(--serif);
  font-size: clamp(19px, 1.65vw, 25px) !important;
  font-weight: 500;
  line-height: 1.55;
}
.woocommerce ul.products li.product .price { margin: 8px 0 0; padding: 0; color: var(--sukoyaka-forest); font-size: 13px; }
.walbre-product-excerpt { margin: 12px 0 0; color: #686d64; font-size: 11px; line-height: 1.8; }
.woocommerce ul.products li.product .button {
  position: relative;
  min-width: 0;
  margin-top: 20px;
  padding: 7px 28px 8px 0 !important;
  color: var(--brand-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #7d8279 !important;
  border-radius: 0 !important;
  font-size: 10px !important;
  letter-spacing: .13em;
}
.woocommerce ul.products li.product .button::after { content: "→"; position: absolute; right: 0; transition: transform .3s ease; }
.woocommerce ul.products li.product .button:hover::after { transform: translateX(5px); }
.woocommerce span.onsale { display: none; }

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none; width: auto; margin: 0; background: transparent; }
.woocommerce div.product div.images img { background: #ebeae4; }
.woocommerce div.product .summary { position: sticky; top: 110px; padding-top: 24px; }
.woocommerce div.product .product_title { font-size: clamp(30px, 3vw, 44px); line-height: 1.45; word-break: auto-phrase; }
.woocommerce div.product p.price { margin: 20px 0; font-size: 18px; }
.woocommerce-product-details__short-description { color: #62685e; font-size: 13px; line-height: 2; }
.woocommerce div.product form.cart { display: flex; align-items: stretch; margin-top: 34px; }
.woocommerce .quantity .qty { height: 52px; border: 1px solid var(--brand-line); background: transparent; }
.woocommerce div.product form.cart .button,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
  min-height: 52px;
  padding: 14px 28px !important;
  color: #fff !important;
  background: var(--sukoyaka-forest) !important;
  border: 1px solid var(--sukoyaka-forest) !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  letter-spacing: .1em;
}
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs { margin-top: 70px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; border-bottom: 1px solid var(--brand-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 30px 0 0; padding: 0; background: transparent; border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 15px 0; font-size: 11px; letter-spacing: .08em; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 820px; padding: 36px 0 20px; color: #5f645c; font-size: 13px; line-height: 2; }
.woocommerce div.product .related { margin-top: 90px; }
.woocommerce div.product .related > h2 { margin-bottom: 42px; font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 500; }

.woocommerce table.shop_table { border: 0 !important; border-collapse: collapse !important; border-radius: 0 !important; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 20px 14px !important; border-top: 0; border-bottom: 1px solid var(--brand-line); }
.woocommerce-cart table.cart img { width: 84px; }
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content { padding: clamp(24px, 4vw, 48px); background: #faf9f5; }
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout h3,
.woocommerce-account h2 { font-size: clamp(23px, 2.5vw, 34px); font-weight: 500; }
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.55;
  word-break: keep-all;
}
.woocommerce-checkout .woocommerce-shipping-fields h3 label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}
.woocommerce .coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select { padding: 13px 12px; background: #fff; border: 1px solid var(--brand-line); border-radius: 0; }
.woocommerce button.button,
.woocommerce a.button { border-radius: 0; }
.woocommerce-info,
.woocommerce-message,
.woocommerce-error { border-top-color: var(--sukoyaka-forest); background: #f7f6f0; }
.woocommerce-info::before,
.woocommerce-message::before { color: var(--sukoyaka-forest); }

/* Motion system */
.walbre-brand-phase15 [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform 1s var(--brand-ease);
}
.walbre-brand-phase15 [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.walbre-brand-phase15 .woocommerce ul.products li.product[data-reveal]:nth-child(2) { transition-delay: .09s; }
.walbre-brand-phase15 .woocommerce ul.products li.product[data-reveal]:nth-child(3) { transition-delay: .18s; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 2px solid #7d9a71; outline-offset: 4px; }

@media (max-width: 980px) {
  :root { --brand-header-h: 72px; }
  .site-main { padding-top: var(--brand-header-h); }
  .home .site-main { padding-top: var(--brand-header-h); }
  .brand-header { height: var(--brand-header-h); padding: 0 22px; }
  .admin-bar .brand-header { top: 32px; }
  .site-nav.brand-menu { grid-template-columns: minmax(250px, 34vw) 1fr; }
  .brand-menu-content { padding-right: clamp(28px, 6vw, 74px); padding-left: clamp(28px, 6vw, 74px); }
  .hero { min-height: calc(100svh - var(--brand-header-h)); }
  .hero-media { min-height: calc(100svh - var(--brand-header-h)); }
  .hero-copy { min-height: calc(100svh - var(--brand-header-h)); }
  .service-card:first-child { grid-template-columns: 1fr 1fr; }
  .product-gallery { min-height: 740px; grid-template-rows: 150px 230px 230px; }
  .category-card:first-child { min-height: 800px; }
  .woocommerce div.product { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 782px) {
  .admin-bar .brand-header { top: 46px; }
}

@media (max-width: 680px) {
  :root { --brand-header-h: 66px; }
  .brand-header,
  .brand-header.is-scrolled { height: var(--brand-header-h); padding: 0 18px; }
  .brand-header-logo { width: 132px; }
  .brand-header-actions { gap: 15px; }
  .brand-cart-label { display: none; }
  .brand-cart-link { gap: 5px; }
  .brand-cart-link svg { width: 18px; }
  .walbre-cart-count { display: none; }
  .menu-toggle-label { font-size: 9px; }
  .menu-toggle-lines { width: 28px; }
  .menu-toggle-lines i { width: 28px; }
  .menu-toggle-lines i:last-child { width: 19px; }
  .menu-open .menu-toggle-lines i:last-child { width: 28px; }
  .site-nav.brand-menu {
    grid-template-columns: 1fr;
    overflow-y: auto;
    background: rgba(247, 245, 238, .99);
  }
  .brand-menu-visual { position: absolute; inset: 0; opacity: .045; filter: saturate(.35); }
  .brand-menu-content {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    min-height: 100%;
    padding: 82px 24px 28px;
    background: rgba(247, 245, 238, .74);
  }
  .brand-menu-kicker { margin-bottom: 12px; font-size: 8px; }
  .brand-menu-list a {
    gap: 14px;
    padding: 8px 0 10px;
    font-size: clamp(21px, 6.8vw, 27px);
    line-height: 1.22;
    transform: none;
  }
  .brand-menu-list a span { min-width: 22px; font-size: 8px; }
  .brand-menu-links { gap: 12px 24px; margin-top: 24px; }

  .home .site-main { padding-top: var(--brand-header-h); }
  .hero {
    min-height: calc(100svh - var(--brand-header-h));
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 52svh) auto;
  }
  .hero-media { min-height: 0; }
  .hero-copy {
    min-height: 0;
    justify-content: flex-start;
    margin-top: -38px;
    padding: 30px 23px 27px;
    background: rgba(243, 241, 234, .97);
  }
  .hero h1 { font-size: clamp(30px, 9.2vw, 39px); line-height: 1.36; }
  .hero .eyebrow { margin-bottom: 11px; font-size: 8px; }
  .hero-lead { margin-top: 13px; font-size: 11px; line-height: 1.75; }
  .hero-actions { gap: 8px; margin-top: 17px; }
  .hero-actions .button { min-width: 126px; padding: 12px 14px; font-size: 9px; }
  .hero-scroll { display: none; }
  .hero-pagination { left: 20px; bottom: 52px; }
  .hero-bullet { width: 24px; }
  .hero-copy::before,
  .hero-copy::after { display: none; }
  .page-hero-image { transform: none !important; }

  .photo-story { padding: 82px 20px; }
  .photo-story-message { margin-top: 68px; }
  .photo-story-collage { margin-top: 64px; }
  .section { padding: 82px 20px; }
  .section-heading { margin-bottom: 44px; }
  .services { grid-template-columns: 1fr; gap: 52px; }
  .service-card:first-child { grid-column: auto; display: block; }
  .service-card:first-child img { min-height: 0; aspect-ratio: 4 / 3; }
  .service-card:first-child .service-card-body,
  .service-card-body { padding: 27px 2px 0; background: transparent; }
  .business-pathway { display: block; margin-top: 44px; }
  .business-pathway .text-link { display: inline-block; margin-top: 13px; }
  .sukoyaka-feature { min-height: 0; grid-template-columns: 1fr; }
  .sukoyaka-photo { min-height: 56svh; }
  .sukoyaka-copy { padding: 62px 22px 68px; }
  .sukoyaka-copy h2 { font-size: 34px; }
  .product-gallery {
    min-height: 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto 64svh 260px;
    gap: 10px;
    padding: 78px 20px;
  }
  .product-gallery-lead { grid-column: 1 / -1; grid-row: 1; padding: 0 0 28px; }
  .product-gallery-main { grid-column: 1 / -1; grid-row: 2; }
  .product-gallery-salt { grid-column: 1; grid-row: 3; }
  .product-gallery-bottle { grid-column: 2; grid-row: 3; }
  .category-section { padding: 82px 20px; }
  .category-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 42px; }
  .category-card,
  .category-card:first-child { grid-row: auto; min-height: 62svh; }
  .category-card-copy { padding: 70px 22px 24px; }
  .section-dark .woocommerce ul.products,
  .woocommerce ul.products { grid-template-columns: 1fr; gap: 58px; }
  .section-dark .woocommerce ul.products li.product img,
  .woocommerce ul.products li.product img { aspect-ratio: 4 / 5; }

  .walbre-commerce .woocommerce,
  .walbre-commerce .woocommerce-page { padding: 0 20px 84px; }
  .post-type-archive-product .woocommerce-page-wrap { padding: 0 0 84px; }
  .post-type-archive-product .woocommerce-page-wrap > .woocommerce-breadcrumb,
  .post-type-archive-product .woocommerce-page-wrap > .woocommerce-notices-wrapper,
  .post-type-archive-product .woocommerce-page-wrap > .woocommerce-result-count,
  .post-type-archive-product .woocommerce-page-wrap > .woocommerce-ordering,
  .post-type-archive-product .woocommerce-page-wrap > ul.products { width: calc(100% - 40px); }
  .single-product .woocommerce-page-wrap,
  .woocommerce-cart .content-page,
  .woocommerce-checkout .content-page,
  .woocommerce-account .content-page { padding: 94px 20px 84px; }
  .commerce-hero { min-height: 300px; padding: 104px 20px 52px; }
  .commerce-hero h1 { font-size: 37px; }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering { float: none; }
  .woocommerce .woocommerce-result-count { margin-bottom: 16px; }
  .woocommerce .woocommerce-ordering { margin-bottom: 42px; }
  .woocommerce div.product { display: block; }
  .woocommerce div.product .summary { position: static; padding-top: 34px; }
  .woocommerce div.product .product_title { font-size: 32px; }
  .woocommerce div.product form.cart { flex-wrap: wrap; }
  .woocommerce div.product .woocommerce-tabs { margin-top: 55px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { margin-right: 18px; }
  .woocommerce-cart table.cart img { width: 58px; }
  .woocommerce-cart .cart-collaterals,
  .woocommerce-checkout #order_review,
  .woocommerce-account .woocommerce-MyAccount-content { padding: 22px 16px; }
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td { padding: 14px 8px !important; }
  .walbre-brand-phase15 .woocommerce ul.products li.product[data-reveal]:nth-child(n) { transition-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .walbre-brand-phase15 [data-reveal],
  .walbre-brand-phase15 [data-reveal].is-visible,
  .hero-title-line > span,
  .hero-lead,
  .hero-actions,
  .hero-scroll,
  .hero .eyebrow { opacity: 1 !important; transform: none !important; }
}

/* Phase 1.5.1 — soft wa-modern finish, mobile rhythm and Japanese typography. */
:root {
  --brand-header-h: 78px;
  --sukoyaka-forest: #234f36;
  --sukoyaka-teal: #426f61;
  --sukoyaka-mist: #edf1e8;
  --sukoyaka-washi: #fbf7ed;
  --sukoyaka-charcoal: #25231f;
  --brand-paper: #f6f0e5;
  --brand-kinari: #fffaf0;
  --brand-washi: #f8f3e8;
  --brand-sumi: #282720;
  --brand-cha: #765f49;
  --brand-gold: #c4a35f;
  --brand-honey: #e3cc8c;
  --brand-sakura: #d99a86;
  --brand-akane: #b86f5f;
  --brand-line: rgba(72, 65, 51, .14);
  --brand-soft-line: rgba(196, 163, 95, .24);
  --brand-shadow-soft: 0 28px 80px rgba(65, 49, 30, .09);
}

body.walbre-brand-phase15 {
  color: var(--brand-sumi);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 154, 134, .16), transparent 28vw),
    radial-gradient(circle at 92% 18%, rgba(196, 163, 95, .14), transparent 31vw),
    linear-gradient(180deg, #fbf7ed 0%, var(--brand-paper) 52%, #f7f1e5 100%);
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
}

body.walbre-brand-phase15::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(90deg, rgba(88, 78, 58, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(88, 78, 58, .03) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.walbre-brand-phase15 h1,
.walbre-brand-phase15 h2,
.walbre-brand-phase15 h3,
.walbre-brand-phase15 .brand-menu-list a,
.walbre-brand-phase15 .woocommerce-loop-product__title,
.walbre-brand-phase15 .product_title,
.walbre-brand-phase15 .button,
.walbre-brand-phase15 .wp-element-button,
.walbre-brand-phase15 .woocommerce a.button,
.walbre-brand-phase15 .woocommerce button.button {
  line-break: strict;
}

.walbre-brand-phase15 h1,
.walbre-brand-phase15 h2,
.walbre-brand-phase15 h3,
.walbre-brand-phase15 .product-name,
.walbre-brand-phase15 .woocommerce-loop-product__title,
.walbre-brand-phase15 .product_title {
  word-break: keep-all;
  overflow-wrap: normal;
}

.copy-line,
.product-name {
  display: block;
}

.hero-title-line,
.copy-line {
  white-space: nowrap;
}

.walbre-brand-phase15 p {
  letter-spacing: .015em;
}

.section-kicker {
  color: var(--sukoyaka-forest);
  letter-spacing: .22em;
}

.section-kicker::before,
.brand-menu-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 11px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-sakura));
}

.text-link {
  color: var(--sukoyaka-forest);
  text-underline-offset: .35em;
  transition: color .35s ease, letter-spacing .35s ease;
}

.text-link:hover {
  color: var(--brand-akane);
  letter-spacing: .03em;
}

.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  white-space: nowrap;
  border-radius: 999px !important;
  border-color: var(--sukoyaka-forest) !important;
  background: var(--sukoyaka-forest) !important;
  box-shadow: 0 16px 36px rgba(35, 79, 54, .13);
  transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-2px);
  background: #fffaf0 !important;
  color: var(--sukoyaka-forest) !important;
  border-color: var(--brand-gold) !important;
  box-shadow: 0 12px 28px rgba(98, 72, 37, .11);
}

.button-outline {
  color: var(--sukoyaka-forest) !important;
  background: rgba(255, 250, 240, .72) !important;
  border-color: var(--brand-gold) !important;
  box-shadow: none;
}

.button-outline:hover {
  background: var(--brand-honey) !important;
  color: var(--brand-sumi) !important;
}

.brand-header {
  height: var(--brand-header-h);
  padding: 0 clamp(20px, 4.6vw, 72px);
  background: rgba(255, 250, 240, .8);
  border-bottom-color: rgba(196, 163, 95, 0);
  box-shadow: none;
}

.is-scrolled .brand-header {
  height: 66px;
  background: rgba(255, 250, 240, .95);
  border-bottom-color: rgba(196, 163, 95, .22);
  box-shadow: 0 16px 40px rgba(72, 55, 32, .06);
}

.brand-header-logo {
  width: clamp(136px, 12vw, 178px);
}

.brand-cart-link,
.menu-toggle {
  color: var(--brand-sumi);
}

.brand-cart-link:hover,
.menu-toggle:hover {
  color: var(--sukoyaka-forest);
}

.walbre-cart-count {
  color: #fff;
  background: var(--brand-sakura);
  border-color: var(--brand-sakura);
}

.menu-overlay {
  background: rgba(41, 42, 33, .34);
  backdrop-filter: blur(2px);
}

.site-nav.brand-menu {
  background:
    linear-gradient(115deg, rgba(35, 79, 54, .13), transparent 43%),
    linear-gradient(180deg, #fbf7ed 0%, #eee6d6 100%);
}

.brand-menu-visual {
  margin: clamp(22px, 3vw, 44px);
  border-radius: 0 0 120px 0;
  box-shadow: var(--brand-shadow-soft);
  filter: saturate(.82) brightness(1.03);
}

.brand-menu-content {
  padding-top: clamp(106px, 11vh, 152px);
}

.brand-menu-kicker {
  color: var(--sukoyaka-forest);
}

.brand-menu-list li {
  border-color: rgba(118, 95, 73, .18);
}

.brand-menu-list a {
  gap: clamp(14px, 2vw, 26px);
  color: var(--brand-sumi);
}

.brand-menu-list a b {
  font-weight: 500;
}

.brand-menu-list a span {
  color: var(--brand-gold);
}

.brand-menu-links a {
  color: var(--brand-cha);
}

.hero {
  position: relative;
  grid-template-columns: minmax(0, 1.34fr) minmax(360px, .66fr);
  background: linear-gradient(90deg, var(--brand-kinari) 0 50%, var(--brand-paper) 50% 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(22px, 4vw, 72px);
  bottom: clamp(28px, 5vw, 80px);
  width: clamp(96px, 12vw, 170px);
  aspect-ratio: 1;
  border: 1px solid rgba(196, 163, 95, .32);
  border-radius: 50%;
  pointer-events: none;
}

.hero-media {
  padding: clamp(88px, 8vw, 124px) 0 clamp(28px, 5vw, 64px) clamp(20px, 4.6vw, 72px);
}

.hero-slides {
  inset: clamp(88px, 8vw, 124px) 0 clamp(28px, 5vw, 64px) clamp(20px, 4.6vw, 72px);
  overflow: hidden;
  border-radius: 0 0 150px 0;
  box-shadow: var(--brand-shadow-soft);
}

.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 38, 27, .1), transparent 42%),
    linear-gradient(0deg, rgba(255, 250, 240, .08), transparent 42%);
  pointer-events: none;
}

.hero-copy {
  padding-right: clamp(34px, 5.5vw, 90px);
  padding-left: clamp(34px, 4.4vw, 70px);
}

.hero .eyebrow {
  color: var(--sukoyaka-forest);
}

.hero h1 {
  color: var(--brand-sumi);
  font-size: clamp(39px, 3.65vw, 58px);
  line-height: 1.52;
  letter-spacing: .045em;
}

.hero-lead {
  max-width: 35em;
  color: #686353;
}

.hero-scroll {
  color: var(--brand-cha);
}

.hero-bullet {
  background: rgba(255, 250, 240, .46);
}

.hero-bullet::after {
  background: var(--brand-honey);
}

.motion-marquee {
  background: #efe7d8;
}

.motion-marquee span {
  color: rgba(118, 95, 73, .28);
}

.photo-story,
.section-white,
.product-gallery,
.woocommerce-cart .content-page,
.woocommerce-checkout .content-page,
.woocommerce-account .content-page {
  background: var(--brand-kinari);
}

.photo-story {
  position: relative;
}

.photo-story::before {
  content: "";
  position: absolute;
  top: clamp(44px, 8vw, 120px);
  left: clamp(20px, 6vw, 100px);
  width: 1px;
  height: clamp(80px, 13vw, 190px);
  background: linear-gradient(180deg, var(--brand-gold), transparent);
}

.photo-story-image,
.photo-story-collage img,
.service-card img,
.sukoyaka-photo,
.product-gallery img,
.category-card img,
.about-image,
.woocommerce ul.products li.product img,
.woocommerce div.product div.images img {
  filter: saturate(.9) contrast(.98) brightness(1.02);
}

.photo-story-message h2,
.section h2,
.category-section h2,
.product-gallery-lead h2,
.commerce-hero h1,
.woocommerce div.product .product_title,
.content-page h1 {
  letter-spacing: .045em;
}

.photo-story-message p:not(.section-kicker),
.section-intro,
.service-card p,
.sukoyaka-copy p,
.about-copy p,
.woocommerce-product-details__short-description,
.walbre-product-excerpt {
  color: #625f53;
  line-height: 2.08;
}

.services {
  gap: clamp(26px, 3.4vw, 54px);
}

.service-card:first-child .service-card-body {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, .92), rgba(237, 241, 232, .94)),
    var(--sukoyaka-mist);
}

.service-card {
  border-top: 1px solid rgba(196, 163, 95, .22);
}

.service-no {
  color: var(--brand-gold);
}

.service-detail-line {
  color: var(--sukoyaka-forest);
}

.business-pathway {
  border-top-color: var(--brand-soft-line);
}

.sukoyaka-feature {
  background: #edf0e8;
}

.sukoyaka-copy {
  background:
    radial-gradient(circle at 88% 14%, rgba(217, 154, 134, .16), transparent 14rem),
    linear-gradient(180deg, #f8f3e8, #edf1e8);
}

.sukoyaka-copy h2 {
  color: var(--brand-sumi);
}

.sukoyaka-pathway {
  border-top-color: rgba(196, 163, 95, .28);
}

.product-gallery {
  background:
    linear-gradient(90deg, rgba(35, 79, 54, .06), transparent 34%),
    var(--brand-kinari);
}

.product-gallery img {
  box-shadow: var(--brand-shadow-soft);
}

.product-gallery-main {
  border-radius: 120px 0 0 0;
}

.product-gallery-salt {
  border-radius: 0 90px 0 0;
}

.product-gallery-bottle {
  border-radius: 0 0 0 90px;
}

.category-section {
  background:
    linear-gradient(180deg, #eee6d6 0%, #f7f1e5 100%);
}

.category-card {
  overflow: hidden;
  box-shadow: none;
}

.category-card::after {
  background: linear-gradient(180deg, rgba(29, 33, 28, .05), rgba(29, 33, 28, .58));
}

.category-card-copy small {
  color: var(--brand-honey);
}

.category-card-copy h3 {
  line-height: 1.55;
}

.category-card-copy > span {
  white-space: nowrap;
}

.section-dark {
  background:
    radial-gradient(circle at 86% 12%, rgba(196, 163, 95, .18), transparent 24rem),
    linear-gradient(150deg, #1f2c22 0%, #182018 100%);
}

.section-dark .section-kicker,
.section-dark .section-intro {
  color: #d8dece;
}

.section-dark .section-kicker::before {
  background: linear-gradient(90deg, var(--brand-honey), var(--brand-sakura));
}

.shop-header {
  align-items: end;
}

.section-dark .woocommerce ul.products li.product img {
  border-radius: 88px 88px 0 0;
  background: #f6f0e5;
}

.section-dark .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fffaf0;
}

.section-dark .woocommerce ul.products li.product .price {
  color: var(--brand-honey);
}

.section-dark .woocommerce .walbre-product-excerpt {
  color: #d2d9ce;
}

.section-dark .woocommerce a.button {
  border-radius: 0 !important;
  box-shadow: none;
  white-space: nowrap;
}

.commerce-hero {
  position: relative;
}

.commerce-hero::after {
  content: "";
  position: absolute;
  right: clamp(24px, 6vw, 88px);
  bottom: clamp(34px, 6vw, 90px);
  width: clamp(74px, 10vw, 148px);
  aspect-ratio: 1;
  border: 1px solid rgba(196, 163, 95, .33);
  border-radius: 50%;
  pointer-events: none;
}

.post-type-archive-product .woocommerce-page-wrap > .woocommerce-result-count {
  opacity: .52;
}

.woocommerce .woocommerce-ordering select {
  color: #6f695d;
}

.woocommerce ul.products li.product img {
  border-radius: 90px 90px 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--brand-sumi);
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--sukoyaka-forest);
}

.woocommerce ul.products li.product .button {
  border-radius: 0 !important;
  box-shadow: none;
  white-space: nowrap;
}

.woocommerce div.product div.images img {
  border-radius: 128px 128px 0 0;
}

.woocommerce div.product .summary {
  padding: clamp(26px, 4vw, 46px);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .78), rgba(248, 243, 232, .92));
  border: 1px solid rgba(196, 163, 95, .18);
}

.woocommerce div.product .product_title {
  max-width: 11em;
}

.woocommerce div.product form.cart .button,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
  border-radius: 999px !important;
  background: var(--sukoyaka-forest) !important;
  border-color: var(--sukoyaka-forest) !important;
  white-space: nowrap;
}

.walbre-product-facts,
.walbre-shipping-notice,
.walbre-checkout-notice,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content {
  background: #fffaf0;
  border-color: rgba(196, 163, 95, .28);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-bottom-color: rgba(118, 95, 73, .16);
}

@media (max-width: 980px) {
  :root { --brand-header-h: 68px; }

  .hero {
    grid-template-columns: 1fr;
    background: var(--brand-paper);
  }

  .hero-media {
    padding: var(--brand-header-h) 20px 0;
  }

  .hero-slides {
    inset: var(--brand-header-h) 20px 0;
    border-radius: 0 0 96px 0;
  }

  .hero-copy {
    padding: 44px clamp(24px, 7vw, 58px) 58px;
  }

  .hero::after {
    right: 24px;
    bottom: 34px;
    width: 92px;
  }
}

@media (max-width: 680px) {
  :root { --brand-header-h: 60px; }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.walbre-brand-phase15::before {
    background-size: 56px 56px;
    opacity: .22;
  }

  .brand-header,
  .is-scrolled .brand-header {
    height: var(--brand-header-h);
    padding: 0 15px;
    background: rgba(255, 250, 240, .96);
  }

  .admin-bar .brand-header { top: 46px; }

  .brand-header-logo { width: 118px; }
  .brand-header-logo img,
  .brand-header-logo .custom-logo { max-height: 38px; }
  .brand-header-actions { gap: 12px; }
  .brand-cart-link,
  .menu-toggle { min-height: 38px; }
  .menu-toggle-lines,
  .menu-toggle-lines i { width: 26px; }
  .menu-toggle-lines i:last-child { width: 18px; }

  .site-nav.brand-menu {
    min-height: 100svh;
  }

  .brand-menu-visual {
    inset: auto 18px 20px 18px;
    height: 28svh;
    margin: 0;
    border-radius: 70px 0 0 0;
    opacity: .22;
  }

  .brand-menu-content {
    min-height: 100svh;
    justify-content: flex-start;
    padding: calc(var(--brand-header-h) + 34px) 24px 28px;
  }

  .brand-menu-list a {
    padding: 8px 0 11px;
    font-size: clamp(23px, 7.1vw, 29px);
    line-height: 1.25;
  }

  .brand-menu-list a span {
    min-width: 2.4em;
  }

  .brand-menu-links a {
    font-size: 10px;
  }

  .home .site-main { padding-top: 0; }

  .hero {
    min-height: 100svh;
    grid-template-rows: minmax(290px, 48svh) auto;
  }

  .hero-media {
    min-height: 0;
    padding: calc(var(--brand-header-h) + 12px) 14px 0;
  }

  .hero-slides {
    inset: calc(var(--brand-header-h) + 12px) 14px 0;
    min-height: 0;
    height: auto;
    border-radius: 0 0 72px 0;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: calc(100% - 28px);
    margin: -38px auto 0;
    padding: 27px 20px 30px;
    background: rgba(255, 250, 240, .96);
    box-shadow: 0 18px 44px rgba(65, 49, 30, .08);
  }

  .hero .eyebrow {
    margin-bottom: 9px;
    font-size: 8px;
    letter-spacing: .18em;
  }

  .hero h1 {
    font-size: clamp(27px, 7.4vw, 33px);
    line-height: 1.45;
    letter-spacing: .035em;
  }

  .copy-line {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero h1 .hero-title-line {
    white-space: nowrap;
  }

  .hero-lead {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.85;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .hero-actions .button {
    min-width: 0;
    width: 100%;
    padding: 12px 10px;
    font-size: 9px;
  }

  .hero-pagination {
    left: 30px;
    bottom: 52px;
  }

  .hero::after {
    display: none;
  }

  .photo-story,
  .section,
  .category-section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .photo-story-message h2,
  .section h2,
  .category-section h2,
  .product-gallery-lead h2,
  .commerce-hero h1 {
    font-size: clamp(29px, 8.6vw, 36px);
    line-height: 1.55;
  }

  .photo-story-message {
    gap: 22px;
  }

  .photo-story-message p:not(.section-kicker),
  .section-intro,
  .service-card p,
  .sukoyaka-copy p,
  .about-copy p {
    font-size: 13px;
    line-height: 2;
  }

  .service-card,
  .service-card:first-child {
    border-top-color: rgba(196, 163, 95, .22);
  }

  .service-card:first-child img,
  .service-card:not(:first-child) img {
    border-radius: 72px 72px 0 0;
  }

  .sukoyaka-photo {
    min-height: 44svh;
  }

  .sukoyaka-copy {
    padding: 54px 22px 62px;
  }

  .sukoyaka-copy h2 {
    font-size: clamp(29px, 8.4vw, 35px);
    line-height: 1.55;
  }

  .product-gallery {
    grid-template-rows: auto minmax(330px, 56svh) minmax(210px, 28svh);
    padding: 74px 18px;
  }

  .product-gallery-main {
    border-radius: 76px 0 0 0;
  }

  .product-gallery-salt {
    border-radius: 0 54px 0 0;
  }

  .product-gallery-bottle {
    border-radius: 0 0 0 54px;
  }

  .category-card,
  .category-card:first-child {
    min-height: min(560px, 68svh);
  }

  .category-card-copy {
    padding: 68px 22px 25px;
  }

  .category-card-copy h3 {
    font-size: clamp(21px, 6.4vw, 27px);
  }

  .section-dark .woocommerce ul.products li.product img,
  .woocommerce ul.products li.product img {
    border-radius: 76px 76px 0 0;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .section-dark .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: clamp(21px, 6vw, 25px) !important;
    line-height: 1.45;
  }

  .walbre-product-excerpt,
  .section-dark .woocommerce .walbre-product-excerpt {
    font-size: 12px;
    line-height: 1.85;
  }

  .commerce-hero {
    min-height: 240px;
    padding: calc(var(--brand-header-h) + 42px) 22px 40px;
  }

  .commerce-hero::after {
    width: 70px;
    right: 22px;
    bottom: 38px;
  }

  .single-product .woocommerce-page-wrap,
  .woocommerce-cart .content-page,
  .woocommerce-checkout .content-page,
  .woocommerce-account .content-page {
    padding: calc(var(--brand-header-h) + 34px) 20px 82px;
  }

  .woocommerce div.product div.images img {
    border-radius: 82px 82px 0 0;
  }

  .woocommerce div.product .summary {
    margin-top: 20px;
    padding: 24px 18px;
  }

  .woocommerce div.product .product_title {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 33px);
    line-height: 1.48;
  }

  .woocommerce div.product form.cart {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 10px;
  }

  .woocommerce div.product form.cart .button {
    width: 100%;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .woocommerce-cart .coupon {
    display: grid;
    gap: 10px;
  }

  .woocommerce-cart .coupon .button {
    width: 100% !important;
  }

  .woocommerce table.shop_table {
    font-size: 13px;
  }

  .woocommerce-checkout .woocommerce-shipping-fields h3,
  .woocommerce-checkout .woocommerce-additional-fields h3 {
    font-size: clamp(22px, 6.5vw, 27px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover,
  .wp-element-button:hover,
  .woocommerce a.button:hover,
  .woocommerce button.button:hover,
  .woocommerce input.button:hover,
  .text-link:hover {
    transform: none;
    letter-spacing: inherit;
  }
}

.walbre-news-detail {
  max-width: min(1180px, calc(100vw - 48px));
  padding-top: clamp(86px, 10vw, 132px);
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-bottom: 28px;
  color: var(--sukoyaka-forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.news-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  margin-bottom: clamp(40px, 7vw, 82px);
}

.news-detail-hero > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(176, 143, 76, .26);
  border-radius: 34px;
  background:
    radial-gradient(circle at 94% 12%, rgba(224, 184, 88, .18), transparent 26%),
    linear-gradient(135deg, #fffaf0, #f4efe2);
  box-shadow: 0 24px 70px rgba(37, 43, 34, .08);
}

.news-detail-hero time {
  display: block;
  margin: 10px 0 22px;
  color: #92753a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}

.news-detail-hero h1 {
  margin: 0;
  color: #243224;
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: .04em;
}

.news-detail-image {
  min-height: 360px;
  border-radius: 34px;
  background: center/cover no-repeat;
  box-shadow: 0 24px 70px rgba(37, 43, 34, .14);
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.news-detail-body {
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(176, 143, 76, .22);
  border-radius: 30px;
  background: rgba(255, 255, 255, .78);
}

.news-detail-body p,
.news-detail-body li {
  color: #42483f;
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: .04em;
}

.news-detail-body h2 {
  margin: 2.1em 0 .9em;
  color: var(--sukoyaka-forest);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
}

.news-detail-side {
  position: sticky;
  top: 108px;
  padding: 28px;
  border: 1px solid rgba(176, 143, 76, .28);
  border-radius: 26px;
  background: #f6f0df;
}

.news-detail-side h2 {
  margin: 8px 0 18px;
  color: #243224;
  font-size: 18px;
}

.news-side-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(36, 50, 36, .12);
  color: #243224;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.news-side-link::after {
  content: '→';
  color: #b08f4c;
}

@media (max-width: 900px) {
  .walbre-news-detail {
    max-width: calc(100vw - 34px);
    padding-top: 78px;
  }

  .news-detail-hero,
  .news-detail-layout {
    grid-template-columns: 1fr;
  }

  .news-detail-hero > div:first-child {
    min-height: auto;
    padding: 32px 24px;
  }

  .news-detail-image {
    min-height: 260px;
    order: -1;
  }

  .news-detail-side {
    position: static;
  }
}

/* 2026-07 shop/product correction: keep storefront readable and prevent image crops. */
.post-type-archive-product .woocommerce-page-wrap,
.tax-product_cat .woocommerce-page-wrap,
.single-product .woocommerce-page-wrap {
  overflow-x: hidden;
}

.post-type-archive-product .woocommerce-page-wrap > ul.products,
.woocommerce ul.products {
  justify-content: center;
  justify-items: center;
}

.woocommerce ul.products li.product {
  min-width: 0;
  max-width: 330px;
}

.woocommerce ul.products li.product img,
.woocommerce ul.products li.product img.walbre-product-fallback-image,
.woocommerce ul.products li.product img.wsf-product-fallback-image,
.walbre-product-fallback-image,
.wsf-product-fallback-image {
  width: 100% !important;
  aspect-ratio: 4 / 5;
  object-fit: contain !important;
  object-position: center !important;
  padding: clamp(14px, 3vw, 24px) !important;
  background: #fffdf7 !important;
  border-radius: 26px !important;
  box-sizing: border-box;
  transform: none !important;
}

.woocommerce div.product div.images img,
.woocommerce div.product div.images img.walbre-product-fallback-image,
.woocommerce div.product div.images img.wsf-product-fallback-image {
  width: 100% !important;
  max-height: min(62vh, 640px);
  object-fit: contain !important;
  object-position: center !important;
  padding: clamp(14px, 3vw, 26px) !important;
  background: #fffdf7 !important;
  border-radius: 30px !important;
  box-sizing: border-box;
  transform: none !important;
}

.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  overflow-wrap: anywhere;
  word-break: keep-all;
  line-break: strict;
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .post-type-archive-product .woocommerce-page-wrap,
  .single-product .woocommerce-page-wrap,
  .woocommerce-cart .content-page,
  .woocommerce-checkout .content-page {
    width: 100%;
    max-width: 100vw;
    padding-right: 18px !important;
    padding-left: 18px !important;
    box-sizing: border-box;
  }

  .post-type-archive-product .woocommerce-page-wrap > ul.products,
  .woocommerce ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 360px) !important;
    max-width: 360px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    gap: 32px !important;
  }

  .woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 340px;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: left;
  }

  .woocommerce ul.products li.product img,
  .woocommerce ul.products li.product img.walbre-product-fallback-image,
  .woocommerce ul.products li.product img.wsf-product-fallback-image {
    aspect-ratio: 1 / 1.18;
    max-height: 320px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .section-dark .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: clamp(22px, 6.4vw, 27px) !important;
    line-height: 1.42;
  }

  .woocommerce div.product {
    display: block !important;
    width: 100% !important;
    max-width: min(100%, 390px);
    margin-right: auto;
    margin-left: auto;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    max-width: min(100%, 360px);
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .woocommerce div.product div.images img {
    max-height: 360px;
  }

  .woocommerce div.product .product_title {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 36px);
    line-height: 1.42;
  }

  .woocommerce div.product form.cart {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 10px;
  }

  .woocommerce div.product form.cart .button {
    min-width: 0;
    width: 100%;
    padding-right: 10px !important;
    padding-left: 10px !important;
    white-space: normal;
  }
}

/* 2026-07 final mobile/FV/shop hardening.
   Public pages should read naturally on phone screens and avoid internal labels. */
.brand-header {
  z-index: 9999;
}

.menu-toggle {
  position: relative;
  z-index: 10002;
  pointer-events: auto;
}

.menu-overlay {
  z-index: 9997;
}

.site-nav.brand-menu {
  z-index: 9998;
}

.hero h1,
.page-hero-title,
.commerce-hero h1,
.content-page h1,
.section h2,
.page-section h2 {
  overflow-wrap: normal;
  word-break: keep-all;
  line-break: strict;
}

.single-product .woocommerce div.product .product_title,
.woocommerce div.product .product_title {
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  line-break: strict;
  font-size: clamp(34px, 4.4vw, 62px) !important;
  line-height: 1.28 !important;
  letter-spacing: .02em !important;
}

.single-product .woocommerce div.product .product_meta,
.single-product .woocommerce div.product .sku_wrapper,
.single-product .woocommerce div.product .posted_in,
.single-product .woocommerce div.product .tagged_as {
  display: none !important;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  align-self: center;
}

.woocommerce div.product div.images img,
.woocommerce div.product div.images img.walbre-product-fallback-image,
.woocommerce div.product div.images img.wsf-product-fallback-image {
  max-height: min(58vh, 620px) !important;
  object-fit: contain !important;
  object-position: center !important;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  width: 78px !important;
  height: 78px !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 8px !important;
}

.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products,
.tax-product_tag .woocommerce ul.products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  justify-items: center;
  gap: clamp(24px, 2.8vw, 38px) !important;
}

.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  max-width: 320px !important;
  min-width: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 3.1em;
  overflow: visible !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  line-height: 1.45 !important;
}

.woocommerce ul.products li.product img,
.woocommerce ul.products li.product img.walbre-product-fallback-image,
.woocommerce ul.products li.product img.wsf-product-fallback-image {
  height: clamp(210px, 20vw, 280px) !important;
  max-height: 280px !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 1180px) {
  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .motion-marquee,
  .hero-scroll {
    display: none !important;
  }

  .hero,
  .page-hero,
  .commerce-hero {
    overflow: hidden;
  }

  .hero h1,
  .hero h1 *,
  .page-hero-title,
  .commerce-hero h1 {
    transform: none !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .hero h1 {
    font-size: clamp(36px, 12.4vw, 52px) !important;
    line-height: 1.34 !important;
    letter-spacing: .025em !important;
  }

  .brand-header {
    position: sticky;
    top: 0;
    min-height: 70px;
    z-index: 9999;
  }

  .brand-logo,
  .brand-logo img {
    max-width: min(62vw, 260px);
    height: auto;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 74px;
    min-height: 44px;
    color: #1f251f !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .menu-toggle-lines i {
    background: #1f251f !important;
  }

  .site-nav.brand-menu {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    color: #1f251f;
    background: #f8f5ed !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .34s ease, opacity .24s ease, visibility .24s ease;
  }

  body.menu-open {
    overflow: hidden !important;
  }

  body.menu-open .site-nav.brand-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  body.menu-open .menu-overlay {
    opacity: .46;
    visibility: visible;
    pointer-events: auto;
  }

  .brand-menu-content {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    padding: 96px 28px 44px !important;
    box-sizing: border-box;
  }

  .brand-menu-list,
  .brand-menu-list li {
    width: 100%;
  }

  .brand-menu-list a {
    display: block;
    width: 100%;
    padding: 12px 0;
    color: #1f251f !important;
    font-size: clamp(20px, 6vw, 28px) !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: keep-all;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .brand-menu-visual {
    opacity: .08 !important;
    pointer-events: none;
  }

  .post-type-archive-product .woocommerce-page-wrap,
  .tax-product_cat .woocommerce-page-wrap,
  .tax-product_tag .woocommerce-page-wrap {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products,
  .woocommerce ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 340px) !important;
    max-width: 340px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .woocommerce ul.products li.product {
    max-width: 340px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .woocommerce ul.products li.product img,
  .woocommerce ul.products li.product img.walbre-product-fallback-image,
  .woocommerce ul.products li.product img.wsf-product-fallback-image {
    height: 260px !important;
    max-height: 260px !important;
    padding: 18px !important;
  }

  .woocommerce div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
    width: min(100%, 390px) !important;
    max-width: calc(100vw - 34px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    max-width: 100% !important;
  }

  .woocommerce div.product div.images img,
  .woocommerce div.product div.images img.walbre-product-fallback-image,
  .woocommerce div.product div.images img.wsf-product-fallback-image {
    width: 100% !important;
    height: auto !important;
    max-height: 420px !important;
    padding: 14px !important;
  }

  .woocommerce div.product div.images .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .woocommerce div.product div.images .flex-control-thumbs li {
    width: auto !important;
  }

  .woocommerce div.product div.images .flex-control-thumbs img {
    width: 100% !important;
    height: 76px !important;
  }

  .single-product .woocommerce div.product .product_title,
  .woocommerce div.product .product_title {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.34 !important;
    letter-spacing: .015em !important;
  }

  .woocommerce div.product p.price,
  .woocommerce div.product span.price {
    font-size: clamp(24px, 7vw, 34px) !important;
  }
}

/* 2026-07-16: mobile menu visibility + WooCommerce product display hardening.
   Customer-facing fix: keep MENU readable, keep shop cards centered, and prevent product images/titles from clipping. */
.brand-header,
.brand-header * {
  box-sizing: border-box;
}

.brand-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.brand-header-logo {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-header-logo img,
.brand-header-logo .custom-logo {
  display: block !important;
  width: auto !important;
  max-width: min(260px, 48vw) !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.brand-header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(12px, 2vw, 28px) !important;
  min-width: 0;
  margin-left: auto;
  flex: 0 0 auto;
}

.brand-cart-link,
.menu-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  color: #1f251f !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  white-space: nowrap !important;
}

.menu-toggle-label,
.menu-toggle > .menu-toggle-label {
  display: inline-block !important;
  color: #1f251f !important;
  background: transparent !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.menu-toggle-lines,
.menu-toggle > .menu-toggle-lines {
  display: inline-block !important;
  background: transparent !important;
  flex: 0 0 auto !important;
}

.menu-toggle-lines i,
.menu-toggle > .menu-toggle-lines i {
  display: block !important;
  background: #1f251f !important;
}

.woocommerce ul.products li.product,
.woocommerce div.product,
.woocommerce div.product * {
  box-sizing: border-box;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: strict !important;
}

.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products,
.tax-product_tag .woocommerce ul.products,
.woocommerce ul.products {
  justify-content: center !important;
  align-items: stretch !important;
}

.woocommerce ul.products li.product img,
.woocommerce ul.products li.product img.walbre-product-fallback-image,
.woocommerce ul.products li.product img.wsf-product-fallback-image {
  object-fit: contain !important;
  object-position: center center !important;
}

.woocommerce div.product div.images img,
.woocommerce div.product div.images img.walbre-product-fallback-image,
.woocommerce div.product div.images img.wsf-product-fallback-image {
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 767px) {
  :root {
    --brand-header-h: 66px;
  }

  .brand-header,
  .brand-header.is-scrolled,
  .is-scrolled .brand-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 2147483000 !important;
    width: 100% !important;
    height: var(--brand-header-h) !important;
    min-height: var(--brand-header-h) !important;
    padding: 0 16px !important;
    background: rgba(251, 249, 242, .98) !important;
    border-bottom: 1px solid rgba(194, 164, 85, .18) !important;
    backdrop-filter: blur(10px);
  }

  .admin-bar .brand-header,
  .admin-bar .brand-header.is-scrolled,
  .admin-bar .is-scrolled .brand-header {
    top: 46px !important;
  }

  .site-main {
    padding-top: var(--brand-header-h) !important;
  }

  .brand-header-logo {
    width: auto !important;
    max-width: 52vw !important;
  }

  .brand-header-logo img,
  .brand-header-logo .custom-logo {
    max-width: min(52vw, 190px) !important;
    max-height: 38px !important;
  }

  .brand-header-actions {
    gap: 10px !important;
  }

  .brand-cart-link {
    gap: 4px !important;
    min-width: 44px !important;
  }

  .brand-cart-link svg {
    width: 18px !important;
    height: 18px !important;
  }

  .brand-cart-label {
    color: #1f251f !important;
    font-size: 10px !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
  }

  .menu-toggle {
    min-width: 72px !important;
    height: 44px !important;
    min-height: 44px !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  .menu-toggle-label,
  .menu-toggle > .menu-toggle-label {
    color: #1f251f !important;
    background: transparent !important;
    font-size: 11px !important;
    letter-spacing: .14em !important;
  }

  .menu-toggle-lines,
  .menu-toggle > .menu-toggle-lines {
    position: relative !important;
    width: 28px !important;
    height: 16px !important;
    background: transparent !important;
  }

  .menu-toggle-lines i,
  .menu-toggle > .menu-toggle-lines i {
    position: absolute !important;
    left: 0 !important;
    width: 28px !important;
    height: 1.5px !important;
    border-radius: 999px !important;
    background: #1f251f !important;
  }

  .menu-toggle-lines i:first-child,
  .menu-toggle > .menu-toggle-lines i:first-child {
    top: 3px !important;
  }

  .menu-toggle-lines i:last-child,
  .menu-toggle > .menu-toggle-lines i:last-child {
    top: 12px !important;
    width: 22px !important;
  }

  body.menu-open .menu-toggle-lines i:first-child {
    top: 7px !important;
    transform: rotate(42deg) !important;
  }

  body.menu-open .menu-toggle-lines i:last-child {
    top: 7px !important;
    width: 28px !important;
    transform: rotate(-42deg) !important;
  }

  .site-nav.brand-menu {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482999 !important;
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    background: #f8f5ed !important;
  }

  .brand-menu-content {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100dvh !important;
    padding: 92px 28px 48px !important;
  }

  .brand-menu-list a {
    display: block !important;
    width: 100% !important;
    color: #1f251f !important;
    font-size: clamp(20px, 6vw, 27px) !important;
    line-height: 1.45 !important;
    letter-spacing: .04em !important;
  }

  .walbre-commerce .woocommerce,
  .walbre-commerce .woocommerce-page,
  .woocommerce-page .site-main,
  .post-type-archive-product .site-main,
  .single-product .site-main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .post-type-archive-product .woocommerce ul.products,
  .tax-product_cat .woocommerce ul.products,
  .tax-product_tag .woocommerce ul.products,
  .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 342px) !important;
    max-width: calc(100vw - 32px) !important;
    gap: 26px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 342px !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .woocommerce ul.products li.product img,
  .woocommerce ul.products li.product img.walbre-product-fallback-image,
  .woocommerce ul.products li.product img.wsf-product-fallback-image {
    width: 100% !important;
    height: 228px !important;
    max-height: 228px !important;
    padding: 18px !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: auto !important;
    font-size: 22px !important;
    line-height: 1.42 !important;
    letter-spacing: .02em !important;
    text-align: left !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .woocommerce div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    width: min(100%, 360px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .woocommerce div.product div.images img,
  .woocommerce div.product div.images img.walbre-product-fallback-image,
  .woocommerce div.product div.images img.wsf-product-fallback-image {
    width: 100% !important;
    height: auto !important;
    max-height: 360px !important;
    padding: 12px !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  .woocommerce div.product div.images .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .woocommerce div.product div.images .flex-control-thumbs img {
    width: 100% !important;
    height: 72px !important;
    padding: 8px !important;
    object-fit: contain !important;
  }

  .single-product .woocommerce div.product .product_title,
  .woocommerce div.product .product_title {
    font-size: clamp(30px, 8.5vw, 39px) !important;
    line-height: 1.28 !important;
    letter-spacing: .01em !important;
    max-width: 100% !important;
  }

  .woocommerce div.product div.summary p,
  .woocommerce div.product div.summary li {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }
}

/* 2026-07-18: keep WooCommerce product titles fully readable on every width. */
html body.woocommerce.walbre-commerce .woocommerce-page-wrap ul.products li.product h2.woocommerce-loop-product__title,
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page-wrap ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body.single-product.woocommerce .woocommerce div.product .summary h1.product_title,
.single-product .woocommerce div.product .product_title,
.woocommerce div.product .product_title {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  line-break: strict !important;
  -webkit-line-clamp: unset !important;
  text-overflow: clip !important;
}
