/* Auro Ritual — original storefront system. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper, #f5f1e8);
  color: var(--ink, #252b20);
  font-family: var(--body-font, Arial, sans-serif);
  font-weight: var(--body-font-weight, 400);
  font-style: var(--body-font-style, normal);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.footer-title {
  font-family: var(--heading-font, Georgia, serif);
  font-weight: var(--heading-font-weight, 400);
  font-style: var(--heading-font-style, normal);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h1,
.hero-title {
  font-size: clamp(2.7rem, 5.7vw, 6rem);
}
h2 {
  font-size: clamp(2rem, 4.2vw, 4.4rem);
}
h3 {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
img,
svg,
video,
model-viewer,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
input,
select,
textarea {
  padding: 0.75rem;
  max-width: 100%;
}
button {
  padding: 0.75rem 1rem;
}
textarea {
  width: 100%;
  min-height: 120px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ink, currentColor);
  outline-offset: 5px;
}
.wrap {
  width: min(100% - 96px, 1500px);
  margin-inline: auto;
}
.section-space {
  padding-block: 88px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.prose {
  display: block;
  min-width: 0;
  max-width: min(100%, 48ch);
}
.prose p + p,
.prose ul,
.prose ol {
  margin-top: 1rem;
}
.prose h2,
.prose h3 {
  margin-block: 1.5rem 0.75rem;
}
.prose img {
  height: auto;
}
.prose table {
  display: block;
  max-width: 100%;
  overflow: auto;
  border-collapse: collapse;
  margin-block: 24px;
}
.prose caption {
  text-align: start;
  margin-bottom: 12px;
  font-weight: 600;
}
.prose th,
.prose td {
  padding: 12px;
  border: 1px solid var(--border, currentColor);
  text-align: start;
  vertical-align: top;
}
.prose pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--border, currentColor);
}
.rich-text-scroll {
  max-width: 100%;
  overflow: auto;
  margin-block: 24px;
}
.rich-text-scroll:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
.rich-text-scroll > table {
  display: table;
  margin: 0;
}
.rich-text-scroll > pre {
  white-space: pre;
  overflow-wrap: normal;
  max-width: none;
  width: max-content;
  min-width: 100%;
  margin: 0;
}
blockquote {
  border-inline-start: 2px solid currentColor;
  padding-inline-start: 1rem;
}
.announcement {
  background: var(--accent);
  color: var(--accent-text);
  text-align: center;
  padding: 7px 20px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 88px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  position: relative;
  z-index: 3;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--heading-font, Georgia, serif);
  text-decoration: none;
  font-size: 1.4rem;
  letter-spacing: -0.06em;
  line-height: 1.1;
  max-width: 260px;
}
.wordmark img {
  max-width: 180px;
}
.desktop-navigation,
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.8rem;
}
.header-actions {
  flex-shrink: 0;
}
.header-actions > a,
.header-actions summary {
  white-space: nowrap;
}
.header-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.mobile-navigation > summary,
.mobile-navigation nav a {
  min-height: 44px;
  padding-block: 12px;
}
.desktop-navigation > a,
.desktop-navigation > details > summary {
  min-height: 44px;
  padding-block: 12px;
}
.site-header a {
  text-decoration: none;
}
.site-header a:hover {
  text-decoration: underline;
}
.nav-dropdown {
  position: absolute;
  background: var(--paper);
  padding: 20px;
  border: 1px solid currentColor;
  min-width: 200px;
  display: grid;
  gap: 10px;
}
.nav-child {
  padding-inline-start: 1rem;
}
.nav-grandchild {
  padding-inline-start: 2rem;
}
.bag-count {
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  min-width: 23px;
  min-height: 23px;
  margin-inline-start: 5px;
}
.mobile-navigation {
  display: none;
}
.ritual-hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 60px;
  padding-block: 48px 56px;
  align-items: center;
}
.hero-copy {
  padding-block: 24px;
}
.hero-copy .prose {
  margin-top: 26px;
  font-size: 0.94rem;
  max-width: 34ch;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 16px 25px;
  min-height: 48px;
  font-size: 0.8rem;
}
.hero-copy .button {
  margin-top: 32px;
}
.hero-footnote {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 0.68rem;
  margin-top: 42px;
}
.small-orbit {
  font-size: 2rem;
}
.hero-media {
  aspect-ratio: 4/4.6;
  position: relative;
  background: #dfd9cc;
  overflow: hidden;
}
.hero-media > img,
.hero-media > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-caption {
  position: absolute;
  inset: auto 16px 16px;
  background: var(--paper);
  padding: 10px 16px;
  font-size: 0.67rem;
  width: fit-content;
}
.placeholder {
  width: 100%;
  height: 100%;
  fill: #9b9e8e;
  background: #e7e3d7;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading h2 {
  max-width: 15ch;
}
.section-heading > .prose {
  max-width: 30ch;
  font-size: 0.9rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.8rem;
  white-space: normal;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.card-image {
  aspect-ratio: 4/5;
  display: block;
  background: #e9e5d9;
  position: relative;
  overflow: hidden;
}
.card-image img,
.card-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card .eyebrow {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 0.62rem;
}
.card-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.card-title {
  flex-wrap: wrap;
}
.card-title h3 {
  flex: 1 1 12ch;
  min-width: 0;
}
.price-amount {
  display: inline-block;
  max-width: 100%;
}
.card-title a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.price {
  white-space: normal;
  font-size: 0.82rem;
}
.price s {
  opacity: 0.7;
  margin-inline-end: 5px;
}
.price small {
  display: block;
}
.tasting-notes {
  font-size: 0.75rem;
  margin-top: 5px;
}
.product-badge {
  position: absolute;
  inset: 12px auto auto 12px;
  background: var(--paper);
  padding: 5px 10px;
  font-size: 0.68rem;
}
.origin-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-block: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
}
.origin-photo {
  aspect-ratio: 1/1.1;
  background: #deded0;
}
.origin-photo > img,
.origin-photo > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.origin-copy .prose {
  margin-block: 28px;
  font-size: 0.9rem;
}
.origin-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid currentColor;
  margin-block: 30px;
}
.origin-facts > div {
  padding-block: 20px;
}
dt {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
dd {
  margin: 5px 0 0;
  font-size: 0.9rem;
}
.brew-method {
  border-top: 1px solid currentColor;
}
.brew-method:last-child {
  border-bottom: 1px solid currentColor;
}
.brew-method summary {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
  padding-block: 24px;
  font-size: 1.3rem;
}
.brew-method summary::-webkit-details-marker {
  display: none;
}
.brew-method summary > span:last-child {
  margin-inline-start: auto;
}
.method-number {
  font-size: 0.7rem;
}
.brew-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 0 0 32px 43px;
}
.brew-content dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}
.brew-content .prose {
  font-size: 0.85rem;
}
.site-footer {
  padding-block: 60px 25px;
  border-top: 1px solid currentColor;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-title {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 12ch;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: start;
  font-size: 0.8rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.7rem;
}
.localization {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
.localization-field {
  display: grid;
  gap: 8px;
  flex: 1 1 180px;
  min-width: 0;
  max-width: 100%;
}
.localization label {
  font-size: 0.8rem;
}
.localization select,
.localization button {
  min-height: 44px;
  font-size: 1rem;
  padding: 10px;
}
.localization select {
  width: 100%;
  min-width: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  background: var(--paper);
  padding: 12px;
  z-index: 50;
}
.skip-link:focus {
  transform: translateY(0);
}
.page-heading {
  margin-bottom: 35px;
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding-top: 48px;
}
.product-gallery {
  display: grid;
  gap: 20px;
}
.product-gallery > * {
  width: 100%;
}
.product-gallery img {
  width: 100%;
  height: auto;
}
.product-info {
  align-self: start;
}
.product-info h1 {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  text-wrap: balance;
}
.product-info .price {
  display: block;
  margin-block: 14px;
  font-size: 1.1rem;
}
.product-info label,
.contact-form label {
  display: block;
  margin-block: 20px 8px;
}
.product-info select {
  width: 100%;
}
.product-info .button {
  width: 100%;
  margin-block: 24px 16px;
}
.product-info > div + div {
  margin-top: 16px;
}
.product-info .variant-options fieldset {
  margin-block: 16px;
}
.product-info .prose {
  margin-top: 24px;
}
.product-info small {
  font-size: 0.75rem;
}
.cart-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 110px;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid currentColor;
}
.cart-row img {
  width: 100%;
}
.cart-row input {
  width: 90px;
}
.cart-summary {
  margin: 40px 0 0 auto;
  max-width: 420px;
  display: grid;
  gap: 18px;
}
.cart-summary label {
  display: block;
}
.empty-state {
  padding-block: 60px;
}
.empty-state p {
  margin-bottom: 24px;
}
.search-form {
  display: flex;
  gap: 10px;
  margin-block: 30px;
}
.search-form input {
  flex: 1;
  min-width: 0;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
}
.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 35px;
  gap: 20px;
}
.contact-form {
  max-width: 650px;
}
.contact-form input {
  width: 100%;
}
.contact-form .button {
  margin-top: 20px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.article-grid h2 {
  font-size: 1.7rem;
  margin-block: 20px;
}
.narrow {
  max-width: 800px;
}
.form-errors {
  padding: 16px;
  border: 1px solid currentColor;
}
.password-page {
  min-height: 80vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 20px;
  padding: 30px;
}
.password-content {
  width: min(100%, 600px);
  min-width: 0;
}
.password-content .prose {
  margin-block: 24px;
}
.password-form {
  display: grid;
  gap: 16px;
  width: min(100%, 440px);
  margin: 32px auto 0;
  text-align: start;
}
.password-form input {
  width: 100%;
  min-width: 0;
}
.password-form .button {
  justify-content: center;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .desktop-navigation {
    gap: 14px;
  }
  .header-actions {
    gap: 12px;
  }
  .ritual-hero {
    gap: 35px;
  }
  .origin-story {
    gap: 45px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 16px;
  }
  .desktop-navigation {
    display: none;
  }
  .mobile-navigation {
    display: block;
    width: 100%;
    font-size: 0.8rem;
  }
  .mobile-navigation nav {
    display: grid;
    gap: 4px;
    padding-block: 16px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 85px;
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 18px;
  }
  .wordmark {
    max-width: 44%;
    font-size: 1.2rem;
  }
  .header-actions {
    font-size: 0.8rem;
  }
  .ritual-hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 32px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy .hero-title {
    max-width: 12ch;
  }
  /* Keep the first photograph close to the mobile introduction. */
  .hero-copy .prose {
    margin-top: 18px;
  }
  .hero-copy .button {
    margin-top: 20px;
  }
  .hero-footnote {
    margin-top: 16px;
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .hero-footnote .small-orbit {
    flex: 0 0 auto;
    font-size: 1.5rem;
    line-height: 1;
  }
  .hero-media {
    aspect-ratio: 1/1.05;
  }
  .section-space {
    padding-block: 50px;
  }
  .section-heading {
    gap: 20px;
    align-items: start;
    flex-direction: column;
  }
  .section-heading h2 {
    max-width: 16ch;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 14px;
  }
  .card-title {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .card-title h3 {
    flex-basis: auto;
  }
  /* A tasting selection reads as a list on phones. Image and price stay together
     without an orphaned third tile; catalog/search grids keep their own layout. */
  .tasting-collection .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .tasting-collection .product-card {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 18px;
    align-content: start;
  }
  .tasting-collection .card-image {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
  }
  .tasting-collection .product-card > .eyebrow {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 4px;
  }
  .tasting-collection .card-title {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }
  .tasting-collection .tasting-notes {
    grid-column: 2;
    grid-row: 3;
    margin-top: 8px;
  }
  .origin-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .brew-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-inline-start: 0;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }
  .footer-top nav {
    gap: 20px;
  }
  .footer-top {
    margin-bottom: 35px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 32px;
  }
  .cart-row {
    grid-template-columns: 65px 1fr;
    gap: 15px;
  }
  .cart-row > div:last-child {
    grid-column: 2;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .collection-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .collection-toolbar select {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.visually-hidden {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  white-space: nowrap;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.variant-options fieldset {
  border: 0;
  padding: 0;
  margin: 24px 0;
}
.variant-options legend {
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.option-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  min-height: 44px;
  padding: 9px 14px;
  text-decoration: none;
  font-size: 0.8rem;
}
.option-value.is-selected {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.option-value.is-unavailable {
  text-decoration: line-through;
}
.option-swatch {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  object-fit: cover;
}
.filter-list {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.filter-group {
  border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  padding: 12px 16px;
  min-width: 180px;
}
.filter-group summary {
  font-size: 0.85rem;
  min-height: 24px;
}
.filter-options {
  padding-top: 16px;
  max-width: 340px;
}
.filter-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 0.8rem;
}
.filter-choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}
.price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.75rem;
}
.price-range input {
  width: 100%;
  margin-top: 8px;
}
.active-filters {
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}
.active-filters a {
  display: block;
  padding: 8px 12px;
  border: 1px solid currentColor;
  font-size: 0.75rem;
}
.active-filters:empty {
  display: none;
}
.pickup-details {
  padding-block: 20px;
  border-block: 1px solid currentColor;
  margin-block: 24px;
  font-size: 0.8rem;
}
.pickup-details ul {
  list-style: none;
  padding: 0;
}
.pickup-details li + li {
  margin-top: 20px;
}
ritual-recommendations {
  display: block;
  min-height: 1px;
}
.gift-card-page {
  max-width: 700px;
  text-align: center;
}
.gift-card-page > * + * {
  margin-top: 24px;
}
.gift-card-page h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}
.gift-card-value {
  padding: clamp(20px, 5vw, 45px);
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 7vw, 3rem);
}
.gift-card-page label {
  display: block;
}
.gift-card-page input {
  width: 100%;
  text-align: center;
  font-size: clamp(0.9rem, 4vw, 1.3rem);
  letter-spacing: 0.05em;
}
.gift-card-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .filter-list {
    display: grid;
    grid-template-columns: 1fr;
  }
  .filter-options {
    max-width: none;
  }
}
@media print {
  .gift-card-actions,
  .gift-card-page > .button {
    display: none;
  }
  .gift-card-page {
    padding: 0;
  }
  .gift-card-value {
    border: 1px solid currentColor;
    background: white;
    color: black;
  }
}
ritual-search {
  display: block;
  position: relative;
}
.header-search-panel {
  position: absolute;
  inset: calc(100% - 1px) 0 auto;
  background: var(--paper);
  border: 1px solid currentColor;
  padding: 20px 28px;
  box-shadow: 0 12px 20px #0001;
}
.header-search-panel .search-form {
  margin: 0;
}
.search-suggestions {
  border: 1px solid currentColor;
  padding: 24px;
  margin-block: 12px 24px;
  background: var(--paper);
}
.search-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.search-suggestions li a {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  text-decoration: none;
}
.search-suggestions a:hover {
  text-decoration: underline;
}
.search-suggestions img {
  width: 50px;
  height: 60px;
  object-fit: cover;
}
.search-result-price {
  display: block;
  font-size: 0.75rem;
}
.header-search summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
@media (max-width: 800px) {
  .header-search-panel {
    padding: 18px;
  }
  .search-form button {
    padding-inline: 12px;
  }
}
.gift-card-qr {
  display: grid;
  place-items: center;
  padding: 16px;
  background: white;
  width: 192px;
  margin-inline: auto;
}
.collection-page {
  padding-top: 48px;
}
.collection-intro {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
}
.collection-intro--with-image {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.48fr);
  align-items: center;
}
.collection-intro__copy {
  min-width: 0;
}
.collection-intro h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.06;
  max-width: 20ch;
  margin: 0;
  overflow-wrap: anywhere;
}
.collection-intro .prose {
  display: block;
  max-width: 54ch;
  margin-top: 22px;
}
.collection-image {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 280px;
}
.collection-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
@media (max-width: 800px) {
  .collection-page {
    padding-top: 32px;
  }
  .collection-intro--with-image {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .collection-image {
    height: 180px;
  }
  .collection-intro h1 {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }
}
ritual-recipient {
  display: block;
  margin-top: 24px;
}
ritual-recipient fieldset {
  padding: 0;
  border: 0;
}
ritual-recipient input:not([type="checkbox"]) {
  width: 100%;
}
ritual-recipient .filter-choice {
  margin: 0;
}
ritual-recipient p {
  font-size: 0.75rem;
  margin-top: 12px;
}
.article-comments > .contact-form {
  margin-top: 32px;
}
.article-comments > .contact-form > h3 {
  margin-bottom: 16px;
}
.article-comment {
  border-bottom: 1px solid currentColor;
  padding-block: 24px;
}
.purchase-options {
  margin: 24px 0;
  padding: 0;
  border: 0;
}
.purchase-options legend {
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.product-info .purchase-choice {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  padding: 14px;
  margin: 8px 0;
  min-height: 52px;
  font-size: 0.85rem;
}
.purchase-choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.purchase-choice strong {
  display: block;
  font-weight: 500;
}
.purchase-plan-details {
  font-size: 0.8rem;
  padding: 14px;
  border-inline-start: 2px solid var(--accent);
  margin-block: 12px;
}
.purchase-plan-details .prose {
  margin: 0 0 12px;
}
.purchase-plan-name {
  font-size: 0.8rem;
}
.product-media {
  position: relative;
}
.product-media > a {
  display: block;
  position: relative;
}
.zoom-hint {
  position: absolute;
  inset: auto 16px 16px auto;
  background: var(--paper);
  padding: 8px 12px;
  font-size: 0.7rem;
}
.image-dialog {
  border: 0;
  padding: 56px 18px 18px;
  background: var(--paper);
  color: var(--ink);
  max-width: 95vw;
  max-height: 94dvh;
}
.image-dialog::backdrop {
  background: #000b;
}
.image-dialog [data-close-zoom] {
  position: absolute;
  inset: 8px 8px auto auto;
  min-height: 40px;
}
.image-dialog img {
  width: auto;
  height: auto;
  max-width: 85vw;
  max-height: 78dvh;
  object-fit: contain;
}
.media-play {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
}
.media-play img {
  width: 100%;
  height: auto;
}
.media-play span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 24px;
  white-space: nowrap;
}
.external-media-player {
  aspect-ratio: 16/9;
}
.external-media-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.product-media model-viewer {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* Native section color schemes also apply to overlays and form controls. */
select option {
  background: var(--paper);
  color: var(--ink);
}
.filter-group,
.purchase-choice {
  border-color: var(--border, currentColor);
}
.card-image,
.hero-media,
.origin-photo {
  background: color-mix(in srgb, var(--paper) 90%, var(--ink));
}
.placeholder {
  background: var(--paper);
  fill: color-mix(in srgb, var(--ink) 40%, var(--paper));
}

ritual-models {
  display: none;
}
[data-shopify-xr-hidden] {
  display: none !important;
}
.product-media [data-shopify-xr] {
  margin-top: 12px;
}

.follow-on-shop {
  margin-block: 24px;
}

.product-info h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.product-info h2 a {
  text-decoration: none;
}
/* Hosted video dimensions must not overflow the single-column mobile gallery. */
.product-media video {
  display: block;
  width: 100%;
  height: auto;
}
.product-media ritual-external-media {
  display: block;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.newsletter h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  max-width: 18ch;
}
.newsletter .prose {
  margin-top: 20px;
}
.newsletter-form label {
  display: block;
  margin-bottom: 8px;
}
.newsletter-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.newsletter-fields input {
  flex: 1 1 200px;
  width: 100%;
  min-width: 0;
}
.newsletter-fields .button {
  flex: 0 0 auto;
  max-width: 100%;
}
.newsletter-consent {
  font-size: 0.75rem;
  margin-top: 16px;
  max-width: 60ch;
}
.newsletter-form .form-errors,
.newsletter-form [role="status"] {
  margin-bottom: 20px;
}
.featured-media summary {
  padding-block: 16px;
  min-height: 48px;
}
.featured-media-items {
  display: grid;
  gap: 20px;
}
ritual-cart {
  display: block;
}
.cart-row label {
  display: block;
  max-width: 24ch;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
[data-cart-unsaved] {
  font-size: 0.85rem;
}
@media (max-width: 800px) {
  .newsletter {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .newsletter-fields {
    flex-wrap: wrap;
  }
  .newsletter-fields .button {
    width: 100%;
    justify-content: center;
  }
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border, currentColor);
  border-radius: 50%;
}
.social-links a:hover {
  background: var(--accent);
  color: var(--accent-text);
}
.prose h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.prose h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.prose h3 {
  font-size: 1.5rem;
}
.prose h4 {
  font-size: 1.25rem;
}
.prose h5 {
  font-size: 1.125rem;
}
.prose h6 {
  font-size: 1rem;
  font-weight: 700;
}
.prose h4,
.prose h5,
.prose h6 {
  margin-block: 1.5rem 0.75rem;
}
.desktop-navigation a,
.footer-top nav a,
.nav-dropdown a,
.pagination a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Discovery states remain native links/forms and work without JavaScript. */
.discovery-summary { margin-block: 24px; font-size: 0.9rem; }
.discovery-empty { grid-column: 1 / -1; padding-block: 24px; }
.discovery-empty .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }
.search-heading { margin-bottom: 24px; }
.filter-choice input, .filter-swatch, .filter-image { flex-shrink: 0; }
.filter-swatch { width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; object-fit: cover; }
.filter-image { width: 40px; height: 40px; object-fit: cover; border: 1px solid currentColor; }
.clear-filters { display: inline-flex; align-items: center; min-height: 44px; }
.search-content-card { min-width: 0; }
.search-content-card .eyebrow { margin-block: 16px 8px; }
.search-content-title { font-size: clamp(1.3rem, 2vw, 1.8rem); margin-bottom: 12px; }
.search-content-card > p:last-child { font-size: 0.9rem; }

.facet-sort { display: flex; align-items: center; gap: 12px; min-width: 0; }
.facet-sort select { min-width: 0; max-width: 100%; }
.collection-toolbar .clear-filters { margin-inline-start: auto; }
@media (max-width: 800px) {
  .facet-sort { display: grid; width: 100%; }
  .collection-toolbar .clear-filters { margin-inline-start: 0; }
}

/* Progressive model controls retain the product poster until initialization succeeds. */
ritual-model-viewer { display:block; }
ritual-model-viewer [hidden] { display:none !important; }
ritual-model-viewer [data-load-model] { margin-top:12px; white-space:normal; }
ritual-model-viewer .model-status { font-size:.85rem; line-height:1.6; }
ritual-model-viewer .model-status:empty { display:none; }
ritual-model-viewer .shopify-model-viewer-ui { display:block; width:100%; }

/* Style Shopify's light-DOM unbranded fallback only. Branded/closed-shadow
   wallet internals remain Shopify-owned; their supported host properties are
   documented separately by Shopify. */
.shopify-product-form .shopify-payment-button__button--unbranded,
.shopify-product-form .shopify-payment-button__button--unbranded:hover:not([disabled]) {
  background-color: var(--accent, #4d5738);
  color: var(--accent-text, #fff);
  border: 1px solid var(--accent, #4d5738);
}

/* Optional tasting information is distinct from pricing and purchase controls. */
.tasting-profile{border-block:1px solid var(--line,currentColor);padding-block:20px;margin-block:24px}
.product-info .tasting-profile__heading{font:inherit;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.13em;margin:0 0 16px;text-wrap:wrap}
.tasting-profile dl{margin:0;display:grid;gap:12px}
.tasting-profile__row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:12px 24px;align-items:baseline}
.tasting-profile dt{font-size:.75rem;line-height:1.65}
.tasting-profile dd{margin:0;font-size:.85rem;line-height:1.65;overflow-wrap:anywhere}
@media(max-width:380px){.tasting-profile__row{grid-template-columns:1fr;gap:2px}.tasting-profile dl{gap:14px}}

/* Keep quantity and its action together; plans and payment controls stay full width. */
.product-purchase-row {
  display: grid;
  grid-template-columns: minmax(80px, 0.28fr) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-block: 24px 16px;
}
.product-purchase-row .product-quantity { min-width: 0; }
.product-info .product-quantity label { margin: 0 0 8px; overflow-wrap: anywhere; }
.product-quantity input { width: 100%; min-width: 0; min-height: 54px; }
.product-info .product-purchase-row > .button {
  margin: 0;
  min-height: 54px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gallery-navigation { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-navigation button { min-width: 44px; min-height: 44px; padding: 8px 12px; }
.gallery-navigation button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Keep image choices and purchase details steady across mixed photo proportions. */
.product-gallery[data-gallery-enhanced] { align-content: start; }
.product-gallery[data-gallery-enhanced] > .product-media > [data-zoom-image] {
  aspect-ratio: 1;
  max-height: 70vh;
  max-height: 70svh;
}
.product-gallery[data-gallery-enhanced] > .product-media > [data-zoom-image] > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
