/* ============================================================
   KINDLY HEARTED DESIGNS — Custom Storefront
   Palette: Blush / Mauve / Berry — warm, elegant gift shop
   ============================================================ */

:root {
  --blush:        #FDF5F0;
  --blush-tint:   #F7ECE4;
  --rose-light:   #F4E8E8;
  --mauve:        #C4707A;
  --mauve-dark:   #A85560;
  --mauve-soft:   #D89098;
  --dusty:        #B89090;
  --berry:        #2E1A1A;
  --berry-muted:  #5A3535;
  --ink-subtle:   #7A5555;

  --border:       rgba(46, 26, 26, 0.10);
  --border-warm:  rgba(196, 112, 122, 0.22);

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Jost', 'Helvetica Neue', sans-serif;

  --radius-soft:  16px;
  --radius-pill:  100px;

  --max-w: 1200px;
  --content-w: 780px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--berry);
  background: var(--blush);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  background: var(--blush);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

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

.header-nav--right { justify-content: flex-end; }

.header-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry);
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
  padding: 6px 0;
}

.header-nav a:hover { color: var(--mauve-dark); opacity: 1; }

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  letter-spacing: 0.02em;
}

.logo-kindly, .logo-designs {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--berry);
}

.logo-amp {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mauve);
  padding: 0 4px;
}

.header-mobile-inner {
  display: none;
  padding: 16px 20px;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--berry);
  transition: transform 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 20px 20px;
  gap: 14px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  padding: 8px 0;
  color: var(--berry);
  border-bottom: 1px solid var(--border);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(216, 144, 152, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 112, 122, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--blush-tint) 0%, var(--blush) 100%);
  padding: 120px 32px 110px;
  text-align: center;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 32px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 600;
  color: var(--berry);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--mauve-dark);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--berry-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 40px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn--primary {
  background: var(--mauve-dark);
  color: #FFFEFC;
}
.btn--primary:hover {
  background: var(--berry);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--berry);
  border-color: var(--berry);
}
.btn--outline:hover {
  background: var(--berry);
  color: var(--blush);
}
.btn--full { width: 100%; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: 88px 32px;
}
.section--tint {
  background: var(--rose-light);
}
.section--values {
  background: var(--blush-tint);
  padding: 64px 32px;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--berry);
}
.section-cta {
  text-align: center;
  margin-top: 56px;
}

/* ── COLLECTION CARDS ────────────────────────────────────── */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.collection-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  padding: 40px 32px;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--berry);
}
.collection-card:hover {
  border-color: var(--mauve);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(46, 26, 26, 0.08);
}
.collection-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--berry);
}
.collection-card p {
  font-size: 0.92rem;
  color: var(--berry-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}
.collection-card-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  display: inline-block;
  transition: transform 0.2s;
}
.collection-card:hover .collection-card-link {
  transform: translateX(4px);
}

/* ── PRODUCT CARDS / GRID ────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 36px 28px;
}
.product-card {
  display: block;
  text-decoration: none;
  color: var(--berry);
  transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-3px); }
.product-img-wrap {
  aspect-ratio: 4 / 5;
  background: #FFFFFF;
  border-radius: var(--radius-soft);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-card-body { padding: 0 4px; }
.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--berry);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.product-card-pricing {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.92rem;
}
.product-card-price {
  color: var(--mauve-dark);
  font-weight: 500;
}
.product-card-compare {
  color: var(--ink-subtle);
  text-decoration: line-through;
  font-size: 0.85rem;
}

/* ── VALUES ──────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  text-align: center;
}
.value {
  padding: 12px;
}
.value-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--mauve);
  margin-bottom: 16px;
}
.value h4 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--berry);
}
.value p {
  font-size: 0.9rem;
  color: var(--berry-muted);
  line-height: 1.6;
}

/* ── COLLECTION HEADER ───────────────────────────────────── */
.collection-header {
  background: linear-gradient(180deg, var(--blush-tint) 0%, var(--blush) 100%);
  padding: 80px 32px 60px;
  text-align: center;
}
.collection-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 14px;
}
.collection-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--berry);
  margin-bottom: 8px;
}
.collection-count {
  font-size: 0.85rem;
  color: var(--ink-subtle);
}
.collection-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.collection-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}
.collection-sort label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--berry-muted);
}
.collection-sort select {
  font-family: inherit;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #FFFFFF;
  font-size: 0.88rem;
  color: var(--berry);
  cursor: pointer;
}
.empty-state {
  padding: 80px 0;
  text-align: center;
  color: var(--berry-muted);
}
.empty-state a {
  color: var(--mauve-dark);
  font-weight: 500;
}

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-section {
  padding: 60px 32px 80px;
}
.product-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.product-gallery { position: sticky; top: 100px; }
.gallery-main {
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border-radius: var(--radius-soft);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--rose-light);
}
.gallery-placeholder span {
  font-family: var(--font-serif);
  color: var(--mauve);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.gallery-thumb.active { border-color: var(--mauve); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding: 10px 0; }
.product-breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 20px;
}
.product-breadcrumb a { color: var(--ink-subtle); }
.product-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--berry);
  margin-bottom: 20px;
}
.product-pricing {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.product-price {
  font-size: 1.4rem;
  color: var(--mauve-dark);
  font-weight: 500;
}
.product-compare {
  text-decoration: line-through;
  color: var(--ink-subtle);
  font-size: 1rem;
}
.product-save-badge {
  background: var(--mauve);
  color: #FFFEFC;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.product-description {
  font-size: 0.95rem;
  color: var(--berry-muted);
  line-height: 1.8;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.product-description__inner p { margin-bottom: 12px; }
.product-description__inner ul, .product-description__inner ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.product-meta { display: flex; flex-direction: column; gap: 14px; }
.product-meta__item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--berry-muted);
}
.product-meta__icon { color: var(--mauve); }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(180deg, var(--rose-light) 0%, var(--blush) 100%);
  padding: 110px 32px 80px;
  text-align: center;
}
.about-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-bottom: 28px;
}
.about-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--berry);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.12;
}
.about-body {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 8px;
  font-size: 1.02rem;
  color: var(--berry-muted);
  line-height: 1.85;
}
.about-body p { margin-bottom: 22px; }
.about-body h2 {
  font-size: 1.4rem;
  color: var(--berry);
  margin: 40px 0 14px;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--berry);
  color: var(--blush);
  padding: 80px 32px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
  font-size: 0.92rem;
  color: rgba(253, 245, 240, 0.65);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blush);
  letter-spacing: 0.01em;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve-soft);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(253, 245, 240, 0.65);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--mauve-soft); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(253, 245, 240, 0.45);
  letter-spacing: 0.06em;
  gap: 20px;
}
.footer-bottom .affiliate-disclosure {
  text-align: right;
  max-width: 540px;
  opacity: 0.75;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .header-inner { display: none; }
  .header-mobile-inner { display: flex; }
  .hero { padding: 80px 24px 80px; }
  .section { padding: 64px 24px; }
  .product-inner { grid-template-columns: 1fr; gap: 36px; }
  .product-gallery { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom .affiliate-disclosure { text-align: center; }
}
