/* Yolanda's Chocolatiers: base (tokens, reset, type, buttons, forms, header, footer, home) */

:root {
  --y-ivory: #FBF7F0;
  --y-cream: #F4EDE1;
  --y-sand: #F1E9DC;
  --y-line: #EADFCB;
  --y-line-strong: #CDBDA4;
  --y-cocoa: #2B1B14;
  --y-cocoa-deep: #1E120D;
  --y-text-2: #5A4A40;
  --y-text-3: #6E5D52;
  --y-gold: #8A6424;
  --y-gold-light: #D4B06A;
  --y-on-dark: #F4EDE1;
  --y-on-dark-2: #D9CBB8;
  --y-on-dark-3: #BFAE98;
  --y-white: #FFFDF9;
  --y-danger: #9B2C1F;
  --y-success: #3F6B3A;
  --y-radius-card: 20px;
  --y-radius-pill: 999px;
  --y-ease: cubic-bezier(.2, .7, .2, 1);
  --y-ease-io: cubic-bezier(.7, 0, .2, 1);
  --y-max: 1360px;
  --y-gutter: 32px;
  --y-serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --y-sans: 'Jost', 'Avenir Next', system-ui, sans-serif;
  --y-header-h: 90px;
  --y-shadow: 0 30px 60px -24px rgba(43, 27, 20, .35);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--y-ivory);
  color: var(--y-cocoa);
  font-family: var(--y-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.y-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
svg { display: inline-block; flex-shrink: 0; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--y-gold); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--y-serif); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
em { font-style: italic; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--y-line); margin: 48px 0; }
::selection { background: var(--y-gold-light); color: var(--y-cocoa); }
:focus-visible { outline: 2px solid var(--y-gold); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.y-skip { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 12px 20px; background: var(--y-cocoa); color: var(--y-ivory); border-radius: var(--y-radius-pill); transition: top .2s; }
.y-skip:focus { top: 16px; color: var(--y-ivory); }
.y-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Layout */
.y-wrap { width: 100%; max-width: var(--y-max); margin-inline: auto; padding-inline: var(--y-gutter); }
.y-wrap--narrow { max-width: 1100px; }
.y-wrap--text { max-width: calc(760px + var(--y-gutter) * 2); }
.y-main { display: block; }
.y-section { padding-block: 120px 80px; }
.y-section--tight { padding-block: 40px 120px; }
.y-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.y-section__head .y-h2 { margin: 0; }
.y-section__head--center { flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 56px; }
.y-section__lede { margin: 0; max-width: 380px; font-size: 16px; line-height: 1.7; color: var(--y-text-2); }

/* Typography */
.y-eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0; font-family: var(--y-sans); font-size: 12px; font-weight: 400; letter-spacing: .28em; line-height: 1.4; text-transform: uppercase; color: var(--y-gold); }
.y-eyebrow--rule::before { content: ''; width: 40px; height: 1px; background: currentColor; }
.y-h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1; letter-spacing: -.02em; }
.y-h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.02em; }
.y-h2--lg { font-size: clamp(36px, 4vw, 58px); line-height: 1.04; }
.y-h2--xl { font-size: clamp(38px, 4.4vw, 64px); line-height: 1; }
.y-h2 em, .y-h1 em { color: var(--y-gold); }
.y-h3 { font-size: 34px; line-height: 1.1; margin: 0; }
.y-textlink { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.y-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--y-ease), color .25s ease; padding-bottom: 2px; }
.y-link:hover, .y-link:focus-visible, .current-menu-item > .y-link { background-size: 100% 1px; }
.y-gold {
  background: linear-gradient(100deg, var(--y-gold) 20%, var(--y-gold-light) 45%, var(--y-gold) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: y-shimmer 6s linear infinite;
  padding-right: .06em;
}

/* Buttons */
.y-btn, .button, button.button, input[type="submit"], .wp-block-button__link, .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid var(--y-cocoa); border-radius: var(--y-radius-pill);
  background: var(--y-cocoa); color: var(--y-ivory);
  font-family: var(--y-sans); font-size: 13px; font-weight: 400; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.y-btn:hover, .button:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .wpcf7-submit:hover {
  color: var(--y-ivory); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(43, 27, 20, .45);
}
.y-btn:active { transform: translateY(0); }
.y-btn--lg { min-height: 60px; padding: 0 32px; font-size: 14px; }
.y-btn--sm { min-height: 44px; padding: 0 22px; font-size: 12px; }
.y-btn--ghost, .is-style-outline .wp-block-button__link { background: transparent; color: var(--y-cocoa); }
.y-btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--y-cocoa); color: var(--y-ivory); }
.y-btn--gold { background: transparent; border-color: var(--y-gold-light); color: var(--y-on-dark); }
.y-btn--gold:hover { background: var(--y-gold-light); color: var(--y-cocoa); }
.y-btn[disabled], .y-btn.is-loading { opacity: .6; pointer-events: none; }
.y-round { width: 52px; height: 52px; display: inline-grid; place-items: center; border: 1px solid var(--y-cocoa); border-radius: 50%; background: var(--y-cocoa); color: var(--y-ivory); cursor: pointer; transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.y-round--line { background: transparent; color: var(--y-cocoa); }
.y-round:hover { transform: translateY(-2px); }
.y-round--line:hover { background: var(--y-cocoa); color: var(--y-ivory); }
.y-iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--y-cocoa); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.y-iconbtn:hover { background: var(--y-sand); color: var(--y-cocoa); }
.y-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--y-radius-pill); background: var(--y-ivory); color: var(--y-cocoa); font-size: 11px; letter-spacing: .2em; line-height: 1.3; text-transform: uppercase; }
.y-chip--line { background: transparent; border: 1px solid var(--y-line-strong); font-size: 12px; letter-spacing: .12em; padding: 8px 16px; transition: border-color .25s, background-color .25s; }
.y-chip--line:hover { border-color: var(--y-cocoa); color: var(--y-cocoa); background: var(--y-white); }

/* Forms (site-wide incl. CF7 and WooCommerce) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="date"], input[type="time"], select, textarea, .y-input {
  width: 100%; min-height: 52px; padding: 12px 20px;
  border: 1px solid var(--y-line-strong); border-radius: 14px;
  background: var(--y-white); color: var(--y-cocoa);
  font-family: var(--y-sans); font-size: 16px; line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--y-text-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--y-cocoa); box-shadow: 0 0 0 3px rgba(138, 100, 36, .18); }
::placeholder { color: var(--y-text-3); opacity: 1; }
select {
  padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B1B14' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center;
}
.y-input.y-input--pill { border-radius: var(--y-radius-pill); padding-inline: 26px; min-height: 60px; }
label { display: inline-block; font-size: 14px; color: var(--y-text-2); margin-bottom: 6px; }
input[type="checkbox"], input[type="radio"] {
  -webkit-appearance: none; appearance: none; flex-shrink: 0;
  width: 20px; height: 20px; margin: 0 10px 0 0; vertical-align: -4px;
  border: 1px solid var(--y-line-strong); border-radius: 6px; background: var(--y-white);
  display: inline-grid; place-content: center; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::before { content: ''; width: 10px; height: 6px; border: solid var(--y-ivory); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--y-ease); }
input[type="radio"]::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--y-ivory); transform: scale(0); transition: transform .2s var(--y-ease); }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--y-cocoa); border-color: var(--y-cocoa); }
input[type="checkbox"]:checked::before { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
input[type="radio"]:checked::before { transform: scale(1); }
fieldset { border: 1px solid var(--y-line); border-radius: var(--y-radius-card); padding: 24px; margin: 0 0 24px; }
legend { padding: 0 8px; font-family: var(--y-serif); font-size: 20px; }
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form label { display: block; }
.wpcf7-not-valid-tip { font-size: 13px; color: var(--y-danger); margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 14px 20px; border-radius: 14px; border-color: var(--y-line-strong); font-size: 14px; }
.wpcf7-list-item { margin: 0 16px 8px 0; }

/* Announcement bar */
.y-topbar { background: var(--y-cocoa); color: #EADBC0; font-size: 13px; letter-spacing: .08em; text-align: center; padding: 10px 16px; position: relative; z-index: 60; }
.y-topbar__text { margin: 0; line-height: 1.5; }
.y-topbar a { color: var(--y-gold-light); text-decoration: underline; text-underline-offset: 3px; }
.y-topbar a:hover { color: var(--y-ivory); }

/* Header */
.y-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--y-line);
  transition: box-shadow .4s var(--y-ease), background-color .4s var(--y-ease);
}
.admin-bar .y-header { top: 32px; }
.y-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 18px; transition: padding .4s var(--y-ease); }
.y-header__left { display: flex; align-items: center; min-width: 0; }
.y-header__right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.y-header__burger { display: none; margin-left: -10px; }
.y-header__logo { display: block; line-height: 0; }
.y-logo { height: 54px; width: auto; transition: height .4s var(--y-ease); }
.y-logo--sm { height: 40px; }
.is-scrolled .y-header { background: rgba(251, 247, 240, .94); box-shadow: 0 10px 30px -20px rgba(43, 27, 20, .35); }
.is-scrolled .y-header__inner { padding-block: 10px; }
.is-scrolled .y-header .y-logo { height: 42px; }
.y-nav__list { display: flex; flex-wrap: wrap; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.y-nav__list > li { position: static; }
.y-nav__list > li > a { display: inline-block; padding-block: 8px 2px; background-position: 0 calc(100% - 0px); }
.y-nav__list > li > a[aria-expanded="true"] { color: var(--y-gold); background-size: 100% 1px; }
.y-bag { min-height: 44px; height: 44px; padding: 0 18px; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: none; }
.y-bag__label, .y-bag__sep { text-transform: uppercase; letter-spacing: .1em; }
.y-bag-count { display: inline-block; min-width: 1ch; font-variant-numeric: tabular-nums; }
.y-bag-count.is-bumped, .y-bag.is-bumped .y-bag-count { animation: y-pop .5s var(--y-ease); }

/* Mega menu */
.y-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--y-ivory); border-bottom: 1px solid var(--y-line);
  box-shadow: 0 40px 60px -40px rgba(43, 27, 20, .35);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--y-ease), transform .35s var(--y-ease), visibility 0s linear .35s;
  text-transform: none; letter-spacing: normal;
}
.y-mega.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.y-mega__inner { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-block: 40px 48px; }
.y-mega__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.y-mega__title { margin: 0; font-family: var(--y-serif); font-size: 30px; line-height: 1.1; letter-spacing: -.01em; }
.y-mega__title em { color: var(--y-gold); }
.y-mega__links { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.y-mega__tiles { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); grid-auto-rows: 168px; gap: 14px; }
.y-mega__tile { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--y-sand); color: var(--y-ivory); isolation: isolate; }
.y-mega__tile--season { grid-row: span 2; }
.y-mega__img, .y-mega__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.y-mega__img img { transition: transform .9s var(--y-ease); }
.y-mega__tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 27, 20, 0) 35%, rgba(43, 27, 20, .72)); z-index: 0; }
.y-mega__tile:hover { color: var(--y-ivory); }
.y-mega__tile:hover img { transform: scale(1.06); }
.y-mega__label { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 2px; font-family: var(--y-serif); font-size: 22px; line-height: 1.1; }
.y-mega__tile--season .y-mega__label { font-size: 30px; left: 22px; bottom: 20px; }
.y-mega__label small { font-family: var(--y-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #EADBC0; }
.y-mega__tile .y-chip { position: absolute; left: 18px; top: 16px; z-index: 1; }
.y-mega.is-open .y-mega__tile { animation: y-rise .6s var(--y-ease) both; }
.y-mega.is-open .y-mega__tile:nth-child(2) { animation-delay: .04s; }
.y-mega.is-open .y-mega__tile:nth-child(3) { animation-delay: .08s; }
.y-mega.is-open .y-mega__tile:nth-child(4) { animation-delay: .12s; }
.y-mega.is-open .y-mega__tile:nth-child(5) { animation-delay: .16s; }
.y-mega.is-open .y-mega__tile:nth-child(6) { animation-delay: .2s; }
.y-mega.is-open .y-mega__tile:nth-child(7) { animation-delay: .24s; }

/* Scrim (behind overlays) */
.y-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(30, 18, 13, .4); opacity: 0; visibility: hidden; transition: opacity .4s var(--y-ease), visibility 0s linear .4s; }
.y-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Search overlay */
.y-search {
  position: fixed; left: 0; right: 0; top: 0; z-index: 80;
  background: var(--y-ivory); border-bottom: 1px solid var(--y-line);
  box-shadow: 0 40px 80px -40px rgba(43, 27, 20, .45);
  visibility: hidden; opacity: 0; transform: translateY(-24px);
  transition: opacity .4s var(--y-ease), transform .5s var(--y-ease), visibility 0s linear .5s;
}
.y-search.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.admin-bar .y-search { top: 32px; }
.y-search__inner { position: relative; padding-block: 56px 44px; display: flex; flex-direction: column; gap: 24px; }
.y-search__form { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--y-cocoa); padding-bottom: 12px; margin-right: 56px; }
.y-search__form .y-icon { color: var(--y-gold); }
.y-search__input, .y-search__input:focus, .y-search__input:hover { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0; box-shadow: none; font-family: var(--y-serif); font-size: clamp(24px, 3vw, 40px); min-height: 56px; border-radius: 0; }
.y-search__input::-webkit-search-cancel-button { display: none; }
.y-search__suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.y-search__suggest .y-eyebrow { margin-right: 8px; }
.y-search__close { position: absolute; right: var(--y-gutter); top: 60px; }

/* Mobile menu */
.y-mnav {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  background: var(--y-ivory);
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--y-ease-io), visibility 0s linear .6s;
}
.y-mnav.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.y-mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--y-line); }
.y-mnav__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px 40px; display: flex; flex-direction: column; gap: 28px; }
.y-mnav__search { display: flex; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid var(--y-line-strong); border-radius: var(--y-radius-pill); background: var(--y-white); }
.y-mnav__search input, .y-mnav__search input:focus { border: 0; padding: 0; min-height: 50px; background: transparent; box-shadow: none; }
.y-mnav__search .y-icon { color: var(--y-gold); }
.y-mnav__cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.y-mnav__cat { display: flex; align-items: center; gap: 10px; padding: 6px; padding-right: 10px; border-radius: 14px; background: var(--y-sand); font-size: 14px; line-height: 1.2; }
.y-mnav__cat img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.y-mnav__cat--season { grid-column: span 2; background: var(--y-cocoa); color: var(--y-on-dark); }
.y-mnav__cat--season span::after { content: ' →'; color: var(--y-gold-light); }
.y-mnav__cat--season:hover { color: var(--y-gold-light); }
.y-mnav__list { list-style: none; margin: 0; padding: 0; }
.y-mnav__list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--y-line); font-family: var(--y-serif); font-size: 26px; line-height: 1.15; }
.y-mnav__foot { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--y-text-2); margin-top: auto; }
.y-mnav__foot a { display: inline-flex; align-items: center; gap: 10px; }
.y-mnav__foot .y-icon { color: var(--y-gold); }
.y-mnav .y-mnav__cat, .y-mnav .y-mnav__item { opacity: 0; transform: translateY(18px); }
.y-mnav.is-open .y-mnav__cat, .y-mnav.is-open .y-mnav__item { animation: y-rise .6s var(--y-ease) forwards; animation-delay: calc(.18s + var(--i, 0) * 45ms); }

/* Footer */
.y-footer { background: var(--y-cocoa-deep); color: var(--y-line-strong); }
.y-footer a { color: var(--y-line-strong); }
.y-footer a:hover { color: var(--y-gold-light); }
.y-footer__inner { padding-block: 88px 40px; display: flex; flex-direction: column; gap: 56px; }
.y-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
.y-footer__brand { display: flex; flex-direction: column; gap: 18px; font-size: 14px; line-height: 1.7; }
.y-footer__brand p { margin: 0; max-width: 300px; }
.y-footer__logo { width: 190px; height: auto; }
.y-footer__head { margin: 0 0 16px; font-family: var(--y-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--y-gold-light); }
.y-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.y-footer__visit { font-size: 14px; line-height: 1.7; }
.y-footer__visit p, .y-footer__visit address { margin: 0 0 12px; }
.y-footer__muted { color: #9C8B78; }
.y-social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 10px; }
.y-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(205, 189, 164, .3); border-radius: 50%; transition: border-color .25s, color .25s, transform .25s; }
.y-social a:hover { border-color: var(--y-gold-light); transform: translateY(-2px); }
.y-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid rgba(205, 189, 164, .18); font-size: 13px; }
.y-footer__legal { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.y-funding { display: flex; align-items: center; gap: 18px; padding: 10px 18px; border-radius: 14px; background: var(--y-ivory); }
.y-funding__logo { height: 40px; width: auto; }

/* Newsletter */
.y-newsletter { border-top: 1px solid var(--y-line); }
.y-newsletter__inner { padding-block: 110px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 48px; align-items: center; }
.y-newsletter__copy { display: flex; flex-direction: column; gap: 16px; }
.y-newsletter__copy .y-h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); }
.y-newsletter__copy p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--y-text-2); }
.y-newsletter__form { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.y-newsletter__form .y-input { flex: 1 1 260px; width: auto; }
.y-newsletter__msg { flex-basis: 100%; margin: 4px 0 0 26px; min-height: 1.5em; font-size: 14px; color: var(--y-text-2); }
.y-newsletter__msg.is-error { color: var(--y-danger); }
.y-newsletter__msg.is-ok { color: var(--y-success); }

/* Cards (shared hover language) */
.y-card img { transition: transform .9s var(--y-ease); }
.y-card:hover img { transform: scale(1.06); }
.y-quick { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s var(--y-ease); }
.y-card:hover .y-quick, .y-card:focus-within .y-quick { opacity: 1; transform: none; }
@media (hover: none) { .y-quick { opacity: 1; transform: none; } }

/* Fallback product card (SHOP owns template-parts/product-card.php) */
.y-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 28px; }
.y-products--4 { grid-template-columns: repeat(4, 1fr); }
.y-pcard { display: flex; flex-direction: column; gap: 16px; }
.y-pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--y-sand); }
.y-pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.y-pcard__tag { position: absolute; left: 14px; top: 14px; }
.y-pcard__quick { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px; border-radius: var(--y-radius-pill); background: var(--y-cocoa); color: var(--y-ivory); text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.y-pcard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.y-pcard__title { margin: 0; font-size: 22px; line-height: 1.2; }
.y-pcard__price { font-size: 16px; color: var(--y-text-2); white-space: nowrap; }
.y-pcard__price del { opacity: .6; margin-right: 6px; }
.y-pcard__price ins { text-decoration: none; }
.y-pcard__note { margin: -10px 0 0; font-size: 14px; color: var(--y-text-3); }

/* HOME: hero */
.y-hero { padding-block: 72px 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.y-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.y-hero__title { margin: 0; font-size: clamp(48px, 6.4vw, 92px); line-height: .98; letter-spacing: -.02em; }
.y-hero__lead { margin: 0; max-width: 470px; font-size: 18px; line-height: 1.65; color: var(--y-text-2); }
.y-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.y-hero__proof { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 16px 32px; border-top: 1px solid var(--y-line); font-size: 14px; line-height: 1.45; color: var(--y-text-2); }
.y-hero__proof li { display: flex; align-items: center; gap: 10px; padding-top: 12px; }
.y-hero__proof .y-icon { color: var(--y-gold); stroke-width: 1.3; }
.y-hero__award { height: 44px; width: auto; }
.y-hero__art { position: relative; min-height: 620px; }
.y-hero__arch { position: absolute; inset: 0 0 0 60px; border-radius: 300px 300px 24px 24px; overflow: hidden; background: #EFE6D6; }
.y-hero__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: y-zoom-out 2.4s var(--y-ease) both; }
.y-hero__bonbon { position: absolute; left: 0; bottom: 70px; width: 170px; height: 170px; border-radius: 50%; overflow: hidden; border: 6px solid var(--y-ivory); box-shadow: 0 30px 60px -20px rgba(43, 27, 20, .4); }
.y-hero__bonbon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); }
.y-hero__badge { position: absolute; right: -10px; top: 28px; width: 132px; height: 132px; display: grid; place-items: center; }
.y-hero__badge svg { position: absolute; inset: 0; }
.y-hero__swash { position: relative; width: 58px; height: auto; filter: brightness(1.35); }

/* HOME: marquee */
.y-marquee { border-block: 1px solid var(--y-line); background: var(--y-cream); overflow: hidden; padding: 20px 0; }
.y-marquee__track { display: flex; width: max-content; gap: 56px; font-family: var(--y-serif); font-style: italic; font-size: 28px; line-height: 1.3; color: var(--y-gold); white-space: nowrap; animation: y-marquee 38s linear infinite; }
.y-marquee__star { font-style: normal; font-size: .8em; }
.y-marquee:hover .y-marquee__track { animation-play-state: paused; }

/* HOME: category bento */
.y-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 310px; gap: 20px; }
.y-tile { position: relative; display: block; overflow: hidden; border-radius: var(--y-radius-card); color: var(--y-ivory); background: var(--y-sand); isolation: isolate; }
.y-tile:hover { color: var(--y-ivory); }
.y-tile--tall { grid-row: span 2; }
.y-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.y-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 27, 20, 0) 40%, rgba(43, 27, 20, .75)); }
.y-tile--tall::after { background: linear-gradient(180deg, rgba(43, 27, 20, 0) 45%, rgba(43, 27, 20, .78)); }
.y-tile__body { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; gap: 6px; }
.y-tile--tall .y-tile__body { left: 32px; right: 32px; bottom: 32px; gap: 10px; }
.y-tile__kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #EADBC0; }
.y-tile__title { font-family: var(--y-serif); font-size: 32px; line-height: 1.05; }
.y-tile--tall .y-tile__title { font-size: 44px; line-height: 1; }
.y-tile__text { font-size: 15px; line-height: 1.6; max-width: 340px; }
.y-tile__cta { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.y-tile__badge { position: absolute; left: 28px; top: 24px; }

/* HOME: story band */
.y-story { background: var(--y-cocoa); color: var(--y-on-dark); }
.y-story__inner { padding-block: 120px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.y-story__media { position: relative; width: 100%; max-width: 540px; justify-self: center; }
.y-story__frame { position: relative; aspect-ratio: 650 / 920; border-radius: 24px; overflow: hidden; background: #E9E6E3; }
.y-story__img { position: absolute; left: 0; top: 0; width: 184.6%; max-width: none; height: auto; }
.y-card .y-story__img, .y-story__media:hover .y-story__img { transform: none; }
.y-story__award { position: absolute; right: -18px; bottom: -28px; padding: 22px 26px; border-radius: 18px; background: var(--y-ivory); color: var(--y-cocoa); display: flex; align-items: center; gap: 14px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); font-size: 14px; line-height: 1.45; }
.y-story__award img { height: 56px; width: auto; }
.y-story__award small { font-size: 14px; color: var(--y-text-3); }
.y-story__copy { display: flex; flex-direction: column; gap: 26px; }
.y-story__copy .y-h2 { margin: 0; }
.y-story__copy .y-h2 em { color: var(--y-gold-light); }
.y-story__swash { width: 110px; height: auto; filter: brightness(1.4); }
.y-story__text { margin: 0; font-size: 17px; line-height: 1.75; color: var(--y-on-dark-2); }
.y-story__sign { margin: 0; font-size: 15px; letter-spacing: .1em; color: var(--y-gold-light); }
.y-story__sign::before { content: '— '; }
.y-story__pillars { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 26px; border-top: 1px solid rgba(212, 176, 106, .3); }
.y-story__pillars div { display: flex; flex-direction: column; gap: 6px; }
.y-story__pillars dt { font-family: var(--y-serif); font-size: 22px; }
.y-story__pillars dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--y-on-dark-3); }
.y-story .y-btn { align-self: flex-start; }

/* HOME: gifting */
.y-gifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.y-gift { border-radius: 24px; overflow: hidden; background: var(--y-sand); display: grid; grid-template-rows: 340px auto; }
.y-gift__media { display: block; overflow: hidden; }
.y-gift__media img { width: 100%; height: 100%; object-fit: cover; }
.y-gift__body { padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.y-gift__body p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--y-text-2); }
.y-gift__body .y-btn { margin-top: 8px; min-height: 50px; padding: 0 28px; }

/* Love notes slider */
.y-notes { background: var(--y-cream); border-block: 1px solid var(--y-line); }
.y-notes__inner { padding-block: 110px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.y-notes__swash { width: 96px; height: auto; opacity: .9; }
.y-notes__track { display: grid; width: 100%; }
.y-notes__slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .7s var(--y-ease), transform .7s var(--y-ease), visibility 0s linear .7s; }
.y-notes__slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
.y-notes__quote { margin: 0; }
.y-notes__quote p { margin: 0; font-family: var(--y-serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; text-wrap: balance; }
.y-notes__name { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.y-notes__controls { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.y-notes__count { min-width: 64px; font-size: 13px; letter-spacing: .14em; color: var(--y-text-3); font-variant-numeric: tabular-nums; }
.y-notes__pause { margin-left: 8px; padding: 6px 4px; border: 0; background: none; cursor: pointer; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--y-text-3); text-decoration: underline; text-underline-offset: 4px; }
.y-notes__pause:hover { color: var(--y-cocoa); }
.y-notes__pause-off, .y-notes__pause[aria-pressed="true"] .y-notes__pause-on { display: none; }
.y-notes__pause[aria-pressed="true"] .y-notes__pause-off { display: inline; }

/* Page hero + content (page.php, index, search, 404) */
.y-pagehero { padding-block: 80px 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.y-pagehero .y-h1 { margin: 0; max-width: 16ch; }
.y-pagehero__lede { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--y-text-2); }
.y-pagehero__media { margin-top: 24px; width: 100%; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--y-sand); }
.y-pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.y-content { padding-bottom: 120px; font-size: 17px; line-height: 1.75; color: var(--y-text-2); }
.y-content > * { max-width: 760px; margin-inline: auto; }
.y-content > .alignwide { max-width: 1140px; }
.y-content > .alignfull { max-width: none; margin-inline: calc(var(--y-gutter) * -1); }
.y-content h2, .y-content h3, .y-content h4 { color: var(--y-cocoa); margin-top: 1.6em; }
.y-content h2 { font-size: clamp(28px, 3vw, 40px); }
.y-content h3 { font-size: clamp(22px, 2.2vw, 28px); }
.y-content a:not(.y-btn):not(.wp-block-button__link) { color: var(--y-gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.y-content a:not(.y-btn):not(.wp-block-button__link):hover { color: var(--y-cocoa); }
.y-content img { border-radius: 16px; }
.y-content ul, .y-content ol { padding-left: 1.3em; }
.y-content li { margin-bottom: .4em; }
.y-content blockquote { margin: 2em auto; padding: 0 0 0 28px; border-left: 1px solid var(--y-gold); font-family: var(--y-serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--y-cocoa); }
.y-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.y-content th, .y-content td { padding: 12px 14px; border-bottom: 1px solid var(--y-line); text-align: left; }
.y-content strong { color: var(--y-cocoa); font-weight: 500; }

.y-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 32px; padding-bottom: 120px; }
.y-post { display: flex; flex-direction: column; gap: 14px; }
.y-post__media { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--y-sand); }
.y-post__media img { width: 100%; height: 100%; object-fit: cover; }
.y-post__title { margin: 0; font-size: 26px; }
.y-post__meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--y-text-3); }
.y-post__excerpt { margin: 0; color: var(--y-text-2); }
.y-pagination { display: flex; justify-content: center; gap: 8px; padding-bottom: 120px; }
.y-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: var(--y-radius-pill); border: 1px solid var(--y-line-strong); font-size: 14px; }
.y-pagination .page-numbers.current { background: var(--y-cocoa); color: var(--y-ivory); border-color: var(--y-cocoa); }
.y-search-page__group { padding-bottom: 72px; }
.y-search-page__group > .y-h2 { margin-bottom: 32px; font-size: clamp(28px, 2.6vw, 36px); }
.y-search-page__form { display: flex; gap: 12px; width: 100%; max-width: 560px; }
.y-search-page__form .y-input { flex: 1; }
.y-empty { text-align: center; padding: 40px 0 120px; color: var(--y-text-2); }

/* 404 */
.y-404 { padding-block: 100px 140px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.y-404__num { margin: 0; font-family: var(--y-serif); font-style: italic; font-size: clamp(120px, 20vw, 260px); line-height: .9; letter-spacing: -.04em; }
.y-404 .y-hero__ctas { justify-content: center; }

/* WordPress core bits */
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--y-text-3); margin-top: 8px; }
.sticky, .bypostauthor, .gallery-caption { /* WP required */ }

/* Motion */
@keyframes y-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes y-reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes y-zoom-out { from { transform: scale(1.3); } to { transform: scale(1.15); } }
@keyframes y-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes y-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes y-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes y-spin { to { transform: rotate(360deg); } }
@keyframes y-pop { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }

.y-rise { opacity: 0; animation: y-rise .9s var(--y-ease) forwards; }
.y-d1 { animation-delay: .12s; } .y-d2 { animation-delay: .24s; } .y-d3 { animation-delay: .36s; } .y-d4 { animation-delay: .48s; }
.y-reveal { animation: y-reveal 1.3s var(--y-ease-io) both; }
.y-float { animation: y-float 6s ease-in-out infinite; }
.y-spin { animation: y-spin 24s linear infinite; transform-origin: center; }

.y-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--y-ease), transform .9s var(--y-ease); transition-delay: var(--y-delay, 0s); }
.y-js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .y-rise, .y-js [data-reveal], .y-mnav .y-mnav__cat, .y-mnav .y-mnav__item { opacity: 1 !important; transform: none !important; }
  .y-marquee__track, .y-spin, .y-float, .y-gold { animation: none !important; }
  .y-card:hover img { transform: none; }
}

/* Responsive */
@media (max-width: 1200px) {
  .y-nav__list { gap: 20px; font-size: 12px; }
  .y-mega__inner { grid-template-columns: 220px 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  :root { --y-gutter: 24px; }
  .y-header__burger { display: inline-grid; }
  .y-nav { display: none; }
  .y-header__account { display: none; }
  .y-logo { height: 46px; }
  .y-hero { grid-template-columns: 1fr; padding-block: 48px 72px; gap: 48px; }
  .y-hero__art { min-height: 0; aspect-ratio: 1 / 1; max-width: 640px; width: 100%; margin-inline: auto; }
  .y-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; }
  .y-products--4 { grid-template-columns: repeat(2, 1fr); }
  .y-story__inner { grid-template-columns: 1fr; gap: 72px; padding-block: 96px; }
  .y-story__media { max-width: 640px; }
  .y-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .y-section { padding-block: 96px 64px; }
  .y-section--tight { padding-block: 24px 96px; }
}

@media (max-width: 782px) {
  .admin-bar .y-header, .admin-bar .y-search { top: 46px; }
}

@media (max-width: 768px) {
  :root { --y-gutter: 20px; }
  .y-gifts { grid-template-columns: 1fr; }
  .y-gift { grid-template-rows: 260px auto; }
  .y-gift__body { padding: 28px; }
  .y-h3 { font-size: 28px; }
  .y-bento { grid-auto-rows: 240px; gap: 14px; }
  .y-tile__title { font-size: 26px; }
  .y-tile--tall .y-tile__title { font-size: 36px; }
  .y-notes__inner, .y-newsletter__inner { padding-block: 80px; }
  .y-story__pillars { grid-template-columns: 1fr; gap: 16px; }
  .y-story__award { right: 12px; bottom: -32px; padding: 16px 18px; }
  .y-funding { width: 100%; justify-content: center; }
  .y-search__inner { padding-block: 32px; }
  .y-search__close { top: 30px; }
  .y-pagehero { padding-block: 56px 40px; }
}

@media (max-width: 600px) {
  .y-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .y-tile { min-height: 230px; }
  .y-tile--tall { grid-row: auto; min-height: 400px; }
  .y-mnav__cats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  :root { --y-gutter: 16px; }
  .y-topbar { font-size: 12px; letter-spacing: .04em; padding: 8px 16px; }
  .y-header__inner { gap: 8px; padding-block: 12px; }
  .y-logo { height: 38px; }
  .is-scrolled .y-header .y-logo { height: 34px; }
  .y-header__right { gap: 2px; }
  .y-bag { padding: 0 14px; gap: 6px; }
  .y-bag__label, .y-bag__sep { display: none; }
  .y-hero { padding-block: 36px 56px; gap: 40px; }
  .y-hero__title { font-size: 46px; }
  .y-hero__lead { font-size: 16px; }
  .y-hero__ctas .y-btn { width: 100%; }
  .y-hero__proof { gap: 4px 20px; font-size: 13px; }
  .y-hero__arch { inset: 0 0 0 28px; border-radius: 200px 200px 20px 20px; }
  .y-hero__bonbon { width: 112px; height: 112px; bottom: 36px; border-width: 4px; }
  .y-hero__badge { width: 96px; height: 96px; right: -4px; top: 8px; }
  .y-hero__badge svg { width: 96px; height: 96px; }
  .y-hero__swash { width: 42px; }
  .y-marquee { padding: 14px 0; }
  .y-marquee__track { font-size: 22px; gap: 36px; }
  .y-section { padding-block: 72px 48px; }
  .y-section--tight { padding-block: 16px 72px; }
  .y-section__head { margin-bottom: 32px; }
  .y-products--4 { gap: 20px 14px; }
  .y-pcard__row { flex-direction: column; gap: 4px; }
  .y-pcard__title { font-size: 18px; }
  .y-pcard__note { display: none; }
  .y-story__inner { padding-block: 72px 96px; gap: 64px; }
  .y-gift { grid-template-rows: 220px auto; }
  .y-gift__body { padding: 24px; }
  .y-footer__inner { padding-block: 64px 32px; gap: 40px; }
  .y-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .y-footer__brand, .y-footer__visit { grid-column: span 2; }
  .y-funding__logo { height: 32px; }
  .y-newsletter__form .y-btn { width: 100%; }
  .y-search__form { margin-right: 44px; }
}
