/* Organic Soul storefront layout: top bar, hero carousel, arch categories, product grid.
   Loaded after soul.css on every public page. No gradients, no sale styling. */

/* ── Top bar ─────────────────────────────────────────── */
.top-strip { background: var(--emerald); color: #EDE5D1; font-size: .8rem; letter-spacing: .04em; }
.top-strip-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 36px; }
.top-strip a { color: #EDE5D1; text-decoration: none; }
.top-strip a:hover { color: #fff; text-decoration: underline; }
.top-social { display: flex; gap: 4px; }
.top-social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; }
.top-social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.top-social svg { width: 16px; height: 16px; }
.top-msg { margin: 0; text-align: center; font: 500 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #F3EBD7; }
.top-account { display: flex; justify-content: flex-end; gap: 18px; }
@media (max-width: 760px) {
  .top-strip-row { grid-template-columns: 1fr; }
  .top-social, .top-account { display: none; }
  .top-msg { font-size: .66rem; letter-spacing: .1em; padding: 7px 0; }
}

/* ── Hero carousel ───────────────────────────────────── */
.sh-hero { position: relative; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.sh-slide { display: none; position: relative; }
.sh-slide.is-active { display: block; animation: sh-fade .7s ease; }
@keyframes sh-fade { from { opacity: .35; } to { opacity: 1; } }
.sh-media { display: block; }
.sh-media img { width: 100%; height: auto; display: block; }
.sh-copy { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.sh-copy-inner { max-width: 520px; pointer-events: auto; }
.sh-copy--center .sh-copy-inner { margin: 0 auto; text-align: center; }
.sh-copy--right .sh-copy-inner { margin-left: auto; text-align: right; }
.sh-copy--light .sh-title, .sh-copy--light .sh-sub { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.sh-copy--dark .sh-title { color: var(--emerald); }
.sh-copy--dark .sh-sub { color: var(--ink); }
.sh-title { font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: 1.02; margin: 0 0 .25em; }
.sh-sub { font-size: clamp(1rem, 1.6vw, 1.25rem); margin: 0 0 1.4rem; }
.sh-slide--brand { background: var(--emerald); }
.sh-slide--points { background: var(--ivory-2); }
.sh-brand { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; min-height: clamp(420px, 36vw, 560px); padding: 48px 0; }
.sh-slide--brand .sh-title { color: #fff; }
.sh-slide--brand .eyebrow { color: var(--gold-soft); }
.sh-since { font: italic 500 1.5rem/1 var(--serif); color: var(--gold-soft); margin: 0 0 1.8rem; }
.sh-logo { width: min(300px, 70%); justify-self: center; }
.sh-points { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.sh-points li { font: 600 1.35rem/1.25 var(--serif); color: var(--emerald); padding-left: 18px; position: relative; }
.sh-points li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.sh-numeral { font: 600 clamp(6rem, 16vw, 12rem)/1 var(--serif); color: var(--gold); justify-self: center; margin: 0; }
.sh-nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(176,141,87,.7);
  background: rgba(251,248,240,.85); color: var(--emerald); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: .85;
  transition: background .25s, color .25s, opacity .25s, transform .25s; }
.sh-nav svg { width: 22px; height: 22px; }
.sh-prev { left: 22px; }
.sh-next { right: 22px; }
.sh-hero:hover .sh-nav { opacity: 1; }
.sh-nav:hover { background: var(--emerald); color: #fff; transform: translateY(-50%) scale(1.06); }
.sh-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.sh-dots button { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sh-dots button::before { content: ''; width: 9px; height: 9px; border: 1px solid var(--gold); background: rgba(251,248,240,.9); transform: rotate(45deg); transition: background .2s; }
.sh-dots button[aria-selected="true"]::before { background: var(--gold); }
.sh-hero[data-count="1"] .sh-nav, .sh-hero[data-count="1"] .sh-dots { display: none; }
@media (max-width: 760px) {
  .sh-nav { width: 36px; height: 36px; opacity: 1; }
  .sh-nav svg { width: 16px; height: 16px; }
  .sh-prev { left: 8px; } .sh-next { right: 8px; }
  .sh-brand { grid-template-columns: 1fr; text-align: center; min-height: 0; padding: 36px 0 60px; gap: 18px; }
  .sh-logo { width: 140px; order: -1; }
  .sh-numeral { display: none; }
  .sh-points { grid-template-columns: 1fr; justify-items: center; }
  /* On phones the banner text sits under the photograph so it stays readable. */
  .sh-copy { position: static; padding: 22px 0 46px; background: var(--paper); }
  .sh-copy--light .sh-title, .sh-copy--light .sh-sub { color: var(--ink); text-shadow: none; }
  .sh-copy--light .sh-title { color: var(--emerald); }
  .sh-copy-inner { margin: 0 auto; text-align: center; }
}

/* ── Section headings ────────────────────────────────── */
.sec-head { text-align: center; margin: 0 auto 40px; max-width: 720px; }
.sec-head h2 { margin: 0; }
.sec-head p { color: var(--ink-2); margin: 10px 0 0; }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 500 .74rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--royal); margin-bottom: 14px; }
.sec-eyebrow::before, .sec-eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--gold); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; gap: 16px; flex-wrap: wrap; }
.sec-head--row .sec-eyebrow::before { display: none; }
.actions-inline { display: flex; gap: 8px; }
.chip-link { font: 500 .8rem var(--sans); color: var(--emerald); background: var(--ivory-2); border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.chip-link:hover { background: var(--emerald); color: #fff; }

/* ── Shop by oil: arch cards ─────────────────────────── */
.arch-cat { padding: clamp(48px, 7vw, 88px) 0 16px; }
.arch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.arch-card { display: block; text-align: center; text-decoration: none; color: inherit; transition: transform .35s ease; }
.arch-frame { position: relative; display: block; aspect-ratio: 2/3; border-radius: 160px 160px 14px 14px; overflow: hidden; background: var(--wash, var(--ivory-2)); border: 1px solid rgba(176,141,87,.35); }
.arch-frame::after { content: ''; position: absolute; inset: 8px; border-radius: 152px 152px 9px 9px; border: 1px solid var(--thread, var(--gold)); opacity: 0; transition: opacity .35s; pointer-events: none; }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.arch-frame img.arch-logo { object-fit: contain; padding: 22% 18%; }
@media (hover: hover) {
  .arch-card:hover { transform: translateY(-5px); }
  .arch-card:hover .arch-frame::after { opacity: .9; }
  .arch-card:hover .arch-frame img:not(.arch-logo) { transform: scale(1.04); }
}
.arch-name { display: block; margin-top: 14px; font: 600 1.3rem/1.2 var(--serif); color: var(--emerald); }
.arch-sub { display: block; margin-top: 4px; font: 500 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.wash-ivory { --wash: #EFE6D2; --thread: #B08D57; }
.wash-emerald { --wash: #DCE8E1; --thread: #0B4A3A; }
.wash-royal { --wash: #DFE3EE; --thread: #1C2B5A; }
.wash-gold { --wash: #F1E6CF; --thread: #B08D57; }
.wash-cherry { --wash: #F1DFE1; --thread: #9E1B32; }
@media (max-width: 1000px) { .arch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .arch-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; }
  .arch-card { flex: 0 0 42%; scroll-snap-align: start; }
}

/* ── Product grid & card ─────────────────────────────── */
.pgrid-sec { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 22px; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }
.pcard { display: flex; flex-direction: column; text-align: center; }
.pcard-media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ivory-2); border: 1px solid var(--line); }
.pcard-media > a { display: block; width: 100%; height: 100%; }
.pcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .8s ease; }
.pcard-img--hover { opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard-img--hover { opacity: 1; }
  .pcard:hover .pcard-img { transform: scale(1.03); }
}
.pcard-noimg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.pcard-noimg img { width: 46%; height: auto; }
.pcard-noimg small { font-size: .72rem; color: var(--royal); letter-spacing: .08em; }
.pcard-packs { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pcard-packs span { background: rgba(11,74,58,.9); color: #fff; font: 500 .68rem/1 var(--sans); letter-spacing: .08em; padding: 5px 8px; }
.pcard-flag { position: absolute; right: 10px; top: 10px; background: var(--paper); color: var(--cherry); border: 1px solid var(--cherry); font: 500 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; }
.pcard-flag--royal { color: var(--royal); border-color: var(--royal); }
.pcard-body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-eyebrow { font: 500 .68rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.pcard-name { margin: 2px 0; font-size: 1.35rem; line-height: 1.2; }
.pcard-name a { color: var(--emerald); text-decoration: none; }
.pcard-name a:hover { color: var(--cherry); }
.pcard-price { font: 500 1.05rem var(--sans); color: var(--ink); min-height: 1.6em; }
.pcard-pack { color: var(--ink-2); font-size: .85rem; font-weight: 400; }
.pcard form, .pcard-body > .pcard-btn { margin-top: auto; }
.pcard-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid var(--cherry); background: var(--cherry); color: #fff;
  font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.pcard-btn:hover { background: var(--cherry-2); color: #fff; }
.pcard-btn--ghost { background: transparent; color: var(--emerald); border-color: var(--emerald); }
.pcard-btn--ghost:hover { background: var(--emerald); color: #fff; }
.pcard-btn--off { background: transparent; color: var(--ink-2); border-color: var(--line); cursor: default; }
.pcard-btn--off:hover { background: transparent; color: var(--ink-2); }
.pcard-btn[aria-busy="true"] { opacity: .7; }
@media (max-width: 680px) {
  .pcard-name { font-size: 1.12rem; }
  .pcard-btn { min-height: 40px; font-size: .7rem; letter-spacing: .1em; }
}

/* ── Promo banner ────────────────────────────────────── */
.promo-banner { background: var(--ivory-2); }
.promo-media { display: block; max-width: 1900px; margin: 0 auto; }
.promo-media img { width: 100%; height: auto; display: block; }

/* ── Trust strip ─────────────────────────────────────── */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; padding: 34px 16px 40px; background: var(--paper); border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 12px; font: 500 .92rem var(--sans); color: var(--ink); }
.trust-item svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #E3EEE8; color: var(--emerald); }
.trust-item a { color: inherit; }

/* ── Add-to-bag toast ────────────────────────────────── */
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 90; background: var(--emerald); color: #fff; padding: 14px 18px; max-width: 360px; box-shadow: 0 8px 28px rgba(0,0,0,.18); display: flex; gap: 14px; align-items: center; }
.toast[hidden] { display: none; }
.toast a { color: #fff; font-weight: 500; white-space: nowrap; }
.toast--error { background: var(--cherry); }

@media (prefers-reduced-motion: reduce) {
  .sh-slide.is-active { animation: none; }
  .arch-card, .arch-frame img, .pcard-img { transition: none; }
}
