/* ==========================================================================
   hey girl - Design System & Stylesheet
   Vibe: Minimalist, Pastel, Cozy, Homey, Spring/Summer Teen Christian Apparel
   ========================================================================== */

:root {
  /* Pastel & Cozy Palette */
  --color-cream: #FAF7F2;
  --color-warm-white: #FFFDF9;
  --color-card-bg: #FFFFFF;
  --color-blush: #F9E5E2;
  --color-sage: #DFE8DD;
  --color-butter: #FCF4DD;
  --color-sky: #DFECF5;
  --color-lavender: #EBE5F2;
  --color-peach: #FCEBD9;

  /* Accent & Text */
  --color-text-main: #3C3633;
  --color-text-muted: #7E726B;
  --color-text-light: #A59B94;
  --color-terracotta: #D07C60;
  --color-terracotta-hover: #B8654B;
  --color-border: #EFE9E1;
  --color-border-subtle: #F4EFEB;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-hand: 'Caveat', cursive;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --shadow-subtle: 0 4px 20px rgba(60, 54, 51, 0.04);
  --shadow-hover: 0 10px 25px rgba(60, 54, 51, 0.08);
  --shadow-drawer: -6px 0 30px rgba(60, 54, 51, 0.12);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Top Announcement Banner */
.top-banner {
  background-color: var(--color-blush);
  color: var(--color-text-main);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}
.banner-sparkle {
  color: var(--color-terracotta);
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}
.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--color-text-main);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.nav-links a:hover {
  color: var(--color-terracotta);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-btn {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}
.cart-btn:hover {
  background: var(--color-warm-white);
  border-color: var(--color-terracotta);
}
.cart-count {
  background-color: var(--color-terracotta);
  color: white;
  border-radius: var(--radius-pill);
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 70px 24px 60px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #FFF5EF 0%, var(--color-cream) 70%);
}
.hero-content {
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background-color: var(--color-butter);
  color: #7A6224;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  border: 1px solid rgba(122, 98, 36, 0.15);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: 18px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 30px;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background-color: var(--color-terracotta);
  color: white;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: var(--color-terracotta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(208, 124, 96, 0.3);
}
.btn-secondary {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}
.btn-secondary:hover {
  border-color: var(--color-text-main);
  background-color: var(--color-warm-white);
}

/* Hero Feature Pills */
.hero-perks {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.perk-icon {
  font-size: 1.1rem;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Category Filter Tabs */
.collection-section {
  padding: 50px 0 90px;
}
.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--color-text-main);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  background-color: var(--color-text-main);
  color: white;
  border-color: var(--color-text-main);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

/* Product Card */
.product-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Garment Realistic Photo Visual */
.mockup-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F8F5F1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-subtle);
}
.mockup-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.product-card:hover .mockup-photo-img {
  transform: scale(1.05);
}
/* Realistic Crewneck Photo Container */
.crewneck-realistic-photo {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EDE8E1;
  background-image: 
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.7) 0%, rgba(0,0,0,0.06) 100%),
    repeating-linear-gradient(45deg, rgba(160,145,130,0.04) 0px, rgba(160,145,130,0.04) 2px, transparent 2px, transparent 4px);
}
.crewneck-realistic-photo svg {
  width: 90%;
  height: 90%;
  filter: drop-shadow(0 14px 22px rgba(60, 48, 40, 0.14)) drop-shadow(0 4px 8px rgba(60, 48, 40, 0.08));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .crewneck-realistic-photo svg {
  transform: scale(1.04);
}

.badge-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-terracotta);
  backdrop-filter: blur(4px);
}

.type-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.product-details {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.product-category {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  font-weight: 600;
}
.product-price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-scripture {
  font-size: 0.82rem;
  color: var(--color-terracotta);
  font-weight: 500;
  margin-bottom: 12px;
}

.color-palette-options {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}
.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--color-border);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.color-dot:hover {
  transform: scale(1.2);
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.btn-quick-add {
  flex-grow: 1;
  background-color: var(--color-cream);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-quick-add:hover {
  background-color: var(--color-text-main);
  color: white;
  border-color: var(--color-text-main);
}
.btn-view-modal {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}
.btn-view-modal:hover {
  color: var(--color-terracotta);
  border-color: var(--color-terracotta);
}

/* Spotlights / Brand Values Section */
.values-section {
  background-color: #FFFDF9;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 70px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
}
.value-box {
  text-align: center;
  padding: 24px;
}
.value-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.value-box h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.value-box p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Scripture Spotlight Banner */
.scripture-quote-section {
  padding: 80px 24px;
  text-align: center;
  background-color: var(--color-cream);
}
.quote-card {
  max-width: 720px;
  margin: 0 auto;
  background-color: white;
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  position: relative;
}
.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.5;
  color: var(--color-text-main);
  margin-bottom: 16px;
}
.quote-ref {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  font-weight: 700;
}

/* About / Story Section */
.about-section {
  padding: 90px 0;
  border-top: 1px solid var(--color-border);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-image-card {
  background: linear-gradient(135deg, var(--color-blush), var(--color-butter));
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 380px;
}
.about-badge {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}
.about-subtag {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 300px;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 18px;
}
.about-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Sizing Guide Section */
.sizing-section {
  padding: 60px 0 80px;
  background-color: var(--color-warm-white);
  border-top: 1px solid var(--color-border);
}
.sizing-table-wrap {
  max-width: 800px;
  margin: 30px auto 0;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}
table.sizing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
table.sizing-table th {
  background-color: var(--color-cream);
  padding: 14px 18px;
  font-weight: 600;
  color: var(--color-text-main);
  border-bottom: 1px solid var(--color-border);
}
table.sizing-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
}
table.sizing-table tr:last-child td {
  border-bottom: none;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40, 35, 33, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-container {
  background: white;
  width: 90%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}
.modal-overlay.active .modal-container {
  transform: translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-cream);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.modal-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
}
.modal-preview-box {
  background: #F8F5F1;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

/* Slide-out Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 35, 33, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: white;
  z-index: 1001;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.cart-drawer.active {
  transform: translateX(0);
}
.cart-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border-subtle);
}
.cart-item-info {
  flex-grow: 1;
}
.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
}
.cart-item-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 4px;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #B56B6B;
  cursor: pointer;
  font-size: 0.8rem;
}
.cart-footer {
  padding: 22px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-cream);
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.btn-checkout {
  width: 100%;
  background: var(--color-terracotta);
  color: white;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition-fast);
}
.btn-checkout:hover {
  background: var(--color-terracotta-hover);
}

/* Footer */
.site-footer {
  background-color: #2E2926;
  color: #ECE5DE;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: #FFF;
  margin-bottom: 12px;
}
.footer-bio {
  font-size: 0.9rem;
  color: #BDB3AA;
  max-width: 320px;
  line-height: 1.6;
}
.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  color: #FFF;
}
.footer-column ul {
  list-style: none;
}
.footer-column li {
  margin-bottom: 10px;
}
.footer-column a {
  color: #BDB3AA;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-column a:hover {
  color: var(--color-blush);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.newsletter-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid #4A433F;
  background: #3A3430;
  color: white;
  font-size: 0.88rem;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--color-terracotta);
}
.newsletter-btn {
  background: var(--color-terracotta);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid #443D39;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #9C9188;
  flex-wrap: wrap;
  gap: 16px;
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--color-text-main);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quote-card {
    padding: 30px 20px;
  }
}
