:root {
  --marelyo-bg: #fffaf7;
  --marelyo-surface: #ffffff;
  --marelyo-text: #3e302b;
  --marelyo-muted: #786b65;
  --marelyo-line: #eadfd9;
  --marelyo-accent: #b97c70;
  --marelyo-accent-dark: #8f5f55;
  --marelyo-soft: #f7ece7;
  --marelyo-sage: #d6e3d8;
  --marelyo-pink: #f4c2c0;
  --marelyo-peach: #efaa8c;
  --marelyo-yellow: #f5d78c;
  --marelyo-radius: 24px;
  --marelyo-shadow: 0 18px 50px rgba(64, 45, 38, .10);
  --marelyo-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--marelyo-bg);
  color: var(--marelyo-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body.wheel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 32px), var(--marelyo-max)); margin-inline: auto; }
.section-space { padding: 76px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.announcement-bar { background: var(--marelyo-text); color: #fff; font-size: .84rem; padding: 8px 0; text-align: center; letter-spacing: .02em; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--marelyo-line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); }
.header-main { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.site-branding { display: grid; justify-items: start; line-height: 1; }
.site-title { font-family: Georgia, "Times New Roman", serif; font-weight: 600; font-size: 2rem; letter-spacing: -.035em; }
.site-tagline { margin-top: 5px; color: var(--marelyo-muted); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; }
.custom-logo { max-height: 58px; width: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 26px; }
.primary-nav a { font-weight: 650; font-size: .94rem; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-action { position: relative; width: 38px; height: 38px; border: 1px solid var(--marelyo-line); border-radius: 999px; display: grid; place-items: center; font-size: 1.1rem; background: #fff; }
.cart-count { position: absolute; top: -5px; right: -5px; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--marelyo-accent); color: #fff; font-size: .67rem; font-weight: 800; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.45rem; padding: 8px; color: var(--marelyo-text); }

.hero { padding-top: 58px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 56px; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 800; color: var(--marelyo-accent-dark); }
.hero h1, .section-heading h2, .feature-story-copy h2, .reassurance-card h2, .newsletter-card h2, .page-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
  color: var(--marelyo-text);
}
.hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: .98; max-width: 11ch; }
.hero-text { color: var(--marelyo-muted); font-size: 1.08rem; max-width: 58ch; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--marelyo-text); font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button-primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--marelyo-text); color: #fff; }
.button-secondary { background: #fff; }
.button:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 8px 24px rgba(58,42,35,.10); }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--marelyo-muted); font-size: .86rem; }
.hero-visual { min-height: 550px; position: relative; border-radius: 40px; background: radial-gradient(circle at 25% 20%, #fff 0 12%, transparent 13%), linear-gradient(145deg, #f7e7e0, #f5efe7 50%, #dce7dc); box-shadow: var(--marelyo-shadow); overflow: hidden; display: grid; place-items: center; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.6); }
.hero-visual::before { width: 300px; height: 300px; right: -90px; top: -80px; }
.hero-visual::after { width: 220px; height: 220px; left: -80px; bottom: -70px; }
.hero-card { position: relative; z-index: 2; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 16px 40px rgba(68,48,40,.08); backdrop-filter: blur(9px); }
.hero-card-main { width: min(76%, 380px); min-height: 300px; padding: 42px; border-radius: 46% 54% 48% 52% / 52% 43% 57% 48%; display: grid; place-items: center; text-align: center; }
.hero-card-main strong { font-family: Georgia, "Times New Roman", serif; font-size: 3rem; font-weight: 500; }
.hero-card-main p { margin: 0; color: var(--marelyo-muted); text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; }
.hero-heart { font-size: 2.2rem; color: var(--marelyo-accent); }
.hero-card-small { position: absolute; right: 32px; bottom: 34px; border-radius: 18px; padding: 18px 20px; display: grid; }
.hero-card-small span { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; color: var(--marelyo-accent-dark); }
.hero-card-small small { color: var(--marelyo-muted); }

.trust-strip { border-block: 1px solid var(--marelyo-line); background: rgba(255,255,255,.78); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 24px 20px; display: grid; gap: 2px; border-right: 1px solid var(--marelyo-line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { font-size: .96rem; }
.trust-grid span { color: var(--marelyo-muted); font-size: .86rem; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .feature-story-copy h2, .reassurance-card h2, .newsletter-card h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.04; }
.text-link { font-weight: 800; }
.v1-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.v1-product-card, .woocommerce ul.products li.product { background: #fff; border: 1px solid var(--marelyo-line); border-radius: 24px; padding: 14px; box-shadow: 0 8px 24px rgba(58,42,35,.05); }
.v1-product-card h3 { margin: 18px 4px 4px; }
.v1-product-card p { color: var(--marelyo-muted); margin: 0 4px 10px; }
.product-color { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; color: rgba(62,48,43,.8); }
.product-blue { background: #dce7ed; }.product-brown { background: #e5d5c8; }.product-yellow { background: #f7e7a6; }.product-pink { background: #f6d7da; }

.feature-story { background: #fff; border-block: 1px solid var(--marelyo-line); }
.feature-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.feature-story-visual { min-height: 480px; border-radius: 34px; background: linear-gradient(145deg, #f6e5df, #f4efe9 52%, #d9e4db); display: grid; place-items: center; box-shadow: var(--marelyo-shadow); }
.feature-story-visual span { font-family: Georgia, serif; font-size: 8rem; color: rgba(143,95,85,.5); }
.feature-story-copy > p:not(.eyebrow) { color: var(--marelyo-muted); font-size: 1.05rem; }
.feature-list { display: grid; gap: 14px; margin-top: 28px; }
.feature-list > div { border-top: 1px solid var(--marelyo-line); padding-top: 16px; display: grid; gap: 3px; }
.feature-list span { color: var(--marelyo-muted); }

.reassurance-card, .newsletter-card, .page-content, .content-card, .woocommerce-shell { background: var(--marelyo-surface); border: 1px solid var(--marelyo-line); border-radius: var(--marelyo-radius); box-shadow: var(--marelyo-shadow); }
.reassurance-card { text-align: center; padding: clamp(30px, 6vw, 66px); }
.reassurance-card > p:not(.eyebrow) { color: var(--marelyo-muted); }
.reassurance-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.reassurance-links a { padding: 12px 18px; border-radius: 999px; background: var(--marelyo-soft); font-weight: 700; }
.newsletter-section { padding-top: 0; }
.newsletter-card { padding: clamp(28px, 5vw, 54px); display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: end; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input, .wheel-form input, .woocommerce input.input-text, .woocommerce textarea, .woocommerce select {
  width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid var(--marelyo-line); border-radius: 14px; background: #fff; color: var(--marelyo-text);
}

.site-footer { margin-top: 72px; background: #352823; color: #fff; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h3, .footer-brand { margin-top: 0; }
.footer-brand { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.78); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }

.page-header h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.page-content, .content-card { padding: clamp(24px, 5vw, 48px); }
.content-list { display: grid; gap: 24px; }

.woocommerce-shell { padding: clamp(20px, 4vw, 42px); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; }
.woocommerce ul.products li.product img { border-radius: 18px; margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; color: var(--marelyo-text); }
.woocommerce .price { color: var(--marelyo-text) !important; font-weight: 800; }
.woocommerce span.onsale { background: var(--marelyo-accent-dark); min-width: 52px; min-height: 52px; line-height: 52px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--marelyo-accent); }
.woocommerce div.product .product_title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.4rem); }
.woocommerce div.product div.images img { border-radius: 24px; }
.woocommerce table.shop_table { border-color: var(--marelyo-line); border-radius: 18px; overflow: hidden; }
.woocommerce-checkout #payment { background: var(--marelyo-soft); border-radius: 18px; }

.marelyo-wheel-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(48,37,32,.68); backdrop-filter: blur(6px); padding: 20px; display: grid; place-items: center; overflow: auto; }
.marelyo-wheel-overlay[hidden] { display: none; }
.marelyo-wheel-modal { width: min(100%, 680px); position: relative; background: #fffaf4; border: 1px solid rgba(255,255,255,.8); border-radius: 30px; box-shadow: 0 30px 90px rgba(28,18,14,.3); padding: clamp(24px, 4vw, 42px); text-align: center; }
.wheel-close { position: absolute; z-index: 3; top: 16px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #eca68f; color: white; font-size: 2rem; line-height: 1; cursor: pointer; }
.wheel-stage { width: min(88%, 440px); aspect-ratio: 1; margin: 0 auto 26px; position: relative; }
.wheel-pointer { position: absolute; z-index: 2; top: -2px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid #d9a786; filter: drop-shadow(0 4px 4px rgba(0,0,0,.08)); }
.prize-wheel { width: 100%; height: 100%; border-radius: 50%; position: relative; border: 10px solid #fff; box-shadow: 0 14px 38px rgba(70,50,40,.13); background: conic-gradient(var(--marelyo-sage) 0 25%, #f5b59e 25% 50%, #e99b84 50% 75%, #f3b9b7 75% 100%); transition: transform 4.2s cubic-bezier(.14,.77,.24,1); overflow: hidden; }
.prize-wheel::before, .prize-wheel::after { content: ""; position: absolute; background: rgba(255,255,255,.92); z-index: 1; }
.prize-wheel::before { width: 2px; height: 100%; left: 50%; top: 0; }.prize-wheel::after { height: 2px; width: 100%; top: 50%; left: 0; }
.wheel-center { position: absolute; z-index: 3; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: #fffaf4; color: var(--marelyo-accent-dark); font-family: Georgia, serif; font-size: 2.2rem; box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.wheel-label { position: absolute; z-index: 2; width: 34%; height: 34%; display: grid; place-items: center; font-weight: 850; font-size: clamp(.9rem, 3vw, 1.2rem); line-height: 1.15; color: #4b3831; }
.wheel-label-1 { left: 14%; top: 14%; }.wheel-label-2 { right: 14%; top: 14%; }.wheel-label-3 { right: 14%; bottom: 14%; }.wheel-label-4 { left: 14%; bottom: 14%; }
.wheel-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 7vw, 3.8rem); color: var(--marelyo-accent-dark); }
.wheel-subtitle { margin: 4px 0 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .14em; font-size: .78rem; }
.wheel-copy > p:not(.eyebrow):not(.wheel-subtitle), .wheel-copy small { color: var(--marelyo-muted); }
.wheel-form { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 470px; margin: 20px auto 0; }
.wheel-button { background: linear-gradient(90deg, #d88f7e, #bf756c); color: #fff; border-color: transparent; }
.wheel-result { min-height: 28px; margin: 12px 0 0; font-weight: 800; color: var(--marelyo-accent-dark); }
.wheel-result.is-error { color: #a43636; }
.prize-wheel.is-spinning { pointer-events: none; }

@media (max-width: 900px) {
  .header-main { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: block; }
  .site-branding { justify-items: center; }
  .primary-nav { display: none; grid-column: 1 / -1; order: 4; }
  .primary-nav.is-open { display: block; padding-bottom: 18px; }
  .primary-nav ul { flex-direction: column; align-items: center; gap: 12px; }
  .hero-grid, .feature-story-grid, .newsletter-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--marelyo-line); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products, .v1-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .section-space { padding: 50px 0; }
  .announcement-bar { font-size: .75rem; }
  .header-main { min-height: 72px; gap: 6px; }
  .site-title { font-size: 1.7rem; }
  .site-tagline { display: none; }
  .header-actions { gap: 6px; }
  .header-action { width: 34px; height: 34px; }
  .account-action { display: none; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-benefits { display: grid; gap: 5px; }
  .hero-visual { min-height: 360px; border-radius: 28px; }
  .hero-card-main { min-height: 235px; padding: 26px; }
  .hero-card-main strong { font-size: 2.4rem; }
  .hero-card-small { right: 16px; bottom: 16px; }
  .trust-grid, .footer-grid, .woocommerce ul.products, .v1-product-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--marelyo-line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .newsletter-form { grid-template-columns: 1fr; }
  .marelyo-wheel-overlay { padding: 10px; align-items: start; }
  .marelyo-wheel-modal { margin: 10px 0; border-radius: 24px; padding: 22px 16px 24px; }
  .wheel-stage { width: 92%; margin-top: 14px; }
  .wheel-center { width: 62px; height: 62px; }
  .wheel-label { font-size: .88rem; }
  .wheel-copy h2 { font-size: 2.5rem; }
  .wheel-subtitle { font-size: .7rem; }
}
