/* ==========================================================================
   TOYO THEME - LEAFIN PRESET STYLESHEET
   Typography: Cormorant Garamond (Serif) + Inter (Sans-Serif)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Fonts */
  --font-heading-family: 'Cormorant Garamond', Georgia, serif;
  --font-body-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Colors */
  --color-base-text: #3d3d3d;
  --color-secondary-text: #767676;
  --color-muted: #999999;
  --color-base-heading: #101010;
  --color-secondary-heading: #cf2e26;
  --color-border: #101010;
  --color-border-light: rgba(16, 16, 16, 0.12);
  --color-border-ultra-light: rgba(16, 16, 16, 0.06);

  /* Background Palette (Toyo Mood) */
  --color-bg-main: #ffffff;
  --color-bg-paper: #fcfbf9;
  --color-bg-section-1: #f2dee2; /* Soft Rose */
  --color-bg-section-2: #cfeaf6; /* Soft Sky */
  --color-bg-section-3: #f6e9d6; /* Warm Sand */
  --color-bg-section-sand: #efe6d9;
  --color-bg-dark: #101010;

  /* Button multi-layer palette (Toyo 3D animated layers) */
  --btn-color-text: #ffffff;
  --btn-color-bg: #101010;
  --btn-color-layer-1: #fdc684; /* Amber cream */
  --btn-color-layer-2: #c497ed; /* Lavender */
  --btn-color-layer-3: #ff1f00; /* Coral Red */
  --btn-color-layer-4: #101010;

  /* Badges & Accents */
  --color-badge-default: #f19c5b;
  --color-badge-sale: #f19c5b;
  --color-badge-soldout: #c2c2c2;
  --color-badge-green: #2e7d32;

  /* Layout */
  --max-width: 1400px;
  --container-padding: 32px;
  --header-height: 96px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body-family);
  color: var(--color-base-text);
  background-color: var(--color-bg-paper);
  line-height: 1.6;
  font-size: 0.95rem;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: var(--font-heading-family);
  color: var(--color-base-heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1, .h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

h2, .h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

h3, .h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

h4, .h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
}

em {
  font-family: var(--font-heading-family);
  font-style: italic;
  font-weight: 400;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-fluid {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

/* Color section helpers */
.bg-paper { background-color: var(--color-bg-paper); }
.bg-white { background-color: #ffffff; }
.bg-rose { background-color: var(--color-bg-section-1); }
.bg-sky { background-color: var(--color-bg-section-2); }
.bg-sand { background-color: var(--color-bg-section-3); }
.bg-sand-dark { background-color: var(--color-bg-section-sand); }
.bg-dark { background-color: var(--color-bg-dark); color: #ffffff; }

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 32px; }
.grid { display: grid; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.section-padding {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.section-padding-sm {
  padding-top: clamp(35px, 5vw, 60px);
  padding-bottom: clamp(35px, 5vw, 60px);
}

.section-title-wrap {
  margin-bottom: clamp(30px, 4vw, 55px);
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary-text);
  margin-bottom: 8px;
  font-weight: 500;
}
