@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@500;600;700;800&family=Fredoka:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&family=Quicksand:wght@500;600;700&display=swap");

:root {
  /* Logo Color Palette (Extracted directly from Tiny Miracles Logo) */
  --logo-teal: #029A6B;          /* Vibrant Emerald Teal */
  --logo-teal-light: #18A594;    /* Light Cyan Teal */
  --logo-teal-bg: #E6F5F0;       /* Soft Mint Backdrop */
  
  --logo-berry: #901D78;         /* Rich Berry Purple/Magenta */
  --logo-berry-light: #B8359B;   /* Vibrant Berry Pink */
  --logo-berry-bg: #F9EBF6;      /* Soft Lavender Backdrop */
  
  --logo-red: #DC214C;           /* Dynamic Poppy Crimson */
  --logo-red-dark: #C7261E;      /* Rich Crimson Red */
  --logo-red-bg: #FDE8EC;        /* Soft Crimson Tint */
  
  --logo-yellow: #F4AE00;        /* Golden Sunshine Yellow */
  --logo-yellow-dark: #D99B00;   /* Rich Amber Gold */
  --logo-yellow-bg: #FFF8E6;     /* Cream Yellow Tint */
  
  --logo-blue: #007CC2;          /* Royal Sky Blue */
  --logo-blue-light: #289BDF;    /* Playful Cyan Blue */
  --logo-blue-bg: #E8F4FC;       /* Soft Blue Tint */
  
  --logo-orange: #E15517;        /* Warm Tangerine Orange */
  --logo-leaf: #5BB531;          /* Fresh Lime Leaf Green */
  
  /* Legacy Color Mapping mapped to Logo Colors */
  --primary-wood: #8C6239;
  --primary-wood-light: #B4845B;
  --primary-wood-dark: #5C3D20;
  
  --coral: var(--logo-red);
  --coral-dark: var(--logo-red-dark);
  --mustard: var(--logo-yellow);
  --mustard-dark: var(--logo-yellow-dark);
  --green: var(--logo-teal);
  --green-dark: #017A54;
  --blue: var(--logo-blue);
  --blue-dark: #00629B;
  --purple: var(--logo-berry);
  --purple-dark: #70145D;
  
  --bg-paper: #FAF8F3;
  --bg-paper-dark: #F2ECE0;
  --bg-backdrop: #E8E2D5;
  --ink: #1E232A;
  --ink-light: #4A5260;
  --ink-muted: #788294;
  --line: #E5DEC9;
  
  /* Radii */
  --max-w: 1320px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  
  /* Fonts */
  --font-display: "Fredoka", "Outfit", sans-serif;
  --font-body: "Quicksand", system-ui, sans-serif;
  --font-mono: "Dosis", sans-serif;
  
  /* Flat Cartoon Shadows with Logo Colors */
  --shadow-flat: 5px 5px 0px var(--primary-wood);
  --shadow-flat-teal: 5px 5px 0px var(--logo-teal);
  --shadow-flat-berry: 5px 5px 0px var(--logo-berry);
  --shadow-flat-red: 5px 5px 0px var(--logo-red);
  --shadow-flat-blue: 5px 5px 0px var(--logo-blue);
  --shadow-flat-yellow: 5px 5px 0px var(--logo-yellow);
  --shadow-soft: 0 15px 35px rgba(2, 154, 107, 0.08);
}

/* --- Resets & Global Styles --- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-paper);
  color: var(--ink);
  font-family: "Quicksand", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

/* Page Layout Wrapper - Full Width */
.page-wrapper {
  background-color: var(--bg-paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Containers */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1.2em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Cartoon Styled Borders & Accents */

/* Playful Swatch Buttons (as shown in user screenshot) */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
}

/* Base Wood Swatch Button */
.btn-wood{
  background-color: var(--primary-wood);
  color: #FFF !important;
}

/* Offset hollow frame behind the button */
.btn::after, a.bs-btn::after, .bs-btn::after{
  content: "";
  position: absolute;
  top: 4px;
  left: -4px;
  right: 4px;
  bottom: -4px;
  border: 1.6px solid var(--primary-wood);
  border-radius: 9px;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.2s ease;
}

.btn-wood:hover{
  transform: translate(2px, -2px);
  background-color: var(--primary-wood-dark);
}
.btn-wood:hover::after{
  transform: translate(-2px, 2px);
  border-color: var(--primary-wood-dark);
}

.btn-wood:active{
  transform: translate(-2px, 2px);
}

/* Coral Swatch Variant */

/* Outline Swatch Variant */
.btn-outline {
  background-color: transparent;
  color: var(--ink) !important;
  border: 1.6px solid var(--primary-wood);
}
.btn-outline::after {
  border-color: var(--primary-wood);
}
.btn-outline:hover {
  transform: translate(2px, -2px);
  background-color: rgba(140, 98, 57, 0.08);
}
.btn-outline:hover::after {
  transform: translate(-2px, 2px);
}
.btn-outline:active {
  transform: translate(-2px, 2px);
}

/* Decorative Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  background-color: rgba(255, 111, 89, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px dashed var(--coral);
  margin-bottom: 16px;
}

/* Sections Base */
section {
  padding: 80px 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
}

/* --- Phase 2: Navigation & Hero Styling --- */

/* Utility Nav Item Hover */
header nav a {
  position: relative;
  font-family: "Fredoka", "Outfit", sans-serif;
}
header nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--coral);
  transition: width 0.2s ease;
}
header nav a:hover {
  color: var(--ink) !important;
}
header nav a:hover::after,
header nav a.active::after {
  width: 100%;
}

/* --- Phase 2: Navigation & Hero Styling (Goodevas Style) --- */

/* Top Utility Bar */

/* Top Black Announcement Strip */
.top-announcement-bar {
  background-color: #1A1A1A;
  color: #FFFFFF;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-contact a {
  color: #FFD07B;
  text-decoration: none;
  font-weight: 700;
}
.top-bar-contact a:hover {
  text-decoration: underline;
}

/* Two-Row Main Header */
.main-header {
  background-color: #FFF;
  border-bottom: 2px solid var(--primary-wood);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.header-logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: height 0.2s ease;
}

/* Search Bar (Centered-Left) */

/* Header Right Actions (Account, Cart) */

.cart-btn {
  position: relative;
  cursor: pointer;
}
.cart-badge {
  background-color: var(--coral);
  color: #FFF;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFF;
  margin-left: -2px;
  vertical-align: top;
}

/* Header Bottom Row (Navigation Link Menu Bar) */
.nav-row {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-menu a {
  color: var(--ink-light);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a:hover {
  color: var(--coral);
}
.nav-menu a.sale-link {
  color: var(--coral);
}

/* Dropdown submenus for the main product categories (Jungle Play,
   Sensory Play, Kids Furniture) — hover-revealed panel listing the
   subcategory pages generated from the product master. */
.nav-menu li.nav-dropdown {
  position: relative;
}
.nav-menu .nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(30, 35, 42, 0.16);
  padding: 10px 0;
  margin: 8px 0 0;
  list-style: none;
  min-width: 220px;
  z-index: 60;
  text-transform: none;
  letter-spacing: normal;
}
.nav-menu li.nav-dropdown:hover .nav-submenu,
.nav-menu li.nav-dropdown:focus-within .nav-submenu {
  display: block;
}
.nav-menu .nav-submenu li {
  display: block;
}
.nav-menu .nav-submenu a {
  display: block;
  padding: 9px 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink, #1E232A);
  white-space: nowrap;
}
.nav-menu .nav-submenu a:hover {
  background: var(--bg-paper, #F9F6F1);
  color: var(--coral);
}

/* Full Width Hero 16:9 Banner Image (Widescreen Lifestyle) */
.hero-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6; /* Shorter cinematic banner */
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(to right,
      #F4EFE6 0%,
      #F4EFE6 28%,
      rgba(244, 239, 230, 0.92) 40%,
      rgba(244, 239, 230, 0.6) 52%,
      rgba(244, 239, 230, 0) 68%
    ),
    url("assets/hero-banner.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid var(--primary-wood);
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

@media (max-width: 900px) {
  .hero-section {
    aspect-ratio: auto;
    min-height: 520px;
    padding: 60px 0;
    background-image:
      linear-gradient(to bottom, #F4EFE6 0%, rgba(244, 239, 230, 0.92) 60%, rgba(244, 239, 230, 0) 100%),
      url("assets/hero-banner.jpg");
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* Hero Content Area - Slanted Sale Text Style (Dark text for readability) */
.hero-content {
  color: var(--ink); /* Changed to dark ink color for light background readability */
  position: relative;
}
.hero-sale-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--green);
  color: #FFF;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 2.5px solid #FFF;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
  transform: rotate(-3deg);
  margin-bottom: 24px;
  max-width: fit-content;
}

.hero-sale-text {
  font-family: "Fredoka", "Outfit", sans-serif;
  text-shadow: none; /* Removed text shadow for clean look */
  margin-bottom: 32px;
}
.hero-sale-text .sub {
  font-size: clamp(18px, 2.5vw, 24px);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  color: var(--primary-wood-dark); /* Accent wood tone */
}
.hero-sale-text .main {
  font-size: clamp(48px, 6vw, 72px);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 0.95;
  display: block;
  color: var(--ink);
  transform: skewX(-6deg);
}

/* Trust Badges */

/* Hero Graphic / Widescreen Banner Image */

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Background elements decoration */

@keyframes pulse-slow {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.15) rotate(10deg); opacity: 1; }
}

/* ===== BEST SELLERS SECTION ===== */
.bestsellers-section {
  background-color: var(--bg-paper);
  padding: 72px 0 80px;
}

.bestsellers-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.bestsellers-header {
  text-align: center;
  margin-bottom: 48px;
}

.bestsellers-title {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.bestsellers-subtitle {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink-light);
}

/* Carousel outer: holds nav buttons + track */
.bs-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* The scrollable track */
.bs-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 4px 20px;
  flex: 1;
}
.bs-carousel-track::-webkit-scrollbar { display: none; }

/* Individual product card */
.bs-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(140, 98, 57, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.bs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(140, 98, 57, 0.15);
}

/* Product image */
.bs-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--bg-paper-dark);
  box-sizing: border-box;
  padding: 14px;
  position: relative;
}
.bs-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}
.bs-card:hover .bs-card-img-wrap img {
  transform: scale(1.04);
}

/* Card body */
.bs-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;   /* makes children fill full width */
  gap: 6px;
  flex: 1;
}

/* Stars row */
.bs-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bs-star {
  color: #F5A623;
  font-size: 14px;
  letter-spacing: 1px;
}
.bs-reviews {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 13px;
  color: var(--ink-light);
}

/* Product name & age */
.bs-product-name {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 16px;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.bs-product-name strong {
  font-weight: 700;
}
.bs-age {
  font-weight: 500;
  color: var(--ink-light);
  font-size: 14px;
}

/* Subtitle */
.bs-product-sub {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 13px;
  color: var(--ink-light);
  margin: 0;
}

/* Price row */
.bs-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.bs-price {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.bs-price-original {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink-light);
  text-decoration: line-through;
}

/* Explore Now button — exact swatch button from user screenshot */
a.bs-btn, .bs-btn {
  position: relative;
  display: inline-block;
  width: fit-content;
  margin-top: 14px;
  padding: 10px 22px;
  background-color: var(--primary-wood);
  color: #FFFFFF !important;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  z-index: 1;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
}

/* Offset hollow frame line behind the button */
a.bs-btn::after, .bs-btn::after {
  content: "";
  position: absolute;
  top: 4px;
  left: -4px;
  right: 4px;
  bottom: -4px;
  border: 1.6px solid var(--primary-wood);
  border-radius: 9px;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.2s ease;
}

a.bs-btn:hover, .bs-btn:hover {
  transform: translate(2px, -2px);
  background-color: var(--primary-wood-dark);
}
a.bs-btn:hover::after, .bs-btn:hover::after {
  transform: translate(-2px, 2px);
  border-color: var(--primary-wood-dark);
}
a.bs-btn:active, .bs-btn:active {
  transform: translate(-2px, 2px);
}

/* Carousel nav arrow buttons */
.bs-nav-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-wood);
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(140, 98, 57, 0.25);
  transition: background-color 0.18s ease, transform 0.18s ease;
  z-index: 5;
  user-select: none;
}
.bs-nav-btn:hover {
  background-color: var(--primary-wood-dark);
  transform: scale(1.08);
}
.bs-prev { margin-right: 14px; }
.bs-next { margin-left: 14px; }

@media (max-width: 900px) {
  .bs-card { flex: 0 0 calc(50% - 12px); }
  .bs-nav-btn { display: none; } /* swipe on mobile */
}
@media (max-width: 580px) {
  .bs-card { flex: 0 0 82vw; }
}
/* ===== END BEST SELLERS ===== */

/* --- Phase 3: Category Grid & Development Matrix Styling --- */

/* Trust Marquee Bar */
.trust-marquee-bar {
  background-color: var(--bg-paper-dark);
  border-bottom: 2px solid var(--primary-wood);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  box-shadow: inset 0 2px 4px rgba(140, 98, 57, 0.04);
}
.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
.marquee-content span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-light);
  margin-right: 48px;
}
@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Category Carousel Section */
.category-carousel-section {
  background-color: var(--bg-paper);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.category-section-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  color: #1A1A1A;
  margin: 0;
  letter-spacing: 0.02em;
}

.category-carousel-header-container {
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 0 20px 0 0px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.carousel-nav-btn {
  background-color: #FFF;
  border: 1px solid #E4DCD0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
  outline: none;
}
.carousel-nav-btn:hover {
  background-color: #FAF6EE;
  border-color: var(--primary-wood);
  color: #333;
}
.carousel-nav-btn:active {
  background-color: #EFE9DB;
}

.category-carousel-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 15px 20px 25px 20px;
  scrollbar-width: none; /* Hide standard scrollbar for firefox */
}
.category-carousel-wrapper::-webkit-scrollbar {
  display: none; /* Hide standard scrollbar for chrome/safari */
}

@media (min-width: 1240px) {
  .category-carousel-wrapper {
    padding-left: calc((100vw - 1200px) / 2);
    padding-right: calc((100vw - 1200px) / 2);
  }
}

.category-carousel-track {
  display: flex;
  gap: 28px;
}

.carousel-item {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.circle-frame {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background-color: #FFF;
  border: 1px solid #F0ECE4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
  position: relative;
}
.carousel-item:hover .circle-frame {
  border-color: #C8B195;
  background-color: #FFF;
  box-shadow: 0 8px 20px rgba(140, 98, 57, 0.06);
}

.circle-frame img {
  width: 98%;
  height: 98%;
  object-fit: contain;
  transform: translateY(-4px); /* Shift up slightly for optical center */
  transition: transform 0.3s ease;
}
.carousel-item:hover .circle-frame img {
  transform: translateY(-8px) scale(1.04);
}

.carousel-item h3 {
  font-family: "Inter", "Montserrat", "Arial", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Development Matrix Grid */

/* --- Phase 4: Why Choose Us & Wood Safety --- */

/* Wood Lab Tab Switcher */

.wood-lab-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 8px;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-light);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
  border-right: 2px solid var(--primary-wood);
  outline: none;
}
.wood-lab-tab:last-child {
  border-right: none;
}
.wood-lab-tab.active {
  background-color: #FFF;
  color: var(--coral);
}

.wood-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.wood-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.wood-tab-panel h3 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 12px;
}
.wood-tab-panel p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* --- Shop Playsets by Age (High Fidelity to Screenshot) --- */
.age-playsets-section {
  background-color: #FAF8F5; /* Soft, warm off-white background matching screenshot */
  padding: 60px 0 80px 0;
  text-align: center;
}

.age-playsets-section .container {
  max-width: 1600px; /* Further expand container width for desktop */
  width: 96%;
  margin: 0 auto;
}

.age-playsets-title {
  font-family: "Inter", "Montserrat", "Arial", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.01em;
}

.age-playsets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; /* Clean gap matching screenshot */
}
@media (max-width: 992px) {
  .age-playsets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .age-playsets-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.age-playset-card {
  background-color: #FFF;
  border: none; /* Flat style, no border as shown in screenshot */
  border-radius: 8px; /* Slightly rounded corners */
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); /* Very soft shadow */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.age-playset-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(140, 98, 57, 0.08);
}

.card-image-wrapper {
  height: 440px; /* Taller height for wide 1600px container width */
  width: 100%;
  overflow: hidden;
  position: relative;
}
@media (max-width: 1600px) {
  .card-image-wrapper {
    height: 380px;
  }
}
@media (max-width: 1200px) {
  .card-image-wrapper {
    height: 300px;
  }
}
@media (max-width: 992px) {
  .card-image-wrapper {
    height: 280px;
  }
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover crop matches lifestyle screenshot */
  transition: transform 0.4s ease;
  display: block;
}
.age-playset-card:hover .card-image-wrapper img {
  transform: scale(1.03);
}

.card-label-bar {
  background-color: #FFF;
  padding: 15px 10px; /* Thin label bar matching screenshot */
  text-align: center;
}
.card-label-bar h3 {
  font-family: "Inter", "Montserrat", "Arial", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background-color: #1A1A1A;  /* near-black, matches reference */
  color: #D6CEBD;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 14px;
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Main footer area */
.footer-main {
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-main .footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  gap: 48px;
}

/* Column heading */
.footer-col-title {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

/* Link lists */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #A89F8F;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
  line-height: 1.4;
}
.footer-links a:hover {
  color: #FFFFFF;
}

/* Email subscribe form */
.footer-subscribe-form {
  display: flex;
  align-items: center;
  background-color: #2C2C2C;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}
.footer-email-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 14px;
  color: #FFFFFF;
}
.footer-email-input::placeholder {
  color: #6B6560;
}
.footer-subscribe-btn {
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding: 10px 14px;
  cursor: pointer;
  color: #A89F8F;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.footer-subscribe-btn:hover {
  background-color: rgba(255,255,255,0.06);
  color: #FFFFFF;
}

/* Social icons row */
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.07);
  color: #A89F8F;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.footer-social-icon:hover {
  background-color: var(--primary-wood);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
  padding: 18px 0;
  background-color: #141414;
}
.footer-bottom .footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  color: #6B6560;
  font-size: 13px;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: #6B6560;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* Responsive footer */
@media (max-width: 960px) {
  .footer-main .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 580px) {
  .footer-main .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== END FOOTER ===== */

/* ===== PICCALIO 50/50 SPLIT TRUST & CERTIFICATION SECTION WITH SLIDER ===== */
.piccalio-cert-section {
  width: 100%;
  background-color: #FAF8F5; /* Exact soft warm off-white cream from screenshot */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.piccalio-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.piccalio-cert-image-col {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.piccalio-cert-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.piccalio-cert-content-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background-color: #FAF8F5;
}

.piccalio-cert-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.piccalio-cert-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.piccalio-cert-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.piccalio-cert-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
  width: 100%;
}

.piccalio-cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.piccalio-cert-icon {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4A3728;
}

.piccalio-cert-title {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #4A3728;
  margin: 0 0 6px 0;
  letter-spacing: 0.01em;
}

.piccalio-cert-desc {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 13.5px;
  color: #6E5D4F;
  margin: 0;
  line-height: 1.45;
  max-width: 310px;
}

.piccalio-cert-action {
  margin-top: 4px;
}

.piccalio-learn-link {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #4A3728;
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: 0.08em;
  transition: opacity 0.15s ease;
}

.piccalio-learn-link:hover {
  opacity: 0.75;
}

/* Bottom Right Carousel Navigation Dots (matching Screenshot 3) */
.piccalio-cert-dots {
  position: absolute;
  bottom: 24px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.cert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  border: 1.5px solid #4A3728;
  padding: 0;
  cursor: pointer;
  outline: none;
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.cert-dot.active {
  background-color: #4A3728;
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .piccalio-cert-grid {
    grid-template-columns: 1fr;
  }
  .piccalio-cert-image-col {
    height: 360px;
  }
  .piccalio-cert-content-col {
    padding: 50px 24px 60px 24px;
  }
  .piccalio-cert-dots {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
}

/* ===== CONCEPT 1: ROOM FIT VISUALIZER ===== */
.room-visualizer-section {
  padding: 80px 0;
  background-color: var(--bg-paper);
  border-bottom: 2px solid var(--line);
}

.visualizer-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.visualizer-eyebrow {
  display: inline-block;
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-wood-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.visualizer-title {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px 0;
}

.visualizer-subtitle {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink-light);
  margin: 0;
}

/* Controls Header Bar */
.visualizer-control-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--bg-paper-dark);
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  margin-bottom: 36px;
}

.v-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.v-btn-toggle-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.v-toggle-btn {
  padding: 8px 18px;
  background-color: #FFFFFF;
  color: var(--ink);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.v-toggle-btn:hover {
  border-color: var(--primary-wood-light);
  background-color: #FCFAF6;
}

.v-toggle-btn.active {
  background-color: var(--primary-wood);
  color: #FFFFFF;
  border-color: var(--primary-wood);
  box-shadow: 2px 2px 0px var(--primary-wood-dark);
}

/* Main Grid */

/* Left Blueprint Card */

/* Top-Down Blueprint Canvas Container */

/* Room Outline Box */

/* Bed Marker */

/* Rug Marker */

/* Equipment Footprint Box */

/* Dotted Green Safety Zone */

/* Gym Structure Box */

/* Blueprint Legend */

/* Right Stats Card */

/* Stat Metrics Grid */

/* Storage Banner */

/* Matching Products Grid (Identical style to Best Sellers Cards) */
.room-products-showcase {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1.5px dashed var(--line);
}

.room-products-header {
  text-align: center;
  margin-bottom: 32px;
}

.room-products-title {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px 0;
}

.room-products-sub {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 14.5px;
  color: var(--ink-light);
  margin: 0;
}

.room-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .room-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .room-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== COMPREHENSIVE MOBILE & TABLET RESPONSIVENESS ===== */

@media (max-width: 992px) {
  .piccalio-cert-grid {
    grid-template-columns: 1fr;
  }
  
  .piccalio-cert-image-col {
    height: 320px;
  }
  
  .piccalio-cert-content-col {
    padding: 40px 24px 60px 24px;
  }
  
  .hero-section {
    aspect-ratio: 16/9;
  }
  
  .hero-content {
    max-width: 90%;
    padding: 30px 24px;
  }
}

@media (max-width: 768px) {
  /* Header & Top Bar Mobile Optimizations */
  .header-top {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
  }
  
  .header-logo img {
    height: 60px;
  }
  
  
  
  .top-bar-content {
    justify-content: center;
    text-align: center;
    font-size: 11.5px;
  }

  .nav-menu {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    gap: 18px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  
  /* Hero Banner Mobile */
  .hero-section {
    aspect-ratio: 16/10;
    min-height: 280px;
  }
  
  
  
  
  
  /* Circle Category Carousel Mobile */
  
  
  .circle-frame {
    width: 80px;
    height: 80px;
  }
  
  
  
  /* Best Sellers Product Grid Mobile */
  
  
  .bs-card-body {
    padding: 14px 10px;
  }
  
  .bs-product-name {
    font-size: 13.5px;
  }
  
  .bs-price {
    font-size: 16px;
  }

  .bs-btn, .btn{
    padding: 10px 16px;
    font-size: 13.5px;
  }
  
  /* Room Visualizer Selector Mobile */
  .v-btn-toggle-group {
    flex-direction: column;
    width: 100%;
  }
  
  .v-toggle-btn {
    width: 100%;
    text-align: center;
  }
  
  .visualizer-header {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  
  
  .hero-section {
    aspect-ratio: 4/3;
  }
  
  .piccalio-cert-image-col {
    height: 240px;
  }

  .bs-card-img-wrap {
    aspect-ratio: 1 / 1;
  }
}

/* ==========================================================================
   LOGO MULTI-COLOR INTERACTIVE TEXT ACCENTS & UTILITIES
   ========================================================================== */
.text-teal { color: var(--logo-teal) !important; }
.text-berry { color: var(--logo-berry) !important; }

/* Interactive Highlight Spans */
.hl-teal { color: var(--logo-teal); position: relative; display: inline-block; }
.hl-teal::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 8px; background: rgba(2, 154, 107, 0.15); z-index: -1; border-radius: 4px; }

.hl-berry { color: var(--logo-berry); position: relative; display: inline-block; }
.hl-berry::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 8px; background: rgba(144, 29, 120, 0.15); z-index: -1; border-radius: 4px; }

.hl-yellow { color: var(--logo-yellow-dark); position: relative; display: inline-block; }
.hl-yellow::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 8px; background: rgba(244, 174, 0, 0.25); z-index: -1; border-radius: 4px; }

.hl-blue { color: var(--logo-blue); position: relative; display: inline-block; }
.hl-blue::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 8px; background: rgba(0, 124, 194, 0.15); z-index: -1; border-radius: 4px; }

.hl-red { color: var(--logo-red); position: relative; display: inline-block; }
.hl-red::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 8px; background: rgba(220, 33, 76, 0.15); z-index: -1; border-radius: 4px; }

/* Multi-Colored Eyebrow Badges */
.eyebrow-teal { color: var(--logo-teal) !important; background-color: var(--logo-teal-bg) !important; border-color: var(--logo-teal) !important; }
.eyebrow-berry { color: var(--logo-berry) !important; background-color: var(--logo-berry-bg) !important; border-color: var(--logo-berry) !important; }
.eyebrow-yellow { color: var(--logo-yellow-dark) !important; background-color: var(--logo-yellow-bg) !important; border-color: var(--logo-yellow) !important; }
.eyebrow-blue { color: var(--logo-blue) !important; background-color: var(--logo-blue-bg) !important; border-color: var(--logo-blue) !important; }
.eyebrow-red { color: var(--logo-red) !important; background-color: var(--logo-red-bg) !important; border-color: var(--logo-red) !important; }

/* Multi-colored Buttons */
.btn-teal { background-color: var(--logo-teal) !important; color: #FFF !important; border: 2px solid var(--logo-teal) !important; box-shadow: var(--shadow-flat-teal) !important; }
.btn-teal:hover { background-color: #017A54 !important; transform: translate(-2px, -2px) !important; }

.btn-yellow { background-color: var(--logo-yellow) !important; color: var(--ink) !important; border: 2px solid var(--logo-yellow-dark) !important; box-shadow: var(--shadow-flat-yellow) !important; }
.btn-yellow:hover { background-color: var(--logo-yellow-dark) !important; color: #FFF !important; transform: translate(-2px, -2px) !important; }

/* Nav Links Color Interactivity on Hover */

/* Top Announcement Gradient Bar */
.top-announcement-bar {
  background: linear-gradient(90deg, #029A6B 0%, #901D78 35%, #007CC2 70%, #F4AE00 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  padding: 9px 0 !important;
  border-bottom: none !important;
}

/* Category Badge Hover Shifts */

/* Best Seller Card Accent Highlights */

.bs-card:nth-child(4n/**/+1):hover { border-color: var(--logo-teal); box-shadow: 0 16px 32px rgba(2, 154, 107, 0.12); }
.bs-card:nth-child(4n/**/+2):hover { border-color: var(--logo-berry); box-shadow: 0 16px 32px rgba(144, 29, 120, 0.12); }
.bs-card:nth-child(4n/**/+3):hover { border-color: var(--logo-blue); box-shadow: 0 16px 32px rgba(0, 124, 194, 0.12); }
.bs-card:nth-child(4n/**/+4):hover { border-color: var(--logo-red); box-shadow: 0 16px 32px rgba(220, 33, 76, 0.12); }

/* Price Highlight */

.nav-menu li:nth-child(1) a:hover { color: var(--logo-teal) !important; text-decoration: underline; text-underline-offset: 4px; }
.nav-menu li:nth-child(2) a:hover { color: var(--logo-berry) !important; text-decoration: underline; text-underline-offset: 4px; }
.nav-menu li:nth-child(3) a:hover { color: var(--logo-blue) !important; text-decoration: underline; text-underline-offset: 4px; }
.nav-menu li:nth-child(4) a:hover { color: var(--logo-yellow-dark) !important; text-decoration: underline; text-underline-offset: 4px; }
.nav-menu li:nth-child(5) a:hover { color: var(--logo-red) !important; text-decoration: underline; text-underline-offset: 4px; }
.sale-link { color: var(--logo-red) !important; font-weight: 700 !important; }

/* ==========================================================================
   FULL SITE MULTI-COLOR LOGO DESIGN SYSTEM OVERHAUL
   ========================================================================== */

/* Universal Heading & Subline Color Enhancements */
h1, h2, h3, h4 {
  font-family: var(--font-display) !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
}

p, span, li {
  font-family: var(--font-body);
}

/* Category Carousel Items Multi-Color Hover */
.category-carousel-track .carousel-item:nth-child(8n/**/+1) .circle-frame { border: 3px solid var(--logo-teal) !important; box-shadow: 0 8px 20px rgba(2,154,107,0.12) !important; }
.category-carousel-track .carousel-item:nth-child(8n/**/+1) h3 { color: var(--logo-teal) !important; }

.category-carousel-track .carousel-item:nth-child(8n/**/+2) .circle-frame { border: 3px solid var(--logo-berry) !important; box-shadow: 0 8px 20px rgba(144,29,120,0.12) !important; }
.category-carousel-track .carousel-item:nth-child(8n/**/+2) h3 { color: var(--logo-berry) !important; }

.category-carousel-track .carousel-item:nth-child(8n/**/+3) .circle-frame { border: 3px solid var(--logo-blue) !important; box-shadow: 0 8px 20px rgba(0,124,194,0.12) !important; }
.category-carousel-track .carousel-item:nth-child(8n/**/+3) h3 { color: var(--logo-blue) !important; }

.category-carousel-track .carousel-item:nth-child(8n/**/+4) .circle-frame { border: 3px solid var(--logo-yellow-dark) !important; box-shadow: 0 8px 20px rgba(244,174,0,0.15) !important; }
.category-carousel-track .carousel-item:nth-child(8n/**/+4) h3 { color: var(--logo-yellow-dark) !important; }

.category-carousel-track .carousel-item:nth-child(8n/**/+5) .circle-frame { border: 3px solid var(--logo-red) !important; box-shadow: 0 8px 20px rgba(220,33,76,0.12) !important; }
.category-carousel-track .carousel-item:nth-child(8n/**/+5) h3 { color: var(--logo-red) !important; }

.category-carousel-track .carousel-item:nth-child(8n/**/+6) .circle-frame { border: 3px solid var(--logo-teal) !important; box-shadow: 0 8px 20px rgba(2,154,107,0.12) !important; }
.category-carousel-track .carousel-item:nth-child(8n/**/+6) h3 { color: var(--logo-teal) !important; }

.category-carousel-track .carousel-item:nth-child(8n/**/+7) .circle-frame { border: 3px solid var(--logo-berry) !important; box-shadow: 0 8px 20px rgba(144,29,120,0.12) !important; }
.category-carousel-track .carousel-item:nth-child(8n/**/+7) h3 { color: var(--logo-berry) !important; }

.category-carousel-track .carousel-item:nth-child(8n/**/+8) .circle-frame { border: 3px solid var(--logo-blue) !important; box-shadow: 0 8px 20px rgba(0,124,194,0.12) !important; }
.category-carousel-track .carousel-item:nth-child(8n/**/+8) h3 { color: var(--logo-blue) !important; }

/* Age Filter Card Specific Logo Color Rules */
.age-playset-card{
  border-radius: var(--radius-md) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Best Seller Product Cards Multi-Color Enhancements */
.bs-card {
  border: 2px solid var(--line) !important;
  border-radius: var(--radius-md) !important;
  transition: all 0.3s ease !important;
}

.bs-card:hover {
  transform: translateY(-6px) !important;
}

.bs-card:nth-child(4n/**/+1):hover { border-color: var(--logo-teal) !important; box-shadow: 0 16px 30px rgba(2, 154, 107, 0.12) !important; }
.bs-card:nth-child(4n/**/+2):hover { border-color: var(--logo-berry) !important; box-shadow: 0 16px 30px rgba(144, 29, 120, 0.12) !important; }
.bs-card:nth-child(4n/**/+3):hover { border-color: var(--logo-blue) !important; box-shadow: 0 16px 30px rgba(0, 124, 194, 0.12) !important; }
.bs-card:nth-child(4n/**/+4):hover { border-color: var(--logo-red) !important; box-shadow: 0 16px 30px rgba(220, 33, 76, 0.12) !important; }

/* Product Badges */
.badge-bestseller{
  background-color: var(--logo-red) !important;
  color: #FFF !important;
  font-family: var(--font-mono) !important;
  font-weight: 700 !important;
  /* Badges sit visually on top of the product image but must never intercept
     clicks/hovers meant for the card underneath (view details link, add to
     cart button, the card's own hover state). */
  pointer-events: none;
}

/* Price Formatting */
.bs-price{
  color: var(--logo-red) !important;
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.bs-price-original{
  color: var(--ink-muted) !important;
  text-decoration: line-through !important;
  font-size: 15px !important;
  margin-left: 6px !important;
}

/* Star Ratings */
.bs-star{
  color: var(--logo-yellow) !important;
}

/* Piccalio Certification Icon Box Styling */

.cert-teal { background-color: var(--logo-teal-bg); color: var(--logo-teal); border: 1.5px solid var(--logo-teal); }
.cert-berry { background-color: var(--logo-berry-bg); color: var(--logo-berry); border: 1.5px solid var(--logo-berry); }
.cert-blue { background-color: var(--logo-blue-bg); color: var(--logo-blue); border: 1.5px solid var(--logo-blue); }

/* Room Visualizer Pills Multi-Color Active States */

/* Site Footer Multi-Color Touchups */
.site-footer {
  background-color: #1E232A !important;
  color: #E2E8F0 !important;
  padding-top: 60px !important;
  padding-bottom: 40px !important;
}

.footer-col-title {
  font-family: var(--font-display) !important;
  color: var(--logo-yellow) !important;
  font-size: 18px !important;
  margin-bottom: 20px !important;
}

.footer-links a {
  color: #CBD5E1 !important;
  transition: color 0.2s ease !important;
}

.footer-links li:nth-child(4n/**/+1) a:hover { color: var(--logo-teal) !important; }
.footer-links li:nth-child(4n/**/+2) a:hover { color: var(--logo-berry) !important; }
.footer-links li:nth-child(4n/**/+3) a:hover { color: var(--logo-blue) !important; }
.footer-links li:nth-child(4n/**/+4) a:hover { color: var(--logo-red) !important; }

.footer-subscribe-btn {
  background-color: var(--logo-red) !important;
  color: #FFF !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 24px !important;
}

.footer-subscribe-btn:hover {
  background-color: var(--logo-red-dark) !important;
}

/* ==========================================================================
   ENHANCED COLORFUL CARD BACKDROPS & ICON COLOR RULES
   ========================================================================== */

/* Age Cards Vibrant Backdrops & Labels */
.age-playset-card {
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.age-playset-card:hover {
  transform: translateY(-6px) !important;
}

.age-card-baby {
  background-color: var(--logo-teal-bg) !important;
  border: 2.5px solid var(--logo-teal) !important;
  box-shadow: var(--shadow-flat-teal) !important;
}
.age-card-baby .card-label-bar {
  background-color: var(--logo-teal) !important;
  color: #FFFFFF !important;
}

.age-card-toddler {
  background-color: var(--logo-berry-bg) !important;
  border: 2.5px solid var(--logo-berry) !important;
  box-shadow: var(--shadow-flat-berry) !important;
}
.age-card-toddler .card-label-bar {
  background-color: var(--logo-berry) !important;
  color: #FFFFFF !important;
}

.age-card-little {
  background-color: var(--logo-blue-bg) !important;
  border: 2.5px solid var(--logo-blue) !important;
  box-shadow: var(--shadow-flat-blue) !important;
}
.age-card-little .card-label-bar {
  background-color: var(--logo-blue) !important;
  color: #FFFFFF !important;
}

.age-card-big {
  background-color: var(--logo-yellow-bg) !important;
  border: 2.5px solid var(--logo-yellow-dark) !important;
  box-shadow: var(--shadow-flat-yellow) !important;
}
.age-card-big .card-label-bar {
  background-color: var(--logo-yellow-dark) !important;
  color: #FFFFFF !important;
}

.card-label-bar h3 {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 10px 14px !important;
  margin: 0 !important;
}

/* Plus Points / Safety Standards Icon & Title Colors */
.piccalio-cert-item {
  padding: 18px !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.25s ease !important;
}

.piccalio-cert-item:nth-child(5n/**/+1) { background-color: var(--logo-teal-bg) !important; border: 1.5px solid var(--logo-teal) !important; }
.piccalio-cert-item:nth-child(5n/**/+1) .piccalio-cert-title { color: var(--logo-teal) !important; }
.piccalio-cert-item:nth-child(5n/**/+1) svg { stroke: var(--logo-teal) !important; }

.piccalio-cert-item:nth-child(5n/**/+2) { background-color: var(--logo-berry-bg) !important; border: 1.5px solid var(--logo-berry) !important; }
.piccalio-cert-item:nth-child(5n/**/+2) .piccalio-cert-title { color: var(--logo-berry) !important; }
.piccalio-cert-item:nth-child(5n/**/+2) svg { stroke: var(--logo-berry) !important; }

.piccalio-cert-item:nth-child(5n/**/+3) { background-color: var(--logo-blue-bg) !important; border: 1.5px solid var(--logo-blue) !important; }
.piccalio-cert-item:nth-child(5n/**/+3) .piccalio-cert-title { color: var(--logo-blue) !important; }
.piccalio-cert-item:nth-child(5n/**/+3) svg { stroke: var(--logo-blue) !important; }

.piccalio-cert-item:nth-child(5n/**/+4) { background-color: var(--logo-red-bg) !important; border: 1.5px solid var(--logo-red) !important; }
.piccalio-cert-item:nth-child(5n/**/+4) .piccalio-cert-title { color: var(--logo-red) !important; }
.piccalio-cert-item:nth-child(5n/**/+4) svg { stroke: var(--logo-red) !important; }

.piccalio-cert-item:nth-child(5n/**/+5) { background-color: var(--logo-yellow-bg) !important; border: 1.5px solid var(--logo-yellow-dark) !important; }
.piccalio-cert-item:nth-child(5n/**/+5) .piccalio-cert-title { color: var(--logo-yellow-dark) !important; }
.piccalio-cert-item:nth-child(5n/**/+5) svg { stroke: var(--logo-yellow-dark) !important; }

/* Keep Wood Button Styling Intact as Requested */
.bs-btn, .btn-wood {
  background-color: var(--primary-wood) !important;
  color: #FFFFFF !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  border: 2px solid var(--primary-wood-dark) !important;
  box-shadow: 4px 4px 0px var(--primary-wood-dark) !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.2s ease !important;
}

.bs-btn:hover, .btn-wood:hover {
  background-color: var(--primary-wood-dark) !important;
  transform: translate(-2px, -2px) !important;
}

/* ==========================================================================
   NEW HOMEPAGE SECTIONS (COMBOS, BIRTHDAY BUDDY, HEALTHCARE, SCHOOLS, REVIEWS)
   ========================================================================== */

/* A. Combos & Bundles Section */
.combos-section {
  padding: 60px 0;
  background-color: var(--bg-paper);
}

.combos-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-top: 10px;
  margin-bottom: 8px;
}

.combos-sub {
  font-size: 16px;
  color: var(--ink-light);
  margin-bottom: 36px;
}

.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  text-align: left;
}

.combo-card {
  background-color: #FFFFFF;
  border: 2.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.combo-card:hover {
  border-color: var(--logo-berry);
  transform: translateY(-6px);
  box-shadow: var(--shadow-flat-berry);
}

.combo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--logo-red);
  color: #FFF;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 100px;
}

.combo-img-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.combo-img-wrap img {
  max-height: 100%;
  object-fit: contain;
}

.combo-card-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--ink);
}

.combo-desc {
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.combo-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.combo-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--logo-red);
}

.combo-price-old {
  font-size: 16px;
  color: var(--ink-muted);
  text-decoration: line-through;
}

/* B. Birthday Buddy Section */
.birthday-buddy-section {
  padding: 60px 0;
}

.birthday-card-wrapper {
  background: linear-gradient(135deg, #FFF8E6 0%, #F9EBF6 100%);
  border: 3px solid var(--logo-yellow-dark);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-flat-yellow);
}

.birthday-content h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-top: 12px;
  margin-bottom: 14px;
}

.birthday-desc {
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.birthday-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.b-perk {
  background-color: #FFFFFF;
  border: 1.5px solid var(--logo-yellow-dark);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  color: var(--ink);
}

.birthday-image-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 3px solid #FFF;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* C. Healthcare Section */
.healthcare-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.healthcare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.healthcare-text-col h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-top: 12px;
  margin-bottom: 14px;
}

.healthcare-lead {
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 28px;
}

.healthcare-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.h-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.h-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.h-pillar h4 {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--ink);
}

.h-pillar p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0;
}

.healthcare-img-col img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 3px solid var(--logo-teal);
  box-shadow: var(--shadow-flat-teal);
}

/* D. School Benefits Section */
.school-benefits-section {
  padding: 60px 0;
  background-color: var(--bg-paper-dark);
}

.school-sub {
  font-size: 16px;
  color: var(--ink-light);
  max-width: 680px;
  margin: 10px auto 36px;
}

.school-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  text-align: left;
}

.school-card {
  background-color: #FFFFFF;
  border: 2px solid var(--logo-blue);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: 0 10px 20px rgba(0,124,194,0.06);
  transition: transform 0.25s ease;
}

.school-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-flat-blue);
}

.school-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.school-card h3 {
  font-size: 19px;
  color: var(--logo-blue);
  margin-bottom: 8px;
}

.school-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0;
}

/* E. Bloom Toys Style Testimonials Section */
.testimonials-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.testimonials-sub {
  font-size: 16px;
  color: var(--ink-light);
  margin-top: 8px;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  text-align: left;
}

.testimonial-card {
  background-color: var(--bg-paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  border-color: var(--logo-berry);
  box-shadow: var(--shadow-flat-berry);
  transform: translateY(-5px);
}

.t-stars {
  color: var(--logo-yellow);
  font-size: 18px;
  margin-bottom: 14px;
}

.t-quote {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.t-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-name {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}

.t-location {
  font-size: 12.5px;
  color: var(--ink-light);
}

.t-verified-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--logo-teal);
  background-color: var(--logo-teal-bg);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
  .birthday-card-wrapper, .healthcare-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CATEGORY PAGES & UNIVERSAL PRODUCT TEMPLATE STYLES
   ========================================================================== */

/* Category Hero Placeholder (Responsive Container ready for future image upload) */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* ── All Products page filter bar ─────────────────────────────────────── */
.ap-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 18px 0;
}
.ap-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.ap-filter-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #788294;
  margin-right: 2px;
}
.ap-pill {
  padding: 7px 16px;
  border-radius: 50px;
  border: 2px solid #E0E0E0;
  background: #fff;
  color: #4A5260;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.ap-pill:hover { border-color: var(--logo-teal, #029A6B); }
.ap-pill.active-pill {
  background: var(--logo-teal-bg, #E6F5F0);
  border-color: var(--logo-teal, #029A6B);
  color: var(--logo-teal, #029A6B);
}
.ap-sort-select {
  padding: 8px 14px;
  border-radius: 50px;
  border: 2px solid #E0E0E0;
  background: #fff;
  color: #4A5260;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-left: auto;
}
.ap-count {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  color: #788294;
  margin-bottom: 18px;
}
.ap-count strong { color: #1E232A; }

/* Trust/stats strip at the bottom of each category page (IS 9873 Certified,
   Free Shipping, Solid Hardwood, 1-Year Warranty). Was previously a fixed
   4-column inline grid with no responsive fallback, which squeezed onto
   mobile screens. Same 4-column look on desktop, collapses on smaller
   screens. */
.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 700px) {
  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}
@media (max-width: 420px) {
  .trust-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Generic responsive 3-column card grid, used for the same fixed-grid
   pattern repeated across about-us.html, blog.html, blog-post.html and
   sale.html (feature cards, blog cards, sale category tiles). Same
   3-column look on desktop; collapses on narrower screens instead of
   squeezing three columns into a phone-width viewport. */
.responsive-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
  .responsive-3col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .responsive-3col-grid {
    grid-template-columns: 1fr;
  }
}

/* Universal Product Hero Section */

/* Product Specifications Table */

/* ==========================================================================
   SHOPPING CART DRAWER
   ========================================================================== */

body.tm-cart-open {
  overflow: hidden;
}

.tm-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 2px solid var(--line);
  flex-shrink: 0;
}
.tm-cart-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin: 0;
}
.tm-cart-close {
  background: var(--bg-paper);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink-light);
  transition: background 0.15s ease, color 0.15s ease;
}
.tm-cart-close:hover {
  background: var(--logo-red-bg);
  color: var(--logo-red);
}

.tm-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}

.tm-cart-empty {
  text-align: center;
  padding: 60px 20px;
}
.tm-cart-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.tm-cart-empty p {
  font-family: var(--font-body);
  color: var(--ink-light);
  margin: 4px 0;
}
.tm-cart-empty-sub {
  font-size: 13px;
  color: var(--ink-muted);
}

.tm-cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.tm-cart-line-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--bg-paper);
  border-radius: 10px;
  padding: 6px;
}
.tm-cart-line-name {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 2px;
  line-height: 1.3;
}
.tm-cart-line-variant {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0 0 4px;
}
.tm-cart-line-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-wood);
  margin: 0 0 8px;
}
.tm-cart-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tm-cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: #FFF;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: var(--ink);
  font-family: var(--font-mono);
}
.tm-cart-qty-btn:hover {
  border-color: var(--logo-teal);
  color: var(--logo-teal);
}
.tm-cart-qty-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  min-width: 16px;
  text-align: center;
}
.tm-cart-remove-btn {
  background: none;
  border: none;
  color: var(--logo-red);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  text-decoration: underline;
}
.tm-cart-line-total {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}

.tm-cart-footer {
  border-top: 2px solid var(--line);
  padding: 18px 24px 22px;
  flex-shrink: 0;
}
.tm-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}
.tm-cart-shipping-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0 0 14px;
}
.tm-cart-checkout-btn {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: var(--logo-teal);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  margin-bottom: 10px;
}
.tm-cart-checkout-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.tm-cart-clear-btn {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: none;
  background: none;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}
.tm-cart-clear-btn:hover {
  color: var(--logo-red);
}

/* Quick "Add to Cart" button used on category / listing product cards */
.quick-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  margin-top: 8px;
  border-radius: 10px;
  border: 2px solid var(--logo-teal);
  background: #FFF;
  color: var(--logo-teal);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.quick-add-btn:hover {
  background: var(--logo-teal);
  color: #FFF;
}

/* PDP quantity selector + Add to Cart button */
.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.pdp-qty-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.pdp-qty-stepper {
  display: flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.pdp-qty-stepper button {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-paper);
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
}
.pdp-qty-stepper button:hover {
  background: var(--logo-teal-bg);
  color: var(--logo-teal);
}
.pdp-qty-stepper input {
  width: 44px;
  height: 36px;
  border: none;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  -moz-appearance: textfield;
}
.pdp-qty-stepper input::-webkit-outer-spin-button,
.pdp-qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp-cta-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 2px solid var(--primary-wood);
  background: #FFF;
  color: var(--primary-wood);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.pdp-cta-cart:hover {
  background: var(--primary-wood);
  color: #FFF;
}

