/* Page frame around the boards. The boards carry their own inline styles (the approved designs, unchanged). */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; color: #2A1B36; background: #FBF8F6; }
a { color: #2A1B36; text-decoration: none; }
a:hover { color: #4B40B8; }
img { max-width: none; }
.sc-lock { overflow: hidden; }
[hidden] { display: none !important; }

/* Desktop board at >= 1024px, phone board below. Each is scaled to the window (site.js sets the zoom). */
.sc-m, .sc-chrome-m { display: none; }
.sc-d, .sc-chrome-d { zoom: var(--scz-d, 1); }
.sc-d .sc-root, .sc-chrome-d > * { width: 1440px !important; }
.sc-chrome > * { box-sizing: border-box; } /* the shared header's 56px padding sits inside its 1440px (it was 112px too wide) */
/* Wider than 1440px: the page stays at its designed 1440px, centred; full-width bands bleed their background to the
   window edges (site.js adds the .sc-bleed backdrops, --sc-vw is the window width). */
.sc-d .sc-root, .sc-chrome-d > * { margin-left: auto !important; margin-right: auto !important; }
.sc-wide { overflow-x: clip; }
.sc-bleed { display: none; }
.sc-wide .sc-bleed { display: block; position: absolute; top: 0; bottom: 0; left: calc((100% - var(--sc-vw)) / 2); width: var(--sc-vw); max-width: none; z-index: -2; box-sizing: border-box; pointer-events: none; }
.sc-wide [data-sc-bleed] { isolation: isolate; overflow-x: visible !important; overflow-y: clip !important; }
.sc-wide [data-sc-bleed="static"] { position: relative; }
.sc-wide [data-sc-bleed-star] { left: calc((100% - var(--sc-vw)) / 2) !important; right: auto !important; width: var(--sc-vw) !important; max-width: none !important; }
@media (max-width: 1023px) {
  .sc-d, .sc-chrome-d { display: none; }
  .sc-m, .sc-chrome-m { display: block; zoom: var(--scz-m, 1); width: 390px; margin: 0 auto; }
  .sc-m .sc-root { width: 390px !important; }
}
.sc-root:not(.sc-keep) { height: auto !important; min-height: 0 !important; overflow: visible !important; }
.sc-fixed { display: flex; justify-content: center; padding: 24px 0; }
.sc-fixed .sc-root { height: auto !important; }

/* Desktop mega menu (from the MenuDesktop board) */
.sc-mega { position: absolute; left: 0; right: 0; z-index: 60; width: 1440px; }
.sc-mega { margin: 0 auto; }

/* Phone menu (from the PhoneMenu board) */
.sc-pmenu { position: fixed; inset: 0; z-index: 80; background: #ffffff; overflow-y: auto; zoom: var(--scz-m, 1); }

/* Basket drawer */
.sc-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(33,21,44,.62); }
.sc-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 520px; max-width: 100%; overflow-y: auto; }
@media (max-width: 1023px) { .sc-drawer-panel { width: 100%; } }

/* WooCommerce pages rendered by WooCommerce itself (inside the board header and footer) */
.sc-wp { max-width: 1328px; margin: 0 auto; padding: 32px 56px 88px; box-sizing: border-box; min-height: 50vh; }
@media (max-width: 1023px) { .sc-wp { padding: 20px 16px 56px; } }
.sc-wp h1, .sc-wp-title { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 48px; line-height: 1.05; margin: 0 0 24px; }
.sc-wp .button, .sc-wp button.button, .sc-wp input[type=submit] { background: #2A1B36; color: #fff; border: 0; border-radius: 999px; padding: 14px 24px; font: 700 15px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.sc-wp input[type=text], .sc-wp input[type=email], .sc-wp input[type=tel], .sc-wp input[type=password], .sc-wp select, .sc-wp textarea { height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid #D6CCDF; background: #fff; font: 16px 'DM Sans', system-ui, sans-serif; color: #2A1B36; box-sizing: border-box; width: 100%; }
.sc-wp textarea { height: auto; padding: 12px 14px; }
.sc-flink { color: inherit; }
/* phone filter sheet (PhoneFilter board) */
.sc-pfilter { position: fixed; inset: 0; z-index: 85; background: rgba(33,21,44,.55); }
.sc-pfilter[hidden] { display: none; }
.sc-pfilter-in { position: absolute; inset: 0; zoom: var(--scz-m, 1); }
.sc-pfilter-in > div > div:nth-child(2) { overflow-y: auto; }
/* Pick & Mix bag drawer (PickMixBag board) */
.sc-pm { position: fixed; inset: 0; z-index: 85; background: rgba(42,27,54,.35); }
.sc-pm aside { position: absolute; }
.sc-pm button[disabled] { opacity: .5; cursor: default; }
/* privacy policy / terms text pages */
.sc-legal { max-width: 780px; margin: 0 auto; padding: 24px 20px 72px; }
.sc-legal-body { color: #2A1B36; font-size: 16px; line-height: 1.65; }
.sc-legal-body h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin: 12px 0 24px; }
.sc-legal-body h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 26px; margin: 40px 0 10px; }
.sc-legal-body h3 { font-size: 17px; margin: 24px 0 6px; }
.sc-legal-body p, .sc-legal-body li { margin: 0 0 12px; }
.sc-legal-body ul { padding-left: 20px; }
.sc-legal-body a { color: #4B40B8; font-weight: 600; text-decoration: underline; }
.sc-legal-body table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.sc-legal-body th, .sc-legal-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid #ECE4EC; }
.sc-legal-body th { background: #F4EFF2; }
@media (max-width: 600px) { .sc-legal-body table { display: block; overflow-x: auto; } }
/* cookie consent banner (house style: white card, Fraunces title, dark pill buttons) */
.sc-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; display: flex; justify-content: center; pointer-events: none; }
.sc-consent-card { pointer-events: auto; width: 100%; max-width: 560px; background: #ffffff; color: #2A1B36; border-radius: 22px; padding: 22px 24px; box-shadow: 0 20px 60px rgba(42,27,54,.28), 0 0 0 1px #ECE4EC; font: 15px/1.5 'DM Sans', system-ui, sans-serif; display: flex; flex-direction: column; gap: 12px; }
.sc-consent-title { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 22px; line-height: 1.2; }
.sc-consent-title em { color: #4B40B8; }
.sc-consent-card p { margin: 0; color: #655A70; }
.sc-consent-card a { color: #4B40B8; font-weight: 600; text-decoration: underline; }
.sc-consent-opts { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
.sc-consent-opts label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #655A70; cursor: pointer; }
.sc-consent-opts input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #4B40B8; flex-shrink: 0; }
.sc-consent-opts b { color: #2A1B36; margin-right: 4px; }
.sc-consent-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-consent-btns button { flex: 1 1 auto; min-height: 46px; padding: 0 18px; border-radius: 999px; font: 700 15px 'DM Sans', system-ui, sans-serif; cursor: pointer; border: 0; }
.sc-consent-yes { background: #2A1B36; color: #ffffff; }
.sc-consent-no { background: #F4EFF2; color: #2A1B36; }
.sc-consent-more { background: transparent; color: #2A1B36; text-decoration: underline; flex: 0 1 auto !important; }
.sc-consent-link { cursor: pointer; }
/* creator dashboard: log in / apply panel, and YITH's dashboard in the house style */
.sc-aff-gate h1 em { color: #4B40B8; }
.sc-aff-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.sc-aff-cards > div { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: #ffffff; box-shadow: inset 0 0 0 1px #ECE4EC; }
.sc-aff-cards > div:last-child { background: #EDE6FA; box-shadow: none; }
.sc-aff-cards b { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 22px; }
.sc-aff-cards span { color: #655A70; }
.sc-legal-body a.sc-aff-btn { display: inline-flex; align-self: flex-start; align-items: center; height: 48px; padding: 0 22px; margin-top: 6px; border-radius: 999px; background: #2A1B36; color: #ffffff; text-decoration: none; font-weight: 700; }
.sc-legal-body a.sc-aff-btn-light { background: #ffffff; color: #2A1B36; }
.sc-aff-small { font-size: 14px; color: #655A70; }
.yith-wcaf, .yith-wcaf-dashboard, .yith-wcaf-section { font-family: 'DM Sans', system-ui, sans-serif; color: #2A1B36; }
.yith-wcaf h2, .yith-wcaf h3, .yith-wcaf-dashboard h2, .yith-wcaf-dashboard h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; }
.yith-wcaf table, .yith-wcaf-dashboard table { width: 100%; border-collapse: collapse; }
.yith-wcaf th, .yith-wcaf td, .yith-wcaf-dashboard th, .yith-wcaf-dashboard td { padding: 10px 12px; border-top: 1px solid #ECE4EC; text-align: left; }
.yith-wcaf .button, .yith-wcaf-dashboard .button, .yith-wcaf button, .yith-wcaf-dashboard button { border-radius: 999px; background: #2A1B36; color: #ffffff; border: 0; padding: 12px 20px; font-weight: 700; }

/* Bee wands: show the gemstone top, not the handle (owner, 12 Oct) */
img[alt*="Bee Crystal Wand" i], img[alt*="Bee wand" i], img[src*="/308-600x503"], img[src*="/299-600x503"], img[src*="/301-600x503"], img[src*="/302-600x503"], img[src*="/303-1-"], img[src*="/306-1-"] { object-position: 50% 0 !important; }
/* bag bar (owner, 18 Oct): slides up after an add instead of opening the basket / Pick & Mix drawer (site.js bagBar) */
.sc-bagbar { box-sizing: border-box; position: fixed; z-index: 70; left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); bottom: calc(10px + var(--sc-bb-lift, 0px) + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sum view" "mid mid"; align-items: center; gap: 9px 10px; padding: 12px 14px; border-radius: 18px; background: #382247; color: #ffffff; font: 15px/1.4 'DM Sans', system-ui, sans-serif; box-shadow: 0 14px 30px -10px rgba(42,27,54,.55); transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), visibility 0s .35s; }
.sc-bagbar.on { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.9,.3,1.2); }
.sc-bb-sum { grid-area: sum; min-width: 0; }
.sc-bb-sum b { font-weight: 700; }
.sc-bb-sum s, .sc-bb-sum small { margin-left: 6px; color: #BFB2CC; font-size: 13px; }
.sc-bb-mid { grid-area: mid; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sc-bb-track { position: relative; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.sc-bb-fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; background: #E9C46A; transition: width .35s ease; }
.sc-bb-mark { position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #382247; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); transition: background .3s; }
.sc-bb-mark.on { background: #E9C46A; box-shadow: none; }
.sc-bb-nudge { font-size: 13px; color: #E4DAEE; }
.sc-bb-nudge b { color: #ffffff; }
.sc-bb-view { grid-area: view; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #ffffff; color: #2A1B36; font: 700 14px 'DM Sans', system-ui, sans-serif; white-space: nowrap; cursor: pointer; }
.sc-bb-toast { position: absolute; left: 0; right: 0; top: -12px; transform: translateY(-100%); display: flex; justify-content: center; pointer-events: none; }
.sc-bb-toast span { max-width: 92%; text-align: center; padding: 8px 14px; border-radius: 999px; background: #E9C46A; color: #382247; font-weight: 700; font-size: 14px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .25s, transform .25s; }
.sc-bb-toast.show span { opacity: 1; transform: none; }
.sc-bb-on body { padding-bottom: 130px; }
@media (min-width: 1024px) {
  .sc-bagbar { left: 50%; right: auto; width: 720px; margin-left: -360px; bottom: 18px; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "sum mid view"; gap: 18px; padding: 12px 14px 12px 20px; }
  .sc-bb-sum { white-space: nowrap; }
}
/* a Pick & Mix card's "+ Add" once the stone is in the bag: − 2 + */
.sc-pm-step span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 100%; font-size: 19px; font-weight: 600; }
.sc-pm-step b { min-width: 14px; text-align: center; }
.sc-pm-pop { animation: sc-pm-pop .35s ease; display: inline-block; }
@keyframes sc-pm-pop { 40% { transform: scale(1.45); } }
@media (prefers-reduced-motion: reduce) { .sc-bagbar, .sc-bb-fill, .sc-bb-toast span { transition: none; } .sc-pm-pop { animation: none; } }
/* phone menu section buttons (owner, 18 Oct; build.py phone_menu_tabs): 3x3 grid of links, All crystals dark, gold Statement + Lighting */
.sc-mt-grid { margin: 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sc-mt-tab { display: flex; align-items: center; justify-content: center; text-align: center; height: 42px; padding: 0 6px; border: 0; border-radius: 11px; background: #F4EFF2; color: #2A1B36; font: 700 14px/1.15 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.sc-mt-on { background: #2A1B36; color: #ffffff; }
.sc-mt-gold { background: #E9C46A; color: #21152C; }
.sc-mt-gold::before { content: "✦"; font-size: 11px; margin-right: 5px; }
.sc-mt-panel { margin-top: 12px; border-top: 1px solid #ECE4EC; padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.sc-mt-h { display: flex; justify-content: space-between; align-items: baseline; }
.sc-mt-h span { font-family: 'Fraunces', Georgia, serif; font-size: 26px; line-height: 1.1; }
.sc-mt-h a { font-size: 14px; font-weight: 700; color: #4B40B8; }
.sc-mt-crystals [data-sc-sub] { background: none !important; border: 0 !important; padding: 0 !important; }
.sc-mt-crystals > [data-sc-sub] + [data-sc-sub] { margin-top: 6px; }

/* Google shop reviews (owner, 19 Oct; inc/reviews.php): homepage stats, product page, checkout, Our shops */
.sc-rv-line { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font: 500 14px/1.3 'DM Sans', system-ui, sans-serif; color: #2A1B36; text-decoration: none; }
.sc-rv-line b { font-weight: 700; }
.sc-rv-st { color: #E2A93B; letter-spacing: 1px; font-size: 15px; }
.sc-rv-mu { color: #655A70; }
.sc-rv-g { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #E6DDE8; font: 700 11px Arial, sans-serif; color: #4285F4; }
.sc-rv-line:hover .sc-rv-mu, .sc-rv-line:focus-visible .sc-rv-mu { color: #4B40B8; }
.sc-rv-product { margin: 12px 0 4px; }
.sc-rv-checkout { margin: 0 0 12px; display: flex; justify-content: center; }
.sc-rv-shop { margin: 6px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.sc-rv-q { font: italic 15px/1.45 'DM Sans', system-ui, sans-serif; color: #655A70; }
.sc-rv-more { font: 600 14px 'DM Sans', system-ui, sans-serif; color: #4B40B8; }
.sc-rv-stats { display: flex; gap: 22px; align-items: flex-start; margin-top: 4px; color: #fff; }
.sc-rv-stat { display: flex; flex-direction: column; gap: 2px; }
.sc-rv-stat b { font: 500 24px/1 'Fraunces', Georgia, serif; }
.sc-rv-stat span { font: 500 12.5px/1.3 'DM Sans', system-ui, sans-serif; color: #E8DFF0; }
/* review lines link to each shop's Google profile (owner, 19 Oct: clickable so people can check) */
.sc-rv-links a { color: #4B40B8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sc-rv-links a:hover, .sc-rv-links a:focus-visible { color: #2A1B36; }
.sc-rv-links-s { display: block; margin-top: 3px; font-size: 13px; }
.sc-rv-links-w a { color: #FFFFFF; }
.sc-rv-links-w a:hover, .sc-rv-links-w a:focus-visible { color: #E9C46A; }
