/*
 * ECORIVA theme styles.
 *
 * A direct port of the Next.js reference design (src/app/globals.css + Tailwind classes in
 * src/components). Mobile first. Breakpoints match Tailwind: 40rem (sm), 48rem (md),
 * 64rem (lg), 85rem (1360px category bar), 96rem (2xl).
 *
 * Sections: 1 tokens · 2 fonts · 3 base · 4 layout · 5 buttons & forms · 6 header · 7 drawer ·
 * 8 footer · 9 homepage · 10 cards & grids · 11 listing pages · 12 product page · 13 cart,
 * checkout & account · 14 enquiries & content pages · 15 utilities
 */

/* 1. Tokens ---------------------------------------------------------------------------------- */
:root {
  /* ECORIVA green, sampled from the supplied logo (#377864). */
  --brand-50: #eff6f3;
  --brand-100: #d9ebe3;
  --brand-200: #b4d5c7;
  --brand-300: #87baa6;
  --brand-400: #5b9b85;
  --brand-500: #448571;
  --brand-600: #377864;
  --brand-700: #2d6352;
  --brand-800: #244f42;
  --brand-900: #1b3b31;

  /* Warm off-white family. */
  --cream-50: #fbf8f2;
  --cream-100: #f5efe4;
  --cream-200: #ebe2d2;
  --cream-300: #ddd1bc;

  /* Deals / discount accent: muted terracotta. */
  --accent-50: #fbf0ea;
  --accent-100: #f5dccf;
  --accent-600: #a8502b;
  --accent-700: #8a3f20;

  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-700: #b45309;
  --amber-900: #78350f;
  --stone-400: #a8a29e;
  --whatsapp: #075e54;

  --ink: #1f2622;
  --ink-muted: #4f5752;
  --ink-subtle: #79807b;
  --surface: #ffffff;
  --line: #ebe5da;
  --line-strong: #d9d0c1;

  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;

  --radius-card: 0.75rem;
  --radius-btn: 0.5rem;
  --radius-xl: 1rem;
  --shadow-card: 0 1px 2px rgb(31 38 34 / 0.04), 0 6px 16px -10px rgb(31 38 34 / 0.1);
  --container: 80rem;
  --gutter: 1.25rem;
  --header-offset: calc(var(--wp-admin--admin-bar--height, 0px));
}

@media (min-width: 40rem) {
  :root {
    --gutter: 2rem;
  }
}
@media (min-width: 64rem) {
  :root {
    --gutter: 2.5rem;
  }
}

/* 2. Fonts (self-hosted, SIL OFL) ------------------------------------------------------------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght.woff2") format("woff2");
  /* Includes the rupee sign (U+20B9). */
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-opsz.woff2") format("woff2");
}

/* 3. Base ------------------------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-main {
  flex: 1;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Display headings: elegant serif. Card titles (h3) stay in the body face. */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--ink);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

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

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  background: var(--brand-100);
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute !important;
  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: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus {
  top: 0.75rem;
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.icon--xs {
  width: 0.875rem;
  height: 0.875rem;
}
.icon--sm {
  width: 1rem;
  height: 1rem;
}
.icon--md {
  width: 1.375rem;
  height: 1.375rem;
}
.icon--lg {
  width: 1.75rem;
  height: 1.75rem;
}
.icon--xl {
  width: 2rem;
  height: 2rem;
}
.icon--category {
  width: 1.5rem;
  height: 1.5rem;
}
@media (min-width: 40rem) {
  .icon--category {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* 4. Layout ---------------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 3.5rem;
}
@media (min-width: 40rem) {
  .section {
    padding-block: 4.5rem;
  }
}
@media (min-width: 64rem) {
  .section {
    padding-block: 5.5rem;
  }
}

.section--muted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.section--white {
  background: var(--surface);
}
.section--bordered {
  border-top: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-heading__title {
  font-size: 1.75rem;
}
.section-heading__subtitle {
  margin-top: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.section-heading__action {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  padding-bottom: 0.25rem;
  color: var(--brand-700);
  font-size: 0.875rem;
  font-weight: 600;
}
.section-heading__action:hover {
  color: var(--brand-800);
}
.section-heading__action .icon {
  transition: transform 0.2s;
}
.section-heading__action:hover .icon {
  transform: translateX(2px);
}
@media (min-width: 40rem) {
  .section-heading {
    margin-bottom: 2.5rem;
  }
  .section-heading__title {
    font-size: 2.125rem;
  }
  .section-heading__subtitle {
    font-size: 1rem;
  }
}

.show-mobile {
  display: inline;
}
.hide-mobile {
  display: none;
}
@media (min-width: 40rem) {
  .show-mobile {
    display: none;
  }
  .hide-mobile {
    display: inline;
  }
}

.breadcrumbs {
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.breadcrumbs ol::-webkit-scrollbar {
  display: none;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.breadcrumbs li + li::before {
  content: "";
  width: 0.875rem;
  height: 0.875rem;
  background: var(--ink-subtle);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.breadcrumbs a:hover {
  color: var(--brand-700);
}
.breadcrumbs li:last-child,
.breadcrumbs [aria-current] {
  color: var(--ink);
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 5. Buttons & forms ------------------------------------------------------------------------- */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--brand-600);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.btn:hover,
.button:hover {
  background: var(--brand-700);
  color: #fff;
}
.btn:active,
.button:active {
  background: var(--brand-800);
}
.btn:disabled,
.button:disabled,
.button.disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn--sm {
  min-height: 2.25rem;
  padding: 0 0.75rem;
  gap: 0.375rem;
  font-size: 0.875rem;
}
.btn--md {
  min-height: 2.75rem;
}
.btn--lg {
  min-height: 3rem;
  padding: 0 1.75rem;
  font-size: 0.9375rem;
}
.btn--block {
  width: 100%;
}

.btn--secondary {
  border-color: var(--brand-600);
  background: var(--surface);
  color: var(--brand-700);
}
.btn--secondary:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}
.btn--outline {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}
.btn--outline:hover {
  border-color: var(--brand-600);
  background: var(--surface);
  color: var(--brand-700);
}
.btn--soft {
  background: var(--brand-50);
  color: var(--brand-800);
}
.btn--soft:hover {
  background: var(--brand-100);
  color: var(--brand-800);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--cream-100);
  color: var(--ink);
}
.btn--inverse {
  background: #fff;
  color: var(--brand-800);
}
.btn--inverse:hover {
  background: var(--cream-50);
  color: var(--brand-800);
}
.btn--inverse-outline {
  border-color: rgb(255 255 255 / 0.45);
  background: transparent;
  color: #fff;
}
.btn--inverse-outline:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
}
.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn--whatsapp:hover {
  background: #054c44;
}

.input,
.input-text,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"]:not(.search-form__input),
input[type="url"],
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
textarea {
  min-height: 7rem;
  line-height: 1.5;
}
select {
  padding-right: 2.25rem;
}
.input:focus,
.input-text:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
  outline: none;
}
input:disabled,
select:disabled,
textarea:disabled {
  background: var(--cream-50);
  cursor: not-allowed;
}
::placeholder {
  color: var(--ink-subtle);
  opacity: 1;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--brand-600);
  width: 1rem;
  height: 1rem;
}

/* 6. Header ---------------------------------------------------------------------------------- */
.top-bar {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--cream-100);
  color: var(--ink-muted);
  font-size: 0.8125rem;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.25rem;
}
.top-bar__links {
  display: flex;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}
.top-bar__links a:hover {
  color: var(--brand-700);
}
@media (min-width: 64rem) {
  .top-bar {
    display: block;
  }
}

.site-header {
  position: sticky;
  top: var(--header-offset);
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 4.25rem;
}
.site-header__menu {
  margin-left: -0.5rem;
}
.site-header .site-logo--header {
  margin-right: auto;
}
.site-header__search {
  display: none;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.site-header__search-mobile {
  padding-bottom: 0.75rem;
}
@media (min-width: 40rem) {
  .site-header__bar {
    height: 5rem;
    gap: 0.75rem;
  }
  .site-header__actions {
    gap: 0.25rem;
  }
}
@media (min-width: 48rem) {
  .site-header__search {
    display: block;
    flex: 1;
    max-width: 42rem;
    margin-inline: auto;
  }
  .site-header .site-logo--header {
    margin-right: 0;
  }
  .site-header__search-mobile {
    display: none;
  }
}
@media (min-width: 64rem) {
  .site-header__bar {
    height: 5.75rem;
    gap: 2.5rem;
  }
  .site-header .site-header__menu {
    display: none;
  }
}

.site-logo {
  display: inline-flex;
  flex-shrink: 0;
}
.site-logo img {
  width: auto;
}
.site-logo--header img,
.site-logo--drawer img {
  height: 3rem;
}
.site-logo--footer img {
  height: 5rem;
}
@media (min-width: 40rem) {
  .site-logo--header img {
    height: 3.5rem;
  }
  .site-logo--footer img {
    height: 6rem;
  }
}
@media (min-width: 64rem) {
  .site-logo--header img {
    height: 4.75rem;
  }
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
}
.icon-button:hover {
  background: var(--cream-100);
}

.cart-count {
  position: absolute;
  top: 0.25rem;
  right: 0.125rem;
  min-width: 1.25rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--brand-600);
  box-shadow: 0 0 0 2px #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25rem;
  text-align: center;
}

.search-form {
  position: relative;
  width: 100%;
}
.search-form__input {
  width: 100%;
  height: 3rem;
  padding: 0 3.5rem 0 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cream-50);
  font-size: 0.9375rem;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.search-form__input:focus {
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-100);
  outline: none;
}
.search-form__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-form__submit {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  transition: background-color 0.2s;
}
.search-form__submit:hover {
  background: var(--brand-700);
}
@media (min-width: 64rem) {
  .search-form__input {
    height: 3.25rem;
  }
  .search-form__submit {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.category-bar {
  display: none;
  border-top: 1px solid var(--line);
}
.category-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  max-width: 96rem;
  margin: 0 auto;
  padding: 0.625rem 2.5rem;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.category-bar__list a {
  color: var(--ink-muted);
  transition: color 0.2s;
}
.category-bar__list a:hover,
.category-bar__list a[aria-current] {
  color: var(--brand-700);
}
.category-bar__list .category-bar__shop-all {
  color: var(--brand-700);
  font-weight: 600;
}
@media (min-width: 64rem) {
  .category-bar {
    display: block;
  }
}
@media (min-width: 85rem) {
  .category-bar__list {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.75rem;
    height: 3rem;
    padding-block: 0;
  }
}
@media (min-width: 96rem) {
  .category-bar__list {
    font-size: 0.875rem;
  }
}

/* 7. Drawer ---------------------------------------------------------------------------------- */
.drawer {
  width: 86vw;
  max-width: 24rem;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
}
.drawer[open] {
  display: flex;
  flex-direction: column;
}
.drawer::backdrop {
  background: rgb(27 59 49 / 0.4);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
}
.drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.5rem;
}
.drawer__links {
  padding: 0;
  list-style: none;
}
.drawer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: var(--radius-btn);
  font-weight: 500;
}
.drawer__links--categories a {
  font-weight: 400;
}
.drawer__links a:hover {
  background: var(--cream-100);
}
.drawer__links .icon {
  color: var(--ink-subtle);
}
.drawer__label {
  margin: 1.5rem 0.75rem 0.5rem;
  color: var(--ink-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
}
.drawer__account {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* 8. Footer ---------------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream-100);
  color: var(--ink-muted);
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  font-size: 0.875rem;
}
.site-footer__brand p {
  max-width: 20rem;
}
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-style: normal;
}
.site-footer__contact > * {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.site-footer__contact .icon {
  margin-top: 0.2rem;
  color: var(--brand-600);
}
.site-footer__title {
  margin-bottom: 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}
.site-footer__links--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem 1.5rem;
}
.site-footer a:hover {
  color: var(--brand-700);
}
.site-footer__bottom {
  border-top: 1px solid var(--line);
}
.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.5rem;
  color: var(--ink-subtle);
  font-size: 0.75rem;
}
@media (min-width: 40rem) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 4rem;
  }
  .site-footer__links--two {
    grid-template-columns: 1fr;
  }
  .site-footer__bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1.7fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
  .site-footer__links--two {
    grid-template-columns: 1fr 1fr;
  }
}

/* 9. Homepage -------------------------------------------------------------------------------- */
.hero {
  border-bottom: 1px solid var(--line);
  background: var(--cream-100);
}
.hero__grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-block: 3rem;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__eyebrow {
  color: var(--brand-700);
}
.hero__title {
  margin-top: 1rem;
  font-size: 2.25rem;
}
.hero__subtitle {
  max-width: 32rem;
  margin-top: 1.25rem;
  color: var(--ink-muted);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-top: 2rem;
}
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-200);
}
.hero__placeholder-frame {
  position: absolute;
  inset: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.8);
  border-radius: var(--radius-card);
}
.hero__placeholder-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 3.5rem;
  color: var(--ink-subtle);
  text-align: center;
}
.hero__placeholder-content .eyebrow {
  color: var(--ink-muted);
}
.hero__placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  color: var(--brand-600);
}
.hero__placeholder-note {
  font-size: 0.75rem;
}
.hero__highlights {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.95);
}
.hero__highlights ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}
.hero__highlights a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s;
}
.hero__highlights a:hover {
  color: var(--brand-700);
}
.hero__highlights .icon {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--brand-600);
}
@media (min-width: 40rem) {
  .hero__grid {
    padding-block: 4rem;
  }
  .hero__title {
    font-size: 3rem;
  }
  .hero__subtitle {
    font-size: 1.125rem;
  }
  .hero__actions {
    flex-direction: row;
    width: auto;
  }
  .hero__placeholder-frame {
    inset: 1rem;
  }
  .hero__highlights {
    right: auto;
    bottom: 1.25rem;
    left: 1.25rem;
    padding: 0.75rem 1.25rem;
  }
  .hero__highlights ul {
    gap: 0.25rem 1rem;
    font-size: 0.875rem;
  }
  .hero__highlights .icon {
    width: 1rem;
    height: 1rem;
  }
}
@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    padding-block: 5rem;
  }
  .hero__title {
    font-size: 3.5rem;
  }
  .hero__visual {
    aspect-ratio: 5 / 4;
  }
}

.benefits {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.benefits__list {
  display: grid;
  list-style: none;
}
.benefits__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
}
.benefits__item + .benefits__item {
  border-top: 1px solid var(--line);
}
.benefits__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  color: var(--brand-600);
}
.benefits__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}
.benefits__subtitle {
  display: block;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
@media (min-width: 40rem) {
  .benefits__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefits__item {
    justify-content: center;
    padding: 1.75rem 1rem;
  }
  .benefits__item + .benefits__item {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

.b2b-band {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--brand-700);
  color: #fff;
}
.b2b-band__text {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.b2b-band__icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
}
.b2b-band__eyebrow {
  color: var(--brand-200);
}
.b2b-band__title {
  margin-top: 0.5rem;
  color: #fff;
  font-size: 1.875rem;
}
.b2b-band__body {
  max-width: 36rem;
  margin-top: 0.75rem;
  color: var(--brand-100);
}
.b2b-band__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 40rem) {
  .b2b-band {
    padding: 3rem;
  }
  .b2b-band__icon {
    display: flex;
  }
  .b2b-band__title {
    font-size: 2.25rem;
  }
  .b2b-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (min-width: 48rem) {
  .b2b-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .b2b-band__actions {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}
@media (min-width: 64rem) {
  .b2b-band {
    padding: 3.5rem;
  }
}

.why-grid {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.why-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--cream-50);
}
.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-700);
}
.why-card__title {
  margin-top: 1.25rem;
}
.why-card__body {
  margin-top: 0.375rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
@media (min-width: 40rem) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 64rem) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.story {
  max-width: 48rem;
  text-align: center;
}
.story__eyebrow {
  color: var(--brand-700);
}
.story__title {
  margin-top: 0.75rem;
  font-size: 2rem;
}
.story__body {
  margin: 1rem 0 1.5rem;
  color: var(--ink-muted);
}
.story .btn {
  margin-inline: auto;
}

.newsletter {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--cream-100);
}
.newsletter__title {
  font-size: 1.875rem;
}
.newsletter__body {
  margin-top: 0.75rem;
  color: var(--ink-muted);
}
.newsletter__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter__note {
  color: var(--ink-subtle);
  font-size: 0.75rem;
}
@media (min-width: 40rem) {
  .newsletter {
    padding: 3rem;
  }
  .newsletter__form {
    flex-direction: row;
  }
}
@media (min-width: 48rem) {
  .newsletter {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* 10. Cards & grids -------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) {
  .category-grid {
    gap: 1rem;
  }
}
@media (min-width: 64rem) {
  .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  transition: border-color 0.2s;
}
.category-card:hover {
  border-color: var(--brand-300);
}
.category-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cream-100);
  color: var(--brand-700);
  transition: background-color 0.2s;
}
.category-card:hover .category-card__icon {
  background: var(--brand-50);
}
.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card__text {
  min-width: 0;
  flex: 1;
  padding-right: 1.5rem;
}
.category-card__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.category-card__count {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-subtle);
  font-size: 0.75rem;
}
.category-card__arrow {
  position: absolute;
  top: 1.25rem;
  right: 1rem;
  color: var(--ink-subtle);
  transition:
    transform 0.2s,
    color 0.2s;
}
.category-card:hover .category-card__arrow {
  color: var(--brand-600);
  transform: translateX(2px);
}
@media (min-width: 40rem) {
  .category-card {
    flex-direction: row;
    align-items: center;
    padding: 1.25rem;
  }
  .category-card__icon {
    width: 3.5rem;
    height: 3.5rem;
  }
  .category-card__text {
    padding-right: 0;
  }
  .category-card__arrow {
    position: static;
  }
}
@media (min-width: 64rem) {
  .category-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .category-card__text {
    padding-right: 1.5rem;
  }
  .category-card__arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.25rem;
  }
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 64rem) {
  .collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.collection-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.collection-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.collection-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--cream-100);
  color: var(--brand-600);
}
.collection-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1rem 1.25rem 1.25rem;
}
.collection-card__body .eyebrow {
  color: var(--brand-700);
  font-size: 0.6875rem;
}
.collection-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.25;
}
.collection-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.25rem;
  color: var(--brand-700);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Product grid and rail. WooCommerce outputs ul.products. */
ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.products::before,
ul.products::after {
  display: none;
}
@media (min-width: 40rem) {
  ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 64rem) {
  ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Rail: swipeable row on phones and tablets, grid on desktop. */
@media (max-width: 63.99rem) {
  ul.products.product-rail {
    display: flex;
    gap: 0.75rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 0.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  ul.products.product-rail::-webkit-scrollbar {
    display: none;
  }
  ul.products.product-rail > li {
    width: 72%;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}
@media (min-width: 30rem) and (max-width: 63.99rem) {
  ul.products.product-rail > li {
    width: 46%;
  }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  ul.products.product-rail {
    gap: 1.25rem;
  }
  ul.products.product-rail > li {
    width: 31%;
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-50);
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card__badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  pointer-events: none;
}
.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.875rem;
}
.product-card__category {
  color: var(--ink-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-card__title {
  display: -webkit-box;
  font-weight: 600;
  margin-top: 0.375rem;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.375;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-card__title a:hover {
  color: var(--brand-700);
}
.product-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 0.75rem;
}
@media (min-width: 40rem) {
  .product-card__body {
    padding: 1.25rem;
  }
  .product-card__title {
    font-size: 0.9375rem;
  }
}

/* Card add-to-cart: bag icon before the label; WooCommerce adds .loading / .added. */
.product-card .add_to_cart_button::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.1a1 1 0 0 1-1 .9H7.2a1 1 0 0 1-1-.9L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.1a1 1 0 0 1-1 .9H7.2a1 1 0 0 1-1-.9L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.product-card .button.loading {
  opacity: 0.7;
  pointer-events: none;
}
.product-card .button.added {
  background: var(--brand-50);
  color: var(--brand-800);
}
.product-card .button.added::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.product-card .added_to_cart {
  margin-top: -0.375rem;
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--brand {
  background: var(--brand-50);
  color: var(--brand-800);
}
.badge--accent {
  background: var(--accent-600);
  color: #fff;
}
.badge--neutral {
  background: var(--cream-100);
  color: var(--ink-muted);
}
.badge--dark {
  background: var(--brand-800);
  color: #fff;
}
.badge--warning {
  background: var(--cream-200);
  color: var(--ink);
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  background: var(--cream-50);
  color: var(--ink-subtle);
  font-size: 0.75rem;
  font-weight: 500;
}
.image-placeholder .icon {
  opacity: 0.6;
}

/* Price (ECORIVA Core wraps WooCommerce's price HTML). */
.ecoriva-price {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.ecoriva-price__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.125rem 0.5rem;
}
.ecoriva-price__current {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}
.ecoriva-price__current del {
  margin-right: 0.25rem;
  color: var(--ink-subtle);
  font-size: 0.875em;
  font-weight: 400;
}
.ecoriva-price__current ins {
  text-decoration: none;
}
.ecoriva-price__mrp {
  color: var(--ink-subtle);
  font-size: 0.875rem;
}
.ecoriva-price__off {
  color: var(--accent-600);
  font-size: 0.875rem;
  font-weight: 600;
}
.ecoriva-price__demo {
  color: var(--amber-700);
  font-size: 0.75rem;
  font-weight: 500;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  background: #fff;
  text-align: center;
}
.empty-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--brand-600);
}
.empty-state__title {
  margin-top: 1rem;
  font-size: 1.25rem;
}
.empty-state__body {
  max-width: 28rem;
  margin-top: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.empty-state__action {
  margin-top: 1.25rem;
}

/* 11. Listing pages -------------------------------------------------------------------------- */
.page-store {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-block: 2rem 4rem;
}
@media (min-width: 40rem) {
  .page-store {
    padding-block: 3rem 5rem;
  }
}

.archive-header {
  display: grid;
  gap: 1.5rem;
}
.archive-header__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.archive-header__eyebrow {
  color: var(--brand-700);
}
.archive-header__title {
  font-size: 1.875rem;
}
.archive-header__intro {
  max-width: 48rem;
  color: var(--ink-muted);
}
.archive-header__intro p + p {
  margin-top: 0.75rem;
}
.archive-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.archive-header--hero {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--cream-100);
}
.archive-header__media {
  overflow: hidden;
  border-radius: var(--radius-card);
}
.archive-header__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 40rem) {
  .archive-header__title {
    font-size: 2.25rem;
  }
  .archive-header--hero {
    padding: 2.5rem;
  }
}
@media (min-width: 64rem) {
  .archive-header--hero:has(.archive-header__media) {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .archive-header--hero .archive-header__title {
    font-size: 2.75rem;
  }
}

.landing-highlights {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}
.landing-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.landing-highlights strong {
  color: var(--ink);
}
.landing-highlights .icon {
  color: var(--brand-600);
}
@media (min-width: 40rem) {
  .landing-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .landing-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}

.landing-section {
  margin-top: 2.5rem;
}

.chips ul {
  display: flex;
  gap: 0.5rem;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips ul::-webkit-scrollbar {
  display: none;
}
.chip {
  display: flex;
  align-items: center;
  height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.chip:hover {
  border-color: var(--brand-600);
}
.chip.is-active {
  border-color: var(--brand-600);
  background: var(--brand-600);
  color: #fff;
}
@media (min-width: 40rem) {
  .chips ul {
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
  }
}

.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.75rem;
  border-block: 1px solid var(--line);
}
.woocommerce-result-count {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.listing-toolbar__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.woocommerce-ordering {
  margin: 0;
}
.woocommerce-ordering select {
  width: auto;
  min-height: 2.5rem;
}
.toggle-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.toggle-link__box {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
}
.toggle-link.is-on .toggle-link__box {
  border-color: var(--brand-600);
  background: var(--brand-600)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 80% no-repeat;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-800);
  font-size: 0.875rem;
}

.woocommerce-pagination {
  margin-top: 1rem;
}
.woocommerce-pagination ul.page-numbers,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  padding: 0;
  list-style: none;
}
.page-numbers a,
.page-numbers span,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  background: #fff;
  font-size: 0.875rem;
}
.page-numbers .current,
.nav-links .current {
  border-color: var(--brand-600);
  background: var(--brand-600);
  color: #fff;
}
.page-numbers a:hover {
  border-color: var(--brand-600);
}

/* Notices (classic WooCommerce). */
.woocommerce-notices-wrapper:empty {
  display: none;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-card);
  background: var(--brand-50);
  color: var(--brand-900);
  font-size: 0.9375rem;
  list-style: none;
}
.woocommerce-info {
  border-color: var(--line-strong);
  background: var(--cream-100);
  color: var(--ink);
}
.woocommerce-error {
  flex-direction: column;
  align-items: flex-start;
  border-color: var(--accent-100);
  background: var(--accent-50);
  color: var(--accent-700);
}
.woocommerce-message .button,
.woocommerce-info .button {
  order: 2;
  min-height: 2.25rem;
}

/* 12. Product page --------------------------------------------------------------------------- */
.single-product div.product {
  display: grid;
  gap: 2rem;
}
.single-product div.product > * {
  min-width: 0;
}
.single-product div.product > :not(.woocommerce-product-gallery):not(.summary) {
  grid-column: 1 / -1;
}
@media (min-width: 64rem) {
  /* Not sticky: WooCommerce renders the detail sections inside the same container, so a sticky
     gallery would slide over them. */
  .single-product div.product {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    align-items: start;
  }
}

.woocommerce-product-gallery {
  position: relative;
}
.woocommerce-product-gallery__wrapper {
  margin: 0;
}
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image--placeholder {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
}
.woocommerce-product-gallery__image a,
.woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
}
.woocommerce-product-gallery__image img {
  aspect-ratio: 1;
  object-fit: contain;
}
.woocommerce-product-gallery .flex-viewport {
  border-radius: var(--radius-card);
}
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
  border-radius: 0;
}
.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}
.woocommerce-product-gallery .flex-control-thumbs li {
  width: 4rem;
  flex-shrink: 0;
}
.woocommerce-product-gallery .flex-control-thumbs img {
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  background: #fff;
  cursor: pointer;
  opacity: 0.85;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover {
  border-color: var(--brand-600);
  opacity: 1;
}
@media (min-width: 40rem) {
  .woocommerce-product-gallery .flex-control-thumbs li {
    width: 5rem;
  }
}
.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.95);
  font-size: 0;
}
.woocommerce-product-gallery__trigger::before {
  content: "";
  width: 1.125rem;
  height: 1.125rem;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.woocommerce-product-gallery__trigger > * {
  display: none;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.product-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.product_title {
  font-size: 1.875rem;
}
@media (min-width: 40rem) {
  .product_title {
    font-size: 2.5rem;
  }
}
.summary .price {
  margin: 0;
}
.summary .price .ecoriva-price__current {
  font-size: 1.875rem;
}
.summary .price .ecoriva-price__mrp,
.summary .price .ecoriva-price__off {
  font-size: 1rem;
}
.product-summary__tax {
  margin-top: -1rem;
  color: var(--ink-subtle);
  font-size: 0.75rem;
}
.woocommerce-product-details__short-description {
  color: var(--ink-muted);
}
.woocommerce-product-details__short-description p + p {
  margin-top: 0.75rem;
}
.product-summary__benefits {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}
.product-summary__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.product-summary__benefits .icon {
  margin-top: 0.25rem;
  color: var(--brand-600);
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.stock-status__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
}
.stock-status--instock {
  color: var(--brand-700);
}
.stock-status--instock .stock-status__dot {
  background: var(--brand-500);
}
.stock-status--onbackorder {
  color: var(--amber-700);
}
.stock-status--onbackorder .stock-status__dot {
  background: var(--amber-500);
}
.stock-status--outofstock {
  color: var(--ink-muted);
}
.stock-status--outofstock .stock-status__dot {
  background: var(--stone-400);
}
p.stock {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}
p.stock.in-stock {
  color: var(--brand-700);
}
p.stock.out-of-stock {
  color: var(--ink-muted);
}

/* Add to cart form. */
form.cart {
  margin: 0;
}
form.cart:not(.variations_form),
.woocommerce-variation-add-to-cart {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
form.cart .quantity {
  grid-column: 1 / -1;
}
form.cart .single_add_to_cart_button,
form.cart .single_buy_now_button {
  width: 100%;
  min-height: 3rem;
  font-size: 0.9375rem;
}
@media (min-width: 40rem) {
  form.cart:not(.variations_form),
  .woocommerce-variation-add-to-cart {
    grid-template-columns: 1fr 1fr;
  }
}
.variations_form .variations {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}
.variations_form .variations th,
.variations_form .variations td {
  display: block;
  padding: 0;
  text-align: left;
}
.variations_form .variations th label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.variations_form .variations tr + tr th {
  padding-top: 0.75rem;
}
.variations_form .reset_variations {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--brand-700);
  font-size: 0.8125rem;
}
.woocommerce-variation {
  margin-bottom: 0.75rem;
}

.quantity {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}
.quantity input.qty {
  width: 4.5rem;
  min-height: 2.75rem;
  text-align: center;
}
.quantity--stepper {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  background: #fff;
}
.quantity--stepper input.qty {
  width: 3rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}
.quantity--stepper input.qty::-webkit-inner-spin-button,
.quantity--stepper input.qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.quantity__step {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  font-size: 1.125rem;
  transition: background-color 0.2s;
}
.quantity__step:hover {
  background: var(--cream-50);
}

.product-summary__help {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-700);
  font-size: 0.875rem;
  font-weight: 600;
}
.help-link:hover {
  color: var(--brand-800);
  text-decoration: underline;
}

.product_meta {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.product_meta a {
  color: var(--brand-700);
}
.product_meta a:hover {
  text-decoration: underline;
}
.product_meta .sku {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
}

.product-details {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 64rem) {
  .product-details {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
  }
}
.product-details__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.product-details__section h2,
.faq__title {
  margin-bottom: 0.875rem;
  font-size: 1.375rem;
}
.product-details__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.spec-table th,
.spec-table td {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 40%;
  padding-right: 1rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
}
.detail-list {
  display: grid;
  gap: 0.375rem;
  padding-left: 1.25rem;
  color: var(--ink-muted);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  font-size: 0.875rem;
}
.info-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.info-card__title .icon {
  color: var(--brand-600);
}
.info-card p {
  color: var(--ink-muted);
}
.info-card a {
  color: var(--brand-700);
  font-weight: 600;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__chevron {
  color: var(--ink-subtle);
  transition: transform 0.2s;
}
.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}
.faq__answer {
  padding-bottom: 1rem;
  color: var(--ink-muted);
}

.product-section,
.single-product .related,
.single-product .upsells {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.single-product .related > h2,
.single-product .upsells > h2 {
  margin-bottom: 1.75rem;
  font-size: 1.75rem;
}
@media (min-width: 40rem) {
  .single-product .related > h2,
  .single-product .upsells > h2 {
    margin-bottom: 2.5rem;
    font-size: 2.125rem;
  }
}

/* 13. Cart, checkout & account --------------------------------------------------------------- */
.page-body {
  padding-block: 2rem 4rem;
}
@media (min-width: 40rem) {
  .page-body {
    padding-block: 3rem 5rem;
  }
}
.page-title {
  margin: 1rem 0 1.5rem;
  font-size: 1.875rem;
}
@media (min-width: 40rem) {
  .page-title {
    font-size: 2.5rem;
  }
}
.page-body--commerce .page-title {
  margin-top: 0;
}

/* WooCommerce blocks: align with the ECORIVA design system. */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  font-family: var(--font-body);
}
.wc-block-components-button:not(.is-link) {
  min-height: 3rem;
  border-radius: var(--radius-btn);
  background: var(--brand-600);
  color: #fff;
  font-weight: 600;
}
.wc-block-components-button:not(.is-link):hover {
  background: var(--brand-700);
  color: #fff;
}
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input {
  border-color: var(--line-strong) !important;
  border-radius: var(--radius-btn) !important;
}
.wc-block-components-text-input.is-active input:focus,
.wc-block-components-text-input input:focus {
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px var(--brand-100) !important;
}
.wc-block-cart__sidebar .wc-block-components-sidebar,
.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  border-radius: var(--radius-card);
}
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--cream-50);
  object-fit: contain;
}
.wc-block-components-product-name {
  color: var(--ink);
  font-weight: 600;
}
.wc-block-components-product-metadata .wc-block-components-product-details__price {
  color: var(--amber-700);
}
.wc-block-cart-items__header,
.wc-block-components-totals-wrapper {
  border-color: var(--line) !important;
}

/* Classic tables (orders, order details). */
.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.shop_table th,
.shop_table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.shop_table thead th {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}
@media (max-width: 47.99rem) {
  .shop_table_responsive thead {
    display: none;
  }
  .shop_table_responsive tr {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
  }
  .shop_table_responsive td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.375rem 0;
    border: 0;
    text-align: right;
  }
  .shop_table_responsive td::before {
    content: attr(data-title);
    color: var(--ink-muted);
    font-weight: 600;
    text-align: left;
  }
}

/* My account. */
.woocommerce-account .commerce-content > .woocommerce {
  display: grid;
  gap: 2rem;
}
@media (min-width: 64rem) {
  .woocommerce-account.logged-in .commerce-content > .woocommerce {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}
.woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  list-style: none;
}
.woocommerce-MyAccount-navigation li + li {
  border-top: 1px solid var(--line);
}
.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
}
.woocommerce-MyAccount-navigation a:hover {
  background: var(--cream-50);
}
.woocommerce-MyAccount-navigation .is-active a {
  background: var(--brand-50);
  color: var(--brand-800);
  font-weight: 600;
}
.woocommerce-MyAccount-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.woocommerce-MyAccount-content a:not(.button) {
  color: var(--brand-700);
  font-weight: 600;
}
.u-columns.col2-set,
.woocommerce .col2-set {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .u-columns.col2-set,
  .woocommerce .col2-set {
    grid-template-columns: 1fr 1fr;
  }
}
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword,
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
}
.woocommerce form .form-row {
  margin: 0 0 1rem;
  padding: 0;
}
.woocommerce form .form-row label,
.woocommerce form label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.woocommerce form .form-row .required {
  color: var(--accent-600);
  text-decoration: none;
}
.woocommerce form .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}
.woocommerce-LostPassword a,
.woocommerce-privacy-policy-text a {
  color: var(--brand-700);
}
.woocommerce-privacy-policy-text {
  margin-bottom: 1rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
}
.woocommerce address {
  font-style: normal;
}
.password-input {
  position: relative;
  display: block;
}
.show-password-input {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: 0;
  background: transparent;
}

/* 14. Enquiries & content pages -------------------------------------------------------------- */
.enquiry-hero {
  border-bottom: 1px solid var(--line);
  background: var(--cream-100);
}
.enquiry-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 2rem 3rem;
}
.enquiry-hero__eyebrow {
  margin-top: 1rem;
  color: var(--brand-700);
}
.enquiry-hero__title {
  font-size: 2.25rem;
}
.enquiry-hero__intro {
  max-width: 40rem;
  color: var(--ink-muted);
  font-size: 1.0625rem;
}
@media (min-width: 40rem) {
  .enquiry-hero__title {
    font-size: 3rem;
  }
}
.audiences {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.audiences .container {
  padding-block: 1.25rem;
}
.audiences__label {
  color: var(--ink-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audiences__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.625rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.audiences__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.audiences__list .icon {
  color: var(--brand-600);
}
.enquiry-layout {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem 4rem;
}
@media (min-width: 64rem) {
  .enquiry-layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 3rem;
    align-items: start;
  }
}
.enquiry-layout__form {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
}
@media (min-width: 40rem) {
  .enquiry-layout__form {
    padding: 2rem;
  }
}
.enquiry-layout__title {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.enquiry-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.contact-list .icon {
  margin-top: 0.2rem;
  color: var(--brand-600);
}
.steps {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
  color: var(--ink-muted);
}

.ecoriva-enquiry__grid {
  display: grid;
  gap: 1rem 1.25rem;
}
@media (min-width: 48rem) {
  .ecoriva-enquiry__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.ecoriva-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.ecoriva-field--wide {
  grid-column: 1 / -1;
}
.ecoriva-field label {
  font-size: 0.875rem;
  font-weight: 600;
}
.ecoriva-field__req {
  color: var(--accent-600);
}
.ecoriva-field__help {
  color: var(--ink-subtle);
  font-size: 0.75rem;
}
.ecoriva-field--consent {
  margin-top: 1.25rem;
}
.ecoriva-field--consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--ink-muted);
  font-weight: 400;
}
.ecoriva-field--consent input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.ecoriva-field--consent a {
  color: var(--brand-700);
  text-decoration: underline;
}
.ecoriva-enquiry__submit {
  margin-top: 1.5rem;
}
.ecoriva-enquiry__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ecoriva-enquiry__success {
  padding: 1.5rem;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-card);
  background: var(--brand-50);
  color: var(--brand-900);
}
.ecoriva-enquiry__success h3 {
  margin-bottom: 0.375rem;
  font-size: 1.125rem;
}
.ecoriva-enquiry__errors {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--accent-100);
  border-radius: var(--radius-card);
  background: var(--accent-50);
  color: var(--accent-700);
  font-size: 0.875rem;
}
.ecoriva-enquiry__errors ul {
  margin-top: 0.375rem;
  padding-left: 1.25rem;
}

.notice-placeholder {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-card);
  background: var(--amber-50);
  color: var(--amber-900);
  font-size: 0.875rem;
}
.notice-placeholder .icon {
  margin-top: 0.1rem;
}

.prose {
  max-width: 46rem;
  color: var(--ink);
  line-height: 1.75;
}
.prose > * + * {
  margin-top: 1rem;
}
.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.625rem;
}
.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.125rem;
}
.prose ul,
.prose ol {
  padding-left: 1.25rem;
}
.prose li + li {
  margin-top: 0.375rem;
}
.prose a {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose img {
  border-radius: var(--radius-card);
}
.prose blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--brand-300);
  color: var(--ink-muted);
}
.prose .wp-block-woocommerce-product-collection,
.prose .alignwide {
  max-width: none;
}
.content-page .prose,
.article .prose {
  font-size: 1.0625rem;
}
.article__meta {
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
  color: var(--ink-subtle);
  font-size: 0.875rem;
}
.article__image {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.article,
.content-page {
  max-width: 46rem;
}
.commerce-page {
  max-width: none;
}

.post-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 64rem) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
}
.post-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-100);
  color: var(--ink-subtle);
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
}
.post-card__meta {
  color: var(--ink-subtle);
  font-size: 0.75rem;
}
.post-card__title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
}
.post-card__title a:hover {
  color: var(--brand-700);
}
.post-card__excerpt {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.status-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 4rem;
  text-align: center;
}
.status-page__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
}
.status-page__title {
  margin-top: 1.25rem;
  font-size: 1.875rem;
}
.status-page__body {
  max-width: 28rem;
  margin-top: 0.75rem;
  color: var(--ink-muted);
}
.status-page__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.status-page__search {
  max-width: 28rem;
  margin-top: 2rem;
}
@media (min-width: 40rem) {
  .status-page {
    padding-block: 6rem;
  }
  .status-page__title {
    font-size: 2.25rem;
  }
  .status-page__actions {
    flex-direction: row;
  }
}

/* 15. Utilities ------------------------------------------------------------------------------ */
.alignleft {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
}
.aligncenter {
  margin-inline: auto;
}
.wp-caption-text,
figcaption {
  margin-top: 0.5rem;
  color: var(--ink-subtle);
  font-size: 0.8125rem;
}

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