/*
Theme Name: My Custom Theme
Theme URI: https://example.com/
Author: Your Name
Description: Custom WordPress Theme
Version: 1.0
Text Domain: my-custom-theme
*/
:root {
  --ink: #3D271D;          /* Rich espresso brown from Weeny Wonders Logo */
  --body: #60524C;         /* Soft warm cocoa grey text */
  --bg: #FCF9F5;           /* Soft warm ivory cream background */
  --sand: #F4EFE6;         /* Oatmeal sand section background */
  --clay: #EADFCF;         /* Warm earth accent background */
  --sage: #DFE8DC;         /* Organic dusty sage green */
  --accent: #8C5B3E;       /* Soft terracotta brown for buttons & highlights */
  --accent-hover: #6E432A;
  --r-lg: 28px; 
  --r-md: 20px; 
  --r-pill: 100px;
  --shadow: 0 24px 60px -20px rgba(61,39,29,.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.5px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}
section {
  padding: 96px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--r-pill);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.btn-line {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.btn .ar {
  transition: .3s;
}
.btn:hover .ar {
  transform: translateX(4px);
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.center {
  text-align: center;
}

.topbar {
  background: var(--ink);
  color: #F4EFE6;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  padding: 11px 16px;
  letter-spacing: 0.5px;
}
.topbar b {
  color: #fff;
  text-decoration: underline;
}

nav {
  background: rgba(252, 249, 245, 0.94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid #EEEAE2;
}
.nav-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Custom logo recreation for Variation 1 */
.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.05;
}
.logo-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.logo-tag {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
  transform: translateX(1.5px);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: .25s;
  color: var(--body);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  padding: 12px 26px;
  font-size: 14px;
}

.hero {
  padding: 28px;
  background: var(--bg);
}
.hero-card {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: #EADFCF;
}
.hero-card img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61, 39, 29, 0.8) 0%, rgba(61, 39, 29, 0.4) 50%, rgba(61, 39, 29, 0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 70px;
  color: #fff;
  max-width: 650px;
}
.hero-content .eyebrow {
  color: var(--sage);
}
.hero h1 {
  font-size: 58px;
  margin-bottom: 22px;
  color: #fff;
}
.hero h1 em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
}
.hero p {
  font-size: 18.5px;
  color: rgba(255,255,255,.9);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.stars {
  color: #E2AC4B;
  letter-spacing: 3px;
}

.values {
  padding: 0;
  margin-top: -8px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 28px;
}
.value {
  background: var(--sand);
  border-radius: var(--r-md);
  padding: 26px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: 0.3s;
}
.value:hover {
  transform: translateY(-3px);
  background: var(--clay);
}
.value .ic {
  font-size: 26px;
  line-height: 1.2;
}
.value b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.value span {
  font-size: 13px;
  color: var(--body);
}

.customizer-sec {
  background: var(--sand);
  border-radius: 40px;
  margin: 0 28px;
  padding: 70px 40px;
}
.customizer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.preview-pane {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(61, 39, 29, 0.05);
  min-height: 480px;
}
.tee-canvas {
  width: 320px;
  height: 340px;
  position: relative;
}
/* Vector SVG Baby Romper base mockup */
.romper-vector {
  width: 100%;
  height: 100%;
  fill: #F4EFE6; /* Dynamic variable bound */
  transition: fill 0.3s ease;
}
.custom-text-overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  text-align: center;
  pointer-events: none;
  font-size: 32px;
  color: var(--ink);
  font-weight: bold;
  word-wrap: break-word;
  transition: all 0.3s ease;
}
.customizer-controls {
  padding: 20px 0;
}
.control-group {
  margin-bottom: 24px;
}
.control-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}
.color-swatches {
  display: flex;
  gap: 12px;
}
.swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: 0.2s;
}
.swatch:hover {
  transform: scale(1.1);
}
.swatch.active {
  border-color: var(--ink);
}
.font-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.font-btn {
  padding: 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1.5px solid #EEEAE2;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}
.font-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.custom-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1.5px solid #EEEAE2;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: 0.2s;
}
.custom-input:focus {
  border-color: var(--accent);
}

.cats {
  background: var(--bg);
  padding-top: 70px;
}
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 54px;
}
.cat {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}
.cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
}
.cat:hover img {
  transform: scale(1.05);
}
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(5deg, rgba(61, 39, 29, .7) 0%, rgba(61, 39, 29, 0) 55%);
}
.cat-label {
  position: relative;
  z-index: 2;
  padding: 38px;
  color: #fff;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cat-label h3 {
  font-size: 32px;
  color: #fff;
}
.cat-label p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.cat-go {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: .3s;
  flex-shrink: 0;
}
.cat:hover .cat-go {
  background: var(--accent);
  color: #fff;
  transform: translateX(4px);
}

.pains {
  background: var(--sand);
}
.sec-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.sec-head h2 {
  font-size: 44px;
  margin-bottom: 16px;
  color: var(--ink);
}
.sec-head p {
  color: var(--body);
  font-size: 18px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 42px 36px;
  transition: .3s;
}
.pain:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.pain .ic {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}
.pain h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--ink);
}
.pain .prob {
  color: var(--body);
  font-size: 15px;
  margin-bottom: 18px;
}
.pain .ans {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border-top: 1px solid #EFEAE0;
  padding-top: 18px;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.prod {
  background: var(--sand);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .3s;
}
.prod:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.prod .ph {
  position: relative;
  overflow: hidden;
  background: #EFEAE0;
}
.prod .ph img {
  height: 380px;
  width: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.prod:hover .ph img {
  transform: scale(1.05);
}
.tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.tag.dark {
  background: var(--ink);
  color: #fff;
}
.prod-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-body h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}
.prod-body .feat {
  font-size: 14.5px;
  color: var(--body);
  margin-bottom: 20px;
  flex: 1;
}
.prow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.price s {
  font-size: 15px;
  color: #A9A498;
  font-weight: 400;
  margin-right: 8px;
}
.prod .btn {
  padding: 13px 26px;
  font-size: 14.5px;
}

.feature {
  background: var(--bg);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split .ph {
  border-radius: 36px;
  overflow: hidden;
}
.split .ph img {
  height: 640px;
  width: 100%;
  object-fit: cover;
}
.split h2 {
  font-size: 42px;
  margin-bottom: 18px;
  color: var(--ink);
}
.split .intro {
  color: var(--body);
  font-size: 18px;
  margin-bottom: 10px;
}
.checks {
  list-style: none;
  margin-top: 26px;
}
.checks li {
  padding: 16px 0;
  border-bottom: 1px solid #EFEAE0;
  display: flex;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  align-items: flex-start;
  color: var(--ink);
}
.checks li .c {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.band {
  padding: 28px;
}
.band .inner {
  background: var(--ink);
  border-radius: 36px;
  padding: 72px 56px;
  color: #fff;
}
.band-head {
  text-align: center;
  margin-bottom: 50px;
}
.band-head .eyebrow {
  color: var(--sage);
}
.band-head h2 {
  color: #fff;
  font-size: 40px;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 34px 30px;
  text-align: left;
  transition: .3s;
}
.stat:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.stat .s-ic {
  font-size: 24px;
  display: block;
  margin-bottom: 18px;
}
.stat b {
  font-family: 'Fraunces', serif;
  font-size: 46px;
  font-weight: 500;
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #fff;
}
.stat b i {
  font-style: normal;
  font-size: 26px;
  color: var(--sage);
}
.stat span {
  font-size: 14.5px;
  color: #DFE8DC;
  font-weight: 500;
}

.testi {
  background: var(--sand);
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.t-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 38px 34px;
}
.t-card .stars {
  font-size: 15px;
  margin-bottom: 18px;
  display: block;
}
.t-card p {
  font-size: 15.5px;
  color: var(--body);
  margin-bottom: 24px;
}
.t-who {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.t-who b {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}
.t-who span {
  font-size: 13px;
  color: var(--body);
}

.guarantee .inner {
  background: var(--sage);
  border-radius: 36px;
  padding: 90px 60px;
  text-align: center;
}
.guarantee h2 {
  font-size: 42px;
  margin-bottom: 16px;
  color: var(--ink);
}
.guarantee p {
  color: var(--body);
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 17.5px;
}

.faq-wrap {
  max-width: 800px;
  margin: 54px auto 0;
}
details {
  background: var(--sand);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
}
summary {
  padding: 24px 30px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 17.5px;
  color: var(--ink);
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-size: 24px;
  color: var(--accent);
  font-weight: 300;
}
details[open] summary::after {
  content: "–";
}
details p {
  padding: 0 30px 26px;
  color: var(--body);
  font-size: 15.5px;
  max-width: 680px;
}

.capture {
  padding: 28px;
}
.capture .inner {
  background: var(--ink);
  border-radius: 36px;
  color: #fff;
  text-align: center;
  padding: 96px 40px;
}
.capture h2 {
  font-size: 44px;
  color: #fff;
  margin-bottom: 14px;
}
.capture h2 em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--sage);
}
.capture p {
  color: rgba(255,255,255,.8);
  max-width: 480px;
  margin: 0 auto;
}
.capture form {
  display: flex;
  max-width: 520px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 7px;
  gap: 8px;
}
.capture input {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: var(--r-pill);
  font-size: 15.5px;
  font-family: inherit;
  outline: none;
  color: var(--ink);
}
.capture .btn {
  padding: 14px 30px;
  background: var(--accent);
}
.capture .btn:hover {
  background: var(--accent-hover);
}

footer {
  background: var(--bg);
  padding: 80px 0 36px;
  font-size: 15px;
  color: var(--body);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
footer h4 {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
footer a {
  color: var(--body);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: .25s;
}
footer a:hover {
  color: var(--accent);
}
.foot-bottom {
  border-top: 1px solid #EEEAE2;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
}

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 99;
}
.sticky-cta a {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 17px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(61,39,29,.35);
  transition: 0.2s;
}
.sticky-cta a:hover {
  background: var(--accent-hover);
}

@media(max-width:1000px){
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 14px;
  }
  .hero-card {
    min-height: 560px;
  }
  .hero-content {
    padding: 36px 28px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .value-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .customizer-sec {
    margin: 0 14px;
    padding: 40px 20px;
  }
  .customizer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cat-grid, .pain-grid, .prod-grid, .t-grid {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split .ph img {
    height: 420px;
  }
  .band {
    padding: 14px;
  }
  .band .inner {
    padding: 48px 24px;
  }
  .band-head h2 {
    font-size: 28px;
  }
  .band-grid {
    grid-template-columns: 1fr;
  }
  .sec-head h2, .split h2, .guarantee h2, .capture h2 {
    font-size: 30px;
  }
  .nav-links {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .guarantee .inner {
    padding: 60px 28px;
  }
  .capture {
    padding: 14px;
  }
  .capture form {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 12px;
  }
  .capture input {
    padding: 17px 24px;
  }
  .sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}








/* Styling standard WooCommerce quantity & Add to Cart button to match theme */
  .standard-cart-wrapper form.cart {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  .standard-cart-wrapper .quantity {
    display: inline-flex;
    align-items: center;
  }
  .standard-cart-wrapper .quantity input.qty {
    width: 68px;
    height: 54px;
    text-align: center;
    background-color: #FAF8F5;
    border: 1px solid #EADFCF;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #3D271D;
    outline: none;
    transition: border-color 0.2s;
  }
  .standard-cart-wrapper .quantity input.qty:focus {
    border-color: #8C5B3E;
  }
  .standard-cart-wrapper button.single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    height: 54px;
    background-color: #3D271D;
    color: #F4EFE6;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(61, 39, 29, 0.15);
  }
  .standard-cart-wrapper button.single_add_to_cart_button:hover {
    background-color: #8C5B3E;
    color: #FFFFFF;
    transform: translateY(-1px);
  }


/* --- Base Navigation Bar --- */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links > li {
  position: relative; /* Anchor for absolute dropdown positioning */
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #7b5ce5;
}

.nav-links .arrow {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

/* --- Dropdown Box --- */
.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  z-index: 1000;

  /* Hidden state with subtle slide animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

/* Bridge gap so mouse moving from parent to menu does not close it */
.nav-links .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

/* --- Dropdown Links --- */
.nav-links .dropdown-menu li {
  width: 100%;
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: #333333;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-links .dropdown-menu a:hover {
  background: #f7f6fd;
  color: #7b5ce5;
}

/* --- Hover Reveal Trigger --- */
.nav-links .has-dropdown:hover .dropdown-menu,
.nav-links .has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-links .has-dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* --- Mobile View (< 768px) --- */
@media screen and (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 14px;
    background: transparent;
    pointer-events: auto;
  }

  .nav-links .arrow {
    display: none;
  }
}



/* ========================================================
   HIDE ALL MENU LINKS & FIX LOGO ON MOBILE & TABLET (<= 1024px)
   ======================================================== */
@media (max-width: 1024px) {
  /* 1. Completely hide the menu navigation links & subcategories */
  nav ul,
  .main-navigation ul,
  .menu-primary-container,
  .nav-menu,
  #primary-menu,
  header nav ul,
  .site-header nav ul {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 2. Hide the stray circular button cut off on the right edge */
  header button,
  nav button,
  .menu-toggle,
  .mobile-menu-toggle {
    display: none !important;
  }

  /* 3. Center the Weeny Wonders logo cleanly in the header */
  header,
  .site-header,
  nav.sticky,
  .weeny-site-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 14px 16px !important;
    background: #FFFFFF !important;
    box-sizing: border-box !important;
  }

  /* 4. Keep logo centered with no left/right floats */
  .site-branding,
  .custom-logo-link,
  header a.flex,
  nav a.flex,
  .weeny-brand-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    float: none !important;
    position: static !important;
  }
}





/* ========================================================
   WEENY WONDERS CHECKOUT PAGE LUXURY REDESIGN
   ======================================================== */

/* 1. Page Container & Spacing */
.woocommerce-checkout {
  background-color: #FCF9F5 !important;
  color: #3D271D !important;
  font-family: 'Hanken Grotesk', sans-serif !important;
}

.woocommerce-checkout .woocommerce {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Page Title Styling */
.woocommerce-checkout h1.entry-title,
.woocommerce-checkout .woocommerce-notice + h2,
.woocommerce-checkout h3 {
  font-family: 'Fraunces', Georgia, serif !important;
  color: #3D271D !important;
}

/* 2. Form Fields & Inputs */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }
}

/* Customer Details Column */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
  background: #FFFFFF !important;
  border: 1px solid #EADFCF !important;
  border-radius: 24px !important;
  padding: 32px !important;
  box-shadow: 0 4px 16px rgba(61, 39, 29, 0.03) !important;
  margin-bottom: 24px;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
#order_review_heading {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid #FAF6F0;
  padding-bottom: 12px;
}

/* Form Row Labels & Inputs */
.woocommerce-input-wrapper input.input-text,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea,
.form-row input.input-text,
.form-row select,
.form-row textarea {
  background-color: #FAF8F5 !important;
  border: 1px solid #EADFCF !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  color: #3D271D !important;
  width: 100% !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
}

.form-row input.input-text:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #8C5B3E !important;
  box-shadow: 0 0 0 2px rgba(140, 91, 62, 0.1) !important;
}

.form-row label {
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #60524C !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* 3. Order Review & Payment Box Column */
#order_review {
  background: #FFFFFF !important;
  border: 1px solid #EADFCF !important;
  border-radius: 24px !important;
  padding: 32px !important;
  box-shadow: 0 4px 16px rgba(61, 39, 29, 0.03) !important;
  position: sticky;
  top: 30px;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 24px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 12px 0 !important;
  border-bottom: 1px solid #FAF6F0 !important;
  font-size: 14px !important;
  color: #60524C !important;
}

.woocommerce-checkout-review-order-table th {
  font-weight: 700 !important;
  color: #3D271D !important;
  text-align: left !important;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout-review-order-table .order-total td {
  text-align: right !important;
  font-weight: 700;
  color: #3D271D;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-size: 16px !important;
  border-bottom: none !important;
  padding-top: 16px !important;
}

/* 4. Payment Gateways Box */
#payment {
  background: transparent !important;
  border-radius: 0 !important;
}

#payment ul.payment_methods {
  border-bottom: 1px solid #FAF6F0 !important;
  padding-bottom: 16px !important;
  margin-bottom: 20px !important;
  list-style: none !important;
  padding-left: 0 !important;
}

#payment ul.payment_methods li {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #3D271D;
}

#payment div.payment_box {
  background-color: #FAF8F5 !important;
  border: 1px solid #EADFCF !important;
  border-radius: 12px !important;
  padding: 16px !important;
  font-size: 13px !important;
  color: #60524C !important;
  margin-top: 8px !important;
}

/* 5. Place Order Button */
#payment div.form-row {
  padding: 0 !important;
}

#place_order {
  width: 100% !important;
  background-color: #3D271D !important;
  color: #F4EFE6 !important;
  border-radius: 16px !important;
  padding: 16px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(61, 39, 29, 0.15) !important;
}

#place_order:hover {
  background-color: #8C5B3E !important;
  color: #FFFFFF !important;
}



/* ========================================================
   RESTRICT CHECKOUT BLOCK WIDTH (NOT FULL WIDTH)
   ======================================================== */

/* 1. Target the WooCommerce checkout block container */
.wp-block-woocommerce-checkout.alignwide,
.wp-block-woocommerce-checkout.alignfull,
.wc-block-checkout {
  max-width: 1100px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* 2. Style the internal checkout block grid (Fields on left, Totals on right) */
.wc-block-checkout {
  display: grid !important;
  grid-template-columns: 1fr 400px !important;
  gap: 32px !important;
  align-items: flex-start !important;
}

@media (max-width: 1024px) {
  .wc-block-checkout {
    grid-template-columns: 1fr !important;
  }
}

/* 3. Ensure theme wrappers do not force full screen bleed */
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .entry-content {
  max-width: 100% !important;
}




/* ========================================================
   UNIVERSAL ONE-BLOCK FIX: HOME & INNER PAGE DROPDOWN
   ======================================================== */

/* 1. Prevent any parent wrapper from clipping the dropdown */
html,
body,
#page,
#content,
.site-content,
.content-area,
main,
.entry-content,
.boutique-main-container,
#studio-section {
  overflow: visible !important;
}

/* 2. Lock the entire header above all hero banners, breadcrumbs & content */
header,
.site-header,
.weeny-site-header,
#masthead,
nav {
  position: relative !important;
  z-index: 9999999 !important;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  overflow: visible !important;
}

/* 3. Keep desktop menu container open and unclipped */
.main-navigation,
.desktop-nav-menu,
.nav-menu,
.main-navigation li,
.desktop-nav-menu li {
  position: relative !important;
  overflow: visible !important;
}

/* 4. Display the dropdown menu on the top-most visual layer */
.main-navigation ul ul,
.desktop-nav-menu ul,
.desktop-nav-menu .sub-menu,
.nav-menu .sub-menu,
.sub-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 99999999 !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 12px 28px rgba(61, 39, 29, 0.12) !important;
  border: 1px solid #EADFCF !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* 5. Force all page content (home hero, titles, breadcrumbs) below the header */
.hero,
.hero-section,
.banner,
.slider,
.wp-block-cover,
.woocommerce-breadcrumb,
.woocommerce-products-header,
h1.page-title {
  position: relative !important;
  z-index: 1 !important;
}









