/*
 Theme Name:   Storefront Child
 Theme URI:    https://yourah.com/
 Description:  Child theme for Storefront — Yourah storefront ("Find Your Aura").
 Author:       Yourah
 Author URI:   https://yourah.com/
 Template:     storefront
 Version:      1.0.0
 Text Domain:  storefront-child
*/

/* =Add your custom styles below this line
-------------------------------------------------------------- */

/* Brand tokens — source of truth: branding/brandbook.md */
:root {
  /* Palette */
  --charcoal: #26232a; /* primary — text, header/footer, primary buttons */
  --gold: #c9a24b; /* accent — lines, tagline, stars, foil. Never a fill. */
  --peach: #eac7a6; /* petal */
  --mauve-rose: #a9707e; /* petal — secondary buttons, links, active states */
  --rose: #c98a93;
  --blush-rose: #e8b4b8;
  --blush: #f7e7e9; /* section backgrounds, card hover */
  --cream: #fbf6f1; /* page background */
  --white: #ffffff;

  /* Supporting shades (from the design prototype) */
  --charcoal-2: #3a3540; /* charcoal hover */
  --mauve-dark: #95596a; /* mauve hover */
  --peach-light: #f3d9be; /* soft peach tile */
  --ink-3: #8a8590; /* placeholder / tertiary text */
  --border-strong: #e6dbd2; /* input borders */
  --border-warm: #ead9cb; /* drawer dividers, tab bar edge */
  --cream-muted: #e6ddd5; /* secondary text on charcoal */

  /* Semantic */
  --background: var(--cream);
  --foreground: var(--charcoal);
  --card: var(--white);
  --primary: var(--charcoal);
  --primary-foreground: var(--cream);
  --secondary: var(--mauve-rose);
  --secondary-foreground: var(--white);
  --muted: var(--blush);
  --muted-foreground: #6b6470;
  --border: #ece3dc;

  /* Type */
  --font-display: "Italiana", "Cormorant Garamond", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Jost", system-ui, sans-serif;

  /* Shape */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow: 0 6px 18px color-mix(in srgb, var(--charcoal) 7%, transparent);
  --shadow-lg: 0 18px 40px color-mix(in srgb, var(--charcoal) 12%, transparent);

  /* Layout */
  --gutter: clamp(16px, 2.3vw, 32px);
  --hdr-vis: 112px; /* visible sticky header height; kept in sync by header.js */
  --yr-announce-h: 36px; /* desktop announcement bar; 0 when the bar is empty */
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-ui);
}

/* ==========================================================================
   Header, drawers, mini cart, tab bar, footer
   Source: designs/assets/css/style.css. Markup: header.php, footer.php,
   template-parts/header/*, template-parts/footer/*.
   ========================================================================== */

/* ─── shared ─── */
html.yr-lock {
  overflow: hidden;
}
/* Storefront's overflow-x:hidden on body/.site creates a scroll container that breaks
   the sticky header; clip still prevents sideways scrolling without doing that. */
body,
.site {
  overflow-x: clip;
}

.yr-header,
.yr-overlay,
.yr-tabbar,
.yr-footer,
.yr-toast {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
:where(.yr-header, .yr-overlay, .yr-tabbar, .yr-footer) :where(button, input) {
  font: inherit;
  color: inherit;
}
:where(.yr-header, .yr-overlay, .yr-tabbar, .yr-footer) img {
  max-width: 100%;
  display: block;
}
:where(.yr-header, .yr-overlay, .yr-tabbar, .yr-footer, .yr-toast)
  :focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.yr-ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  font-variation-settings:
    "FILL" 0,
    "wght" 400;
  -webkit-font-smoothing: antialiased;
}
.yr-ms--fill {
  font-variation-settings:
    "FILL" 1,
    "wght" 400;
}

@media (max-width: 819.98px) {
  .yr-only-d {
    display: none !important;
  }
}
@media (min-width: 820px) {
  .yr-only-m {
    display: none !important;
  }
}

.yr-wrap {
  max-width: 1312px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.yr-muted {
  color: var(--muted-foreground);
}
.yr-sm {
  font-size: 12.5px;
}
.yr-strong {
  font-weight: 600;
}
.yr-grow {
  flex: 1;
  min-width: 0;
}
.yr-serif {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
}
.yr-display-sm {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
}
.yr-row-between {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* buttons (anchors and <button>; :hover rules also beat Storefront's button:hover) */
.yr-btn {
  height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.yr-btn--block {
  display: flex;
  width: 100%;
}
.yr-btn--dark,
.yr-btn--dark:visited {
  background: var(--charcoal);
  color: var(--cream);
}
.yr-btn--dark:hover,
.yr-btn--dark:focus {
  background: var(--charcoal-2);
  color: var(--cream);
}

.yr-icon-btn,
.yr-icon-btn:hover,
.yr-icon-btn:focus {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--charcoal);
  position: relative;
  text-decoration: none;
  flex: none;
  box-shadow: none;
}
.yr-icon-btn .yr-ms {
  font-size: 26px;
}
.yr-icon-btn--sm,
.yr-icon-btn--sm:focus {
  width: 36px;
  height: 36px;
  color: var(--ink-3);
}
.yr-icon-btn--sm .yr-ms {
  font-size: 20px;
}
.yr-icon-btn:hover,
.yr-icon-btn--sm:hover {
  color: var(--secondary);
}

.yr-badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-pill);
  background: var(--secondary);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.yr-badge[hidden] {
  display: none;
}

/* ─── header ─── */
.yr-header {
  position: sticky;
  top: 0;
  z-index: 40;
}
@media (min-width: 820px) {
  .yr-header {
    top: calc(-1 * var(--yr-announce-h));
  }
}
@media screen and (min-width: 783px) {
  body.admin-bar .yr-header {
    top: calc(32px - var(--yr-announce-h));
  }
}
@media screen and (min-width: 783px) and (max-width: 819.98px) {
  body.admin-bar .yr-header {
    top: 32px;
  }
}

.yr-hdr-m {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 6px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yr-hdr-m__row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}
.yr-logo-m {
  display: flex;
  justify-content: center;
}
.yr-logo-m__img {
  height: 40px;
  width: auto;
}

.yr-search {
  display: flex;
  align-items: center;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border-strong);
  padding: 0 4px 0 16px;
  gap: 8px;
  margin: 0;
  transition: border-color 0.2s;
}
.yr-search:focus-within {
  border-color: var(--secondary);
}
.yr-search input[type="search"],
.yr-search input[type="search"]:focus {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: auto;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  -webkit-appearance: none;
  appearance: none;
}
.yr-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.yr-search input::placeholder {
  color: var(--ink-3);
  opacity: 1;
}
.yr-search button,
.yr-search button:focus {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--secondary);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 6px;
  flex: none;
  font-weight: 400;
}
.yr-search button .yr-ms {
  font-size: 20px;
}
.yr-search button:hover {
  background: var(--mauve-dark);
  color: var(--cream);
  border: none;
}
.yr-search--d {
  flex: 1;
  min-width: 0;
  max-width: 680px;
  margin: 0 auto;
  height: 50px;
  padding: 0 5px 0 22px;
  gap: 10px;
}
.yr-search--d input[type="search"],
.yr-search--d input[type="search"]:focus {
  font-size: 15px;
}
.yr-search--d button,
.yr-search--d button:focus,
.yr-search--d button:hover {
  width: auto;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.yr-announce {
  background: var(--charcoal);
  color: var(--cream);
  font-size: 12.5px;
}
.yr-announce__in {
  height: var(--yr-announce-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.yr-announce__spacer {
  width: 90px;
}
.yr-announce__link,
.yr-announce__link:visited {
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 400;
  width: 90px;
  text-align: right;
  text-decoration: none;
}
.yr-announce__link:hover {
  color: var(--blush-rose);
}

.yr-hdr-d {
  background: var(--cream);
}
.yr-hdr-d__main {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding-top: 16px;
  padding-bottom: 16px;
}
.yr-logo {
  flex: none;
}
.yr-logo__img {
  height: 70px;
  width: auto;
}
.yr-hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.yr-hdr-link,
.yr-hdr-link:visited {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: var(--charcoal);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
}
.yr-hdr-link .yr-ms {
  font-size: 26px;
}
.yr-hdr-link small {
  display: block;
  font-size: 11px;
  color: var(--muted-foreground);
}
.yr-hdr-link:hover {
  background: var(--blush);
  color: var(--charcoal);
}
.yr-hdr-cart,
.yr-hdr-cart:visited {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-md);
  background: var(--charcoal);
  color: var(--cream);
  text-decoration: none;
  font-size: 13px;
}
.yr-hdr-cart:hover {
  background: var(--charcoal-2);
  color: var(--cream);
}
.yr-hdr-cart__ic {
  position: relative;
  display: flex;
}
.yr-hdr-cart__ic .yr-ms {
  font-size: 24px;
}
.yr-hdr-cart .yr-badge {
  top: -6px;
  right: -8px;
  background: var(--blush-rose);
  color: var(--charcoal);
  min-width: 17px;
  height: 17px;
}
.yr-hdr-cart__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  white-space: nowrap;
}
.yr-hdr-cart__txt small {
  font-size: 11px;
  opacity: 0.8;
}
@media (min-width: 820px) and (max-width: 1139.98px) {
  .yr-hdr-d__main {
    gap: 16px;
  }
  .yr-logo__img {
    height: 46px;
  }
  .yr-search--d button > span:last-child {
    display: none;
  }
  .yr-search--d button,
  .yr-search--d button:focus,
  .yr-search--d button:hover {
    padding: 0;
    width: 40px;
  }
  .yr-hdr-link {
    padding: 8px;
  }
  .yr-hdr-link > span:not(.yr-ms):not(.yr-badge) {
    display: none;
  }
  .yr-announce__spacer,
  .yr-announce__link {
    display: none;
  }
  .yr-announce__in {
    justify-content: center;
  }
}

/* category nav */
.yr-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--gold);
  background: var(--cream);
}
.yr-nav__in {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.yr-nav__in::-webkit-scrollbar {
  display: none;
}
.yr-nav__all,
.yr-nav__all:focus {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--charcoal);
  color: var(--cream);
  font-size: 13px;
  font-weight: 400;
  margin-right: 8px;
  border: none;
  flex: none;
}
.yr-nav__all .yr-ms {
  font-size: 19px;
}
.yr-nav__all:hover {
  background: var(--charcoal-2);
  color: var(--cream);
  border: none;
}
.yr-nav__item,
.yr-nav__item:visited {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--charcoal);
  border-bottom: 2px solid transparent;
  flex: none;
}
.yr-nav__item--gift,
.yr-nav__item--gift:visited {
  color: var(--secondary);
}
.yr-nav__item:hover,
.yr-nav__item--active,
.yr-nav__item--active:visited {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

/* ─── overlays: drawer + mini cart ─── */
.yr-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990; /* above Storefront's sticky elements and the admin bar */
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.3s;
}
.yr-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
.yr-scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--charcoal) 45%, transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.yr-overlay.is-open .yr-scrim {
  opacity: 1;
}
.yr-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.yr-panel--left {
  left: 0;
  width: 86%;
  max-width: 340px;
  transform: translateX(-100%);
  overflow-y: auto;
  box-shadow: 8px 0 30px color-mix(in srgb, var(--charcoal) 12%, transparent);
}
.yr-panel--right {
  right: 0;
  width: 92%;
  max-width: 420px;
  transform: translateX(100%);
  box-shadow: -8px 0 30px color-mix(in srgb, var(--charcoal) 12%, transparent);
}
.yr-overlay.is-open .yr-panel {
  transform: none;
}
.yr-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px 14px 20px;
  border-bottom: 1px solid var(--gold);
  flex: none;
}
.yr-panel__logo {
  height: 38px;
  width: auto;
}
.yr-panel__label {
  padding: 16px 20px 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.yr-drawer-list {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}
.yr-drawer-link,
.yr-drawer-link:visited {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  color: var(--charcoal);
  text-decoration: none;
  font-size: 15px;
  text-align: left;
  width: 100%;
}
.yr-drawer-link:hover {
  background: var(--blush);
  color: var(--charcoal);
}
.yr-drawer-link__chev {
  font-size: 20px;
  color: var(--ink-3);
}
.yr-drawer-link__acc {
  color: var(--secondary);
}
.yr-dot-ic {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.yr-dot-ic .yr-ms {
  font-size: 18px;
}
.yr-dot-ic--peach {
  background: var(--peach-light);
}
.yr-dot-ic--blush {
  background: var(--blush);
}
.yr-drawer-div {
  height: 1px;
  background: var(--border-warm);
  margin: 12px 20px;
}
.yr-panel__foot {
  margin-top: auto;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border-warm);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 500;
}

/* mini cart */
.yr-minicart__inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.yr-minicart__head {
  padding: 16px 12px 16px 24px;
}
.yr-minicart__title {
  font-family: var(--font-display);
  font-size: 28px;
}
.yr-minicart__count {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--muted-foreground);
}
.yr-minicart__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.yr-minicart__list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}
.yr-minicart__item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.yr-minicart__item.is-loading {
  opacity: 0.4;
  pointer-events: none;
}
.yr-minicart__img {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--blush);
}
.yr-minicart__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yr-minicart__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.yr-minicart__name,
.yr-minicart__name:visited {
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--charcoal);
  text-decoration: none;
}
.yr-minicart__name:hover {
  color: var(--secondary);
}
.yr-minicart__foot {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  flex: none;
}
.yr-minicart__foot .yr-row-between {
  font-size: 15px;
}
.yr-minicart__foot b {
  font-weight: 700;
}
.yr-minicart__view,
.yr-minicart__view:visited {
  align-self: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
}
.yr-minicart__view:hover {
  color: var(--charcoal);
}
.yr-minicart__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px;
}
.yr-minicart__empty-ic {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-pill);
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}
.yr-minicart__empty-ic img {
  height: 44px;
  width: auto;
}

/* toast */
.yr-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 99995;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--charcoal);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  transition:
    opacity 0.25s,
    transform 0.25s;
  max-width: calc(100% - 32px);
}
.yr-toast:empty {
  display: none;
}
.yr-toast .yr-ms {
  font-size: 19px;
  color: var(--blush-rose);
}
.yr-toast.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 819.98px) {
  body.has-tabbar .yr-toast {
    bottom: 84px;
  }
}

/* ─── mobile tab bar ─── */
.yr-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: var(--white);
  border-top: 1px solid var(--border-warm);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(10px + env(safe-area-inset-bottom));
}
.yr-tab,
.yr-tab:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 48px;
  justify-content: center;
  text-decoration: none;
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.45;
}
.yr-tab .yr-ms {
  font-size: 25px;
  font-variation-settings:
    "FILL" 0,
    "wght" 300;
}
.yr-tab--on,
.yr-tab--on:visited {
  color: var(--secondary);
  font-weight: 500;
}
.yr-tab--on .yr-ms {
  font-variation-settings:
    "FILL" 1,
    "wght" 400;
}
.yr-tab:hover {
  color: var(--secondary);
}
.yr-tab__ic {
  position: relative;
  display: flex;
}
.yr-badge--tab {
  top: -4px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  border: 2px solid var(--white);
}
@media (max-width: 819.98px) {
  body.has-tabbar {
    padding-bottom: 68px;
  }
}

/* ─── footer ─── */
.yr-footer {
  background: var(--charcoal);
  color: var(--cream);
  border-top: 1px solid var(--gold);
}
.yr-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
}
.yr-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.yr-footer__logo {
  height: 70px;
  width: auto;
}
.yr-footer__brand p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
  color: var(--blush);
  max-width: 340px;
}
.yr-socials {
  display: flex;
  gap: 10px;
}
.yr-social,
.yr-social:visited {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--cream) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.yr-social:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.yr-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.yr-footer__head {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}
.yr-footer__link,
.yr-footer__link:visited {
  font-size: 14px;
  color: var(--cream-muted);
  text-decoration: none;
  line-height: 1.4;
}
.yr-footer__link:hover {
  color: var(--blush-rose);
}
.yr-footer__bar {
  border-top: 1px solid color-mix(in srgb, var(--cream) 12%, transparent);
}
.yr-footer__bar-in {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.yr-pays {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.yr-pay {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.yr-footer__copy {
  font-size: 12.5px;
  color: var(--cream-muted);
}
@media (max-width: 819.98px) {
  .yr-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding: 36px 20px 28px;
  }
  .yr-footer__brand {
    grid-column: 1 / -1;
  }
  .yr-footer__logo {
    height: 48px;
  }
  .yr-social {
    width: 44px;
    height: 44px;
  }
  .yr-footer__bar-in {
    padding: 20px 20px 32px;
  }
}

/* ==========================================================================
   Product card — template-parts/product/card.php (reusable)
   Source: designs/assets/css/style.css (.card, .ribbon, .wish, .price, .btn-add)
   ========================================================================== */
.yr-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  height: 100%;
  min-width: 0;
  font-family: var(--font-ui);
  line-height: 1.45;
  transition: box-shadow 0.2s;
}
.yr-card:hover {
  box-shadow: var(--shadow);
}
.yr-card :focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.yr-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--blush);
}
.yr-card__img {
  position: absolute;
  inset: 0;
  display: block;
}
.yr-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.45s;
}
.yr-card:hover .yr-card__img img {
  transform: scale(1.03);
}
.yr-card__ribbon {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--rose);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  pointer-events: none;
}
.yr-card__wish,
.yr-card__wish:hover,
.yr-card__wish:focus {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: none;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--charcoal);
  box-shadow: none;
  transition: color 0.2s;
}
.yr-card__wish .yr-ms {
  font-size: 19px;
}
.yr-card__wish:hover,
.yr-card__wish.is-on {
  color: var(--secondary);
}
.yr-card__wish.is-on .yr-ms {
  font-variation-settings: "FILL" 1;
}
.yr-card__title,
.yr-card__title:visited {
  font-size: 13px;
  line-height: 1.35;
  color: var(--charcoal);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}
.yr-card__title:hover {
  color: var(--secondary);
}
.yr-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}
.yr-price__off {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
}
.yr-price__old {
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: line-through;
}
.yr-price__now {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}
.yr-card__add,
.yr-card__add:visited,
.yr-card__add:focus {
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blush-rose);
  background: var(--blush);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 6px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    opacity 0.2s;
}
.yr-card__add .yr-ms {
  font-size: 17px;
}
.yr-card__add:hover,
.yr-card__add.is-added {
  background: var(--secondary);
  color: var(--cream);
  border-color: var(--secondary);
}
.yr-card__add.loading {
  opacity: 0.6;
  pointer-events: none;
}
.yr-card__add.is-disabled,
.yr-card__add.is-disabled:hover {
  background: var(--cream);
  border-color: var(--border);
  color: var(--ink-3);
}
/* WooCommerce appends a "View cart" link after AJAX add; the mini cart opens instead. */
.yr-card .added_to_cart {
  display: none;
}

/* ==========================================================================
   Homepage — template-pages/template-home.php, template-parts/home/*
   Source: designs/index.html › <main>, designs/assets/css/style.css (home)
   ========================================================================== */
/* Break out of Storefront's .col-full; sections use .yr-wrap like the header.
   (Shared with the product listing, .yr-shop-page.) */
.yr-home .site-content > .col-full,
.yr-shop-page .site-content > .col-full,
.yr-pdp-page .site-content > .col-full {
  max-width: none;
  margin: 0;
  padding: 0;
}
.yr-home .site-content > .col-full::before,
.yr-home .site-content > .col-full::after,
.yr-shop-page .site-content > .col-full::before,
.yr-shop-page .site-content > .col-full::after,
.yr-pdp-page .site-content > .col-full::before,
.yr-pdp-page .site-content > .col-full::after {
  display: none;
}
.yr-home-main,
.yr-shop-page__main,
.yr-pdp-page__main {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}
.yr-home-main :focus-visible,
.yr-shop-page__main :focus-visible,
.yr-pdp-page__main :focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* spacing */
.yr-sec {
  padding-top: clamp(32px, 3.9vw, 56px);
}
.yr-sec-sm {
  padding-top: clamp(20px, 2.8vw, 40px);
}
.yr-sec-md {
  padding-top: clamp(28px, 3.9vw, 56px);
}
.yr-page-end {
  height: clamp(40px, 4.5vw, 72px);
}

/* section header */
.yr-sec-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(14px, 1.7vw, 24px);
}
.yr-sec-head--wrap {
  flex-wrap: wrap;
  gap: 12px 16px;
}
.yr-sec-head h2,
.yr-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--charcoal);
  margin: 0;
  clear: none;
}
.yr-hair {
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  min-width: 24px;
}
.yr-view-all,
.yr-view-all:visited {
  font-size: 13px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.yr-view-all:hover {
  color: var(--charcoal);
}
.yr-view-all .yr-ms {
  font-size: 18px;
}
.yr-link-btn,
.yr-link-btn:visited {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
}
.yr-link-btn:hover {
  color: var(--charcoal);
}

/* grids */
.yr-grid-5 {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(max(150px, calc((100% - 64px) / 5 - 1px)), 1fr)
  );
  gap: clamp(10px, 1.1vw, 16px);
}
.yr-grid-4 {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(max(150px, calc((100% - 48px) / 4 - 1px)), 1fr)
  );
  gap: clamp(10px, 1.1vw, 16px);
}
.yr-row-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max(156px, calc((100% - 60px) / 6 - 1px));
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.yr-row-scroll::-webkit-scrollbar {
  display: none;
}
.yr-row-scroll > * {
  scroll-snap-align: start;
}
@media (max-width: 819.98px) {
  .yr-lim-6 > :nth-child(n + 7),
  .yr-lim-4 > :nth-child(n + 5) {
    display: none;
  }
}

/* hero */
.yr-hero-sec {
  padding-top: clamp(12px, 1.7vw, 24px);
}
.yr-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.yr-hero__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.yr-hero__slide {
  flex: 0 0 100%;
  height: clamp(190px, 29vw, 420px);
  background: var(--blush);
  display: block;
}
.yr-hero__slide picture {
  display: block;
  height: 100%;
}
/* As in the design, the banner fills the box without object-fit so its baked-in text is never cropped. */
.yr-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
}
.yr-hero__arrow,
.yr-hero__arrow:focus {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--charcoal) 12%, transparent);
  background: color-mix(in srgb, var(--white) 90%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  padding: 0;
  box-shadow: none;
}
.yr-hero__arrow:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: color-mix(in srgb, var(--charcoal) 12%, transparent);
}
.yr-hero__arrow--prev {
  left: 16px;
}
.yr-hero__arrow--next {
  right: 16px;
}
.yr-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 12px;
}
.yr-dot,
.yr-dot:hover,
.yr-dot:focus {
  width: 6px;
  height: 6px;
  min-height: 0;
  border-radius: var(--radius-pill);
  border: none;
  padding: 0;
  background: var(--blush-rose);
  box-shadow: none;
  transition:
    width 0.3s,
    background 0.3s;
}
.yr-dot.is-on {
  width: 24px;
  background: var(--secondary);
}

/* category circles */
.yr-cat-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max(78px, calc((100% - 112px) / 8 - 1px));
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.yr-cat-row::-webkit-scrollbar {
  display: none;
}
.yr-cat-circle,
.yr-cat-circle:visited,
.yr-cat-circle:hover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 12.5px;
  text-align: center;
  line-height: 1.25;
}
.yr-cat-circle__c {
  width: clamp(68px, 7vw, 104px);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  overflow: hidden;
  transition: background 0.2s;
}
.yr-cat-circle:hover .yr-cat-circle__c {
  background: var(--blush-rose);
}
.yr-cat-circle__c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.yr-cat-circle__c .yr-ms {
  font-size: clamp(28px, 2.6vw, 38px);
  font-variation-settings: "wght" 300;
}
.yr-tone--peach {
  background: var(--peach-light);
}
.yr-tone--blush {
  background: var(--blush);
}

/* flash deals */
.yr-flash {
  background: var(--blush);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2vw, 28px);
}
.yr-flash .yr-sec-head {
  margin-bottom: 16px;
}
.yr-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}
.yr-countdown__lbl {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-right: 2px;
}
.yr-cd {
  min-width: 34px;
  height: 32px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

/* gift finder */
.yr-gift-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: clamp(14px, 1.7vw, 24px);
}
.yr-gift-head .yr-serif {
  font-size: 19px;
  font-style: italic;
}
.yr-gift-tile,
.yr-gift-tile:visited {
  border-radius: var(--radius-lg);
  padding: clamp(16px, 1.7vw, 24px);
  min-height: clamp(128px, 11vw, 160px);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  color: var(--charcoal);
  transition: box-shadow 0.2s;
}
.yr-gift-tile:hover {
  box-shadow: 0 8px 22px color-mix(in srgb, var(--charcoal) 10%, transparent);
  color: var(--charcoal);
}
.yr-gift-tile .yr-ms {
  font-size: 28px;
  color: var(--secondary);
  font-variation-settings: "wght" 300;
}
.yr-gift-tile__t {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.1;
  display: block;
}
.yr-gift-tile__s {
  font-size: 12.5px;
  opacity: 0.9;
}
.yr-gift-tile--blush {
  background: var(--blush);
}
.yr-gift-tile--peach {
  background: var(--peach-light);
}
.yr-gift-tile--white {
  background: var(--white);
}
.yr-gift-tile--dark,
.yr-gift-tile--dark:visited,
.yr-gift-tile--dark:hover {
  background: var(--charcoal);
  color: var(--cream);
}
.yr-gift-tile--dark .yr-ms {
  color: var(--gold);
}

/* trust badges */
.yr-trust {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(max(150px, calc((100% - 72px) / 4 - 1px)), 1fr)
  );
  gap: clamp(14px, 1.7vw, 24px);
  padding: clamp(24px, 2.8vw, 40px) 0;
  border-top: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
}
.yr-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.yr-trust__ic {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}
.yr-trust__ic .yr-ms {
  font-size: 24px;
}
.yr-trust__item b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.yr-trust__s {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.35;
}

/* "Seen on you" */
.yr-ugc {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(max(100px, calc((100% - 40px) / 6 - 1px)), 1fr)
  );
  gap: 8px;
}
.yr-ugc__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--blush);
}
.yr-ugc__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.yr-ugc__item span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 10px;
  color: var(--white);
  text-shadow: 0 1px 3px color-mix(in srgb, var(--charcoal) 70%, transparent);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Product listing — woocommerce/archive-product.php, template-parts/shop/*
   Source: designs/category.html, designs/assets/css/style.css (category page)
   ========================================================================== */
.yr-btn--outline,
.yr-btn--outline:visited,
.yr-btn--outline:focus {
  height: 48px;
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.yr-btn--outline:hover {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}
.yr-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* breadcrumb */
.yr-crumbs {
  font-size: 12.5px;
  color: var(--muted-foreground);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.yr-crumbs a,
.yr-crumbs a:visited {
  color: var(--muted-foreground);
  text-decoration: none;
}
.yr-crumbs a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.yr-crumbs [aria-current] {
  color: var(--charcoal);
}

/* chips */
.yr-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.yr-chips::-webkit-scrollbar {
  display: none;
}
.yr-chip,
.yr-chip:visited {
  flex: none;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  font-size: 13.5px;
  text-decoration: none;
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--border-strong);
}
.yr-chip:hover {
  border-color: var(--secondary);
  color: var(--charcoal);
}
.yr-chip.is-on,
.yr-chip.is-on:visited {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}
.yr-chip--sm {
  height: 32px;
  padding: 0 12px;
  font-size: 12.5px;
}

/* title */
.yr-shop-top {
  padding-top: clamp(14px, 1.7vw, 24px);
}
.yr-shop-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 24px;
  margin-top: 10px;
}
.yr-shop-title h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 3.9vw, 56px);
  line-height: 1.05;
  letter-spacing: normal;
  color: var(--charcoal);
  margin: 0;
  clear: none;
}
.yr-shop-title p {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.4;
  flex: 1 1 280px;
  max-width: 560px;
}

/* mobile toolbar */
.yr-m-toolbar {
  position: sticky;
  top: var(--hdr-vis);
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  margin-top: 14px;
}
.yr-m-toolbar__in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 16px;
}
.yr-tb-btn,
.yr-tb-btn:visited,
.yr-tb-btn:hover {
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-size: 14px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.yr-tb-btn .yr-ms {
  font-size: 20px;
}
.yr-tb-btn--dark,
.yr-tb-btn--dark:hover {
  border-color: var(--charcoal);
}
.yr-tb-btn__count {
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--secondary);
  color: var(--cream);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* layout */
.yr-shop {
  padding-top: clamp(14px, 2.2vw, 32px);
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.yr-shop__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.yr-shop__main .woocommerce-notices-wrapper:empty {
  display: none;
}

/* filters */
.yr-filters-wrap {
  position: sticky;
  top: calc(var(--hdr-vis) + 16px);
  width: 272px;
  flex: none;
}
.yr-filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  margin: 0;
}
.yr-f-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 26px;
}
.yr-f-sec {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yr-f-sec:last-of-type {
  border-bottom: none;
}
.yr-f-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.yr-check,
.yr-check:visited {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
}
.yr-check:hover {
  color: var(--secondary);
}
.yr-check__cb {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid color-mix(in srgb, var(--charcoal) 22%, var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex: none;
}
.yr-check__cb .yr-ms {
  font-size: 16px;
}
.yr-check.is-on .yr-check__cb {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--cream);
}

/* dual range slider */
.yr-dual {
  position: relative;
  height: 20px;
}
.yr-dual__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--border);
}
.yr-dual__fill {
  position: absolute;
  top: 8px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--secondary);
}
.yr-dual input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.yr-dual input[type="range"]:focus {
  outline: none;
}
.yr-dual input::-webkit-slider-runnable-track {
  height: 20px;
  background: none;
}
.yr-dual input::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--secondary);
  cursor: pointer;
}
.yr-dual input::-moz-range-track {
  background: none;
}
.yr-dual input::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--secondary);
  cursor: pointer;
}
.yr-dual input:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.yr-dual input:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.yr-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.yr-price-inputs label {
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 0;
}
.yr-price-inputs label:focus-within {
  border-color: var(--secondary);
}
.yr-price-inputs input[type="number"],
.yr-price-inputs input[type="number"]:focus {
  border: none;
  outline: none;
  box-shadow: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  font-size: 14px;
  color: var(--charcoal);
  background: transparent;
}
.yr-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.yr-f-apply {
  height: 40px;
}
.yr-shop-js .yr-f-apply {
  display: none;
}
.yr-f-foot {
  display: none;
}

/* shop bar */
.yr-shop-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.yr-result-count {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-right: 8px;
}
.yr-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.yr-active-chip,
.yr-active-chip:visited {
  height: 32px;
  padding: 0 8px 0 12px;
  border-radius: var(--radius-pill);
  background: var(--blush);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--charcoal);
  text-decoration: none;
}
.yr-active-chip .yr-ms {
  font-size: 16px;
}
.yr-active-chip:hover {
  background: var(--blush-rose);
  color: var(--charcoal);
}

/* sort */
.yr-sort {
  margin-left: auto;
  position: relative;
}
.yr-sort__btn {
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-size: 14px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}
.yr-sort__btn::-webkit-details-marker {
  display: none;
}
.yr-sort__btn .yr-muted {
  color: var(--muted-foreground);
}
.yr-sort__btn .yr-ms {
  font-size: 20px;
  transition: transform 0.2s;
}
.yr-sort[open] .yr-sort__btn .yr-ms {
  transform: rotate(180deg);
}
.yr-sort-menu {
  position: absolute;
  right: 0;
  top: 48px;
  width: 230px;
  z-index: 30;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--charcoal) 10%, transparent);
  padding: 6px;
}
.yr-sort-menu-m {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
}
.yr-sort-menu-m.is-open,
.yr-sort-menu-m:target {
  display: block;
}
.yr-sort-opt,
.yr-sort-opt:visited {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--charcoal);
  text-decoration: none;
}
.yr-sort-opt:hover,
.yr-sort-opt.is-on {
  background: var(--blush);
  color: var(--charcoal);
}
.yr-sort-opt .yr-ms {
  font-size: 18px;
}

/* empty: filters exclude everything */
.yr-shop-empty {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

/* progress, load more, pages */
.yr-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0 8px;
}
.yr-more__txt {
  font-size: 13px;
  color: var(--muted-foreground);
}
.yr-more__bar {
  width: 200px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--border);
  overflow: hidden;
}
.yr-more__bar div {
  height: 100%;
  background: var(--secondary);
  transition: width 0.3s;
}
.yr-pages {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.yr-pg,
.yr-pg:visited {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-size: 14px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.yr-pg:hover {
  border-color: var(--secondary);
  color: var(--charcoal);
}
.yr-pg.current {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}
.yr-pg.dots {
  border-color: transparent;
  background: transparent;
}

/* no results */
.yr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: clamp(40px, 4.5vw, 72px);
}
.yr-empty-ic {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-pill);
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}
.yr-empty-ic .yr-ms {
  font-size: 44px;
  font-variation-settings: "wght" 300;
}
.yr-empty__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--charcoal);
  margin: 8px 0 0;
  text-wrap: balance;
}
.yr-empty p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.4;
  max-width: 460px;
}
.yr-empty .yr-chips {
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

/* mobile: filters become a bottom sheet */
@media (max-width: 819.98px) {
  .yr-shop {
    display: block;
  }
  .yr-filters-wrap {
    position: fixed;
    inset: 0;
    width: auto;
    z-index: 99980; /* above the sticky header and tab bar */
    display: none;
    background: color-mix(in srgb, var(--charcoal) 45%, transparent);
    flex-direction: column;
    justify-content: flex-end;
  }
  .yr-filters-wrap.is-open,
  .yr-filters-wrap:target {
    display: flex;
  }
  .yr-filters {
    max-height: 86%;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    border: none;
  }
  .yr-f-head {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
    padding: 10px 12px 10px 20px;
  }
  .yr-f-foot {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8px;
    position: sticky;
    bottom: 0;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border);
  }
  .yr-f-foot .yr-btn {
    height: 48px;
    padding: 0 12px;
  }
  .yr-shop__main {
    gap: 12px;
  }
}

/* ==========================================================================
   Single product — woocommerce/single-product.php, content-single-product.php,
   template-parts/single-product/*. Source: designs/product.html + style.css (product page)
   ========================================================================== */
.yr-btn--blush,
.yr-btn--blush:visited,
.yr-btn--blush:focus {
  background: var(--blush);
  color: var(--charcoal);
  border-color: var(--blush-rose);
}
.yr-btn--blush:hover {
  background: var(--secondary);
  color: var(--cream);
  border-color: var(--secondary);
}
/* Only real `disabled` fades a button; WooCommerce's "choose an option" .disabled class doesn't
   (single-product.js prompts for the colour instead). */
.yr-btn:disabled,
.yr-btn:disabled:hover {
  opacity: 0.45;
  cursor: not-allowed;
}
.yr-lg {
  font-size: 17px;
}
.yr-xs {
  font-size: 11.5px;
}
.yr-old {
  color: var(--ink-3);
  text-decoration: line-through;
}

/* Storefront's single-product layout (floats, form spacing) is replaced by ours. */
.single-product div.product.yr-pdp-product {
  overflow: visible;
}
.single-product div.product.yr-pdp-product .summary {
  float: none;
  width: auto;
  margin: 0;
}
.single-product div.product.yr-pdp-product form.cart {
  margin: 0;
  padding: 0;
}
.single-product div.product.yr-pdp-product form.cart .quantity {
  float: none;
  margin: 0;
}
.single-product div.product.yr-pdp-product form.cart .single_variation_wrap {
  padding: 0;
  margin: 0;
}
/* WooCommerce writes the variation price/stock here and shows it with jQuery; our price block
   and stock line already show both (single-product.js), so it stays hidden. */
.single-product
  div.product.yr-pdp-product
  .single_variation_wrap
  .single_variation {
  display: none !important;
}
.single-product
  div.product.yr-pdp-product
  .single_variation_wrap
  .woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* layout */
.yr-pdp-top {
  padding-top: clamp(12px, 1.7vw, 24px);
}
.yr-pdp {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.3vw, 56px);
  margin-top: clamp(12px, 1.4vw, 20px);
  align-items: flex-start;
}

/* gallery */
.yr-gallery {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.yr-g-main {
  flex: 1;
  min-width: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blush);
}
.yr-g-main__link {
  display: block;
  height: 100%;
  cursor: zoom-in;
}
.yr-g-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.yr-g-ribbon {
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  font-size: 11px;
}
.yr-g-wish,
.yr-g-wish:hover,
.yr-g-wish:focus {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: none;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--charcoal);
  box-shadow: none;
  transition: color 0.2s;
}
.yr-g-wish .yr-ms {
  font-size: 22px;
}
.yr-g-wish:hover,
.yr-g-wish.is-on {
  color: var(--secondary);
}
.yr-g-wish.is-on .yr-ms {
  font-variation-settings: "FILL" 1;
}
.yr-g-no {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--charcoal) 78%, transparent);
  color: var(--cream);
  font-size: 12px;
  pointer-events: none;
}
.yr-g-nav,
.yr-g-nav:hover,
.yr-g-nav:focus {
  position: absolute;
  top: calc(50% - 20px);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: none;
  background: color-mix(in srgb, var(--white) 90%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--charcoal);
  box-shadow: none;
}
.yr-g-nav:hover {
  background: var(--white);
}
.yr-g-nav--prev {
  left: 12px;
}
.yr-g-nav--next {
  right: 12px;
}
.yr-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: clamp(56px, 6vw, 84px);
  flex: none;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}
.yr-thumbs::-webkit-scrollbar {
  display: none;
}
.yr-thumb,
.yr-thumb:hover,
.yr-thumb:focus {
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: none;
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--blush);
  box-shadow: none;
}
.yr-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.yr-thumb.is-on {
  border-color: var(--secondary);
}

/* info */
.yr-pdp-info {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.yr-pdp .yr-pdp-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 2.9vw, 44px);
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--charcoal);
  margin: 0;
  text-wrap: balance;
}
.yr-pdp-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border);
}
.yr-pdp-price__now {
  font-size: 32px;
  font-weight: 600;
  color: var(--charcoal);
}
.yr-pdp-price__old {
  font-size: 17px;
  color: var(--ink-3);
  text-decoration: line-through;
}
.yr-pdp-price__off {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--blush);
}
.yr-pdp-notices:empty {
  display: none;
}
.yr-pdp-notices .woocommerce-error,
.yr-pdp-notices .woocommerce-message,
.yr-pdp-notices .woocommerce-info {
  margin: 0;
  font-size: 14px;
}

/* variations + swatches */
.yr-variants {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: var(--radius-md);
}
.yr-variant {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yr-variant__label {
  font-size: 13.5px;
}
.yr-variant__label b {
  font-weight: 500;
}
.yr-variant__select .yr-select {
  height: 44px;
  max-width: 280px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-ui);
  font-size: 14px;
}
.yr-variant__select.is-js-hidden {
  display: none;
}
.yr-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.yr-swatch,
.yr-swatch:hover,
.yr-swatch:focus {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--charcoal) 15%, transparent);
  background: var(--yr-swatch, var(--blush));
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.yr-swatch--lg {
  width: 40px;
  height: 40px;
}
.yr-swatch.is-on {
  box-shadow:
    0 0 0 2px var(--white),
    0 0 0 4px var(--secondary);
}
.yr-swatch.is-oos::after,
.yr-swatch.is-disabled::after {
  content: "";
  display: block; /* Storefront hides button::after */
  position: absolute;
  left: 50%;
  top: -10%;
  width: 1.5px;
  height: 120%;
  background: color-mix(in srgb, var(--charcoal) 55%, transparent);
  transform: rotate(45deg);
}
.yr-swatch.is-disabled {
  opacity: 0.45;
}
.yr-variants.is-prompt {
  animation: yr-prompt 1.4s ease-out;
}
@keyframes yr-prompt {
  0%,
  60% {
    box-shadow:
      0 0 0 4px var(--blush),
      0 0 0 5px var(--secondary);
  }
  100% {
    box-shadow:
      0 0 0 4px transparent,
      0 0 0 5px transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yr-variants.is-prompt {
    animation: none;
    box-shadow:
      0 0 0 4px var(--blush),
      0 0 0 5px var(--secondary);
  }
}

/* quantity + stock */
.yr-qty-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.yr-stepper {
  display: flex;
  align-items: center;
  height: 50px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--white);
}
.yr-stepper button,
.yr-stepper button:hover,
.yr-stepper button:focus {
  width: 46px;
  height: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  padding: 0;
  box-shadow: none;
}
.yr-stepper button:hover {
  color: var(--secondary);
}
.yr-stepper button:disabled {
  color: var(--ink-3);
}
.yr-stepper button .yr-ms {
  font-size: 20px;
}
.single-product div.product .yr-stepper input.qty,
.yr-stepper input.qty {
  width: 40px;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  -moz-appearance: textfield;
  appearance: textfield;
}
.yr-stepper input.qty::-webkit-outer-spin-button,
.yr-stepper input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.yr-pdp-stock {
  font-size: 12.5px;
  color: var(--muted-foreground);
}
.yr-pdp-stock--low {
  color: var(--secondary);
  font-weight: 500;
}
.yr-pdp-stock--out {
  color: var(--charcoal);
  font-weight: 500;
}

/* buy buttons */
.yr-buy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.yr-buy-row .yr-btn {
  height: 52px;
  padding: 0 12px;
}
.yr-buy-row .yr-btn .yr-ms {
  font-size: 20px;
}
/* WooCommerce adds .disabled until a variation is chosen; Storefront fades button.disabled.
   Ours stay active-looking and prompt for the colour instead. */
.yr-buy-row button.yr-btn.disabled:not(:disabled) {
  opacity: 1 !important; /* Storefront's button.disabled uses opacity: .5 !important */
  cursor: pointer;
}
.yr-buy-row button.yr-btn--blush.disabled:not(:disabled):hover {
  background: var(--secondary);
  color: var(--cream);
  border-color: var(--secondary);
}
.yr-buy-row button.yr-btn--dark.disabled:not(:disabled):hover {
  background: var(--charcoal-2);
  color: var(--cream);
}

/* delivery */
.yr-delivery {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.yr-dl {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.yr-dl:last-child {
  border-bottom: none;
}
.yr-dl > .yr-ms {
  color: var(--secondary);
}
.yr-dl b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.yr-dl__s {
  font-size: 12.5px;
  color: var(--muted-foreground);
}
.yr-dl__p {
  font-size: 14px;
  font-weight: 500;
}

/* tabs */
.yr-tabs {
  display: flex;
  gap: clamp(16px, 2.2vw, 32px);
  border-bottom: 1px solid var(--gold);
  overflow-x: auto;
  scrollbar-width: none;
}
.yr-tabs::-webkit-scrollbar {
  display: none;
}
.yr-tab-btn,
.yr-tab-btn:hover,
.yr-tab-btn:focus {
  flex: none;
  height: 48px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  color: var(--muted-foreground);
  margin-bottom: -1px;
  padding: 0;
  box-shadow: none;
}
.yr-tab-btn:hover {
  color: var(--charcoal);
}
.yr-tab-btn.is-on {
  color: var(--charcoal);
  border-bottom-color: var(--secondary);
}
.yr-tab-panel {
  padding: 20px 0;
  max-width: 820px;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
}
.yr-tab-panel p {
  margin: 0 0 12px;
}
.yr-pdp-js .yr-tab-panel:focus-visible {
  outline-offset: 4px;
}
.yr-specs {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  font-family: var(--font-ui);
  margin: 0;
}
.yr-specs__k,
.yr-specs__v {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, var(--white));
}
.yr-specs__k {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted-foreground);
  background: var(--cream);
}
.yr-specs__v {
  font-size: 14px;
}
.yr-specs__k:nth-last-of-type(1),
.yr-specs__v:last-child {
  border-bottom: none;
}

/* reviews */
.yr-reviews {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.2vw, 32px);
  align-items: flex-start;
}
.yr-rv-sum {
  flex: 1 1 260px;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yr-rv-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.yr-rv-score__big {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
}
.yr-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}
.yr-bar-row__n {
  width: 28px;
}
.yr-bar-row__c {
  width: 30px;
  text-align: right;
  color: var(--muted-foreground);
}
.yr-bar {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--border) 60%, var(--white));
  overflow: hidden;
}
.yr-bar div {
  height: 100%;
  background: var(--gold);
}
.yr-rv-list {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.yr-rv-list .yr-rv-more {
  align-self: center;
  margin-top: 4px;
}
.yr-rv-empty {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.yr-review {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yr-review__text p {
  margin: 0 0 8px;
}
.yr-review__text p:last-child {
  margin-bottom: 0;
}
.yr-rv-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.yr-rv-top .yr-stars {
  margin-left: auto;
}
.yr-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex: none;
}
.yr-rv-who {
  display: flex;
  flex-direction: column;
}
.yr-rv-who b {
  font-size: 14px;
  font-weight: 500;
}
.yr-verified {
  display: flex;
  align-items: center;
  gap: 4px;
}
.yr-verified .yr-ms {
  font-size: 15px;
  color: var(--secondary);
}
.yr-stars {
  display: inline-flex;
  color: var(--gold);
}
.yr-stars .yr-ms {
  font-size: 16px;
}
.yr-stars--sm .yr-ms {
  font-size: 15px;
}

/* review form (WooCommerce's fields, brand-styled) */
.yr-review-form {
  margin-top: 16px;
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.yr-pdp-js .yr-review-form:not(.is-open) {
  display: none;
}
.yr-review-form .comment-respond {
  margin: 0;
}
.yr-review-form__title {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.yr-review-form #cancel-comment-reply-link {
  font-family: var(--font-ui);
  font-size: 13px;
  margin-left: 8px;
}
.yr-review-form p,
.yr-review-form .comment-form-rating {
  margin: 0 0 14px;
}
.yr-review-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.yr-review-form .required {
  color: var(--secondary);
}
.yr-review-form input[type="text"],
.yr-review-form input[type="email"],
.yr-review-form textarea,
.yr-review-form select {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--white);
  box-shadow: none;
  padding: 10px 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--charcoal);
}
.yr-review-form input:focus,
.yr-review-form textarea:focus,
.yr-review-form select:focus {
  border-color: var(--secondary);
  outline: none;
  background: var(--white);
}
.yr-review-form .comment-form-cookies-consent label {
  display: inline;
  font-weight: 400;
}
.yr-review-form .form-submit {
  margin: 0;
}
.yr-review-form .form-submit .yr-btn {
  height: 48px;
}
/* WooCommerce turns the rating <select> into star links (p.stars). */
.yr-review-form p.stars {
  margin: 0;
  display: inline-flex;
}
.yr-review-form p.stars span {
  display: inline-flex;
  gap: 2px;
}
.yr-review-form p.stars a {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  font-size: 0;
  text-decoration: none;
  color: var(--gold);
}
.yr-review-form p.stars a::before {
  content: "star";
  position: absolute;
  inset: 0;
  font-family: "Material Symbols Rounded";
  font-size: 28px;
  line-height: 30px;
  font-feature-settings: "liga";
  font-variation-settings:
    "FILL" 0,
    "wght" 300;
}
.yr-review-form p.stars:hover a::before,
.yr-review-form p.stars.selected a::before {
  font-variation-settings:
    "FILL" 1,
    "wght" 300;
}
.yr-review-form p.stars a:hover ~ a::before,
.yr-review-form p.stars.selected a.active ~ a::before {
  font-variation-settings:
    "FILL" 0,
    "wght" 300;
}
.yr-review-form .woocommerce-verification-required {
  margin: 0;
}

/* sticky mobile buy bar */
.yr-pdp-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: var(--white);
  border-top: 1px solid var(--border-warm);
  padding: 10px 12px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 -6px 18px color-mix(in srgb, var(--charcoal) 6%, transparent);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.yr-pdp-bar.is-shown {
  transform: none;
}
body.has-tabbar .yr-pdp-bar {
  bottom: calc(60px + env(safe-area-inset-bottom));
  padding-bottom: 10px;
}
.yr-pdp-bar__p {
  display: flex;
  flex-direction: column;
  margin-right: 4px;
  line-height: 1.15;
}
.yr-pdp-bar .yr-btn {
  flex: 1;
  height: 48px;
  padding: 0 10px;
  font-size: 14px;
}
@media (max-width: 819.98px) {
  body.yr-pdp-bar-on {
    padding-bottom: 80px;
  }
  body.yr-pdp-bar-on.has-tabbar {
    padding-bottom: 148px;
  }
  body.yr-pdp-bar-on .yr-toast {
    bottom: 92px;
  }

  /* gallery: main image first, thumbnails in a row below */
  .yr-gallery {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .yr-g-main {
    flex: none;
    width: 100%;
  }
  .yr-thumbs {
    flex-direction: row;
    width: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .yr-thumb,
  .yr-thumb:hover,
  .yr-thumb:focus {
    width: 64px;
  }
}
