/* ==========================================================================
   TOYS — DESIGN SYSTEM & CORE STYLESHEET
   Brand: Toys (cindraleth.site)
   Modern Playful Premium • Minimal E-commerce • Whimsical Editorial Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito+Sans:ital,opsz,wght@0,6..12,300..900;1,6..12,300..900&family=Nunito:wght@400;600;700;800;900&display=swap');

/* Playful editorial refresh */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  /* Brand Color Palette */
  --color-orange: #FF8A3D;
  --color-orange-hover: #E87428;
  --color-orange-subtle: #FFF0E6;
  --color-yellow: #FFD65A;
  --color-yellow-light: #FFF7DB;
  --color-blue: #7CC9F2;
  --color-blue-dark: #3BA0DC;
  --color-blue-subtle: #EBF7FD;
  --color-mint: #A8E6CF;
  --color-mint-subtle: #EEFBF5;
  --color-lavender: #C9B6F0;
  --color-lavender-subtle: #F4F0FC;
  --color-cream: #FFF9F0;
  --color-cream-card: #FFFFFF;
  --color-deep-ink: #253047;
  --color-ink-muted: #5A667E;
  --color-ink-subtle: #8A96AC;
  --color-border: #EFE4D6;
  --color-border-light: #F7EFE4;
  --color-white: #FFFFFF;
  --color-danger: #E64949;
  --color-success: #2B9E68;

  /* Typography */
  --font-heading: 'Baloo 2', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(37, 48, 71, 0.05);
  --shadow-md: 0 8px 24px rgba(37, 48, 71, 0.08);
  --shadow-lg: 0 16px 40px rgba(37, 48, 71, 0.12);
  --shadow-playful: 0 10px 25px -4px rgba(255, 138, 61, 0.3);
  --shadow-blue: 0 10px 25px -4px rgba(124, 201, 242, 0.35);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --announcement-height: 38px;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* A warmer, more considered storefront language shared by every page. */
:root {
  --color-orange: #d66b45;
  --color-orange-hover: #b95332;
  --color-orange-subtle: #f9e8dc;
  --color-cream: #f8f4ec;
  --color-cream-card: #fffdf8;
  --color-deep-ink: #293b35;
  --color-ink-muted: #68756c;
  --color-border: #e4ddd0;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

body {
  background: var(--color-cream);
}

.announcement-bar {
  background: #29443b;
  color: #fffaf0;
  letter-spacing: .035em;
}

.site-header {
  background: rgba(248, 244, 236, .94);
  border-bottom: 1px solid rgba(41, 59, 53, .12);
  box-shadow: 0 5px 22px rgba(41, 59, 53, .035);
}

.brand-logo {
  letter-spacing: -.06em;
}

.btn {
  border-radius: 8px;
}

.btn-primary {
  box-shadow: none;
}

.btn-primary:hover {
  box-shadow: none;
}

.hero-section {
  background: #f8f4ec;
}

.h1-hero {
  letter-spacing: -.045em;
  line-height: 1.03;
}

.eyebrow {
  letter-spacing: .15em;
  border-radius: 4px;
}

.category-card,
.age-card,
.product-card {
  border-radius: 14px;
  overflow: hidden;
}

.category-card {
  box-shadow: 0 8px 28px rgba(41, 59, 53, .06);
}

.category-card-media img,
.product-card-img {
  transition: transform .45s ease;
}

.category-card:hover .category-card-media img,
.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.section-header {
  max-width: 660px;
}

.site-footer {
  background: #263d35;
}

.footer-links a:hover {
  color: #f4b89c;
}

/* Editorial page introductions */
main>section:first-child:not(.hero-section) {
  position: relative;
  overflow: hidden;
}

main>section:first-child:not(.hero-section)::after {
  content: '✳';
  position: absolute;
  right: max(5vw, calc((100vw - 1180px)/2));
  top: 20px;
  color: rgba(214, 107, 69, .12);
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 1;
  pointer-events: none;
}

main>section:first-child:not(.hero-section) .container {
  position: relative;
  z-index: 1;
}

/* Policy pages */
.legal-card {
  background: #fffdf8;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 52px);
  box-shadow: 0 18px 55px rgba(41, 59, 53, .055);
}

.section-spacer>.container:has(.legal-card) {
  max-width: 1160px !important;
}

.legal-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-bottom: 34px;
}

.legal-toc {
  position: sticky;
  top: 105px;
  background: #eee9dd;
  border-radius: 14px;
  padding: 23px 20px;
}

.legal-toc-label {
  display: block;
  color: #9f593f;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.legal-toc>strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.legal-toc ol {
  list-style: none;
}

.legal-toc li {
  border-top: 1px solid rgba(41, 59, 53, .11);
}

.legal-toc a {
  display: block;
  padding: 9px 0;
  font-size: .84rem;
  line-height: 1.35;
  color: #58655d;
}

.legal-toc a:hover {
  color: var(--color-orange);
  transform: translateX(2px);
}

.legal-card code {
  color: #9f4d34;
  background: #f7eee3;
  border-radius: 4px;
  padding: 1px 5px;
}

.legal-meta-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--color-ink-muted);
  font-size: .84rem;
}

.legal-section {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin-bottom: 12px;
}

.legal-section h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 18px 0 8px;
}

.legal-section p,
.legal-section li {
  color: #66736b;
  line-height: 1.85;
}

.legal-section ul,
.legal-section ol {
  padding-left: 1.4rem;
  list-style: disc;
}

.legal-section ol {
  list-style: decimal;
}

.legal-section li {
  padding: 3px 0;
}

.legal-callout {
  border-radius: 10px;
}

/* Shop, category, story and contact compositions */
.shop-sidebar,
.shop-toolbar {
  box-shadow: 0 8px 28px rgba(41, 59, 53, .045);
}

.shop-sidebar {
  border-radius: 12px !important;
}

.shop-toolbar {
  border-radius: 10px !important;
}

.product-card {
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 22px rgba(41, 59, 53, .045);
}

.product-card-body {
  background: #fffdf8;
}

.product-card-media {
  background: #f0e8da;
}

.product-card-title {
  font-family: var(--font-heading);
}

.contact-grid>*,
.about-story-grid>* {
  min-width: 0;
}

.about-story-grid img,
.hero-img-frame img {
  border-radius: 18px;
}

.brand-story-banner {
  border-radius: 20px;
  background: #29443b;
}

.age-card {
  background: #fffdf8;
  border: 1px solid var(--color-border);
}

.category-showcase-row {
  border-width: 1px !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 36px rgba(41, 59, 53, .055) !important;
}

.category-showcase-row>div:first-child {
  padding: clamp(24px, 4vw, 48px) !important;
}

.contact-grid>div>div,
.contact-grid form {
  border-radius: 14px !important;
  box-shadow: 0 12px 36px rgba(41, 59, 53, .055) !important;
}

.breadcrumb-nav {
  color: var(--color-ink-muted);
}

.breadcrumb-nav a:hover {
  color: var(--color-orange);
}

.search-modal-card {
  border-radius: 16px;
}

.mobile-nav-drawer {
  background: #fffdf8;
}

.nav-link.active {
  color: var(--color-orange);
}

/* Shared masthead: small maker's mark, calm navigation, tactile actions. */
.header-inner {
  height: 86px;
  gap: 30px;
}

.brand-logo {
  gap: 9px;
  font-size: 2.15rem;
}

.brand-logo .logo-dot {
  width: 9px;
  height: 9px;
  margin-left: -6px;
  align-self: flex-start;
  margin-top: 9px;
}

.nav-menu {
  gap: 6px;
  padding: 6px;
  background: rgba(41, 59, 53, .045);
  border-radius: 9px;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 6px;
  font-size: .91rem;
}



.nav-link.active {
  box-shadow: 0 2px 8px rgba(41, 59, 53, .07);
}

.header-actions {
  gap: 12px;
}

.search-toggle-btn,
.cart-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid var(--color-border);
}

.cart-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge-count {
  background: var(--color-orange);
}

.header-actions .btn-primary {
  min-height: 42px;
  padding: 9px 17px;
}

.mobile-menu-toggle {
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid var(--color-border);
}

/* Shared footer: an evergreen closing panel with clear link groupings. */
.site-footer {
  background: #263d35;
  color: #f0eee4;
  padding: 58px 0 22px;
  border-top: 5px solid #d66b45;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '✳';
  position: absolute;
  right: 4%;
  top: -112px;
  color: rgba(255, 255, 255, .035);
  font-size: 290px;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  grid-template-columns: minmax(220px, .95fr) minmax(0, 2.2fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
  margin-bottom: 38px;
}

.footer-brand {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
}

.footer-brand::before {
  content: 'A LITTLE WONDER, EVERY DAY';
  display: block;
  color: #e8b398;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 15px;
}

.footer-brand .brand-logo {
  font-size: 2.25rem;
}

.footer-brand p {
  max-width: 270px;
  font-size: .88rem;
}

.footer-disclaimer-note {
  font-size: .72rem;
  line-height: 1.5;
  padding: 10px 12px;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  padding: 26px 0 0;
}

.footer-heading {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .13em;
  color: #e8b398;
  margin-bottom: 18px;
}

.footer-links {
  gap: 10px;
}

.footer-links a {
  color: #d2dbd2;
  font-size: .87rem;
}

.footer-links li {
  line-height: 1.45;
}

.footer-links a:hover {
  color: #f6c3a8;
  padding-left: 3px;
}

.footer-brand p,
.footer-newsletter p {
  color: #bdcbc1;
}

.footer-disclaimer-note {
  background: rgba(255, 255, 255, .055);
  color: #adbbb1;
  border: 1px solid rgba(255, 255, 255, .09);
}

.newsletter-input {
  border-radius: 7px;
}

.footer-newsletter .btn {
  border-radius: 7px;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, .16);
  color: #adbbb1;
  padding-top: 20px;
  font-size: .78rem;
}

.footer-bottom>div:first-child {
  max-width: 620px;
  line-height: 1.6;
}

.footer-bottom>div:last-child {
  gap: 22px !important;
}

.footer-bottom a {
  color: #d2dbd2;
}

/* Final footer layout overrides legacy component rules above. */
.site-footer {
  background: #263d35;
  color: #f0eee4;
  padding: 58px 0 22px;
  border-top: 5px solid #d66b45;
}

.site-footer::before {
  content: '✳';
  position: absolute;
  right: 4%;
  top: -112px;
  color: rgba(255, 255, 255, .035);
  font-size: 290px;
  line-height: 1;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(250px, .85fr) minmax(0, 2fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
  margin-bottom: 38px;
}

.site-footer .footer-brand {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
}

.site-footer .footer-directory {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: 26px 0 0;
}

.site-footer .footer-directory>div {
  min-width: 0;
}

.site-footer .footer-heading {
  color: #e8b398;
  font-family: var(--font-body);
  font-size: .72rem;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin: 0 0 18px;
  overflow-wrap: normal;
}

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-links a {
  color: #d2dbd2;
  font-size: .87rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.site-footer .footer-links a:hover {
  color: #f6c3a8;
  padding-left: 3px;
}

.site-footer .footer-brand p {
  color: #bdcbc1;
  max-width: 270px;
  font-size: .88rem;
}

.site-footer .footer-disclaimer-note {
  color: #adbbb1;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .09);
  font-size: .72rem;
  line-height: 1.5;
  padding: 10px 12px;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #adbbb1;
  font-size: .78rem;
}

.site-footer .footer-bottom>div:first-child {
  max-width: 620px;
  line-height: 1.6;
}

.site-footer .footer-bottom>div:last-child {
  gap: 22px !important;
}

.site-footer .footer-bottom a {
  color: #d2dbd2;
}

.site-footer .footer-bottom a:hover {
  color: #f6c3a8;
}

.footer-bottom a:hover {
  color: #f6c3a8;
}

/* Base Resets */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-deep-ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Presets */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-deep-ink);
  line-height: 1.25;
  font-weight: 700;
}

.h1-hero {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}

.h2-section {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.h3-card {
  font-size: 1.35rem;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  background-color: var(--color-orange-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.eyebrow-blue {
  color: var(--color-blue-dark);
  background-color: var(--color-blue-subtle);
}

.text-muted {
  color: var(--color-ink-muted);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: var(--transition-bounce);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-playful);
}

.btn-primary:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(255, 138, 61, 0.45);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-deep-ink);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background-color: var(--color-cream);
  transform: translateY(-2px);
}

.btn-blue {
  background-color: var(--color-blue);
  color: var(--color-deep-ink);
  box-shadow: var(--shadow-blue);
}

.btn-blue:hover {
  background-color: var(--color-blue-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.9rem;
  padding: 8px 18px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-deep-ink);
  transition: var(--transition-smooth);
}

.btn-icon:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-sale {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.badge-cat {
  background-color: var(--color-cream);
  color: var(--color-ink-muted);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   GLOBAL HEADER & ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background-color: var(--color-deep-ink);
  color: var(--color-cream);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.announcement-bar span.sparkle {
  color: var(--color-yellow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 249, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-deep-ink);
  letter-spacing: -0.03em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-orange);
  border-radius: 50%;
  display: inline-block;
  animation: bounceDot 2s infinite ease-in-out;
}

@keyframes bounceDot {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.35) translateY(-2px);
    background-color: var(--color-yellow);
  }
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 5px 25px;
}

.nav-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-deep-ink);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--color-orange);
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-orange);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-toggle-btn,
.cart-nav-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-deep-ink);
  transition: var(--transition-smooth);
}

.search-toggle-btn:hover,
.cart-nav-btn:hover {
  background-color: var(--color-orange-subtle);
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-badge-count.pop {
  transform: scale(1.3);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--color-deep-ink);
  transition: var(--transition-smooth);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--color-cream);
  z-index: 200;
  padding: 30px 24px;
  box-shadow: -10px 0 30px rgba(37, 48, 71, 0.15);
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(37, 48, 71, 0.5);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   GLOBAL SEARCH MODAL
   ========================================================================== */
.search-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(37, 48, 71, 0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 20px 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.search-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.search-modal-card {
  width: 100%;
  max-width: 620px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.open .search-modal-card {
  transform: translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper svg {
  position: absolute;
  left: 16px;
  color: var(--color-ink-subtle);
}

.search-input-field {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  background-color: var(--color-cream);
  color: var(--color-deep-ink);
  outline: none;
  transition: var(--transition-smooth);
}

.search-input-field:focus {
  border-color: var(--color-orange);
  background-color: var(--color-white);
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.search-result-item:hover {
  background-color: var(--color-cream);
  border-color: var(--color-border);
}

.search-result-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: var(--color-cream);
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--color-cream-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-bounce);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 138, 61, 0.4);
}

.product-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--color-cream);
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-category {
  font-size: 0.785rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-orange);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-deep-ink);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.product-card-title a:hover {
  color: var(--color-orange);
}

.product-card-age {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-light);
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-deep-ink);
}

.original-price {
  font-size: 0.875rem;
  color: var(--color-ink-subtle);
  text-decoration: line-through;
}

.btn-card-add {
  background-color: var(--color-orange-subtle);
  color: var(--color-orange);
  border: 1px solid rgba(255, 138, 61, 0.3);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-card-add:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

/* ==========================================================================
   CATEGORY CARDS & TILES
   ========================================================================== */
.category-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-orange);
}

.category-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-cream);
}

.category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-card-media img {
  transform: scale(1.08);
}

.category-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-count-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--color-cream);
  color: var(--color-ink-muted);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 8px;
  width: fit-content;
}

/* ==========================================================================
   AGE GROUP CARDS
   ========================================================================== */
.age-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.age-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.age-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue);
}

.age-card-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 4px solid var(--color-cream);
  box-shadow: var(--shadow-sm);
}

.age-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.age-card-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-blue-dark);
  background-color: var(--color-blue-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

/* ==========================================================================
   EXPANDABLE ACCORDIONS (FAQ & DETAILS)
   ========================================================================== */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-item.active {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-deep-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.accordion-header:hover {
  color: var(--color-orange);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background-color: var(--color-orange-subtle);
  color: var(--color-orange);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

.accordion-item.active .accordion-body {
  max-height: 800px;
  padding-bottom: 20px;
  transition: max-height 0.35s ease-in-out;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-deep-ink);
}

.form-label span.req {
  color: var(--color-orange);
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-deep-ink);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.15);
}

.form-control.is-invalid {
  border-color: var(--color-danger);
  background-color: #FFF5F5;
}

.form-error-msg {
  font-size: 0.8rem;
  color: var(--color-danger);
  margin-top: 4px;
  display: none;
}

.form-control.is-invalid+.form-error-msg {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-orange);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: var(--color-deep-ink);
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.925rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-left: 5px solid var(--color-mint);
}

.toast-info {
  border-left: 5px solid var(--color-orange);
}

/* ==========================================================================
   FOOTER & NEWSLETTER
   ========================================================================== */
.site-footer {
  background-color: #1F273B;
  color: #D3DBEB;
  margin-top: auto;
  padding-top: 70px;
  padding-bottom: 30px;
  border-top: 4px solid var(--color-yellow);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr 1.4fr;
  gap: 32px;
  margin-bottom: 50px;
}

/* ==========================================================================
   LEGAL & POLICY PAGES
   ========================================================================== */
.legal-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.4rem;
  color: var(--color-deep-ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--color-border-light);
}

.legal-section h3 {
  font-size: 1.15rem;
  color: var(--color-deep-ink);
  margin-top: 18px;
  margin-bottom: 8px;
}

.legal-section p {
  color: var(--color-ink-muted);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--color-ink-muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-callout {
  background-color: var(--color-cream);
  border-left: 4px solid var(--color-orange);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  font-size: 0.925rem;
  color: var(--color-deep-ink);
  line-height: 1.6;
}

.legal-callout-blue {
  background-color: var(--color-blue-subtle);
  border-left-color: var(--color-blue-dark);
}

.legal-callout-mint {
  background-color: var(--color-mint-subtle);
  border-left-color: #1E8252;
}

.legal-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-ink-subtle);
  margin-top: 8px;
  flex-wrap: wrap;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #A0B0CB;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #B5C4DE;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--color-yellow);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: #A0B0CB;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--color-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7E8EA8;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-disclaimer-note {
  font-size: 0.785rem;
  color: #72819B;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
}

/* ==========================================================================
   PAGE-SPECIFIC UTILITIES & SECTIONS
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-visual {
  position: relative;
}

.hero-img-frame {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--color-white);
  position: relative;
  aspect-ratio: 4 / 3.4;
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--color-white);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-badge .badge-icon {
  font-size: 1.8rem;
}

.hero-floating-badge .badge-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-deep-ink);
}

.hero-floating-badge .badge-sub {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
}

.section-spacer {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--color-ink-muted);
  font-size: 1.05rem;
}

.brand-story-banner {
  background: linear-gradient(135deg, #FF8A3D 0%, #FF6B35 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-playful);
}

.brand-story-banner h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

.brand-story-banner p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 600px;
  margin-bottom: 28px;
}

.gift-inspiration-banner {
  background: linear-gradient(135deg, #7CC9F2 0%, #3BA0DC 100%);
  color: var(--color-deep-ink);
  border-radius: var(--radius-xl);
  padding: 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.gift-banner-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--color-white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.commitment-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: var(--transition-bounce);
}

.commitment-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-md);
}

.commitment-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}