/* ==========================================================================
   SPROUTBAE PREMIUM D2C COLOR SYSTEM & CORE CONFIG
   ========================================================================== */
:root {
  --color-primary-red: #E21A22;      /* SproutBae brand red */
  --color-primary-red-hover: #BF1118;
  --color-secondary-green: #76BC21;  /* Leaf green */
  --color-secondary-green-soft: #EBF7DC;
  --color-cream-bg: #FCF8F5;         /* Cozy warm cream background */
  --color-cream-card: #FFFFFF;
  --color-text-dark: #1C1E21;        /* Premium charcoal */
  --color-text-muted: #5E656B;
  --color-gold: #D4AF37;             /* Metallic/soft gold for certificate highlights */
  --color-gold-hover: #C5A02F;
  --color-border: #E8E5E2;
  
  --font-heading: 'Fredoka', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(226, 26, 34, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(226, 26, 34, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(226, 26, 34, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-cert: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream-bg);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-dark);
}

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

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

/* ==========================================================================
   FLOATING LEAF PARTICLES BACKGROUND
   ========================================================================== */
.leaf-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.leaf-particle {
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2376BC21' opacity='0.15'%3E%3Cpath d='M17 8c.98 0 1.76.83 1.9 1.9.02.16.1.32.22.42A7.012 7.012 0 0 1 21 16c0 3.87-3.13 7-7 7-.65 0-1.26-.09-1.85-.26-.16-.05-.28-.17-.32-.33a1.996 1.996 0 0 1 1.9-2.41c.98 0 1.76-.83 1.9-1.9.02-.16.1-.32.22-.42A7.012 7.012 0 0 0 20 12c0-2.21-1.79-4-4-4-.65 0-1.26.09-1.85.26-.16.05-.28.17-.32.33a1.996 1.996 0 0 0 1.9 2.41c.98 0 1.76-.83 1.9-1.9.02-.16.1-.32.22-.42A7.012 7.012 0 0 0 20 4c0-3.87-3.13-7-7-7-.65 0-1.26.09-1.85.26-.16.05-.28.17-.32.33a1.996 1.996 0 0 0 1.9 2.41c.98 0 1.76-.83 1.9-1.9C14.76 1.83 15.54 1 16.5 1c1.93 0 3.5 1.57 3.5 3.5 0 .65-.09 1.26-.26 1.85-.05.16-.17.28-.33.32a1.996 1.996 0 0 0-2.41-1.9c-.98 0-1.76.83-1.9 1.9-.02.16-.1.32-.22.42A7.012 7.012 0 0 0 12 12c0 2.21 1.79 4 4 4 .65 0 1.26-.09 1.85-.26.16-.05.28-.17.32-.33.15-.49.52-.89 1.01-1.12.18-.08.38-.13.59-.13.98 0 1.76.83 1.9 1.9.02.16.1.32.22.42A7.012 7.012 0 0 1 24 20c0 2.21-1.79 4-4 4-.65 0-1.26-.09-1.85-.26-.16-.05-.28-.17-.32-.33-.15-.49-.52-.89-1.01-1.12-.18-.08-.38-.13-.59-.13c-2.48 0-4.5-2.02-4.5-4.5 0-.96.3-1.85.82-2.58.12-.17.13-.39.03-.57a1.996 1.996 0 0 0-2.08-1c-.98 0-1.76.83-1.9 1.9-.02.16-.1.32-.22.42A7.012 7.012 0 0 1 8 20c0 3.87-3.13 7-7 7C.35 27-.26 26.91-.85 26.74c-.16-.05-.28-.17-.32-.33-.15-.49-.52-.89-1.01-1.12-.18-.08-.38-.13-.59-.13-.98 0-1.76-.83-1.9-1.9-.02-.16-.1-.32-.22-.42A7.012 7.012 0 0 1-7 16c0-3.87 3.13-7 7-7 .65 0 1.26.09 1.85.26.16.05.28.17.32.33a1.996 1.996 0 0 1-1.9 2.41c-.98 0-1.76.83-1.9 1.9-.02.16-.1.32-.22.42A7.012 7.012 0 0 0-4 16c0 2.21 1.79 4 4 4 .65 0 1.26-.09 1.85-.26.16-.05.28-.17.32-.33a1.996 1.996 0 0 0-1.9-2.41c-.98 0-1.76.83-1.9 1.9-.02.16-.1.32-.22.42A7.012 7.012 0 0 0-4 8c0-2.21 1.79-4 4-4 .65 0 1.26.09 1.85.26.16.05.28.17.32.33a1.996 1.996 0 0 0-1.9-2.41c-.98 0-1.76.83-1.9 1.9.02.16.1.32.22.42A7.012 7.012 0 0 0 0 4c0-2.21-1.79-4-4-4-.65 0-1.26.09-1.85.26-.16.05-.28.17-.32.33a1.996 1.996 0 0 0 1.9 2.41c.98 0 1.76.83 1.9 1.9.02.16.1.32.22.42A7.012 7.012 0 0 1 1 8c0 3.87 3.13 7 7 7 .65 0 1.26-.09 1.85-.26.16-.05.28-.17.32-.33.15-.49.52-.89 1.01-1.12.18-.08.38-.13.59-.13.98 0 1.76.83 1.9 1.9.02.16.1.32.22.42A7.012 7.012 0 0 1 12 20c0 3.87-3.13 7-7 7C4.35 27 3.74 26.91 3.15 26.74c-.16-.05-.28-.17-.32-.33-.15-.49-.52-.89-1.01-1.12-.18-.08-.38-.13-.59-.13-.98 0-1.76-.83-1.9-1.9-.02-.16-.1-.32-.22-.42A7.012 7.012 0 0 1-1 20c0-2.21 1.79-4 4-4 .65 0 1.26.09 1.85.26.16.05.28.17.32.33.15.49.52.89 1.01 1.12.18.08.38.13.59.13.98 0 1.76-.83 1.9-1.9.02-.16.1-.32.22-.42A7.012 7.012 0 0 0 8 12c0-3.87-3.13-7-7-7-.65 0-1.26.09-1.85.26-.16.05-.28.17-.32.33a1.996 1.996 0 0 0 1.9 2.41c.98 0 1.76-.83 1.9-1.9.02-.16.1-.32.22-.42A7.012 7.012 0 0 0 12 4c0-2.21-1.79-4-4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  animation: floatLeaf 12s infinite linear;
}

@keyframes floatLeaf {
  0% {
    transform: translateY(-50px) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% {
    transform: translateY(105vh) rotate(360deg) translateX(80px);
    opacity: 0;
  }
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY UTILITIES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-primary-red);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-secondary-green-soft);
  color: var(--color-secondary-green);
}

.btn-secondary:hover {
  background-color: #dfefc9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--color-gold);
  color: white;
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

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

.highlight-text {
  color: var(--color-primary-red);
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: rgba(118, 188, 33, 0.2);
  z-index: -1;
  border-radius: 4px;
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background-color: var(--color-primary-red);
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-family: var(--font-heading);
  font-weight: 500;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(252, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 99;
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-item {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-dark);
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 8px;
}

.nav-item:hover {
  color: var(--color-primary-red);
  background-color: rgba(226, 26, 34, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-trigger {
  position: relative;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-sm);
}

.cart-trigger:hover {
  color: var(--color-primary-red);
  border-color: var(--color-primary-red);
  transform: scale(1.05);
}

.cart-icon {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-primary-red);
  color: white;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  background-color: var(--color-secondary-green-soft);
  color: var(--color-secondary-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: inline-block;
}

.hero-title {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary-red);
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Hero Visual & Speech Bubble */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-card {
  position: relative;
  background: white;
  padding: 24px;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-normal);
  cursor: pointer;
  max-width: 400px;
}

.hero-image-card:hover {
  transform: rotate(2deg) scale(1.02);
}

.mascot-img-main {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* Mascot wiggling animation on trigger */
.wiggle-mascot {
  animation: wiggleAnimation 0.8s ease-in-out;
}

@keyframes wiggleAnimation {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(8deg) scale(1.05); }
  30% { transform: rotate(-8deg) scale(1.05); }
  45% { transform: rotate(6deg); }
  60% { transform: rotate(-4deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.mascot-speech-bubble {
  position: absolute;
  top: -30px;
  right: -20px;
  background-color: var(--color-secondary-green);
  color: white;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  animation: speechFloat 3s infinite ease-in-out;
}

.mascot-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: var(--color-secondary-green) transparent;
  display: block;
  width: 0;
}

@keyframes speechFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.badge-accent {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary-red);
  color: white;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ==========================================================================
   HIGHLIGHTS SECTION
   ========================================================================== */
.highlights-section {
  padding: 40px 24px;
  background-color: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  z-index: 5;
  position: relative;
}

.highlights-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.highlight-icon {
  font-size: 40px;
  margin-bottom: 16px;
  transition: transform var(--transition-fast);
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.2) rotate(5deg);
}

.highlight-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.highlight-card p {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* ==========================================================================
   SHOWROOM SECTION (CATALOG)
   ========================================================================== */
.showroom-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--color-primary-red);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

.showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px;
  font-family: var(--font-heading);
  color: var(--color-text-muted);
  font-size: 18px;
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 26, 34, 0.2);
}

.product-image-container {
  background-color: var(--color-cream-bg);
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-image {
  transform: scale(1.08) rotate(-2deg);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-secondary-green);
  color: white;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 8px;
}

.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.product-title {
  font-size: 20px;
  line-height: 1.25;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary-red);
  font-weight: 700;
}

.product-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 12px;
}

.rating-stars {
  color: #FFC107;
  font-weight: bold;
}

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

.product-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Configurator inside Card */
.product-config {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-bottom: 20px;
}

.config-group {
  margin-bottom: 12px;
}

.config-group:last-child {
  margin-bottom: 0;
}

.config-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.size-select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: white;
  font-size: 14px;
  color: var(--color-text-dark);
}

.custom-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary-red);
}

.embroidery-input-wrapper {
  margin-top: 8px;
  display: none;
}

.embroidery-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-size: 14px;
}

.embroidery-input:focus {
  outline: none;
  border-color: var(--color-primary-red);
  box-shadow: 0 0 0 3px rgba(226, 26, 34, 0.1);
}

/* ==========================================================================
   ADOPTION SECTION
   ========================================================================== */
.adoption-section {
  background-color: var(--color-primary-red);
  padding: 100px 24px;
  position: relative;
  z-index: 5;
}

.section-subtitle-white {
  color: #FFD4D6;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title-white {
  font-size: 40px;
  margin-bottom: 16px;
  color: white;
}

.section-desc-white {
  color: #FFE6E7;
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 16px;
}

.adoption-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  align-items: center;
}

.adoption-form-container {
  display: flex;
  flex-direction: column;
}

.adoption-wizard {
  background: white;
  padding: 36px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 15px;
  transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-secondary-green);
  box-shadow: 0 0 0 4px var(--color-secondary-green-soft);
}

/* Certificate Box */
.adoption-preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.certificate-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 3px dashed rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 420px;
}

.placeholder-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.certificate-placeholder h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 12px;
}

.certificate-placeholder p {
  color: #FFD4D6;
  font-size: 14px;
}

/* The actual printable adoption certificate */
.adoption-certificate {
  width: 100%;
  max-width: 500px;
  background: #FCF8F5;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-cert);
  animation: cardEntrance 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cert-border {
  border: 15px double var(--color-gold);
  background: white;
  padding: 24px;
  text-align: center;
  position: relative;
}

.cert-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 12px;
}

.cert-logo {
  height: 36px;
  margin-bottom: 8px;
}

.cert-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.cert-intro {
  font-style: italic;
  font-size: 13px;
  color: var(--color-text-muted);
}

.cert-mascot-name {
  font-size: 36px;
  color: var(--color-primary-red);
  margin: 6px 0;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.05);
}

.cert-trait-desc {
  font-size: 12px;
  color: var(--color-text-muted);
}

.cert-trait {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-secondary-green);
  font-weight: 600;
  margin-bottom: 12px;
}

.cert-belonging {
  font-style: italic;
  font-size: 13px;
  color: var(--color-text-muted);
}

.cert-parent-name {
  font-size: 22px;
  margin: 6px 0;
  border-bottom: 1px solid var(--color-border);
  display: inline-block;
  padding: 0 20px 4px 20px;
}

.cert-oath {
  font-size: 11px;
  color: var(--color-text-muted);
  margin: 10px 0;
  padding: 0 10px;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.cert-sig {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.sig-line {
  font-size: 9px;
  color: var(--color-text-muted);
}

.sig-name {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--color-text-dark);
}

.cert-stamp {
  position: absolute;
  right: 15px;
  bottom: 80px;
  transform: rotate(-10deg);
}

.stamp-circle {
  border: 3px double var(--color-gold);
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: bold;
  background: white;
}

.cert-date-id {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.cert-date {
  font-size: 11px;
  color: var(--color-text-dark);
}

.cert-id {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--color-gold);
}

.cert-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

/* ==========================================================================
   MURAL SECTION (STORY)
   ========================================================================== */
.mural-section {
  padding: 100px 24px;
  background-color: white;
}

.mural-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  align-items: center;
}

.mural-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.mural-image {
  width: 100%;
  height: auto;
  display: block;
}

.mural-content h2 {
  margin-top: 10px;
  margin-bottom: 20px;
}

.mural-content p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 16px;
}

.story-quote {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary-red);
  border-left: 4px solid var(--color-secondary-green);
  padding-left: 20px;
  margin-top: 30px;
  font-style: italic;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-rating {
  font-size: 16px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--color-text-dark);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-dark);
}

.testimonial-author h4 {
  font-size: 15px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   NEWSLETTER SIGNUP
   ========================================================================== */
.newsletter-section {
  background-color: var(--color-secondary-green-soft);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-container h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.newsletter-container p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  background: white;
  padding: 8px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.newsletter-form input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 15px;
  outline: none;
}

.newsletter-form button {
  white-space: nowrap;
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER & OVERLAY
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  background: white;
  z-index: 101;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 24px;
}

.btn-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
  transition: color var(--transition-fast);
}

.btn-close:hover {
  color: var(--color-primary-red);
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Empty basket message */
.cart-empty-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--color-text-muted);
}

.cart-empty-icon {
  font-size: 60px;
  margin-bottom: 16px;
}

.cart-empty-message p {
  margin-bottom: 20px;
}

/* Cart item card */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}

.cart-item-image-wrapper {
  background: var(--color-cream-bg);
  border-radius: 12px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid var(--color-border);
}

.cart-item-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.cart-item-details h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.cart-item-specs {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  background: var(--color-cream-bg);
  border: 1px solid var(--color-border);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.qty-val {
  font-size: 14px;
  font-weight: 600;
}

.cart-item-price-remove {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-dark);
}

.btn-remove-item {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--color-primary-red);
  cursor: pointer;
  text-decoration: underline;
}

/* Cart Footer & Totals */
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-cream-bg);
}

.cart-totals {
  margin-bottom: 20px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.total-row hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 12px 0;
}

.grand-total {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text-dark);
  font-weight: 700;
}

.free-badge {
  background: var(--color-secondary-green-soft);
  color: var(--color-secondary-green);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.checkout-assurance {
  text-align: center;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.toast {
  background: white;
  border-left: 5px solid var(--color-primary-red);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: toastSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all var(--transition-fast);
}

.toast-green {
  border-left-color: var(--color-secondary-green);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.toast-icon {
  font-size: 20px;
}

.toast-msg {
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--color-text-dark);
  color: white;
  padding: 80px 24px 24px 24px;
  position: relative;
  z-index: 5;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 44px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* make logo white in footer */
}

.footer-brand-col p {
  color: #A0A5A9;
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.social-icon {
  color: #A0A5A9;
  border-bottom: 1px solid transparent;
}

.social-icon:hover {
  color: white;
  border-color: white;
}

.footer-links-col h4, .footer-contact-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col ul li {
  margin-bottom: 12px;
}

.footer-links-col ul li a {
  color: #A0A5A9;
  font-size: 14px;
}

.footer-links-col ul li a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-col p {
  color: #A0A5A9;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact-col a {
  color: white;
  border-bottom: 1px dashed white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #2D3135;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #6C7278;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container, .adoption-container, .mural-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .showroom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* simple hidden mobile menu */
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .showroom-grid {
    grid-template-columns: 1fr;
  }
  
  .highlights-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .adoption-certificate {
    max-width: 100%;
  }
}

/* ==========================================================================
   PRINT-STYLES (FOR GENERATING PDF ADOPTION PAPERS)
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  
  #adoption-certificate, #adoption-certificate * {
    visibility: visible;
  }
  
  #adoption-certificate {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    background: white;
    padding: 0;
  }
  
  .cert-actions {
    display: none;
  }
}
