@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Quicksand:wght@300..700&display=swap');

:root {
  --primary: #451ebb;
  --primary-hover: #5d3fd3;
  --primary-light: #e6deff;
  --secondary: #20B2AA; /* Teal Dream */
  --secondary-hover: #198f89;
  
  --bg-peach: #FFF5F0;
  --bg-white: #ffffff;
  --bg-footer: #eef5f7;
  
  --text-main: #2D3436;
  --text-muted: #635d59;
  
  --border: #e2e9ec;
  
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --shadow-soft: 0 10px 30px rgba(93, 63, 211, 0.08);
  --shadow-hover: 0 15px 40px rgba(93, 63, 211, 0.12);

  /* Legacy aliases used by secondary pages (about, contact, etc.) */
  --primary-dark: var(--primary);
  --navy-deep: #1a1520;
  --sage: var(--secondary);
  --sage-dark: var(--secondary-hover);
  --sage-btn: #20B2AA;
  --sage-btn-text: #fff;
  --bg-section: #f4fafd;
  --bg-light: #ffffff;
  --white: #ffffff;
  --dark: #1a1520;
  --card-bg: #ffffff;
  --text-dark: #2D3436;
  --accent-peach: #FFF5F0;
  --shadow: 0 10px 30px rgba(93, 63, 211, 0.08);
  --shadow-lg: 0 15px 40px rgba(93, 63, 211, 0.12);
  --radius: 8px;
  --font-main: 'DM Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg-peach);
  color: var(--text-main);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  background: var(--primary);
  color: #fff;
}

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.main-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

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

.header-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1rem;
}

.header-nav a:hover, .header-nav a.active {
  color: var(--primary);
}

.header-nav a.active {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}

.header-icons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-icon {
  color: var(--text-main);
  font-size: 1.2rem;
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--secondary);
  color: var(--bg-white);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 2px 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: var(--bg-white);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  background: rgba(255, 255, 255, 0.4); /* soft frost if needed or transparent */
  backdrop-filter: blur(10px);
  padding: 48px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin-left: 5%;
}

.badge-light {
  background: var(--bg-white);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

/* Feature Bar */
.feature-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  padding: 0 24px;
}

.feature-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 350px;
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-icon.purple { background: #e6deff; color: var(--primary); }
.feature-icon.teal { background: #e0f2f1; color: var(--secondary); }
.feature-icon.gray { background: #f0f0f0; color: var(--text-muted); }

/* Curated Collections */
.curated-section {
  text-align: center;
  margin-top: 64px;
  margin-bottom: 64px;
}

.curated-circles {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  width: 100%;
}

.curated-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.curated-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.curated-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
}

/* Product Card v2 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.product-card-v2 {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.pc-img {
  width: 100%;
  border-radius: var(--radius-md);
  background: #f8f8f8;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
}

.pc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pc-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.pc-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Promo Banners Grid */
.promo-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-top: 64px;
  margin-bottom: 64px;
  width: 100%;
}

.promo-banner {
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.promo-large {
  background: var(--primary);
}

.promo-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo-small-1 { background: #006762; }
.promo-small-2 { background: #d4dbdd; color: var(--text-main); }

/* Footer v2 */
.footer-v2 {
  background: var(--bg-footer);
  padding: 64px 0 24px;
  margin-top: 64px;
}

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

.footer-logo {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-v2 h4 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-v2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-v2 li {
  margin-bottom: 8px;
}

.footer-v2 a {
  color: var(--text-muted);
}

.footer-v2 a:hover {
  color: var(--primary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.newsletter-input {
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  width: 100%;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Shop / Product Page specifics */
.shop-header {
  margin: 48px 0;
}

.shop-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.load-more-container {
  text-align: center;
  margin: 48px 0;
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: var(--border);
  margin: 16px auto;
  border-radius: 2px;
}

.progress-fill {
  background: var(--primary);
  height: 100%;
  width: 25%;
  border-radius: 2px;
}

/* Product Single */
.product-single-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 64px 0;
}

.ps-image-gallery {
  display: flex;
  gap: 16px;
}

.ps-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 80px;
}

.ps-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
}

.ps-thumb.active { border-color: var(--primary); }

.ps-main-image {
  flex: 1;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  padding: 24px;
}

.ps-brand {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ps-title {
  font-size: 2.5rem;
  margin: 8px 0 16px;
}

.ps-price {
  font-size: 1.5rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 16px 0;
}

.color-swatches { display: flex; gap: 8px; margin: 16px 0; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid white; box-shadow: 0 0 0 1px var(--border); cursor: pointer; }
.swatch.active { box-shadow: 0 0 0 2px var(--primary); }

.size-boxes { display: flex; gap: 12px; margin: 16px 0; }
.size-box { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 16px; cursor: pointer; text-align: center; }
.size-box.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

.qty-selector { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-md); width: fit-content; margin-bottom: 24px; }
.qty-btn { background: none; border: none; padding: 8px 12px; cursor: pointer; }
.qty-input { width: 40px; text-align: center; border: none; background: none; }

.action-row { display: flex; gap: 16px; }
.btn-add-bag { flex: 1; padding: 16px; font-size: 1.1rem; }
.btn-heart { padding: 16px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; }

/* Cart Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin: 48px 0;
}

.cart-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cart-item img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  background: #f8f8f8;
}

.cart-item-details { flex: 1; }
.cart-item-price { font-weight: 700; color: var(--primary); font-size: 1.2rem; }

.cart-summary-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.summary-total {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.btn-rapid-checkout {
  background: var(--primary);
  color: white;
  width: 100%;
  margin-top: 24px;
  padding: 16px;
}

.btn-teal-credit {
  background: #e0f2f1;
  color: var(--secondary);
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  font-weight: 700;
}
