/*
Theme Name: Storm Heart Goods
Theme URI: https://stormheartgoods.com/
Author: Storm Heart Goods
Description: A warm, editorial WooCommerce storefront for toys, baby essentials, games, and thoughtful everyday finds.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: storm-heart-goods
*/

:root {
  --shg-ink: #101924;
  --shg-navy: #121d2b;
  --shg-coral: #f05243;
  --shg-coral-dark: #d33f33;
  --shg-ivory: #fbf8f1;
  --shg-paper: #fffdf8;
  --shg-sage: #aebda9;
  --shg-blue: #a9bed1;
  --shg-mustard: #dfb65d;
  --shg-peach: #f1c1aa;
  --shg-muted: #68717c;
  --shg-line: rgba(16, 25, 36, .13);
  --shg-radius: 18px;
  --shg-shadow: 0 18px 50px rgba(16, 25, 36, .09);
  --shg-container: min(1320px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--shg-ink);
  background: var(--shg-ivory);
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button, .button, input[type="submit"] { cursor: pointer; }
:focus-visible { outline: 3px solid var(--shg-coral); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important;
  z-index: 9999;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 10px 16px;
  clip: auto;
  background: #fff;
  color: #000;
}

.shg-container { width: var(--shg-container); margin-inline: auto; }
.shg-section { padding: 96px 0; }
.shg-section--compact { padding: 64px 0; }
.shg-section--paper { background: var(--shg-paper); }
.shg-section--ink { background: var(--shg-ink); color: white; }
.shg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--shg-coral-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.shg-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.shg-title {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.shg-section-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.shg-section-copy { max-width: 650px; color: var(--shg-muted); }
.shg-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}
.shg-text-link { font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; }
.shg-text-link::after { content: " →"; display: inline-block; transition: transform .2s ease; }
.shg-text-link:hover::after { transform: translateX(4px); }

.shg-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--shg-ink);
  border-radius: 999px;
  background: var(--shg-ink);
  color: #fff;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.shg-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { transform: translateY(-2px); background: var(--shg-coral); border-color: var(--shg-coral); color: #fff; }
.shg-button--light { background: #fff; border-color: #fff; color: var(--shg-ink); }
.shg-button--ghost { background: transparent; color: var(--shg-ink); }
.shg-button--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }

.shg-announcement {
  padding: 8px 20px;
  background: var(--shg-coral);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: center;
}
.shg-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(16, 25, 36, .96);
  color: #fff;
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
}
.shg-header.is-scrolled { box-shadow: 0 10px 30px rgba(4, 12, 21, .18); }
.shg-header__inner {
  display: grid;
  grid-template-columns: minmax(190px, 270px) 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 82px;
}
.shg-logo { display: block; text-decoration: none; }
.shg-logo img { width: min(100%, 265px); max-height: 44px; object-fit: contain; object-position: left center; }
.shg-nav ul { display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.shg-nav a { display: block; padding: 28px 0 25px; border-bottom: 3px solid transparent; font-size: .91rem; font-weight: 700; text-decoration: none; }
.shg-nav a:hover, .shg-nav .current-menu-item > a { border-color: var(--shg-coral); }
.shg-nav li { position: relative; }
.shg-nav .sub-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  display: grid;
  width: 240px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: var(--shg-ink);
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.shg-nav li:hover > .sub-menu, .shg-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.shg-nav .sub-menu a { padding: 9px 12px; border: 0; border-radius: 8px; font-size: .85rem; }
.shg-nav .sub-menu a:hover { background: rgba(255,255,255,.09); }
.shg-header-actions { display: flex; align-items: center; gap: 4px; }
.shg-icon-link,
.shg-menu-toggle,
.shg-mobile-close {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  text-decoration: none;
}
.shg-icon-link:hover, .shg-menu-toggle:hover, .shg-mobile-close:hover { background: rgba(255,255,255,.1); }
.shg-icon-link svg, .shg-menu-toggle svg, .shg-mobile-close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.shg-cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--shg-coral);
  color: #fff;
  font-size: .67rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.shg-menu-toggle { display: none; }

.shg-mobile-drawer {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  grid-template-columns: min(430px, 88vw) 1fr;
  pointer-events: none;
  visibility: hidden;
}
.shg-mobile-drawer__panel {
  padding: 26px;
  background: var(--shg-ink);
  color: #fff;
  transform: translateX(-101%);
  transition: transform .3s ease;
}
.shg-mobile-drawer__backdrop { background: rgba(4,12,21,.48); opacity: 0; transition: opacity .3s ease; }
.menu-open .shg-mobile-drawer { pointer-events: auto; visibility: visible; }
.menu-open .shg-mobile-drawer__panel { transform: none; }
.menu-open .shg-mobile-drawer__backdrop { opacity: 1; }
.shg-mobile-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.shg-mobile-drawer__top img { width: 230px; }
.shg-mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.shg-mobile-nav a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 1.18rem; font-weight: 750; text-decoration: none; }
.shg-mobile-nav .sub-menu { padding-left: 18px; }
.shg-mobile-nav .sub-menu a { padding: 10px 0; font-size: .95rem; color: rgba(255,255,255,.72); }
.shg-mobile-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.shg-mobile-tools a { padding: 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; text-align: center; text-decoration: none; }
.shg-mobile-search { margin: 24px 0 10px; }
.shg-mobile-search form { display: flex; }
.shg-mobile-search input { flex: 1; min-width: 0; padding: 14px; border: 0; border-radius: 12px 0 0 12px; }
.shg-mobile-search button { padding: 0 16px; border: 0; border-radius: 0 12px 12px 0; background: var(--shg-coral); color: white; }

.shg-hero {
  position: relative;
  overflow: hidden;
  background: var(--shg-ink);
  color: #fff;
}
.shg-hero::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  top: -260px; right: -130px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}
.shg-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(46px, 8vw, 120px);
  min-height: 690px;
  padding-block: 90px;
}
.shg-hero__copy p { max-width: 640px; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.6vw, 1.22rem); }
.shg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.shg-hero__art { position: relative; min-height: 460px; }
.shg-play-shape { position: absolute; box-shadow: var(--shg-shadow); }
.shg-play-shape--arch { inset: 10% 10% 5% 8%; border-radius: 220px 220px 28px 28px; background: var(--shg-peach); transform: rotate(4deg); }
.shg-play-shape--card { inset: 21% 4% 2% 18%; display: flex; flex-direction: column; justify-content: end; padding: 38px; border-radius: 30px; background: var(--shg-paper); color: var(--shg-ink); transform: rotate(-4deg); }
.shg-play-shape--card strong { display: block; max-width: 310px; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.04em; }
.shg-play-shape--circle { width: 120px; height: 120px; top: 0; right: 0; border-radius: 50%; background: var(--shg-mustard); }
.shg-play-shape--block { width: 92px; height: 92px; left: 1%; bottom: 3%; border-radius: 22px; background: var(--shg-blue); transform: rotate(20deg); }
.shg-play-shape--heart { width: 76px; height: 76px; right: 13%; bottom: 18%; border-radius: 46% 54% 58% 42%; background: var(--shg-coral); transform: rotate(18deg); }

.shg-quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.shg-quick-card {
  position: relative;
  min-height: 176px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--shg-line);
  border-radius: var(--shg-radius);
  background: var(--shg-paper);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.shg-quick-card:hover { transform: translateY(-5px); box-shadow: var(--shg-shadow); }
.shg-quick-card:nth-child(2) { background: #eef2e9; }
.shg-quick-card:nth-child(3) { background: #edf3f8; }
.shg-quick-card:nth-child(4) { background: #fbede5; }
.shg-quick-card:nth-child(5) { background: #f6efd9; }
.shg-quick-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 34px; border-radius: 50%; background: var(--shg-ink); color: #fff; font-size: 1.35rem; }
.shg-quick-card strong { font-size: 1.05rem; }
.shg-quick-card span:last-child { position: absolute; right: 20px; bottom: 18px; font-size: 1.4rem; transition: transform .2s ease; }
.shg-quick-card:hover span:last-child { transform: translateX(4px); }

.shg-age-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.shg-age-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1.6;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.shg-age-card:hover { background: var(--shg-coral); transform: translateY(-3px); }
.shg-section--ink .shg-eyebrow { color: var(--shg-peach); }
.shg-section--ink .shg-section-copy { color: rgba(255,255,255,.65); }

.shg-bento { display: grid; grid-template-columns: 1.25fr .75fr 1fr; grid-template-rows: repeat(2, 260px); gap: 16px; }
.shg-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--shg-blue);
  text-decoration: none;
  isolation: isolate;
}
.shg-bento-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 260px; height: 260px;
  top: -100px; right: -70px;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  transition: transform .35s ease;
}
.shg-bento-card:hover::before { transform: scale(1.22); }
.shg-bento-card--large { grid-row: 1 / 3; background: var(--shg-coral); color: #fff; }
.shg-bento-card:nth-child(2) { background: var(--shg-sage); }
.shg-bento-card:nth-child(3) { background: var(--shg-mustard); }
.shg-bento-card:nth-child(4) { background: var(--shg-peach); }
.shg-bento-card:nth-child(5) { background: #d8d0e4; }
.shg-bento-card strong { display: block; max-width: 280px; font-size: clamp(1.25rem, 2.5vw, 2.2rem); line-height: 1.05; letter-spacing: -.04em; }
.shg-bento-card span { margin-top: 8px; font-weight: 700; }

.shg-story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}
.shg-story__visual { position: relative; min-height: 500px; border-radius: 30px; background: var(--shg-blue); overflow: hidden; }
.shg-story__visual::before { content: ""; position: absolute; inset: 14% 20% 8% 12%; border-radius: 50% 50% 18px 18px; background: var(--shg-mustard); transform: rotate(-8deg); }
.shg-story__visual::after { content: "♥"; position: absolute; right: 12%; top: 15%; display: grid; place-items: center; width: 130px; height: 130px; border-radius: 50%; background: var(--shg-coral); color: white; font-size: 3rem; }
.shg-story__copy p { color: var(--shg-muted); font-size: 1.08rem; }

.shg-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--shg-line); border-radius: 18px; overflow: hidden; background: var(--shg-paper); }
.shg-trust-item { padding: 26px; border-right: 1px solid var(--shg-line); }
.shg-trust-item:last-child { border-right: 0; }
.shg-trust-item strong { display: block; margin-bottom: 4px; }
.shg-trust-item span { color: var(--shg-muted); font-size: .9rem; }

.shg-newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 28px;
  background: var(--shg-coral);
  color: #fff;
}
.shg-newsletter p { margin-bottom: 0; color: rgba(255,255,255,.76); }
.shg-newsletter__pending { padding: 12px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .86rem; font-weight: 700; }

.shg-footer { padding: 70px 0 28px; background: var(--shg-ink); color: #fff; }
.shg-footer__grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.shg-footer__brand img { width: min(100%, 285px); margin-bottom: 20px; }
.shg-footer__brand p { max-width: 400px; color: rgba(255,255,255,.6); }
.shg-footer h2 { margin: 0 0 14px; font-size: .86rem; text-transform: uppercase; letter-spacing: .12em; }
.shg-footer ul { margin: 0; padding: 0; list-style: none; }
.shg-footer li { margin-bottom: 9px; }
.shg-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.shg-footer a:hover { color: #fff; }
.shg-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .82rem; }

.shg-page-hero { padding: 84px 0 64px; background: var(--shg-paper); border-bottom: 1px solid var(--shg-line); }
.shg-page-hero p { max-width: 650px; margin: 16px 0 0; color: var(--shg-muted); }
.shg-content { width: min(840px, calc(100vw - 48px)); margin: 0 auto; padding: 72px 0 100px; }
.shg-content > *:first-child { margin-top: 0; }
.shg-content h2, .shg-content h3 { line-height: 1.15; letter-spacing: -.03em; }
.shg-content a { color: var(--shg-coral-dark); }
.shg-contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; width: var(--shg-container); margin: 0 auto; padding: 80px 0 110px; }
.shg-contact-card { padding: 30px; border-radius: 20px; background: var(--shg-ink); color: #fff; }
.shg-contact-card p { color: rgba(255,255,255,.68); }
.shg-business-details { display:grid; gap:24px; margin-top:30px; padding-top:26px; border-top:1px solid rgba(255,255,255,.16); }
.shg-business-detail h3 { margin:0 0 9px; color:#fff; font-size:.76rem; line-height:1.25; letter-spacing:.11em; text-transform:uppercase; }
.shg-business-detail address { margin:0; color:rgba(255,255,255,.72); font-style:normal; line-height:1.65; }
.shg-business-hours { display:grid; gap:5px; margin:0; color:rgba(255,255,255,.72); }
.shg-business-hours div { display:grid; grid-template-columns:68px minmax(0,1fr); gap:14px; }
.shg-business-hours dt { font-weight:700; color:#fff; white-space:nowrap; }
.shg-business-hours dd { margin:0; }
.shg-business-details--footer { gap:17px; margin-top:24px; padding-top:20px; max-width:410px; }
.shg-business-details--footer .shg-business-detail h3 { margin-bottom:7px; color:rgba(255,255,255,.92); font-size:.68rem; }
.shg-business-details--footer .shg-business-detail address,
.shg-business-details--footer .shg-business-hours { color:rgba(255,255,255,.58); font-size:.83rem; line-height:1.55; }
.shg-business-details--footer .shg-business-hours div { grid-template-columns:58px minmax(0,1fr); gap:10px; }
.shg-business-details--footer .shg-business-hours dt { color:rgba(255,255,255,.82); }
.shg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shg-field { display: grid; gap: 7px; }
.shg-field--full { grid-column: 1 / -1; }
.shg-field label { font-weight: 700; }
.shg-field input, .shg-field textarea, .shg-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--shg-line);
  border-radius: 10px;
  background: #fff;
  color: var(--shg-ink);
}
.shg-field textarea { min-height: 170px; resize: vertical; }
.shg-consent { display: flex; align-items: start; gap: 10px; color: var(--shg-muted); font-size: .9rem; }
.shg-consent input { margin-top: 5px; }
.shg-form-notice { grid-column: 1 / -1; padding: 13px 16px; border-radius: 10px; background: #e9f5ea; color: #174a21; }
.shg-form-notice--error { background: #fde9e7; color: #7e251d; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { margin: 0 0 24px; color: var(--shg-muted); font-size: .83rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--shg-ink); }
.woocommerce .products ul, .woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none; width: auto; margin: 0; }
.woocommerce ul.products li.product a img {
  aspect-ratio: 1;
  width: 100%;
  margin: 0 0 16px;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  transition: transform .35s ease;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.02); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; color: var(--shg-ink); font-size: .98rem; font-weight: 720; line-height: 1.38; }
.woocommerce ul.products li.product .price { margin-top: 8px; color: var(--shg-ink); font-size: .95rem; font-weight: 800; }
.woocommerce ul.products li.product .button { min-height: 42px; margin-top: 13px; padding: 11px 16px; font-size: .82rem; }
.shg-stock-badge {
  position: absolute;
  z-index: 2;
  top: 12px; left: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--shg-ink);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.shg-stock-badge--out { background: #6d737b; }
.woocommerce ul.products li.product { position: relative; }
.shg-product-section .woocommerce { width: 100%; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-ordering select { padding: 10px 34px 10px 12px; border: 1px solid var(--shg-line); border-radius: 9px; background: #fff; }
.woocommerce div.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 7vw, 90px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; }
.woocommerce div.product div.images img { border-radius: 18px; background: #fff; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.05em; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--shg-ink); font-size: 1.35rem; font-weight: 800; }
.woocommerce div.product .stock { color: #27783d; font-weight: 750; }
.woocommerce div.product .out-of-stock { color: #9a342b; }
.woocommerce div.product form.cart .button { min-height: 50px; }
.woocommerce div.product form.cart div.quantity { margin-right: 10px; }
.woocommerce .quantity .qty { min-height: 50px; border: 1px solid var(--shg-line); border-radius: 10px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--shg-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--shg-coral); background: #fff; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--shg-coral); }
.woocommerce-cart table.cart img { width: 84px; border-radius: 10px; }
.woocommerce-checkout #payment { background: #f0ece4; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 0; }
.shg-shop-shell { width: var(--shg-container); margin: 0 auto; padding: 54px 0 100px; }

.shg-empty { padding: 70px 30px; border: 1px dashed var(--shg-line); border-radius: 18px; background: var(--shg-paper); text-align: center; }
.shg-empty p { color: var(--shg-muted); }
.shg-post-list { display: grid; gap: 24px; }
.shg-post-card { padding: 26px; border: 1px solid var(--shg-line); border-radius: 16px; background: var(--shg-paper); }
.shg-post-card h2 { margin-top: 0; }

.reveal { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .shg-header__inner { grid-template-columns: 210px 1fr auto; gap: 18px; }
  .shg-nav ul { gap: 16px; }
  .shg-nav a { font-size: .82rem; }
  .shg-quick-grid { grid-template-columns: repeat(3, 1fr); }
  .shg-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 230px 230px; }
  .shg-bento-card--large { grid-row: auto; grid-column: 1 / -1; }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --shg-container: min(100% - 32px, 760px); }
  .shg-section { padding: 72px 0; }
  .shg-nav { display: none; }
  .shg-header__inner { grid-template-columns: 1fr auto; min-height: 72px; }
  .shg-header-actions .shg-account-link { display: none; }
  .shg-menu-toggle { display: inline-grid; }
  .shg-hero__inner { grid-template-columns: 1fr; min-height: auto; padding-block: 80px; }
  .shg-hero__art { min-height: 380px; }
  .shg-story { grid-template-columns: 1fr; }
  .shg-story__visual { min-height: 360px; }
  .shg-trust-grid { grid-template-columns: 1fr 1fr; }
  .shg-trust-item:nth-child(2) { border-right: 0; }
  .shg-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--shg-line); }
  .shg-newsletter { grid-template-columns: 1fr; }
  .shg-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .shg-footer__brand { grid-column: 1 / -1; }
  .shg-contact-grid { grid-template-columns: 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  :root { --shg-container: calc(100% - 24px); }
  .shg-announcement { font-size: .72rem; }
  .shg-logo img { width: 215px; }
  .shg-header-actions { gap: 0; }
  .shg-header-actions .shg-search-link { display: none; }
  .shg-section-head { align-items: start; flex-direction: column; }
  .shg-hero__inner { padding-block: 62px; }
  .shg-hero__art { min-height: 310px; }
  .shg-play-shape--card { padding: 26px; }
  .shg-play-shape--circle { width: 86px; height: 86px; }
  .shg-play-shape--block { width: 70px; height: 70px; }
  .shg-quick-grid { grid-template-columns: 1fr 1fr; }
  .shg-quick-card { min-height: 145px; padding: 18px; }
  .shg-quick-card__icon { margin-bottom: 20px; }
  .shg-age-row { grid-template-columns: repeat(2, 1fr); }
  .shg-age-card:last-child { grid-column: 1 / -1; aspect-ratio: 3.2; }
  .shg-bento { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .shg-bento-card, .shg-bento-card--large { min-height: 210px; grid-column: auto; }
  .shg-trust-grid { grid-template-columns: 1fr; }
  .shg-trust-item { border-right: 0; border-bottom: 1px solid var(--shg-line); }
  .shg-trust-item:last-child { border-bottom: 0; }
  .shg-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .shg-footer__brand { grid-column: 1 / -1; }
  .shg-footer__bottom { flex-direction: column; }
  .shg-form { grid-template-columns: 1fr; }
  .shg-field--full { grid-column: auto; }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .88rem; }
  .woocommerce ul.products li.product .button { width: 100%; }
}

@media (max-width: 380px) {
  .shg-logo img { width: 185px; }
  .shg-icon-link, .shg-menu-toggle { width: 38px; height: 38px; }
  .shg-quick-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Final storefront treatments. */
.shg-hero__copy .shg-eyebrow { font-size:.76rem; margin-bottom:14px; }
.shg-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button { border-radius: 8px; }
.shg-header__inner { grid-template-columns: 235px 1fr auto; gap: 20px; }
.shg-nav ul { gap: 20px; }
.shg-nav a { white-space: nowrap; font-size: .85rem; }
.shg-search-bar { background: var(--shg-paper); border-bottom: 1px solid var(--shg-line); padding: 10px 0; }
.shg-search-bar form { display:flex; max-width:650px; margin:auto; }
.shg-search-bar input { width:100%; min-width:0; background:transparent; border:0; padding:8px 12px; }
.shg-search-bar button { background:var(--shg-ink); color:#fff; border:0; border-radius:6px; padding:8px 22px; }
.shg-hero__inner { min-height:570px; padding-block:55px; gap:40px; grid-template-columns:1.15fr 1fr; }
.shg-hero .shg-title { font-size:clamp(2.5rem,4.1vw,3.7rem); line-height:1.04; max-width:640px; }
.shg-hero__art { min-height:450px; }
.shg-hero-photo { position:absolute; inset:0 12% 20px 0; display:flex; flex-direction:column; background:#fff; color:var(--shg-ink); padding:28px; border-radius:48% 48% 18px 18px; text-decoration:none; overflow:hidden; }
.shg-hero-photo img { height:330px; width:100%; object-fit:contain; }
.shg-hero-photo span { padding:12px 0; text-align:center; font-size:1rem; font-weight:600; }
.shg-hero-mini { position:absolute; bottom:0; right:0; width:37%; padding:18px; background:#fff; border:8px solid var(--shg-peach); border-radius:14px; transform:rotate(7deg); }
.shg-hero-mini img { aspect-ratio:1; object-fit:contain; width:100%; }
.shg-quick-card { min-height:116px; border:0; border-radius:8px; }
.shg-quick-card__icon { display:none; }
.shg-quick-card strong { display:block; max-width:80%; padding-top:16px; }
.shg-age-row { max-width:900px; }
.shg-age-card { aspect-ratio:auto; min-height:76px; border-radius:8px; }
.shg-section--ink.shg-section { padding:48px 0; }
.shg-section { padding:72px 0; }
.shg-story__visual { background:#fff; min-height:0; padding:35px; border-radius:20px; }
.shg-story__visual::before,.shg-story__visual::after { display:none; }
.shg-story__visual img { width:100%; height:360px; object-fit:contain; }
.shg-bento-card img { position:absolute; inset:16px 16px auto; width:calc(100% - 32px); height:52%; object-fit:contain; mix-blend-mode:multiply; }
.shg-bento-card--large img { top:45px; height:62%; }
.shg-bento-card:nth-child(5) { background:var(--shg-blue); }
.shg-newsletter input { display:block; width:100%; margin:8px 0; padding:14px; border:1px solid var(--shg-line); border-radius:8px; }
.shg-newsletter small { display:block; }
.shg-mobile-drawer__panel { overflow-y:auto; max-height:100dvh; }
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related { grid-column:1/-1; }
.woocommerce div.product::before,.woocommerce div.product::after { display:none; }
.shg-filters { clear:both; display:flex; flex-wrap:wrap; align-items:end; gap:16px; margin:20px 0 30px; padding:18px; border:1px solid var(--shg-line); border-radius:10px; }
.shg-filters input[type=number] { display:block; width:100px; padding:8px; border:1px solid var(--shg-line); border-radius:5px; }
.shg-content:has(.woocommerce),.shg-content:has(.wp-block-woocommerce-cart),.shg-content:has(.wp-block-woocommerce-checkout) { width:var(--shg-container); }
.shg-contact-card a,.shg-footer__brand a { overflow-wrap:anywhere; }
@media(max-width:1200px) { .shg-nav{display:none}.shg-menu-toggle{display:inline-grid}.shg-header__inner{grid-template-columns:1fr auto} }
@media(max-width:900px) { .shg-hero__inner{grid-template-columns:1fr 1fr;gap:24px;min-height:470px}.shg-hero__art{min-height:320px}.shg-hero-photo{padding:18px}.shg-hero-photo img{height:240px}.shg-hero-photo span{font-size:.8rem}.shg-hero .shg-title{font-size:2.6rem} }
@media(max-width:650px) { .shg-hero__inner{grid-template-columns:1fr;padding:35px 0 28px;gap:24px}.shg-hero .shg-title{font-size:2.55rem;max-width:380px}.shg-hero__copy p{font-size:1rem}.shg-hero__art{min-height:280px;max-width:350px;width:100%;margin:auto}.shg-hero-photo{inset:0 12% 10px 0;padding:12px}.shg-hero-photo img{height:210px}.shg-hero-photo span{font-size:.8rem}.shg-hero-mini{width:32%;padding:10px;border-width:5px}.shg-section{padding:48px 0}.shg-section--compact{padding:30px 0}.shg-quick-grid{grid-template-columns:repeat(2,1fr);gap:8px}.shg-quick-card{min-height:90px;padding:16px}.shg-quick-card:last-child{grid-column:1/-1}.shg-age-row{grid-template-columns:repeat(5,1fr);gap:5px}.shg-age-card{font-size:1rem;min-height:55px}.shg-age-card:last-child{grid-column:auto;aspect-ratio:auto}.shg-bento-card{min-height:280px}.shg-bento-card img{height:55%}.shg-bento-card--large img{top:16px}.shg-story__visual img{height:240px}.shg-contact-grid{gap:24px;padding:40px 0}.shg-contact-card{padding:22px}.shg-business-details{gap:20px;margin-top:24px;padding-top:22px}.shg-business-hours div{grid-template-columns:62px minmax(0,1fr);gap:10px}.shg-filters{gap:12px}.shg-stock-badge{font-size:.58rem;top:6px;left:6px}.shg-hero__actions .shg-button{padding:12px 16px;min-height:46px} }
