/*
Theme Name: Linaein
Theme URI: https://linaein.co
Author: Linaein
Author URI: https://linaein.co
Description: A WooCommerce theme for the Linaein house of natural fabrics — ivory and warm brown, quiet luxury. Matches the Linaein storefront: overlay header, hero lookbook, product cards, and shop grid.
Version: 0.3.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linaein
Tags: e-commerce, woocommerce, full-site-editing, block-templates, block-styles, custom-menu, featured-images, translation-ready
WC requires at least: 8.0
WC tested up to: 9.8
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap");

:root {
  --font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --color-background: #ffffff;
  --color-foreground: #3b2a20;
  --color-primary: #3b2a20;
  --color-primary-foreground: #ffffff;
  --color-ivory: #e9ddc3;
  --color-ink: #3b2a20;
  --color-stone: #3b2a20;
  --color-flax: #e9ddc3;
  --color-olive: #3b2a20;
  --color-brown: #3b2a20;
  --color-white: #ffffff;
  --color-muted: #e9ddc3;
  --color-muted-foreground: #3b2a20;
  --color-border: rgb(59 42 32 / 0.22);
  --color-input: rgb(59 42 32 / 0.28);
  --swatch-ivory: #e9ddc3;
  --swatch-flax: #ffffff;
  --swatch-sage: #3b2a20;
  --swatch-charcoal: #3b2a20;
  --swatch-clay: #e9ddc3;
  --swatch-olive: #3b2a20;
  --swatch-stone: #3b2a20;
  --radius: 2px;
  --shadow-border:
    0px 0px 0px 1px rgba(59, 42, 32, 0.06),
    0px 1px 2px -1px rgba(59, 42, 32, 0.06),
    0px 2px 4px 0px rgba(59, 42, 32, 0.04);
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-quick: 150ms;
  --motion-fast: 250ms;
  --motion-slow: 400ms;
  --wrap: 80rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
    --color-background: #ffffff;
    --color-foreground: #3b2a20;
    --color-primary: #3b2a20;
    --color-ivory: #e9ddc3;
    --color-ink: #3b2a20;
    --color-white: #ffffff;
  }
  html,
  body {
    background: #ffffff !important;
    color: #3b2a20 !important;
  }
  header.site-header,
  header.site-header.is-sticky,
  header.site-header.is-page {
    background: #e9ddc3 !important;
    color: #3b2a20 !important;
  }
  header.site-header.is-overlay {
    background: transparent !important;
    color: #ffffff !important;
  }
  .site-footer {
    background: #3b2a20 !important;
    color: #e9ddc3 !important;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--color-border);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--color-background);
  color: var(--color-foreground);
  --nav-mocha: #3b2a20;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-foreground);
  background: var(--color-background);
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 500;
  margin: 0;
}

p { text-wrap: pretty; margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  outline: 1px solid rgba(59, 42, 32, 0.08);
  outline-offset: -1px;
}

img.logo-mark { outline: none; }

button,
[role="button"] { font: inherit; color: inherit; }
button:not(:disabled),
[role="button"]:not(:disabled) { cursor: pointer; }

input, select, textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

::selection {
  background: var(--color-flax);
  color: var(--color-ink);
}

summary::-webkit-details-marker { display: none; }
summary { list-style: none; }

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

#page { min-height: 100vh; display: flex; flex-direction: column; }
#main { padding-top: 4.5rem; flex: 1 0 auto; }
#main.has-hero { padding-top: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink);
  opacity: 0.72;
}
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.muted { color: var(--color-ink); opacity: 0.78; }
.tabular { font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.5rem;
  border: 0;
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--motion-quick) var(--ease-smooth-out), transform var(--motion-quick) var(--ease-smooth-out);
}
.btn:hover { background: #2a1d16; }
.btn:active { transform: scale(0.96); }
.btn-ghost {
  background: var(--color-white);
  color: var(--color-ink);
}
.btn-ghost:hover { background: var(--color-ivory); }
.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-ink); background: transparent; }
.btn-block { width: 100%; }
.btn-icon { width: 3rem; padding: 0; }

.field {
  display: flex;
  height: 2.75rem;
  width: 100%;
  border: 1px solid var(--color-input);
  background: var(--color-background);
  padding: 0 0.75rem;
  font-size: 0.875rem;
}
.field:focus, .field:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}
.field::placeholder { color: rgb(59 42 32 / 0.5); }
textarea.field {
  height: auto;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

/* Header */
.logo-ivory { display: none; }
header.site-header {
  background: transparent;
  color: #3b2a20;
  z-index: 40;
  width: 100%;
  transition:
    background-color var(--motion-slow) var(--ease-smooth-out),
    color var(--motion-slow) var(--ease-smooth-out),
    transform var(--motion-slow) var(--ease-smooth-out),
    box-shadow var(--motion-slow) var(--ease-smooth-out);
}
header.site-header .logo-ivory { display: none; }
header.site-header .logo-brown { display: block; }

header.site-header.is-overlay {
  color: #ffffff;
  background: transparent;
  position: absolute;
  inset-inline: 0;
  top: 0;
}
header.site-header.is-overlay .logo-ivory { display: block; }
header.site-header.is-overlay .logo-brown { display: none; }
header.site-header.is-overlay::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  height: 5.25rem;
  background:
    linear-gradient(to bottom, rgba(59, 42, 32, 0.24), transparent 88%),
    radial-gradient(ellipse 20rem 4.4rem at 7% 0%, rgba(59, 42, 32, 0.18), transparent 74%),
    radial-gradient(ellipse 28rem 4.4rem at 94% 0%, rgba(59, 42, 32, 0.18), transparent 74%);
}
header.site-header.is-overlay .header-link,
header.site-header.is-overlay .header-icon {
  text-shadow: 0 1px 10px rgba(59, 42, 32, 0.35);
}
header.site-header.is-overlay .header-link:hover,
header.site-header.is-overlay .header-link:focus-visible,
header.site-header.is-overlay .header-icon:hover,
header.site-header.is-overlay .header-icon:focus-visible {
  color: #3b2a20;
  text-shadow: none;
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.48);
}
header.site-header.is-overlay .header-link.is-active,
header.site-header.is-overlay .header-link.is-active:hover {
  color: #ffffff;
  box-shadow: none;
  background-color: rgba(59, 42, 32, 0.52);
}
header.site-header.is-overlay .bag-count {
  background: #ffffff;
  color: #3b2a20;
}

header.site-header.is-sticky {
  position: fixed;
  inset-inline: 0;
  top: 0;
  background: #e9ddc3;
  color: #3b2a20;
  box-shadow: 0 1px 0 rgba(59, 42, 32, 0.12);
}
header.site-header.is-sticky .logo-ivory { display: none; }
header.site-header.is-sticky .logo-brown { display: block; }
header.site-header.is-sticky .header-link,
header.site-header.is-sticky .header-icon { text-shadow: none; }

header.site-header.is-page {
  position: absolute;
  inset-inline: 0;
  top: 0;
  background: #e9ddc3;
  color: #3b2a20;
}
header.site-header.is-hidden { transform: translateY(-100%); }

.header-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 4rem;
}
@media (min-width: 640px) {
  .header-bar { height: 4.5rem; }
}
.header-logo { flex: 0 0 auto; }
.header-logo .logo-mark {
  height: 2.25rem;
  width: auto;
}
@media (min-width: 640px) {
  .header-logo .logo-mark { height: 2.75rem; }
}
.header-logo span {
  display: grid;
}
.header-logo .logo-mark {
  grid-column: 1;
  grid-row: 1;
}
.header-spacer {
  flex: 1 1 auto;
  min-width: 1.5rem;
  margin-left: auto;
}
.header-navigation,
.header-utilities {
  flex: 0 0 auto;
}
.header-navigation {
  display: none;
  align-items: center;
  gap: 1.15rem;
}
@media (min-width: 1024px) {
  .header-navigation { display: flex; }
}
.header-utilities {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 1.5rem;
}

.header-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  border-radius: 4px;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  transition:
    background-color var(--motion-quick) var(--ease-smooth-out),
    color var(--motion-quick) var(--ease-smooth-out);
}
@media (min-width: 1024px) {
  .header-link { font-size: 12px; }
}
.header-link:hover,
.header-link:focus-visible {
  color: inherit;
  text-shadow: none;
  background-color: rgba(59, 42, 32, 0.12);
}
.header-link.is-active,
.header-link.is-active:hover,
.header-link.is-active:focus-visible {
  background-color: rgba(59, 42, 32, 0.22);
}

.header-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: inherit;
  border: 0;
  border-radius: 4px;
  background: transparent;
  position: relative;
  transition: background-color var(--motion-quick) var(--ease-smooth-out);
}
.header-icon:hover,
.header-icon:focus-visible {
  background-color: rgba(59, 42, 32, 0.12);
}
.header-icon.desktop-only { display: none; }
@media (min-width: 1024px) {
  .header-icon.desktop-only { display: flex; }
  .header-icon.header-menu { display: none; }
}

.menu-bars {
  display: flex;
  height: 11px;
  width: 18px;
  flex-direction: column;
  justify-content: space-between;
}
.menu-bars > span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
}

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 50;
  width: 13rem;
  padding-top: 0.5rem;
  transition: opacity var(--motion-fast), visibility var(--motion-fast);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  visibility: visible;
  opacity: 1;
}
.nav-dropdown-panel > div {
  border: 1px solid var(--color-border);
  background: var(--color-background);
  padding: 0.5rem;
  color: var(--color-foreground);
  box-shadow: var(--shadow-border);
}
.nav-dropdown-panel a {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(59 42 32 / 0.8);
}
.nav-dropdown-panel a:hover {
  background: var(--color-ivory);
  color: var(--color-ink);
}

.bag-count {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  display: flex;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

/* Hero */
.hero {
  position: relative;
  height: 55.2vh;
  min-height: 28.8rem;
  width: 100%;
  overflow: hidden;
  background: var(--color-ink);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.hero-slide img,
.hero-slide picture,
.hero-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-smoke-top,
.hero-smoke-foot {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}
.hero-smoke-top {
  top: 0;
  height: 5.5rem;
  background: linear-gradient(to bottom, rgba(59, 42, 32, 0.26), transparent);
}
.hero-smoke-foot {
  bottom: 0;
  height: 52%;
  background: linear-gradient(to top, rgba(59, 42, 32, 0.4) 0%, rgba(59, 42, 32, 0.12) 42%, transparent 100%);
}
.hero-slide .hero-copy {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1rem 2.5rem;
  box-sizing: border-box;
}
.hero-slide:not(.is-active) .hero-copy {
  display: none;
}
@media (min-width: 640px) {
  .hero-slide .hero-copy { padding: 0 1.5rem 2.5rem; }
}
@media (min-width: 1024px) {
  .hero-slide .hero-copy { padding: 0 3rem 3rem; }
}
.hero-copy-inner { max-width: 36rem; color: #fff; }
.hero-copy .kicker { color: #fff; letter-spacing: 0.22em; font-size: 10px; }
.hero-copy h1 {
  margin-top: 0.5rem;
  font-size: 1.75rem;
  line-height: 1.05;
  color: #fff;
}
@media (min-width: 640px) {
  .hero-copy h1 { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .hero-copy h1 { font-size: 2.75rem; }
}
.hero-cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  background: #fff;
  color: #3b2a20;
  font-size: 0.75rem;
  font-weight: 500;
}
.hero-cta:hover { background: #e9ddc3; }
.hero-nav {
  position: absolute;
  inset-block: 0;
  z-index: 10;
  display: none;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-nav { display: flex; }
}
.hero-nav.prev { left: 0; }
.hero-nav.next { right: 0; }
.hero-nav button {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.8);
}
.hero-dots {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  display: flex;
  gap: 0.375rem;
}
.hero-dots button {
  height: 0.375rem;
  width: 0.375rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  padding: 0;
}
.hero-dots button.is-current {
  width: 1.75rem;
  background: #fff;
}

/* Intro */
.intro {
  border-bottom: 1px solid var(--color-border);
}
.intro .wrap {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
@media (min-width: 640px) {
  .intro .wrap { padding-top: 0.75rem; padding-bottom: 0.75rem; }
}
.intro .wrap:not(:has(.intro-cols)) {
  display: grid;
  align-items: end;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .intro .wrap:not(:has(.intro-cols)) { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.intro .intro-cols,
.intro .wp-block-columns.intro-cols {
  display: grid !important;
  align-items: end;
  gap: 0.5rem;
  margin: 0 !important;
}
@media (min-width: 768px) {
  .intro .intro-cols,
  .intro .wp-block-columns.intro-cols {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.intro .intro-cols > .wp-block-column {
  flex-basis: auto !important;
  width: auto !important;
  margin: 0 !important;
}
.intro h2,
.intro .wp-block-heading {
  margin-top: 0.25rem;
  max-width: 28rem;
  font-size: 1.875rem;
  line-height: 1.12;
}
@media (min-width: 640px) {
  .intro h2,
  .intro .wp-block-heading { font-size: 2.25rem; }
}
.intro .lede {
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.78;
}

/* Collections */
.section { padding: 4rem 0; }
@media (min-width: 640px) {
  .section { padding: 5rem 0; }
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.section-head h2 {
  margin-top: 0.5rem;
  font-size: 2.25rem;
}
@media (min-width: 640px) {
  .section-head h2 { font-size: 3rem; }
}
.section-link {
  display: none;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}
.section-link:hover { text-decoration: underline; }
@media (min-width: 640px) {
  .section-link { display: inline-flex; }
}

.collection-grid,
.wp-block-columns.collection-grid {
  margin-top: 2.5rem;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .collection-grid,
  .wp-block-columns.collection-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .collection-grid,
  .wp-block-columns.collection-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .collection-grid,
  .wp-block-columns.collection-grid { grid-template-columns: repeat(5, 1fr); }
}
.collection-grid > .wp-block-column {
  flex-basis: auto !important;
  width: auto !important;
  margin: 0 !important;
}
.collection-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-ivory);
}
.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-card-smoke,
.collection-card-wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.collection-card-smoke {
  background: linear-gradient(to top, rgba(59, 42, 32, 0.46) 0%, rgba(59, 42, 32, 0.16) 30%, transparent 58%);
}
.collection-card-wash {
  background: radial-gradient(ellipse 88% 60% at 50% 50%, rgba(59, 42, 32, 0.46) 0%, rgba(59, 42, 32, 0.20) 58%, transparent 80%);
  opacity: 0;
  transition: opacity var(--motion-slow) var(--ease-smooth-out);
}
.collection-card-copy {
  position: absolute;
  right: 1.1rem;
  left: 1.1rem;
  bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-ivory);
  text-shadow: 0 1px 10px rgba(59, 42, 32, 0.28);
  transition: bottom var(--motion-slow) var(--ease-smooth-out), transform var(--motion-slow) var(--ease-smooth-out);
}
.collection-card-copy h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.collection-card-copy p {
  margin-top: 0.4rem;
  max-width: 16rem;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(233, 221, 195, 0.86);
}
.collection-card:hover .collection-card-wash,
.collection-card:focus-visible .collection-card-wash {
  opacity: 1;
}
.collection-card:hover .collection-card-copy,
.collection-card:focus-visible .collection-card-copy {
  bottom: 50%;
  transform: translateY(50%);
}

/* Split bands */
.split {
  display: grid;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split-media {
  position: relative;
  min-height: 380px;
  background: var(--color-ivory);
}
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.5rem;
}
@media (min-width: 640px) {
  .split-copy { padding: 4rem 3rem; }
}
@media (min-width: 1024px) {
  .split-copy { padding: 4rem; }
}
.split-copy h2 {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  line-height: 1.15;
}
@media (min-width: 640px) {
  .split-copy h2 { font-size: 3rem; }
}
.split-copy p.body {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.8;
}
.split-copy .text-link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}
.split-copy .text-link:hover { text-decoration: underline; }
.split-copy.is-ivory { background: var(--color-ivory); color: var(--color-ink); }
.split-copy.is-olive { background: var(--color-olive); color: #fff; }
.split-copy.is-olive .kicker,
.split-copy.is-olive .body { opacity: 0.86; }
@media (min-width: 1024px) {
  .split-copy.order-copy { order: 1; }
  .split-media.order-media { order: 2; }
}

.bg-ivory { background: var(--color-ivory); }

/* Product cards */
.product-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.75rem;
  row-gap: 2.5rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px) {
  .product-grid { column-gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.product-card { position: relative; }
.product-card .thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-ivory);
}
.product-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--motion-slow) var(--ease-smooth-out);
}
.product-card .thumb .hover-img {
  opacity: 0;
}
.product-card:hover .thumb .hover-img { opacity: 1; }
.product-card:hover .thumb .main-img.has-hover { opacity: 0; }
.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.5rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.product-card .meta {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.product-card h3 {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 500;
}
.product-card .price {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.swatches {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.375rem;
}
.swatch {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgb(59 42 32 / 0.15);
}
.wish-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: rgb(59 42 32 / 0.8);
}
.wish-btn:hover { color: var(--color-ink); }
.wish-btn.is-on svg { fill: var(--color-ink); }

/* Journal */
.journal-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .journal-grid { grid-template-columns: repeat(3, 1fr); }
}
.journal-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-ivory);
}
.journal-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow);
}
.journal-card:hover .thumb img { transform: scale(1.03); }
.journal-card .date {
  margin-top: 1rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}
.journal-card h3 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.3;
}
.journal-card .excerpt {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.78;
}

.newsletter-band {
  border-top: 1px solid var(--color-border);
  background: var(--color-ivory);
}
.newsletter-band .wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .newsletter-band .wrap {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.newsletter-band h2 {
  margin-top: 0.5rem;
  font-size: 1.875rem;
}
@media (min-width: 640px) {
  .newsletter-band h2 { font-size: 2.25rem; }
}
.newsletter-form { max-width: 24rem; }
.newsletter-form label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}
.newsletter-form .row {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

/* Footer */
.site-footer {
  background: #3b2a20;
  color: #e9ddc3;
  margin-top: auto;
}
.site-footer .logo-ivory { display: block; }
.site-footer .logo-brown { display: none; }
.site-footer a { color: #e9ddc3; }
.site-footer .footer-muted { color: rgba(233, 221, 195, 0.74); }
.site-footer .footer-rule { border-top: 1px solid rgba(233, 221, 195, 0.18); }
.site-footer label { color: rgba(233, 221, 195, 0.74); }
.site-footer .field {
  background: rgba(233, 221, 195, 0.10);
  color: #e9ddc3;
  border-color: rgba(233, 221, 195, 0.32);
}
.site-footer .field::placeholder { color: rgba(233, 221, 195, 0.55); }
.site-footer .field:focus {
  outline-color: #e9ddc3;
}
.site-footer .btn {
  background: #e9ddc3;
  color: #3b2a20;
}
.site-footer .btn:hover { background: #ffffff; }
.footer-grid {
  display: grid;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(12, 1fr); }
}
.footer-brand { }
@media (min-width: 768px) {
  .footer-brand { grid-column: span 4; }
}
.footer-brand p {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer-brand .newsletter-form { margin-top: 2rem; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .footer-cols { grid-column: span 8; }
}
@media (min-width: 1024px) {
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}
.footer-col .kicker { color: rgba(233, 221, 195, 0.74); opacity: 1; }
.footer-col ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.75rem;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Shop */
.page-hero-pad { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) {
  .page-hero-pad { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
.page-hero-pad h1 {
  margin-top: 0.5rem;
  font-size: 2.25rem;
}
@media (min-width: 640px) {
  .page-hero-pad h1 { font-size: 3rem; }
}
.page-hero-pad .lede {
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 0.875rem;
  opacity: 0.78;
}

.shop-filters {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
@media (min-width: 1024px) {
  .shop-filters {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--color-border);
  color: inherit;
  transition: background var(--motion-quick), color var(--motion-quick), border-color var(--motion-quick);
}
.chip:hover { border-color: var(--color-ink); }
.chip.is-on {
  background: var(--color-ink);
  color: var(--color-white);
  border-color: var(--color-ink);
}
.filter-selects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.filter-selects label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filter-selects select {
  height: 2.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  padding: 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}
.piece-count {
  margin: 1.5rem 0 2rem;
  font-size: 0.75rem;
  opacity: 0.72;
  font-variant-numeric: tabular-nums;
}

/* Single product */
.crumbs {
  font-size: 0.75rem;
  opacity: 0.72;
}
.crumbs a:hover { text-decoration: underline; }
.crumbs span.sep { margin: 0 0.5rem; }
.product-layout {
  margin-top: 1.5rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .product-layout {
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
  }
}
.product-gallery .main {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-ivory);
}
@media (min-width: 640px) {
  .product-gallery .main { aspect-ratio: 4 / 5; }
}
.product-gallery .main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.thumbs button {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-ivory);
  border: 0;
  padding: 0;
  opacity: 0.8;
}
.thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 1px var(--color-ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 {
  margin-top: 0.5rem;
  font-size: 2.25rem;
}
@media (min-width: 640px) {
  .product-info h1 { font-size: 3rem; }
}
.product-info .price-lg {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}
.product-info .desc {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.78;
}
.option-set { margin-top: 2rem; }
.option-set legend {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}
.color-picks {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.color-pick {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  box-shadow: 0 0 0 1px rgb(59 42 32 / 0.15);
}
.color-pick.is-on {
  box-shadow: 0 0 0 1px var(--color-ink), 0 0 0 3px var(--color-white), 0 0 0 4px var(--color-ink);
}
.color-pick span {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
}
.size-picks {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.size-pick {
  height: 2.75rem;
  min-width: 4rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--color-border);
  background: transparent;
}
.size-pick.is-on {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
}
.qty-row {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .qty-row { flex-direction: row; }
}
.qty {
  display: flex;
  height: 3rem;
  align-items: center;
  border: 1px solid var(--color-border);
  width: 100%;
}
@media (min-width: 640px) {
  .qty { width: auto; }
}
.qty button {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}
.qty span { width: 2rem; text-align: center; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.qty-row .btn { flex: 1; height: 3rem; }

.disclosures {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}
.disclosures details {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.disclosures summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
}
.disclosures .panel {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.78;
}
.disclosures ul { margin: 0; padding-left: 1rem; }
.icon-minus { display: none; }
details[open] .icon-plus { display: none; }
details[open] .icon-minus { display: block; }

.alongside { margin-top: 5rem; }
.alongside h2 { font-size: 1.875rem; }

/* Cart / checkout */
.bag-layout {
  margin-top: 2.5rem;
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .bag-layout { grid-template-columns: 7fr 5fr; }
}
.bag-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2rem; }
.bag-line {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
}
.bag-line .thumb {
  display: block;
  width: 7rem;
  height: 7rem;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-ivory);
}
@media (min-width: 640px) {
  .bag-line .thumb { width: 9rem; height: 9rem; }
}
.bag-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-line .body { min-width: 0; flex: 1; }
.bag-line .top { display: flex; justify-content: space-between; gap: 0.75rem; }
.bag-line h3 { font-size: 1.25rem; line-height: 1.3; }
.summary-box {
  height: fit-content;
  border: 1px solid var(--color-border);
  padding: 1.5rem;
}
.summary-box h2 { font-size: 1.5rem; }
.summary-box dl { margin: 1.5rem 0 0; }
.summary-box .row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
.summary-box .total {
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-size: 1rem;
}

.checkout-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .checkout-grid { grid-template-columns: 7fr 5fr; }
}
.checkout-fields { display: flex; flex-direction: column; gap: 1.25rem; }
.checkout-fields h2 { font-size: 1.5rem; }
.field-label { display: block; font-size: 0.875rem; margin-bottom: 0.5rem; }
.two-col {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}
.order-line {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.order-line img { width: 4rem; height: 4rem; object-fit: cover; }

/* About */
.cover {
  position: relative;
  min-height: 42vh;
  background: var(--color-ivory);
}
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-veil {
  position: absolute;
  inset: 0;
  background: rgb(59 42 32 / 0.35);
}
.cover-copy {
  position: relative;
  display: flex;
  min-height: 42vh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 0;
  color: #fff;
}
.cover-copy h1 {
  margin-top: 0.5rem;
  max-width: 42rem;
  font-size: 3rem;
  color: #fff;
}
@media (min-width: 640px) {
  .cover-copy h1 { font-size: 3.75rem; }
}
.prose-block {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}
@media (min-width: 640px) {
  .prose-block { padding: 6rem 1.5rem; }
}
.prose-block .lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.35;
}
@media (min-width: 640px) {
  .prose-block .lead { font-size: 1.875rem; }
}
.prose-block .body {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.78;
}
@media (min-width: 640px) {
  .prose-block .body { font-size: 1rem; }
}
.values {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .values { grid-template-columns: repeat(3, 1fr); }
}
.values > div {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}
.values h3 { font-size: 1.5rem; }
.values p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; opacity: 0.78; }

/* Sheets / drawers */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(59 42 32 / 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-fast);
}
.overlay.is-open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 51;
  height: 100%;
  width: min(24rem, 100%);
  background: var(--color-white);
  color: var(--color-ink);
  box-shadow: var(--shadow-border);
  transform: translateX(100%);
  transition: transform var(--motion-slow) var(--ease-smooth-out);
  display: flex;
  flex-direction: column;
}
.sheet.is-open { transform: translateX(0); }
.sheet-head {
  padding: 1.25rem 1.5rem 0.5rem;
}
.sheet-head h2 {
  font-size: 1.5rem;
}
.sheet-head p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  opacity: 0.72;
}
.sheet-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
}
.sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.sheet-nav a,
.sheet-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
}
.sheet-foot {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
}
.account-row {
  display: flex;
  height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--color-border);
  padding: 0 1rem;
  font-size: 0.875rem;
}

.search-results { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.search-hit {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.search-hit img { width: 3.5rem; height: 3.5rem; object-fit: cover; }

/* Toast */
.toasts {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--color-ink);
  color: var(--color-ivory);
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  box-shadow: var(--shadow-border);
  animation: fade-up 300ms var(--ease-smooth-out);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.icon { width: 1.15rem; height: 1.15rem; display: block; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: 0.875rem; height: 0.875rem; }

.empty { margin-top: 2.5rem; max-width: 28rem; }
.empty p { font-size: 0.875rem; opacity: 0.78; }
.empty .btn { margin-top: 1.5rem; }

.note { font-size: 0.75rem; opacity: 0.72; line-height: 1.6; }

.grid { display: grid; }
.scroll-mt { scroll-margin-top: 6rem; }
body.sheet-open { overflow: hidden; }

.woocommerce-page .woocommerce,
.woocommerce-page .woocommerce-notices-wrapper { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) {
  .woocommerce-page .woocommerce,
  .woocommerce-page .woocommerce-notices-wrapper { padding: 0 1.5rem; }
}
body.woocommerce-shop #main.has-hero,
body.woocommerce #main.has-hero,
.woocommerce-page #main.has-hero {
  padding-top: 0;
}
.cover {
  margin-top: 0;
}
.shop-filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 0.85rem;
  line-height: 1;
  box-sizing: border-box;
}
.filter-selects {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.filter-selects select {
  height: 2.5rem;
}
.cover,
.cover-copy {
  min-height: 58vh !important;
  height: 58vh;
}
.cover img {
  height: 100% !important;
  object-fit: cover;
}
.collection-cover.cover,
.collection-cover .cover-copy {
  min-height: 42vh !important;
  height: 42vh;
}

/* ===== Gutenberg + Wardrobe ===== */

#main .alignfull,
#main > .wp-block-group.alignfull,
#main > .wp-block-cover.alignfull,
#main > .wp-block-media-text.alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#main .wp-block-group,
#main .wp-block-columns,
#main .wp-block-cover,
#main .wp-block-media-text,
#main .wp-block-image {
  margin-top: 0;
  margin-bottom: 0;
}
.linaein-hero-pattern { margin: 0; }

.wp-block-cover.collection-card {
  aspect-ratio: 4 / 5;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--color-ivory);
}
.wp-block-cover.collection-card .wp-block-cover__inner-container {
  position: absolute;
  right: 1.1rem;
  left: 1.1rem;
  bottom: 1.35rem;
  top: auto;
  width: auto;
  max-width: none;
  text-align: center;
  color: var(--color-ivory);
  text-shadow: 0 1px 10px rgba(59, 42, 32, 0.28);
  transition: bottom var(--motion-slow) var(--ease-smooth-out), transform var(--motion-slow) var(--ease-smooth-out);
}
.wp-block-cover.collection-card h3,
.wp-block-cover.collection-card .wp-block-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ivory);
}
.wp-block-cover.collection-card p {
  margin-top: 0.4rem;
  max-width: 16rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(233, 221, 195, 0.86);
}
.wp-block-cover.collection-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 42, 32, 0.46) 0%, rgba(59, 42, 32, 0.16) 30%, transparent 58%);
  z-index: 1;
}
.wp-block-cover.collection-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 88% 60% at 50% 50%, rgba(59, 42, 32, 0.46) 0%, rgba(59, 42, 32, 0.20) 58%, transparent 80%);
  opacity: 0;
  transition: opacity var(--motion-slow) var(--ease-smooth-out);
  z-index: 1;
}
.wp-block-cover.collection-card .wp-block-cover__inner-container { z-index: 2; }
.wp-block-cover.collection-card:hover::before,
.wp-block-cover.collection-card:focus-within::before { opacity: 1; }
.wp-block-cover.collection-card:hover .wp-block-cover__inner-container,
.wp-block-cover.collection-card:focus-within .wp-block-cover__inner-container {
  bottom: 50%;
  transform: translateY(50%);
}

#main .card-link {
  position: static;
  height: 0;
  margin: 0 !important;
  overflow: hidden;
  font-size: 0 !important;
  line-height: 0;
}
#main .card-link a {
  font-size: 0;
}
#main .card-link a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
}

.wp-block-media-text.split {
  background: #fff;
}
.wp-block-media-text.split.is-ivory .wp-block-media-text__content {
  background: var(--color-ivory);
  color: var(--color-ink);
}
.wp-block-media-text.split .wp-block-media-text__media,
.wp-block-media-text.split .wp-block-media-text__media img {
  min-height: 380px;
  height: 100%;
  object-fit: cover;
}
.wp-block-media-text.split .wp-block-media-text__content {
  padding: 4rem 1.5rem;
}
@media (min-width: 640px) {
  .wp-block-media-text.split .wp-block-media-text__content { padding: 4rem 3rem; }
}
@media (min-width: 1024px) {
  .wp-block-media-text.split .wp-block-media-text__content { padding: 4rem; }
}
.wp-block-media-text.split h2,
.wp-block-media-text.split .wp-block-heading {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  line-height: 1.15;
}
@media (min-width: 640px) {
  .wp-block-media-text.split h2,
  .wp-block-media-text.split .wp-block-heading { font-size: 3rem; }
}
.wp-block-media-text.split p.body {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.8;
}
.wp-block-media-text.split .text-link {
  margin-top: 2rem;
  font-size: 0.875rem;
}
.wp-block-media-text.split .text-link a:hover { text-decoration: underline; }

.wp-block-group.product-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.75rem;
  row-gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .wp-block-group.product-grid { column-gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .wp-block-group.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.wp-block-group.product-card .wp-block-image,
.wp-block-group.product-card .thumb {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-ivory);
}
.wp-block-group.product-card .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-block-group.product-card h3,
.wp-block-group.product-card .wp-block-heading {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 500;
}
.wp-block-group.product-card .kicker { margin-top: 0.75rem; }
.wp-block-group.product-card .price {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.wp-block-columns.journal-grid {
  display: grid !important;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .wp-block-columns.journal-grid { grid-template-columns: repeat(3, 1fr); }
}
.wp-block-columns.journal-grid > .wp-block-column {
  flex-basis: auto !important;
  width: auto !important;
  margin: 0 !important;
}
.wp-block-group.journal-card,
.journal-card { position: relative; }
.wp-block-group.journal-card .thumb,
.wp-block-group.journal-card .wp-block-image {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-ivory);
}
.wp-block-group.journal-card .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow);
}
.wp-block-group.journal-card:hover .wp-block-image img { transform: scale(1.03); }
.wp-block-group.journal-card .date {
  margin-top: 1rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
}
.wp-block-group.journal-card h3,
.wp-block-group.journal-card .wp-block-heading {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.3;
}
.wp-block-group.journal-card .excerpt {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.78;
}

.wp-block-group.section-head {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head h2,
.section-head .wp-block-heading {
  margin-top: 0.5rem;
  font-size: 2.25rem;
}
@media (min-width: 640px) {
  .section-head h2,
  .section-head .wp-block-heading { font-size: 3rem; }
}
.section-link a:hover { text-decoration: underline; }

.newsletter-band .wrap.wp-block-group,
.wp-block-group.newsletter-band > .wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .newsletter-band .wrap.wp-block-group,
  .wp-block-group.newsletter-band > .wrap {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.newsletter-band h2,
.newsletter-band .wp-block-heading {
  margin-top: 0.5rem;
  font-size: 1.875rem;
}
@media (min-width: 640px) {
  .newsletter-band h2,
  .newsletter-band .wp-block-heading { font-size: 2.25rem; }
}
.newsletter-band .muted { margin-top: 0.75rem; font-size: 0.875rem; }

.wp-block-cover.cover.wardrobe-hero,
.wp-block-cover.wardrobe-hero {
  min-height: 58vh;
  height: 58vh;
}
.wp-block-cover.wardrobe-hero .wp-block-cover__inner-container {
  max-width: 80rem;
  width: 100%;
  padding: 0 1rem 3rem;
  color: #fff;
}
@media (min-width: 640px) {
  .wp-block-cover.wardrobe-hero .wp-block-cover__inner-container { padding: 0 1.5rem 3.5rem; }
}
.wp-block-cover.wardrobe-hero .kicker { color: rgba(255,255,255,0.8); }
.wp-block-cover.wardrobe-hero h1,
.wp-block-cover.wardrobe-hero .wp-block-heading {
  color: #fff;
  font-size: 2.75rem;
}
@media (min-width: 640px) {
  .wp-block-cover.wardrobe-hero h1,
  .wp-block-cover.wardrobe-hero .wp-block-heading { font-size: 4rem; }
}
.wp-block-cover.wardrobe-hero .lede {
  color: rgba(255,255,255,0.85);
  max-width: 32rem;
  margin-top: 0.75rem;
}

.wardrobe-rooms,
.wp-block-columns.wardrobe-rooms {
  margin-top: 2.5rem;
  display: grid !important;
  gap: 1rem;
}
@media (min-width: 768px) {
  .wardrobe-rooms,
  .wp-block-columns.wardrobe-rooms { grid-template-columns: 1fr 1fr; }
}
.wardrobe-rooms > .wp-block-column {
  flex-basis: auto !important;
  width: auto !important;
  margin: 0 !important;
}
.wardrobe-rooms .collection-card { aspect-ratio: 4 / 5; }

.coming-soon {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.6rem;
  color: var(--color-ink);
  width: fit-content;
}

.wardrobe-soon { max-width: 52rem; }
.wardrobe-soon .lede {
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.78;
  margin-top: 1rem;
}
.wardrobe-soon > .wp-block-heading,
.wardrobe-soon > h2 {
  font-size: 2.25rem;
  margin-top: 1rem;
}

.wardrobe-ideas,
.wp-block-columns.wardrobe-ideas {
  margin-top: 2.5rem;
  display: grid !important;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .wardrobe-ideas,
  .wp-block-columns.wardrobe-ideas { grid-template-columns: 1fr 1fr; }
}
.wardrobe-ideas > .wp-block-column {
  flex-basis: auto !important;
  width: auto !important;
  margin: 0 !important;
}
.idea-card,
.wp-block-group.idea-card {
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  background: var(--color-background);
}
.idea-card h3,
.idea-card .wp-block-heading {
  margin-top: 0.5rem;
  font-size: 1.5rem;
}
.idea-card p:last-child {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.78;
}
.wardrobe-soon .note { margin-top: 2rem; font-size: 0.875rem; opacity: 0.78; }

.entry-content {
  max-width: none;
}
.entry-content .wp-block-html { margin: 0; }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--color-ink) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: #2a1d16 !important;
}
.woocommerce .quantity .qty {
  border: 1px solid var(--color-border);
  height: 2.75rem;
  width: 3.5rem;
  text-align: center;
}
.product-info .wc-cart-form form.cart {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  align-items: stretch;
}
.product-info .wc-cart-form .single_add_to_cart_button {
  flex: 1;
  height: 3rem;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border: 1px solid var(--color-border) !important;
  background: var(--color-ivory) !important;
  color: var(--color-ink) !important;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea {
  border: 1px solid var(--color-input);
  height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: 0;
}
.woocommerce table.shop_table {
  border-color: var(--color-border);
}
.woocommerce-checkout #place_order {
  width: 100%;
  height: 3rem;
}

.product-info:has(form.cart) .qty-row { display: none; }

/* ===== FSE + valid core-block patterns (1.2) ===== */
.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.wp-site-blocks > footer,
.wp-site-blocks > .site-footer {
  margin-top: auto;
}
.site-main { flex: 1 0 auto; }
.has-hero { padding-top: 0; }
.wp-site-blocks > header.site-header + .site-main:not(.has-hero),
.wp-site-blocks > header.site-header + .wrap {
  padding-top: 4.5rem;
}

header.wp-block-template-part.site-header {
  width: 100%;
  z-index: 40;
}
.header-bar.wp-block-group {
  display: flex;
  align-items: center;
  width: 100%;
  height: 4rem;
}
@media (min-width: 640px) {
  .header-bar.wp-block-group { height: 4.5rem; }
}
.header-bar .header-logo,
.header-bar .wp-block-site-logo {
  flex: 0 0 auto;
}
.header-bar .wp-block-site-logo img,
.header-bar .header-logo img {
  height: 2.25rem;
  width: auto;
}
@media (min-width: 640px) {
  .header-bar .wp-block-site-logo img,
  .header-bar .header-logo img { height: 2.75rem; }
}
.header-bar .header-navigation,
.header-bar .wp-block-navigation.header-navigation {
  display: none;
  margin-left: auto;
}
@media (min-width: 1024px) {
  .header-bar .header-navigation,
  .header-bar .wp-block-navigation.header-navigation { display: flex; }
}
.header-bar .header-utilities { margin-left: 1.5rem; }

.wp-block-navigation.header-navigation {
  gap: 0.35rem;
}
.header-navigation .wp-block-navigation-item__content,
.header-navigation a.wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  border-radius: 4px;
  text-decoration: none;
  background: transparent;
}
@media (min-width: 1024px) {
  .header-navigation .wp-block-navigation-item__content { font-size: 12px; }
}
.header-navigation .wp-block-navigation-item__content:hover,
.header-navigation .wp-block-navigation-item__content:focus-visible {
  background-color: rgba(59, 42, 32, 0.12);
}
.header-navigation .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.header-navigation .current-menu-item .wp-block-navigation-item__content {
  background-color: rgba(59, 42, 32, 0.22);
}
.header-navigation .wp-block-navigation__submenu-container {
  background: #fff;
  color: #3b2a20;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  box-shadow: var(--shadow-border);
}
.header-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  color: #3b2a20;
  text-shadow: none;
}

body.home header.site-header:not(.is-sticky):not(.is-page),
body.is-home header.site-header:not(.is-sticky):not(.is-page) {
  color: #ffffff;
  background: transparent;
  position: absolute;
  inset-inline: 0;
  top: 0;
}
body.home header.site-header:not(.is-sticky):not(.is-page) .wp-block-site-logo img,
body.is-home header.site-header:not(.is-sticky):not(.is-page) .wp-block-site-logo img {
  filter: brightness(0) invert(1);
}
body.home header.site-header.is-overlay::before,
body.is-home header.site-header.is-overlay::before,
body.home header.site-header:not(.is-sticky):not(.is-page)::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  height: 5.25rem;
  background:
    linear-gradient(to bottom, rgba(59, 42, 32, 0.24), transparent 88%),
    radial-gradient(ellipse 20rem 4.4rem at 7% 0%, rgba(59, 42, 32, 0.18), transparent 74%),
    radial-gradient(ellipse 28rem 4.4rem at 94% 0%, rgba(59, 42, 32, 0.18), transparent 74%);
}
body.home header.site-header.is-overlay .header-navigation .wp-block-navigation-item__content:hover,
body.is-home header.site-header.is-overlay .header-navigation .wp-block-navigation-item__content:hover,
body.home header.site-header:not(.is-sticky):not(.is-page) .header-navigation .wp-block-navigation-item__content:hover {
  color: #3b2a20;
  background-color: rgba(255, 255, 255, 0.48);
}

footer.site-footer .wp-block-site-logo img,
.site-footer .wp-block-site-logo img {
  filter: brightness(0) invert(1);
  height: 2.5rem;
  width: auto;
}
.site-footer .footer-grid.wp-block-group,
.wp-block-group.footer-grid {
  display: grid;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .site-footer .footer-grid.wp-block-group,
  .wp-block-group.footer-grid { grid-template-columns: repeat(12, 1fr); }
}
.site-footer .footer-brand { }
@media (min-width: 768px) {
  .site-footer .footer-brand { grid-column: span 4; }
}
.site-footer .footer-cols.wp-block-columns,
.wp-block-columns.footer-cols {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 0;
}
@media (min-width: 768px) {
  .site-footer .footer-cols.wp-block-columns { grid-column: span 8; }
}
@media (min-width: 1024px) {
  .site-footer .footer-cols.wp-block-columns { grid-template-columns: repeat(4, 1fr); }
}
.site-footer .footer-cols > .wp-block-column {
  margin: 0 !important;
  flex-basis: auto !important;
  width: auto !important;
}
.site-footer .footer-col p { margin: 0; }
.site-footer .footer-col p + p { margin-top: 1rem; line-height: 1.8; font-size: 0.875rem; }
.site-footer a:hover { text-decoration: underline; }

.wp-block-group.collection-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-ivory);
  padding: 1.35rem 1.1rem;
  min-height: 0;
}
.wp-block-group.collection-card .wp-block-image {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  height: 100%;
}
.wp-block-group.collection-card .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-block-group.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(59, 42, 32, 0.46) 0%, rgba(59, 42, 32, 0.16) 30%, transparent 58%);
}
.wp-block-group.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 88% 60% at 50% 50%, rgba(59, 42, 32, 0.46) 0%, rgba(59, 42, 32, 0.20) 58%, transparent 80%);
  opacity: 0;
  transition: opacity var(--motion-slow) var(--ease-smooth-out);
}
.wp-block-group.collection-card:hover::after { opacity: 1; }
.wp-block-group.collection-card .wp-block-heading,
.wp-block-group.collection-card > p {
  position: relative;
  z-index: 2;
  color: var(--color-ivory);
  text-shadow: 0 1px 10px rgba(59, 42, 32, 0.28);
  transition: transform var(--motion-slow) var(--ease-smooth-out);
}
.wp-block-group.collection-card .wp-block-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
}
.wp-block-group.collection-card > p {
  margin-top: 0.4rem;
  max-width: 16rem;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(233, 221, 195, 0.86);
}
.wp-block-group.collection-card:hover {
  justify-content: center;
}
.wp-block-group.collection-card .wp-block-buttons {
  position: absolute;
  inset: 0;
  z-index: 5;
  margin: 0 !important;
}
.wp-block-group.collection-card .wp-block-button,
.wp-block-group.collection-card .wp-block-button__link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent !important;
  color: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wp-block-columns.split {
  display: grid !important;
  margin: 0 !important;
  gap: 0 !important;
}
@media (min-width: 1024px) {
  .wp-block-columns.split { grid-template-columns: 1fr 1fr; }
}
.wp-block-columns.split > .wp-block-column {
  margin: 0 !important;
  flex-basis: auto !important;
  width: auto !important;
}
.split-media {
  position: relative;
  min-height: 380px;
  background: var(--color-ivory);
}
.split-media .wp-block-image,
.split-media .wp-block-image img {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.wp-block-column.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.5rem;
}
@media (min-width: 640px) {
  .wp-block-column.split-copy { padding: 4rem 3rem; }
}
@media (min-width: 1024px) {
  .wp-block-column.split-copy { padding: 4rem; }
}
.split-copy.is-ivory { background: var(--color-ivory); color: var(--color-ink); }
.split-copy .wp-block-heading { margin-top: 0.75rem; font-size: 2.25rem; line-height: 1.15; }
@media (min-width: 640px) {
  .split-copy .wp-block-heading { font-size: 3rem; }
}
.split-copy p.body {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.8;
}
.split-copy .wp-block-buttons { margin-top: 2rem; }
.split-copy .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--color-ink);
  padding-left: 0;
  padding-right: 0;
  border: 0;
  text-decoration: none;
}
.split-copy .is-style-outline .wp-block-button__link:hover { text-decoration: underline; }

.wp-block-group.cover {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  background: var(--color-ivory);
}
.wp-block-group.cover > .wp-block-image,
.wp-block-group.cover > .cover-image,
.wp-block-group.cover > .wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  height: 100%;
}
.wp-block-group.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-block-group.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(59 42 32 / 0.35);
  z-index: 1;
  pointer-events: none;
}
.wp-block-group.cover .cover-copy {
  position: relative;
  z-index: 2;
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 0;
  color: #fff;
}
.wp-block-group.cover .cover-copy .kicker { color: rgba(255,255,255,.8); }
.wp-block-group.cover .cover-copy .wp-block-heading,
.wp-block-group.cover .cover-copy h1 { color: #fff; }
.wp-block-group.cover .cover-copy .lede {
  color: rgba(255,255,255,.85);
  max-width: 32rem;
  margin-top: .75rem;
}

.wp-block-columns.product-grid {
  margin-top: 2.5rem;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 0.75rem;
}
@media (min-width: 640px) {
  .wp-block-columns.product-grid { column-gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .wp-block-columns.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.wp-block-columns.product-grid > .wp-block-column {
  margin: 0 !important;
  flex-basis: auto !important;
  width: auto !important;
}
.wp-block-group.product-card .wp-block-buttons { margin-top: 0.75rem; }
.wp-block-group.product-card .wp-block-button__link {
  background: transparent;
  color: var(--color-ink);
  padding: 0;
  border: 0;
  text-decoration: underline;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.875rem;
}

.wp-block-group.alignfull,
.wp-block-columns.alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wp-block-button__link {
  border-radius: 0;
}
.section-head .is-style-outline .wp-block-button__link,
.journal-card .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--color-ink);
  border: 0;
  padding: 0;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
}
.section-head .is-style-outline .wp-block-button__link:hover,
.journal-card .is-style-outline .wp-block-button__link:hover {
  text-decoration: underline;
}

/* ===== Shop + collection grid (1.2.1) — beat WooCommerce layout CSS ===== */

.wp-block-woocommerce-legacy-template,
.wp-block-group.shop-main,
.shop-main .wp-block-woocommerce-legacy-template {
  width: 100%;
  max-width: none !important;
}
.wp-block-woocommerce-legacy-template > main,
.woocommerce-page .wp-block-woocommerce-legacy-template main {
  display: contents;
}

/* Leftover FSE "Category: Bedding" / duplicate lede from customized Site Editor copies. */
.shop-main > .wp-block-query-title,
.shop-main > .wp-block-term-description,
.shop-main > .wp-block-heading,
.shop-main > .wp-block-post-title,
.shop-main > p.kicker,
.shop-main > .wp-block-paragraph {
  display: none !important;
}
.woocommerce-products-header,
.woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-products-header__title {
  display: none !important;
}

.collection-cover.cover {
  position: relative;
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: var(--color-ivory);
}
.wp-site-blocks {
  overflow-x: clip;
}
.shop-archive-body .shop-filters {
  margin-top: 2rem;
}
.shop-archive-body {
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.shop-archive-body.page-hero-pad {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .shop-archive-body.page-hero-pad {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
.collection-chips {
  margin-bottom: 2rem;
}

.product-grid,
ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4,
.wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.75rem;
  row-gap: 2.5rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 2.5rem 0 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}
.shop-archive-body .product-grid,
.shop-archive-body ul.products {
  margin-top: 0 !important;
}
@media (min-width: 640px) {
  .product-grid,
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    column-gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .product-grid,
  .product-grid.cols-3,
  ul.products,
  .woocommerce ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

ul.products > li,
ul.products > .product,
ul.products > .product-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products .product-card,
.product-card {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

.product-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card .thumb,
.woocommerce .product-card .thumb,
.woocommerce ul.products .product-card .thumb,
.woocommerce ul.products li.product .thumb {
  position: relative !important;
  aspect-ratio: 3 / 4 !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  background: var(--color-ivory);
}

.product-card .thumb img,
.woocommerce .product-card .thumb img,
.woocommerce ul.products .product-card img,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product a img,
.woocommerce .product-card img.main-img,
.woocommerce .product-card img.hover-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
}

.product-card .wish-btn {
  z-index: 2;
}

/* ===== 0.3 editable pages, covers, single header ===== */
a.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.filter-chips.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}
.filter-chips.wp-block-buttons .wp-block-button {
  margin: 0;
}
.filter-chips.wp-block-buttons .wp-block-button__link {
  height: 2.5rem;
  padding: 0 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 2.5rem;
  border-radius: 0;
}
.filter-chips.wp-block-buttons .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
}
.filter-chips.wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--color-ink);
  color: #fff;
  border: 1px solid var(--color-ink);
}

header.site-header .wp-block-woocommerce-customer-account,
header.site-header .wp-block-woocommerce-mini-cart,
header.site-header .wc-block-mini-cart,
header.site-header .wc-block-customer-account,
header.site-header .header-utilities ~ .header-utilities,
.wp-site-blocks > header ~ header {
  display: none !important;
}

.wp-block-group.cover,
.cover {
  position: relative;
  overflow: hidden;
}
.wp-block-group.cover > .wp-block-image,
.wp-block-group.cover > figure.wp-block-image,
.cover > .wp-block-image,
.cover > figure,
.cover .cover-image {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  width: 100% !important;
  max-width: none !important;
}
.wp-block-group.cover img,
.cover img,
.cover .cover-image img,
.cover figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
.collection-cover.cover,
.collection-cover .cover-copy {
  min-height: 42vh !important;
  height: 42vh;
}
.prose-narrow { max-width: 48rem; }
.prose-narrow h2 { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--color-border); }
.prose-narrow h2:first-of-type { margin-top: 2.5rem; }
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb,
.woocommerce-notices-wrapper:empty,
.woocommerce-products-header {
  display: none !important;
}
.cover + .wrap,
.cover + div.wrap {
  padding-top: 2rem !important;
  padding-bottom: 3rem;
}
#main > .wrap:first-child {
  padding-top: 0;
}
header.site-header img,
header .logo-mark,
header .logo-brown,
header .logo-ivory {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  max-height: 2.25rem;
  width: auto;
}
/* Footer logo — no box */
.site-footer img,
footer img,
.footer-brand img,
.site-footer .logo-mark,
.site-footer .logo-ivory,
.site-footer .logo-brown {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  max-height: 2rem;
  width: auto;
}

/* Gap under header */
header.site-header + *,
header.site-header + .cover,
.cover {
  margin-top: 0;
}
:root {
  --color-ivory: #e9ddc3;
  --color-ink: #3b2a20;
}

.site-footer,
footer.site-footer,
footer {
  background: #e9ddc3 !important;
  color: #3b2a20 !important;
}

header.site-header.is-sticky,
header.site-header.is-page,
header.site-header:not(.is-overlay) {
  background: #e9ddc3 !important;
  color: #3b2a20 !important;
}

header.site-header.is-overlay {
  background: transparent !important;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  header.site-header .wrap,
  header.site-header .header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
  }
  header.site-header .logo,
  header.site-header a.logo,
  header.site-header .brand {
    margin-right: auto;
  }
  header.site-header .header-actions,
  header.site-header .header-icons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  header.site-header .logo-mark {
    max-height: 2.1rem !important;
    height: 2.1rem !important;
  }
}

.nav-sheet .logo-mark,
.sheet .logo-mark,
[data-drawer] .logo-mark,
.mobile-nav .logo-mark {
  max-height: 2.5rem !important;
  height: 2.5rem !important;
  width: auto !important;
}
html {
  color-scheme: light only;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light only;
    --color-background: #ffffff;
    --color-foreground: #3b2a20;
    --color-ivory: #e9ddc3;
    --color-ink: #3b2a20;
    --color-white: #ffffff;
  }
  html, body {
    background: #ffffff !important;
    color: #3b2a20 !important;
  }
  header.site-header,
  header.site-header.is-sticky,
  header.site-header.is-page,
  .site-footer,
  footer,
  .nav-sheet,
  .sheet {
    background: #e9ddc3 !important;
    color: #3b2a20 !important;
  }
  header.site-header.is-overlay {
    background: transparent !important;
    color: #ffffff !important;
  }
  .logo-mark, header img, footer img {
    filter: none !important;
    outline: 0 !important;
    border: 0 !important;
  }
}

header.site-header .logo-mark {
  height: 2.7rem;
  max-height: 2.7rem;
  width: auto;
  outline: 0 !important;
  border: 0 !important;
}
@media (max-width: 767px) {
  header.site-header .logo-mark {
    height: 2.5rem;
    max-height: 2.5rem;
  }
}

header.site-header.is-overlay .logo-ivory,
body.home header.site-header:not(.is-sticky) .logo-ivory {
  display: block !important;
}
header.site-header.is-overlay .logo-brown,
body.home header.site-header:not(.is-sticky) .logo-brown {
  display: none !important;
}
header.site-header.is-sticky .logo-ivory,
body:not(.home) header .logo-ivory {
  display: none !important;
}
header.site-header.is-sticky .logo-brown,
body:not(.home) header .logo-brown {
  display: block !important;
  filter: none !important;
}

@media (max-width: 767px) {
  body.home header.site-header:not(.is-sticky) .logo-brown {
    display: block !important;
    filter: brightness(0) invert(1) !important;
  }
  body.home header.site-header.is-sticky .logo-brown {
    filter: none !important;
  }
}

.site-footer {
  background: #e9ddc3 !important;
  color: #3b2a20 !important;
}
.site-footer .logo-ivory { display: none !important; }
.site-footer .logo-brown { display: block !important; max-height: 2rem; width: auto; outline: 0; border: 0; }
.site-footer .footer-cols {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 767px) {
  .site-footer .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

#cookieadmin-widget,
[class*="cookieadmin"] { display: none !important; }
.site-footer,
.site-footer a,
.site-footer p,
.site-footer li,
.site-footer .kicker,
.site-footer .footer-muted,
.site-footer .footer-col a {
  color: #3b2a20 !important;
  opacity: 1 !important;
}
.site-footer .kicker {
  opacity: 0.7 !important;
}
.site-footer .logo-ivory {
  display: none !important;
}
.site-footer .logo-brown {
  display: block !important;
  filter: none !important;
}
.site-footer img.logo-mark:not(.logo-brown) {
  filter: brightness(0) !important;
  opacity: 0.85;
}