/*
Theme Name: Lumen
Theme URI: http://localhost/store
Author: Lumen
Description: Classic storefront for Lumen. Editorial paper, Fraunces headlines, and a phone-first shop.
Version: 4.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: lumen
*/

:root {
  --page: #f3f0e8;
  --card: #fffcf8;
  --text: #141210;
  --muted: #5c564f;
  --accent: #e4573d;
  --accent-ink: #c2412a;
  --line: #e3ddd3;
  --ink: #141210;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.95rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.2rem;
  --header-h: 70px;
  --wrap: 1440px;
  --radius: 0;
  --shadow: 0 28px 70px rgba(20, 18, 16, 0.16);
  --ease: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --space: 8px;
  --bp-sm: 700px;
  --bp-md: 900px;
  --bp-lg: 1100px;
  --bp-xl: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  z-index: 80;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

h1,
h2,
h3,
.logo,
.footer-word,
.manifesto__line {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1,
h2,
h3 {
  line-height: 1.05;
  margin: 0 0 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.announce {
  margin: 0;
  padding: 9px 16px;
  background: var(--text);
  color: var(--page);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--header-h);
  padding: 10px 16px;
  background: rgba(247, 246, 243, 0.94);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  backdrop-filter: blur(16px);
}

.admin-bar .site-header {
  top: 32px;
}

body.menu-open .site-header {
  backdrop-filter: none;
}

.menu-toggle,
.logo,
.cart-link,
.account-link,
.header-search button,
.header-search input,
.crumbs a,
.crumbs [aria-current="page"] {
  min-height: 44px;
}

.menu-toggle,
.cart-link,
.logo {
  position: relative;
  z-index: 50;
}

.menu-toggle {
  appearance: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -6px;
}

.menu-toggle__bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before,
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: rotate(-45deg);
}

.menu-toggle__close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: inline;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.logo__mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.cart-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  padding: 0 10px;
  color: var(--text);
  text-decoration: none;
}

.cart-link svg {
  display: block;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.site-panel {
  display: none;
}

.site-panel.is-open {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--page);
  padding: 124px 20px 32px;
  overflow: auto;
}

.panel-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.header-search {
  display: flex;
  gap: 8px;
  width: 100%;
}

.header-search__field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 16px;
  color: var(--text);
}

.suggest {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(26, 22, 18, 0.12);
}

.suggest[hidden] {
  display: none;
}

.suggest a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px;
  color: var(--text);
  text-decoration: none;
}

.suggest a.is-active,
.suggest a:hover {
  background: var(--page);
}

.suggest img {
  width: 40px;
  height: 48px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #efece7;
}

.suggest__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.suggest__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

.suggest__price {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.suggest__price del {
  color: var(--muted);
  font-weight: 500;
  margin-right: 6px;
}

.suggest__empty {
  margin: 0;
  padding: 12px;
  color: var(--muted);
}

.primary-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a,
.account-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  color: var(--accent);
}

.site-main {
  padding-bottom: 36px;
}

.hero {
  color: var(--text);
  max-width: 100%;
}

.hero__stage {
  position: relative;
  max-width: 100%;
}

.hero__scroll {
  display: flex;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.hero__scroll::-webkit-scrollbar {
  display: none;
}

.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #efece7;
}

.hero__arrow {
  position: absolute;
  top: calc(50% - 22px);
  z-index: 2;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 246, 243, 0.92);
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.hero__arrow--prev {
  left: 12px;
}

.hero__arrow--next {
  right: 12px;
}

.hero__count {
  position: absolute;
  left: 16px;
  bottom: 44px;
  z-index: 2;
  margin: 0;
  padding: 0 10px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  background: rgba(247, 246, 243, 0.92);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hero__content {
  position: relative;
  z-index: 1;
  margin-top: -28px;
  padding: 8px 0 4px;
  background: var(--page);
}

.hero h1 {
  color: var(--text);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.7rem, 11vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 11ch;
  margin: 0 0 14px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  font-weight: 560;
  color: var(--accent);
}

.hero__lede {
  margin: 0 0 18px;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 22px 0 8px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 52px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hero-facts strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  color: var(--text);
  min-width: 3.4rem;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.idx {
  color: var(--accent);
  margin-right: 8px;
  letter-spacing: 0.08em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: 28px 0 18px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-style: italic;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.03em;
}

.section-head .text-link {
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--text);
  margin-bottom: 8px;
  white-space: nowrap;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto 8px;
}

.cat-card {
  text-decoration: none;
  color: var(--text);
  text-align: center;
  min-width: 0;
}

.cat-card__media {
  display: block;
  border-radius: 50%;
  overflow: hidden;
  background: #efece7;
  box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.08);
}

.cat-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cat-card__name {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.manifesto {
  padding: 42px 0 18px;
}

.manifesto__line {
  margin: 0;
  max-width: 16ch;
  font-style: italic;
  font-size: clamp(2rem, 6.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.band {
  background: var(--card);
  padding: 8px 0 20px;
  margin-top: 12px;
}

.product-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 12px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.product-card,
ul.products li.product {
  background: transparent;
  min-width: 0;
}

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #efece7;
}

.product-card__media img,
ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.product-card .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 7px 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.summary .onsale {
  position: static;
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 7px 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.product-card__body {
  display: block;
  padding: 12px 0 0;
}

.product-card__name,
ul.products li.product .woocommerce-loop-product__title {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 4px;
}

.price,
.product-card__price,
.woocommerce-Price-amount {
  color: var(--accent);
  font-weight: 600;
}

.price del,
.price del .woocommerce-Price-amount,
.product-card__price del,
.product-card__price del .woocommerce-Price-amount {
  color: var(--muted);
  font-weight: 500;
  text-decoration: line-through;
  margin-right: 6px;
}

.price ins,
.product-card__price ins {
  text-decoration: none;
  color: var(--accent);
}

.campaign {
  display: grid;
  color: var(--text);
  text-decoration: none;
  background: var(--card);
}

.campaign__media {
  display: block;
  background: #efece7;
  min-width: 0;
}

.campaign img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.campaign__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px 36px;
  min-width: 0;
}

.campaign h2 {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 10ch;
  margin: 0 0 12px;
}

.campaign p {
  margin: 0 0 16px;
  max-width: 32ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.campaign .price-chip {
  align-self: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.crumbs {
  padding-top: 8px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  color: var(--muted);
}

.crumbs a,
.crumbs [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.page-head {
  padding: 8px 0 4px;
}

.page-head h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.035em;
  max-width: 14ch;
  text-wrap: balance;
}

.page-intro {
  max-width: 46ch;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

article.single-product {
  display: grid;
  gap: 20px;
  padding-top: 12px;
}

.single-product__media {
  min-width: 0;
}

.product-gallery {
  position: relative;
}

.product-gallery__scroll {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--text) #efece7;
  overscroll-behavior-x: contain;
}

.product-gallery__scroll::-webkit-scrollbar {
  height: 8px;
}

.product-gallery__scroll::-webkit-scrollbar-track {
  background: #efece7;
}

.product-gallery__scroll::-webkit-scrollbar-thumb {
  background: var(--text);
}

.product-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.single-product__media img {
  width: 100%;
  height: min(64vh, 680px);
  object-fit: cover;
  display: block;
  background: #efece7;
}

.product-gallery__arrow {
  position: absolute;
  top: calc(50% - 28px);
  z-index: 2;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 246, 243, 0.92);
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.product-gallery__arrow--prev {
  left: 12px;
}

.product-gallery__arrow--next {
  right: 12px;
}

.product-gallery__count {
  position: absolute;
  left: 12px;
  bottom: 20px;
  z-index: 2;
  margin: 0;
  padding: 0 10px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  background: rgba(247, 246, 243, 0.92);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery__scroll {
    scroll-behavior: auto;
  }
}

article.single-product h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

article.single-product .price {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stock-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

article.single-product .summary p {
  color: var(--muted);
  margin-top: 0;
}

article.single-product .woocommerce-product-details__short-description {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 42ch;
}

article.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

article.single-product form.cart .variations,
article.single-product form.cart .single_variation_wrap {
  flex: 1 0 100%;
}

.variations {
  width: 100%;
  margin: 0 0 4px;
  border-collapse: collapse;
}

.variations tr {
  display: block;
  margin: 0 0 12px;
}

.variations th,
.variations td {
  display: block;
  padding: 0;
  text-align: left;
}

.variations label {
  display: block;
  margin-bottom: 6px;
  font-weight: 560;
}

.variations select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0 14px;
  font-size: 16px;
  color: var(--text);
}

.lumen-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lumen-picker + select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

article.single-product .lumen-swatch,
article.single-product .lumen-size {
  background: var(--card);
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 14px;
}

article.single-product .lumen-swatch {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}

article.single-product .lumen-swatch span {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

article.single-product .lumen-swatch.is-selected,
article.single-product .lumen-size.is-selected {
  border-color: var(--text);
  box-shadow: 0 0 0 2px var(--text);
}

article.single-product .single_add_to_cart_button.disabled {
  background: #e4e0d8;
  color: var(--muted);
  cursor: default;
}

article.single-product .lumen-size {
  min-width: 52px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
}

article.single-product .lumen-size.is-selected {
  background: var(--text);
  color: #fff;
}

article.single-product .lumen-swatch:disabled,
article.single-product .lumen-size:disabled {
  opacity: 0.35;
}

.woocommerce-variation-price {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
}

.reset_variations {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}

.quantity .qty,
input.qty {
  width: 84px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 16px;
  text-align: center;
  color: var(--text);
}

button:disabled,
input[type="submit"]:disabled {
  background: #e4e0d8;
  color: var(--muted);
  cursor: default;
}

button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
input[type="submit"] {
  appearance: none;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header-search button {
  flex: 0 0 auto;
}

button:disabled,
.button:disabled,
.woocommerce button.button:disabled,
input[type="submit"]:disabled {
  background: #e4e0d8;
  color: var(--muted);
  cursor: default;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 90, 54, 0.45);
  background: var(--card);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.price-chip .woocommerce-Price-amount,
.price-chip .amount {
  color: var(--accent);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--card);
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  margin: 16px 0;
  list-style: none;
  border-radius: var(--radius);
}

.woocommerce-message a,
.woocommerce-info a {
  color: var(--accent);
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  background: var(--card);
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: var(--radius);
  padding: 12px;
}

.cart-row__thumb img {
  width: 92px;
  height: 115px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.cart-row__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}

.cart-row__name {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-decoration: none;
  color: var(--text);
}

.cart-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 8px;
}

.cart-row__total {
  margin-left: auto;
  font-weight: 600;
  color: var(--accent);
}

a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1;
}

.cart-actions,
.coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.coupon .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-form-login input.input-text,
.woocommerce-form-register input.input-text {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 12px 14px;
  font-size: 16px;
  color: var(--text);
}

.coupon .input-text {
  flex: 1;
  min-width: 0;
}

.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-checkout-payment,
.woocommerce-form-login,
.woocommerce-form-register {
  background: var(--card);
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-top: 16px;
}

.cart_totals h2,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
#order_review_heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
}

.shipping-calculator-button,
.shipping-calculator-form,
.woocommerce-shipping-destination {
  display: none;
}

.cart_totals table,
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}

.cart_totals th,
.cart_totals td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  text-align: left;
  padding: 10px 0;
  vertical-align: top;
  word-wrap: break-word;
}

.woocommerce form .form-row {
  margin: 0 0 14px;
  padding: 0;
  width: 100%;
  float: none;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 560;
}

.woocommerce form .form-row label.checkbox,
#ship-to-different-address label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 0;
}

.woocommerce form .form-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.col2-set .col-1,
.col2-set .col-2 {
  width: 100%;
  float: none;
}

.select2-container {
  width: 100% !important;
  max-width: 100%;
}

.select2-container--default .select2-selection--single {
  height: 48px;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding-left: 14px;
  color: var(--text);
  font-size: 16px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
}

.wc_payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.wc_payment_method label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
}

#place_order,
.wc-proceed-to-checkout .checkout-button {
  width: 100%;
}

.account-layout {
  display: grid;
  gap: 16px;
}

.woocommerce-MyAccount-navigation {
  background: var(--card);
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: var(--radius);
  padding: 8px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
  color: var(--text);
}

.woocommerce-MyAccount-navigation .is-active a {
  color: var(--accent);
}

.password-input {
  position: relative;
  display: block;
}

.password-input input.input-text {
  padding-right: 76px;
}

.show-password-input {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 56px;
  min-height: 36px;
  padding: 0 8px;
  background: transparent;
  color: var(--text);
  letter-spacing: 0.08em;
  font-size: 12px;
}

.show-password-input::after {
  content: "Show";
}

.show-password-input.display-password::after {
  content: "Hide";
}

.woocommerce-form-login .lost_password a,
.woocommerce-LostPassword a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}

.related.products {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.related.products > h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.woocommerce-pagination {
  margin: 8px 0 28px;
}

.woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0 12px;
}

.woocommerce-pagination .current {
  background: var(--text);
  color: var(--page);
  border-color: var(--text);
}

.site-footer {
  background: var(--text);
  color: rgba(247, 246, 243, 0.72);
  padding: 28px 0 32px;
}

.footer-word {
  margin: 0 0 18px;
  color: var(--page);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.4rem, 22vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 246, 243, 0.16);
}

.footer-col h2 {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--page);
}

.footer-col p,
.footer-col address {
  margin: 0 0 8px;
  max-width: 36ch;
  font-style: normal;
  line-height: 1.5;
}

.footer-col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--page);
  text-decoration: none;
  font-size: 1.05rem;
}

.footer-meta {
  margin: 22px 0 0;
  font-size: 0.92rem;
}

.page-copy {
  max-width: 66ch;
  padding-bottom: 12px;
}

.page-copy p,
.page-copy li {
  color: var(--text);
  font-size: 1.05rem;
}

.page-copy h2 {
  margin-top: 1.4em;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-style: italic;
}

.page-copy ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.page-copy a {
  color: var(--accent);
}

.empty-state {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 18px;
}

@media (hover: hover) {
  .product-card__link:hover .product-card__media img,
  .cat-card:hover img {
    transform: scale(1.045);
  }

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

@media (prefers-reduced-motion: reduce) {
  .product-card__media img,
  .cat-card__media img {
    transition: none;
  }
}

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

@media (min-width: 700px) {
  .product-grid,
  ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 16px;
  }

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

  .hero-facts li {
    border-bottom: 0;
    padding: 16px 18px 16px 0;
  }

  .hero-facts li + li {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .cat-card__name {
    font-size: 1.15rem;
  }

  .cart-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .cart-row__thumb img {
    width: 120px;
    height: 150px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .cat-grid {
    width: 100%;
    max-width: none;
    padding-inline: 24px;
    box-sizing: border-box;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px 18px;
  }

  .cat-card__name {
    font-size: 1rem;
  }

  .hero__img {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .campaign {
    grid-template-columns: 1.3fr 0.7fr;
    min-height: 560px;
  }

  .campaign img {
    height: 100%;
    min-height: 640px;
    aspect-ratio: auto;
    object-position: center center;
  }

  .campaign__copy {
    padding: 56px 48px;
  }

  article.single-product {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
    padding-top: 18px;
  }

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: 48%;
  }

  .woocommerce form .form-row-first {
    float: left;
  }

  .woocommerce form .form-row-last {
    float: right;
  }

  .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .col2-set .col-1,
  .col2-set .col-2 {
    width: auto;
  }

  .account-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
  }

  .cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px 32px;
    align-items: start;
  }

  .cart-layout .woocommerce-cart-form,
  .cart-layout .cart-collaterals {
    display: contents;
  }

  .cart-layout .cart-list,
  .cart-layout .cart-actions {
    grid-column: 1;
  }

  .cart-layout .cart_totals {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
    position: sticky;
    top: 96px;
  }

  form.lumen-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px 36px;
    align-items: start;
  }

  form.lumen-checkout .col2-set {
    grid-column: 1;
    display: block;
  }

  form.lumen-checkout .checkout-summary {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 96px;
  }

  form.lumen-checkout #order_review {
    margin-top: 0;
  }

  form.lumen-checkout #place_order {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 960px) {
  .site-header {
    gap: 18px;
    padding: 10px 28px;
  }

  .menu-toggle,
  .panel-kicker,
  .site-panel,
  .site-panel.is-open {
    display: none;
  }

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

  .desktop-nav {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
  }

  .desktop-nav .primary-nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .primary-nav .nav-cat-spice,
  .primary-nav .nav-cat-jars,
  .primary-nav .nav-cat-pantry,
  .primary-nav .nav-cat-sale {
    display: none;
  }

  .primary-nav a,
  .account-link {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    min-height: 44px;
    padding: 0 10px;
  }

  .header-search {
    width: auto;
    margin-left: auto;
  }

  .header-search__field {
    flex: none;
    width: 220px;
  }

  .header-search input {
    width: 100%;
    flex: none;
    border: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.28);
    border-radius: 0;
    background: transparent;
    padding: 0 8px;
  }

  .suggest {
    left: auto;
    right: 0;
    width: 320px;
  }

  .cart-link {
    margin-left: 0;
  }
}

@media (min-width: 1100px) {
  .product-grid,
  ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 18px;
  }

  .cat-grid {
    gap: 28px;
    width: 100%;
    max-width: none;
  }

  .hero__img {
    height: auto;
    max-height: calc(100vh - 120px);
  }
}
