/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink-pale:   #fce8ec;
  --pink-soft:   #f4b8c4;
  --pink-stripe: #f0c8d0;
  --rose-dark:   #9b3a5a;
  --navy:        #1e3a6e;
  --navy-light:  #3d6ab5;
  --white:       #ffffff;
  --cream:       #fff8f9;
  --text:        #3a2a30;
  --text-light:  #8a7070;
  --gold:        #c9a84c;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Raleway', system-ui, sans-serif;
  --radius:      4px;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; }
.section-pink { background: var(--pink-pale); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--rose-dark);
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--text-light);
  font-weight: 300;
  font-size: 1rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--rose-dark);
  color: var(--white);
  padding: 0.9rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: #7a2d48; }

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.btn-navy:hover { background: var(--navy-light); }

.btn-buy {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--rose-dark);
  color: var(--white);
  padding: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.btn-buy:hover { background: #7a2d48; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 248, 249, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pink-soft);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-sunlight {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--rose-dark);
}
.logo-jewels {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--navy);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--rose-dark);
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem;
  border-top: 1px solid var(--pink-pale);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.7rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--pink-pale);
}
.nav-mobile a:hover { color: var(--rose-dark); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding-top: 70px;
  text-align: center;
}

.hero-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to right,
    var(--white) 0px,
    var(--white) 40px,
    var(--pink-stripe) 40px,
    var(--pink-stripe) 80px
  );
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 2rem;
}

.hero-tag {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--rose-dark);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--rose-dark);
  margin-bottom: 1.2rem;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--navy);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-shells {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.shell {
  position: absolute;
  font-size: 3.5rem;
  opacity: 0.35;
}
.shell-1 { top: 15%; right: 8%; transform: rotate(20deg); }
.shell-2 { bottom: 18%; left: 6%; transform: rotate(-15deg); font-size: 2.5rem; }

/* ===== FILTERS ===== */
.filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--pink-soft);
  color: var(--text-light);
  padding: 0.55rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 3rem;
}

.empty-state {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(155, 58, 90, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.4s ease forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(155, 58, 90, 0.12);
}

.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--pink-pale);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-info {
  padding: 1.2rem 1.3rem 1.5rem;
}

.product-category {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--rose-dark);
  margin-bottom: 0.4rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.9rem;
}

/* ===== CUSTOMISATION ===== */
.customisation-container {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.customisation-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.customisation-container h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--rose-dark);
  margin-bottom: 1rem;
}

.customisation-container p {
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ===== CONTACT ===== */
.contact-block {
  text-align: center;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--rose-dark);
  border-bottom: 1px solid var(--pink-soft);
  padding-bottom: 0.3rem;
  margin-bottom: 0.8rem;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--navy); }

.contact-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.footer-logo span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
}

.footer-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  font-weight: 300;
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}
.footer-legal a {
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-content h1 { font-size: 2.8rem; }
}
