/*
Theme Name: Kadence Child - Princess Polly Style
Template: kadence
Description: Custom child theme - Princess Polly-inspired women's fast fashion
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&family=Tenor+Sans&display=swap");

:root {
  /* Princess Polly palette */
  --brand-cream: #FFF8F3;
  --brand-pink-soft: #FFE5EC;
  --brand-blush: #FFD6E5;
  --brand-rose: #FF6B9D;
  --brand-rose-dark: #E94F84;
  --brand-pink-hot: #FF3366;
  --brand-purple: #9D4EDD;
  --brand-black: #1A1A1A;
  --brand-grey: #6B6B6B;
  --brand-grey-light: #E5E5E5;

  /* Drop accent (changes per Drop) */
  --drop-accent: var(--brand-rose);

  --font-heading: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-accent: "Tenor Sans", "Inter", sans-serif;
}

body {
  font-family: var(--font-body) !important;
  color: var(--brand-black);
  background: var(--brand-cream);
}
h1, h2, h3, h4 {
  font-family: var(--font-heading) !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brand-black);
}
.font-accent {
  font-family: var(--font-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
a { color: var(--brand-rose); text-decoration: none; }
a:hover { color: var(--brand-rose-dark); }

/* Promo Bar */
.promo-bar {
  background: var(--brand-black);
  color: var(--brand-cream);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Brand header */
.brand-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-nav { display: flex; gap: 36px; }
.brand-nav a {
  color: var(--brand-black);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.brand-nav a:hover { color: var(--brand-rose); }
.brand-actions { display: flex; gap: 24px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  min-height: 640px;
  background-color: var(--brand-pink-soft);
  background-image: url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1920&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: center;
  padding-left: 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 60%, rgba(0,0,0,0));
}
.hero-content { position: relative; z-index: 1; max-width: 640px; color: #fff; }
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 24px;
  color: #fff;
}
.hero-sub { font-size: 17px; line-height: 1.6; margin-bottom: 32px; opacity: 0.92; }

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary { background: #fff; color: var(--brand-black); }
.btn-primary:hover { background: var(--brand-cream); }
.btn-outline {
  background: transparent;
  color: var(--brand-black);
  border: 1.5px solid var(--brand-black);
}
.btn-outline:hover { background: var(--brand-black); color: #fff; }

/* Sections */
.section { padding: 96px 48px; max-width: 1440px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-rose);
  margin-bottom: 12px;
}
.section-title { font-size: 44px; line-height: 1.1; margin: 0 0 12px; }
.section-sub { color: var(--brand-grey); font-size: 16px; max-width: 540px; margin: 0 auto; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card { background: #fff; text-align: left; }
.product-card .img-wrap {
  aspect-ratio: 4/5;
  background-color: var(--brand-cream);
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-black);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 2;
}
.product-card .name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.product-card .meta { font-size: 13px; color: var(--brand-grey); }
.product-card .price { font-size: 14px; font-weight: 500; margin-top: 4px; }

/* Activity grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.activity-card {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  cursor: pointer;
  overflow: hidden;
}
.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7));
}
.activity-card .label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
}
.activity-card .sub {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 6px;
}

/* Brand split */
.brand-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 120px 48px;
  max-width: 1440px;
  margin: 0 auto;
}
.brand-split .split-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-pink-soft);
}
.brand-split .split-text h2 { font-size: 56px; line-height: 1.05; margin: 0 0 24px; }
.brand-split .split-text p { color: var(--brand-grey); font-size: 16px; line-height: 1.7; margin: 0 0 24px; }

/* Ambassador */
.amb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.amb-card { text-align: center; }
.amb-card .img {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-cream);
  margin-bottom: 16px;
}
.amb-name { font-family: var(--font-heading); font-size: 20px; font-weight: 500; }
.amb-role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-grey);
  margin-top: 4px;
}

/* Reviews */
.review-section { background: var(--brand-cream); padding: 80px 0; }
.review-grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}
.review-card { background: #fff; padding: 32px; }
.stars { color: var(--brand-rose); margin-bottom: 12px; letter-spacing: 4px; }
.review-card blockquote {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--brand-black);
}
.review-author {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-grey);
}

/* Newsletter */
.newsletter {
  background: var(--brand-black);
  color: var(--brand-cream);
  padding: 80px 48px;
  text-align: center;
}
.newsletter h2 { color: var(--brand-cream); font-size: 40px; margin: 0 0 12px; }
.newsletter p { opacity: 0.7; max-width: 460px; margin: 0 auto 32px; }
.newsletter form { display: flex; max-width: 460px; margin: 0 auto; gap: 8px; }
.newsletter input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter button {
  background: var(--brand-cream);
  color: var(--brand-black);
  border: 0;
  padding: 14px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

/* Footer */
.brand-footer {
  background: #1a1714;
  color: var(--brand-cream);
  padding: 64px 48px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto 48px;
}
.footer-grid h4 {
  color: var(--brand-cream);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(245,240,232,0.6); font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(245,240,232,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  max-width: 1440px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .brand-nav { display: none; }
  .hero { padding-left: 24px; height: 70vh; }
  .hero-title { font-size: 44px; }
  .product-grid, .amb-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-grid, .review-grid-inner { grid-template-columns: 1fr; }
  .brand-split { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 24px; }
}
/* ===== Princess Polly specific sections ===== */

/* NEW IN horizontal scroll */
.product-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card-mini .img-wrap { aspect-ratio: 3/4; }
@media (max-width: 900px) {
  .product-scroll { grid-template-columns: repeat(2, 1fr); }
}

/* Shop by Category — 6 tile grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.category-card {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  cursor: pointer;
  overflow: hidden;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.65));
}
.category-card .label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
}
.category-card .count {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Drop Spotlight — 3-col grid */
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Section background variants */
.section-pink { background: var(--brand-pink-soft); }
.section-cream { background: var(--brand-cream); }

/* UGC Shop the Gram */
.ugc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ugc-tile {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-pink-soft);
  cursor: pointer;
  transition: transform 0.3s;
}
.ugc-tile:hover { transform: scale(1.02); }
@media (max-width: 900px) {
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Size Inclusivity */
.size-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.size-tile {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-cream);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.size-tile .size-label {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
@media (max-width: 900px) {
  .size-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Newsletter — Princess Polly style */
.newsletter {
  background: var(--brand-pink-soft);
  color: var(--brand-black);
  padding: 80px 48px;
  text-align: center;
}
.newsletter h2 {
  color: var(--brand-black);
  font-size: 44px;
  margin: 0 0 12px;
}
.newsletter p { max-width: 460px; margin: 0 auto 32px; color: var(--brand-grey); }
.newsletter form { display: flex; max-width: 460px; margin: 0 auto; gap: 8px; }
.newsletter input {
  flex: 1;
  padding: 16px 18px;
  border: 1.5px solid var(--brand-black);
  background: transparent;
  color: var(--brand-black);
  font-size: 14px;
  border-radius: 0;
}
.newsletter input::placeholder { color: var(--brand-grey); }
.newsletter button {
  background: var(--brand-black);
  color: #fff;
  border: 0;
  padding: 16px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  cursor: pointer;
  border-radius: 0;
}
.app-banner {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* Brand footer — Princess Polly 4-col */
.brand-footer {
  background: #fff;
  color: var(--brand-black);
  padding: 64px 48px 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto 48px;
}
.footer-grid h4 {
  color: var(--brand-black);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--brand-grey); font-size: 14px; }
.footer-grid a:hover { color: var(--brand-rose); }
.socials { display: flex; gap: 16px; margin-top: 16px; }
.socials a { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--brand-grey);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.footer-bottom a { color: var(--brand-grey); }
.footer-bottom a:hover { color: var(--brand-rose); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 24px; }
}

/* Brand-split (Influencer pick) */
.brand-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 120px 48px;
  max-width: 1440px;
  margin: 0 auto;
}
.brand-split .split-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
}
.brand-split .split-text h2 { font-size: 48px; line-height: 1.05; margin: 0 0 24px; font-style: italic; }
.brand-split .split-text p { color: var(--brand-grey); font-size: 16px; line-height: 1.7; margin: 0 0 24px; }
@media (max-width: 900px) {
  .brand-split { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px; }
}
