body.theme-botanical-apothecary {
  --ink: #211a16;
  --text: #463f3a;
  --muted: #776b63;
  --paper: #fffaf2;
  --cream: #f7eddd;
  --mist: #e7f0ec;
  --sage: #294d3e;
  --sage-2: #5d7963;
  --berry: #7c3d50;
  --clay: #b96f4c;
  --gold: #b78a3b;
  --blue: #577b82;
  --line: rgba(33, 26, 22, 0.14);
  --shadow: 0 22px 56px rgba(50, 36, 28, 0.14);
  --soft-shadow: 0 12px 28px rgba(50, 36, 28, 0.1);
  --radius: 8px;
  --max: 1180px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98) 0%, rgba(241, 232, 219, 0.94) 48%, rgba(231, 240, 236, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(41, 77, 62, 0.04) 0 1px, transparent 1px 76px);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

.theme-botanical-apothecary * {
  box-sizing: border-box;
}

.theme-botanical-apothecary.no-scroll,
.theme-botanical-apothecary body.no-scroll {
  overflow: hidden;
}

.theme-botanical-apothecary a {
  color: inherit;
}

.theme-botanical-apothecary button,
.theme-botanical-apothecary input,
.theme-botanical-apothecary textarea {
  font: inherit;
}

.theme-botanical-apothecary button {
  cursor: pointer;
}

.theme-botanical-apothecary input,
.theme-botanical-apothecary textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  outline: 0;
  padding: 0.85rem 0.95rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.theme-botanical-apothecary textarea {
  resize: vertical;
}

.theme-botanical-apothecary input:focus,
.theme-botanical-apothecary textarea:focus {
  border-color: rgba(41, 77, 62, 0.68);
  box-shadow: 0 0 0 4px rgba(93, 121, 99, 0.16);
}

.theme-botanical-apothecary h1,
.theme-botanical-apothecary h2,
.theme-botanical-apothecary h3,
.theme-botanical-apothecary .brand strong,
.theme-botanical-apothecary .store-footer strong {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.theme-botanical-apothecary h1 {
  max-width: 13.5ch;
  font-size: clamp(2.85rem, 6.2vw, 4.95rem);
  line-height: 0.96;
}

.theme-botanical-apothecary h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1;
}

.theme-botanical-apothecary h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.06;
}

.theme-botanical-apothecary p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.store-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.shop-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(33, 26, 22, 0.1);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(18px);
}

.header-row {
  display: grid;
  min-height: 88px;
  align-items: center;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.78rem;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(41, 77, 62, 0.34);
  border-radius: 50%;
  background: #f3ead8;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
}

.brand-mark::before {
  width: 18px;
  height: 26px;
  border: 2px solid var(--sage);
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.brand-mark::after {
  width: 9px;
  height: 15px;
  transform: translate(8px, -8px) rotate(38deg);
  border-radius: 10px 0 10px 0;
  background: var(--sage-2);
}

.brand strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.shop-header .site-nav a:last-child {
  min-height: auto;
  justify-content: flex-start;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
}

.shop-header .site-nav a:last-child:hover,
.shop-header .site-nav a:last-child:focus-visible {
  color: var(--ink);
}

.cart-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
  border: 1px solid rgba(41, 77, 62, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--sage);
  padding: 0.5rem 0.65rem 0.5rem 0.9rem;
  box-shadow: var(--soft-shadow);
  font-weight: 800;
}

.cart-icon,
.mini-cart-icon {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.cart-icon::before,
.mini-cart-icon::before {
  position: absolute;
  top: -8px;
  left: 3px;
  width: 7px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.mini-cart-icon {
  width: 14px;
  height: 12px;
}

.mini-cart-icon::before {
  top: -7px;
  left: 2px;
  width: 7px;
  height: 7px;
}

.cart-count {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #211a16;
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(41, 77, 62, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--sage);
  padding: 0.65rem 0.9rem;
  font-weight: 800;
}

.theme-botanical-apothecary .mobile-contact-bar {
  display: none;
}

.hero {
  min-height: calc(100vh - 88px);
  padding: clamp(2.25rem, 5vw, 4.6rem) 0 clamp(1.8rem, 4vw, 3rem);
}

.hero-grid {
  display: grid;
  min-height: min(660px, calc(100vh - 150px));
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
}

.hero-copy {
  padding: 1rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-lead {
  max-width: 33rem;
  margin-top: 1.4rem;
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.button-row,
.featured-actions,
.product-actions,
.detail-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem;
}

.button-row {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.72rem 1.18rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.icon-button:hover,
.icon-button:focus-visible,
.slider-arrow:hover,
.slider-arrow:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--sage);
  color: #fffaf2;
}

.button.secondary {
  border-color: rgba(41, 77, 62, 0.28);
  background: rgba(255, 253, 248, 0.62);
  color: var(--ink);
}

.button.in-cart {
  border-color: rgba(124, 61, 80, 0.32);
  background: #fbebef;
  color: var(--berry);
}

.button.wide {
  min-width: 9rem;
}

.button.full-width {
  width: 100%;
}

.promise-row {
  display: grid;
  max-width: 38rem;
  margin-top: 2.2rem;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promise-row article {
  min-width: 0;
  text-align: center;
}

.promise-row strong {
  display: block;
  margin: 0.45rem 0 0.16rem;
  font-size: 0.86rem;
}

.promise-row small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.promise-icon {
  position: relative;
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: var(--gold);
}

.leaf-icon::before,
.leaf-icon::after {
  position: absolute;
  content: "";
}

.leaf-icon::before {
  width: 2px;
  height: 1.9rem;
  transform: rotate(28deg);
  background: currentColor;
}

.leaf-icon::after {
  width: 1.1rem;
  height: 1.7rem;
  transform: translate(0.38rem, -0.2rem) rotate(38deg);
  border: 2px solid currentColor;
  border-radius: 100% 0 100% 0;
}

.shield-icon::before {
  width: 1.55rem;
  height: 1.8rem;
  border: 2px solid currentColor;
  border-radius: 0 0 0.7rem 0.7rem;
  clip-path: polygon(50% 0, 100% 18%, 100% 68%, 50% 100%, 0 68%, 0 18%);
  content: "";
}

.shield-icon::after {
  position: absolute;
  width: 0.72rem;
  height: 0.38rem;
  transform: rotate(-45deg);
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
}

.gift-icon::before {
  width: 1.65rem;
  height: 1.35rem;
  border: 2px solid currentColor;
  border-radius: 3px;
  content: "";
}

.gift-icon::after {
  position: absolute;
  width: 2px;
  height: 1.85rem;
  background: currentColor;
  box-shadow: 0.46rem -0.47rem 0 -1px transparent;
  content: "";
}

.featured-panel {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(41, 77, 62, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(231, 240, 236, 0.96) 0%, rgba(244, 236, 223, 0.92) 58%, rgba(255, 250, 242, 0.86) 100%);
  box-shadow: var(--shadow);
  overflow: visible;
}

.featured-card {
  display: grid;
  min-height: 520px;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  grid-template-columns: minmax(260px, 0.95fr) minmax(250px, 0.76fr);
  padding: clamp(1.4rem, 3vw, 3rem);
}

.featured-art {
  display: grid;
  min-height: 420px;
  place-items: center;
}

.featured-copy {
  min-width: 0;
}

.tag,
.product-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #fffaf2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.32rem 0.55rem;
  text-transform: uppercase;
}

.featured-copy h3 {
  margin-top: 1.1rem;
}

.featured-short {
  margin-top: 0.95rem;
}

.featured-price {
  margin: 1.4rem 0 1rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  box-shadow: var(--soft-shadow);
}

.slider-prev {
  left: -1.5rem;
}

.slider-next {
  right: -1.5rem;
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: -1.8rem;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0.72rem;
}

.slider-dots button {
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.slider-dots button[aria-current="true"] {
  background: var(--gold);
}

.ritual-strip {
  background: rgba(255, 253, 248, 0.78);
  border-block: 1px solid rgba(33, 26, 22, 0.08);
}

.strip-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.3rem 0;
}

.strip-grid article {
  border-left: 2px solid rgba(183, 138, 59, 0.42);
  padding-left: 1rem;
}

.strip-grid strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.strip-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-heading,
.center-heading {
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.split-heading {
  display: grid;
  align-items: end;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.5fr);
}

.center-heading {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.center-heading .eyebrow {
  justify-content: center;
}

.ritual-section {
  background: transparent;
}

.ritual-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.ritual-tile {
  position: relative;
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(41, 77, 62, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(33, 26, 22, 0.05), rgba(33, 26, 22, 0.26)),
    linear-gradient(135deg, #e3c0ad 0%, #7c3d50 50%, #294d3e 100%);
  color: #fffaf2;
  padding: clamp(1.3rem, 3vw, 2rem);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}

.ritual-tile:nth-child(2) {
  background:
    linear-gradient(150deg, rgba(33, 26, 22, 0.06), rgba(33, 26, 22, 0.3)),
    linear-gradient(135deg, #e7b44d 0%, #b96f4c 48%, #577b82 100%);
}

.ritual-tile:nth-child(3) {
  background:
    linear-gradient(150deg, rgba(33, 26, 22, 0.04), rgba(33, 26, 22, 0.28)),
    linear-gradient(135deg, #c9d9c8 0%, #5d7963 48%, #294d3e 100%);
}

.ritual-tile::before {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(255, 250, 242, 0.46);
  border-radius: 50% 0 50% 0;
  content: "";
}

.ritual-tile span {
  position: relative;
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ritual-tile strong {
  position: relative;
  display: block;
  max-width: 13rem;
  margin-top: 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 0.98;
}

.tile-large strong {
  max-width: 18rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.shop-section {
  background: rgba(255, 253, 248, 0.72);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.72rem;
  margin-bottom: 1.6rem;
}

.filter-bar button {
  min-height: 2.35rem;
  border: 1px solid rgba(41, 77, 62, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--text);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.filter-bar button[aria-pressed="true"] {
  background: var(--sage);
  color: #fffaf2;
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(41, 77, 62, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 26px rgba(50, 36, 28, 0.08);
  overflow: hidden;
}

.product-badge {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(124, 61, 80, 0.92);
}

.product-media {
  display: grid;
  min-height: 15rem;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(231, 240, 236, 0.8), rgba(247, 237, 221, 0.62)),
    repeating-linear-gradient(90deg, rgba(41, 77, 62, 0.04) 0 1px, transparent 1px 28px);
}

.product-copy {
  flex: 1;
  padding: 1rem 1rem 0.8rem;
}

.product-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin-top: 0.4rem;
  font-size: 1.32rem;
}

.product-copy p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.product-copy strong {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink);
}

.product-actions {
  justify-content: space-between;
  padding: 0 1rem 1rem;
}

.product-actions .button {
  flex: 1;
}

.icon-button {
  display: inline-grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid rgba(41, 77, 62, 0.18);
  border-radius: 6px;
  background: rgba(255, 250, 242, 0.88);
  color: var(--ink);
}

.eye-icon {
  position: relative;
  width: 1.24rem;
  height: 0.8rem;
  border: 2px solid currentColor;
  border-radius: 80% 0;
  transform: rotate(45deg);
}

.eye-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.32rem;
  height: 0.32rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(231, 240, 236, 0.85), rgba(255, 250, 242, 0.84)),
    repeating-linear-gradient(0deg, rgba(33, 26, 22, 0.035) 0 1px, transparent 1px 68px);
}

.contact-grid {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
}

.contact-copy {
  padding-top: 0.7rem;
}

.contact-copy p:not(.eyebrow) {
  max-width: 31rem;
  margin-top: 1rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.social-row a {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgba(41, 77, 62, 0.2);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.7);
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label,
.checkout-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-message,
.form-success,
.newsletter-success,
#footer-signup-message {
  min-height: 1.4rem;
  color: var(--sage);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-message.error {
  color: var(--berry);
}

.store-footer {
  background: var(--sage);
  color: #fffaf2;
  padding: 2.2rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.35fr 0.7fr 0.7fr 1.1fr;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.store-footer .brand-mark {
  background: rgba(255, 250, 242, 0.1);
  border-color: rgba(255, 250, 242, 0.34);
}

.store-footer .brand-mark::before {
  border-color: #fffaf2;
}

.store-footer .brand-mark::after {
  background: #d8c280;
}

.store-footer strong {
  display: block;
  color: #fffaf2;
  font-size: 1.2rem;
}

.store-footer p,
.store-footer a,
.store-footer small,
.footer-signup label {
  color: rgba(255, 250, 242, 0.82);
}

.store-footer nav {
  display: grid;
  gap: 0.42rem;
}

.store-footer a {
  text-decoration: none;
}

.footer-signup {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-signup > div {
  display: grid;
  grid-template-columns: 1fr 3rem;
}

.footer-signup input {
  border-radius: 6px 0 0 6px;
}

.footer-signup button {
  border: 0;
  border-radius: 0 6px 6px 0;
  background: #fffaf2;
  color: var(--sage);
  font-weight: 900;
}

.store-footer > small {
  display: block;
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.5rem auto 0;
  text-align: center;
}

.product-art {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 13rem;
  place-items: center;
  isolation: isolate;
}

.product-art.large {
  min-height: 24rem;
}

.product-art.mini {
  width: 4.8rem;
  min-width: 4.8rem;
  min-height: 4.8rem;
}

.art-shadow {
  position: absolute;
  z-index: -1;
  bottom: 12%;
  width: 54%;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(33, 26, 22, 0.18);
  filter: blur(8px);
}

.art-object {
  position: relative;
  display: grid;
  width: 7.2rem;
  height: 9.4rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 22, 0.18);
  background: linear-gradient(150deg, var(--art-start), var(--art-end));
  box-shadow: 0 18px 34px rgba(33, 26, 22, 0.2);
}

.large .art-object {
  width: min(70%, 16rem);
  height: 20rem;
}

.mini .art-object {
  width: 3.1rem;
  height: 3.8rem;
  box-shadow: 0 8px 16px rgba(33, 26, 22, 0.18);
}

.art-label {
  position: relative;
  z-index: 2;
  color: #fffaf2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.large .art-label {
  font-size: 2rem;
}

.mini .art-label {
  font-size: 0.54rem;
}

.art-object::before,
.art-object::after {
  position: absolute;
  content: "";
}

.art-object::before {
  top: 11%;
  right: 17%;
  width: 2.2rem;
  height: 3rem;
  border: 1px solid rgba(255, 250, 242, 0.58);
  border-radius: 100% 0;
  transform: rotate(36deg);
}

.art-object::after {
  right: 20%;
  bottom: 12%;
  left: 20%;
  height: 1px;
  background: rgba(255, 250, 242, 0.46);
}

.art-sprig {
  position: absolute;
  right: 26%;
  bottom: 28%;
  width: 2px;
  height: 3.4rem;
  transform: rotate(28deg);
  background: rgba(255, 250, 242, 0.52);
}

.art-sprig::before,
.art-sprig::after {
  position: absolute;
  width: 1.1rem;
  height: 0.62rem;
  border-radius: 100% 0;
  background: rgba(255, 250, 242, 0.46);
  content: "";
}

.art-sprig::before {
  top: 0.6rem;
  right: 0.08rem;
  transform: rotate(-36deg);
}

.art-sprig::after {
  top: 1.8rem;
  left: 0.08rem;
  transform: rotate(150deg);
}

.candle .art-object {
  height: 8rem;
  border-radius: 0.36rem 0.36rem 0.9rem 0.9rem;
}

.large.candle .art-object {
  height: 15.5rem;
}

.candle .art-object::before {
  top: -2.2rem;
  left: 50%;
  width: 0.22rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #2d2118;
}

.jar .art-object {
  height: 8.5rem;
  border-radius: 1.1rem 1.1rem 0.5rem 0.5rem;
}

.large.jar .art-object {
  height: 16rem;
}

.jar .art-object::before {
  top: -0.3rem;
  left: 20%;
  width: 60%;
  height: 1.4rem;
  border: 1px solid rgba(33, 26, 22, 0.16);
  border-radius: 0.3rem;
  transform: none;
  background: rgba(255, 250, 242, 0.72);
}

.bottle .art-object,
.spray .art-object {
  width: 5.3rem;
  border-radius: 1.9rem 1.9rem 0.55rem 0.55rem;
}

.large.bottle .art-object,
.large.spray .art-object {
  width: min(54%, 11rem);
}

.bottle .art-object::before,
.spray .art-object::before {
  top: -2.2rem;
  left: 50%;
  width: 1.55rem;
  height: 2.5rem;
  border: 1px solid rgba(33, 26, 22, 0.18);
  border-radius: 0.28rem 0.28rem 0 0;
  transform: translateX(-50%);
  background: rgba(255, 250, 242, 0.78);
}

.spray .art-object::before {
  width: 2.3rem;
  border-radius: 0.2rem;
}

.pouch .art-object {
  border-radius: 0.4rem 0.4rem 1.1rem 1.1rem;
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
}

.soap .art-object {
  height: 6.1rem;
  border-radius: 1.2rem;
}

.large.soap .art-object {
  height: 11rem;
}

.bundle .art-object {
  width: 9.5rem;
  height: 8rem;
  border-radius: 0.5rem;
}

.large.bundle .art-object {
  width: min(72%, 17.5rem);
  height: 14rem;
}

.bundle .art-object::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  border: 0;
  border-radius: 0;
  transform: none;
  background: rgba(255, 250, 242, 0.5);
}

.bundle .art-object::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: auto;
  background: rgba(255, 250, 242, 0.5);
}

.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(33, 26, 22, 0.42);
  backdrop-filter: blur(6px);
}

.product-modal {
  position: fixed;
  z-index: 60;
  top: 50%;
  left: 50%;
  width: min(920px, calc(100% - 2rem));
  max-height: min(760px, calc(100vh - 2rem));
  transform: translate(-50%, -50%);
  overflow: auto;
  border: 1px solid rgba(41, 77, 62, 0.16);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(280px, 1fr);
}

.detail-media {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7f0ec, #f3e4d4);
  padding: 1.5rem;
}

.detail-copy {
  padding: clamp(1.4rem, 4vw, 2.8rem);
}

.detail-copy h2 {
  margin-top: 1rem;
}

.detail-copy p {
  margin-top: 1rem;
}

.detail-copy ul {
  display: grid;
  gap: 0.62rem;
  margin: 1.3rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.detail-copy li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
}

.detail-copy li::before {
  position: absolute;
  top: 0.68rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.detail-footer {
  justify-content: space-between;
}

.detail-footer > strong {
  font-size: 1.4rem;
}

.close-button {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  right: 0.8rem;
}

.cart-drawer {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  display: flex;
  width: min(420px, 100%);
  height: 100vh;
  flex-direction: column;
  background: var(--paper);
  box-shadow: -20px 0 50px rgba(33, 26, 22, 0.18);
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem;
}

.drawer-header .eyebrow {
  margin-bottom: 0.38rem;
}

.cart-view,
.checkout-view {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.cart-items {
  display: grid;
  gap: 0.85rem;
  max-height: 50vh;
  overflow: auto;
  padding-right: 0.3rem;
}

.cart-item {
  display: grid;
  align-items: center;
  gap: 0.7rem;
  grid-template-columns: auto 1fr auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--berry);
  padding: 0;
  font-weight: 800;
  text-align: left;
}

.cart-summary,
.checkout-summary {
  display: grid;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 0.9rem;
}

.cart-summary div,
.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

.checkout-form {
  display: grid;
  gap: 0.85rem;
}

.empty-cart {
  border: 1px dashed rgba(41, 77, 62, 0.28);
  border-radius: var(--radius);
  background: rgba(231, 240, 236, 0.52);
  padding: 1rem;
}

.newsletter-popup {
  position: fixed;
  z-index: 40;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: min(330px, calc(100% - 2rem));
  gap: 0.75rem;
  transform: translateY(calc(100% + 2rem));
  border: 1px solid rgba(41, 77, 62, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(241, 232, 219, 0.98)),
    repeating-linear-gradient(45deg, rgba(41, 77, 62, 0.04) 0 1px, transparent 1px 24px);
  box-shadow: var(--shadow);
  opacity: 0;
  padding: 1.7rem;
  text-align: center;
  transition: transform 240ms ease, opacity 240ms ease;
}

.newsletter-popup.visible {
  transform: translateY(0);
  opacity: 1;
}

.newsletter-popup.dismissed {
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
}

.newsletter-popup strong {
  color: var(--sage);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.8rem;
  line-height: 0.78;
}

.newsletter-popup h2 {
  font-size: 1.65rem;
}

.newsletter-popup form {
  display: grid;
  gap: 0.7rem;
}

.newsletter-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-grid,
  .featured-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .featured-card {
    min-height: auto;
  }

  .featured-art {
    min-height: 300px;
  }

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

@media (max-width: 860px) {
  .header-row {
    min-height: 74px;
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: 0.8rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem;
  }

  .site-nav a::after {
    display: none;
  }

  .theme-botanical-apothecary .mobile-contact-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--sage);
  }

  .theme-botanical-apothecary .mobile-contact-bar a {
    color: #fffaf2;
    text-align: center;
  }

  .promise-row,
  .strip-grid,
  .split-heading,
  .ritual-grid,
  .contact-grid,
  .footer-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .ritual-tile {
    min-height: 14rem;
  }

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

  .footer-brand {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .store-shell {
    width: min(100% - 1rem, var(--max));
  }

  .brand strong {
    font-size: 1.18rem;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .cart-button span:nth-child(2) {
    display: none;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .featured-card {
    padding: 1rem;
  }

  .slider-prev {
    left: 0.75rem;
  }

  .slider-next {
    right: 0.75rem;
  }

  .product-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 13rem;
  }

  .promise-row {
    text-align: left;
  }

  .promise-row article {
    display: grid;
    align-items: center;
    column-gap: 0.75rem;
    grid-template-columns: auto 1fr;
    text-align: left;
  }

  .promise-row small {
    grid-column: 2;
  }
}
