:root {
  --cream: #faf6f1;
  --beige: #f0e8dc;
  --blush: #f2d9d4;
  --rose: #c9897a;
  --rose-dark: #a86b5e;
  --brown: #5c3d2e;
  --brown-light: #8a6050;
  --text: #2d1f1a;
  --text-muted: #8a7060;
  --white: #ffffff;
  --border: #e8ddd4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(250,246,241,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  transition: all 0.3s;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600;
  color: var(--brown); letter-spacing: 2px; text-decoration: none;
}
.nav-logo span { color: var(--rose); font-style: italic; }

.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted);
  text-decoration: none; transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--rose); transition: width 0.3s;
}
.nav-links a:hover { color: var(--rose-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 20px; align-items: center; }
.nav-icon {
  font-size: 18px; cursor: pointer; color: var(--brown);
  transition: color 0.3s; position: relative;
}
.nav-icon:hover { color: var(--rose); }
.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--rose); color: white;
  font-size: 10px; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Jost', sans-serif; font-weight: 600;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 1.5px; background: var(--brown); transition: all 0.3s; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--cream); padding: 30px 5%;
  border-bottom: 1px solid var(--border); z-index: 999;
  flex-direction: column; gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text); text-decoration: none; font-weight: 500;
}

/* ===== HERO ===== */
#home {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 70px;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 5% 80px 8%;
  background: var(--cream);
}

.hero-tag {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--rose); font-weight: 500; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-tag::before { content: ''; width: 40px; height: 1px; background: var(--rose); }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 300; line-height: 1.05;
  color: var(--brown); margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--rose); }

.hero-desc {
  font-size: 15px; line-height: 1.8; color: var(--text-muted);
  max-width: 420px; margin-bottom: 48px; font-weight: 300;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--brown); color: white; border: none;
  padding: 16px 40px; font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
  transition: all 0.3s; display: inline-block;
}
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--brown); border: 1px solid var(--brown);
  padding: 16px 40px; font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer; text-decoration: none;
  transition: all 0.3s; display: inline-block;
}
.btn-outline:hover { background: var(--brown); color: white; }

.hero-right {
  background: var(--blush); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.hero-img-placeholder {
  width: 100%; height: 100%; min-height: 600px;
  background: linear-gradient(135deg, #f2d9d4 0%, #e8c4bc 50%, #dba99e 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
}

.dress-illustration {
  width: 100%; height: 100%;
}
.dress-illustration img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-badge {
  position: absolute; bottom: 40px; right: 40px;
  background: white; padding: 20px 24px;
  box-shadow: 0 10px 40px rgba(90,30,20,0.12);
  text-align: center;
}
.hero-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 600; color: var(--rose); line-height: 1;
}
.hero-badge-text {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); margin-top: 4px;
}

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--brown); padding: 14px 0;
  overflow: hidden; display: flex;
}
.marquee-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee-item {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blush); font-weight: 400;
  display: flex; align-items: center; gap: 20px;
}
.marquee-item::after { content: '✦'; color: var(--rose); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== SECTIONS COMMON ===== */
section { padding: 100px 8%; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--rose); font-weight: 500; margin-bottom: 16px; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 300;
  color: var(--brown); line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--rose); }
.section-line {
  width: 60px; height: 1px; background: var(--rose); margin: 20px auto 0;
}

/* ===== SHOP / CATEGORIES ===== */
#shop { background: var(--beige); }

.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 60px;
}

.category-card {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 3/4; background: var(--blush); transition: transform 0.4s;
}
.category-card:hover { transform: translateY(-8px); }
.category-card:hover .cat-overlay { opacity: 1; }
.category-card:hover .cat-img { transform: scale(1.05); }

.cat-img {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #f2d9d4, #c9897a);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; transition: transform 0.5s; overflow: hidden;
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; }

.cat-overlay {
  position: absolute; inset: 0; background: rgba(45,31,26,0.4);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: center; justify-content: center;
}
.cat-overlay span {
  color: white; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; border: 1px solid white; padding: 12px 28px; font-weight: 500;
}

.cat-info { padding: 20px 0 4px; }
.cat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: var(--brown);
}
.cat-count { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}

.product-card {
  background: white; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s; position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(90,30,20,0.1); }
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }

.product-img {
  aspect-ratio: 3/4; width: 100%;
  background: linear-gradient(135deg, #f5ede8, #e8c4bc);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; position: relative; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }

.product-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--rose); color: white;
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; font-weight: 600; z-index: 1;
}

.product-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--brown); padding: 14px; text-align: center;
  opacity: 0; transform: translateY(10px); transition: all 0.3s;
}
.product-actions button {
  background: none; border: none; color: white;
  font-family: 'Jost', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; font-weight: 500;
}

.product-info { padding: 18px 16px; }
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400; color: var(--brown); margin-bottom: 6px;
}
.product-cat {
  font-size: 11px; color: var(--text-muted); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 10px;
}
.product-price { display: flex; align-items: center; gap: 10px; }
.price-now { font-size: 16px; font-weight: 600; color: var(--rose-dark); }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(135deg, var(--brown) 0%, #3d2218 100%);
  padding: 80px 8%; text-align: center; position: relative; overflow: hidden;
}
.promo-banner::before {
  content: '✦'; position: absolute;
  font-size: 300px; color: rgba(255,255,255,0.03);
  top: -60px; right: -40px;
}
.promo-banner .section-tag { color: var(--blush); }
.promo-banner .section-title { color: white; }
.promo-banner .section-title em { color: var(--rose); }
.promo-desc {
  color: rgba(255,255,255,0.6); margin: 20px auto;
  max-width: 500px; font-size: 15px; line-height: 1.7;
}
.promo-banner .btn-primary { background: var(--rose); margin-top: 16px; }
.promo-banner .btn-primary:hover { background: var(--rose-dark); }

/* ===== ABOUT ===== */
#about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; padding: 110px 8%;
}

.about-img-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, #f2d9d4, #c9897a);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-float {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--brown); color: white; padding: 28px 32px; text-align: center;
}
.about-float-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 600; color: var(--rose); line-height: 1;
}
.about-float-text {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-top: 6px;
}

.about-content .section-header { text-align: left; }
.about-content .section-line { margin-left: 0; }
.about-desc {
  font-size: 15px; line-height: 1.9; color: var(--text-muted);
  margin: 28px 0; font-weight: 300;
}

.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px;
}
.about-feat { display: flex; gap: 14px; align-items: flex-start; }
.feat-icon {
  font-size: 22px; flex-shrink: 0; margin-top: 2px;
  width: 44px; height: 44px; overflow: hidden;
}
.feat-icon img { width: 100%; height: 100%; object-fit: cover; }
.feat-title { font-size: 13px; font-weight: 600; color: var(--brown); margin-bottom: 4px; letter-spacing: 0.5px; }
.feat-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--beige); padding: 100px 8%; }

.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testi-card {
  background: white; padding: 36px 32px;
  border-bottom: 3px solid var(--rose); transition: transform 0.3s;
}
.testi-card:hover { transform: translateY(-6px); }
.testi-stars { color: var(--rose); font-size: 14px; letter-spacing: 2px; margin-bottom: 20px; }
.testi-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-style: italic; line-height: 1.6;
  color: var(--brown); margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blush); display: flex;
  align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--brown); }
.testi-loc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== CONTACT ===== */
#contact {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; padding: 100px 8%;
}
.contact-info .section-header { text-align: left; }
.contact-info .section-line { margin-left: 0; }
.contact-desc {
  font-size: 15px; line-height: 1.8; color: var(--text-muted);
  margin: 28px 0; font-weight: 300;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 4px;
}
.contact-val { font-size: 15px; color: var(--brown); font-weight: 500; }
.contact-form { background: var(--beige); padding: 48px 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: white; border: 1px solid var(--border);
  padding: 14px 16px; font-family: 'Jost', sans-serif;
  font-size: 14px; color: var(--text);
  outline: none; transition: border-color 0.3s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--rose); }
.form-group textarea { height: 120px; resize: none; }

/* ===== FOOTER ===== */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.7);
  padding: 70px 8% 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; margin-bottom: 60px;
}
.footer-brand .nav-logo { color: var(--blush); margin-bottom: 20px; display: block; }
.footer-desc {
  font-size: 14px; line-height: 1.8;
  color: rgba(255,255,255,0.5); margin-bottom: 28px;
}
.social-links { display: flex; gap: 14px; flex-wrap: wrap; }
.social-btn {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer; transition: all 0.3s;
  color: rgba(255,255,255,0.6); text-decoration: none;
}
.social-btn:hover { background: var(--rose); border-color: var(--rose); color: white; }
.footer-col h4 {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blush); margin-bottom: 24px; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--rose); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag { animation: fadeUp 0.6s ease both; }
.hero-title { animation: fadeUp 0.7s 0.1s ease both; }
.hero-desc { animation: fadeUp 0.7s 0.2s ease both; }
.hero-btns { animation: fadeUp 0.7s 0.3s ease both; }

/* ===================================================================
   RESPONSIVE — TABLET (max 1024px)
=================================================================== */
@media (max-width: 1024px) {
  /* Hero */
  #home { grid-template-columns: 1fr; }
  .hero-left { padding: 80px 6%; }
  .hero-right { min-height: 420px; display: flex; }
  .hero-img-placeholder { min-height: 420px; }

  /* Shop */
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* About */
  #about { grid-template-columns: 1fr 1fr; gap: 50px; padding: 80px 6%; }

  /* Contact */
  #contact { gap: 50px; padding: 80px 6%; }
  .contact-form { padding: 36px 28px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ===================================================================
   RESPONSIVE — TABLET PORTRAIT (max 900px)
=================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  #about {
    grid-template-columns: 1fr;
    gap: 40px; padding: 80px 6%;
  }
  .about-img-wrap { display: block; max-width: 500px; margin: 0 auto; }
  .about-float { bottom: -20px; right: -10px; padding: 20px 24px; }

  #contact { grid-template-columns: 1fr; gap: 40px; }

  .testi-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ===================================================================
   RESPONSIVE — MOBILE (max 768px)
=================================================================== */
@media (max-width: 768px) {
  section { padding: 70px 5%; }

  /* Navbar */
  nav { padding: 0 5%; }
  .nav-logo { font-size: 22px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  #home {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 50px 5% 40px;
    text-align: center;
    align-items: center;
  }
  .hero-tag {
    justify-content: center;
  }
  .hero-tag::before { display: none; }
  .hero-desc { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-right {
    display: flex;
    min-height: 300px;
  }
  .hero-img-placeholder { min-height: 300px; }
  .hero-badge {
    bottom: 16px; right: 16px;
    padding: 14px 18px;
  }
  .hero-badge-num { font-size: 26px; }

  /* Marquee */
  .marquee-strip { padding: 12px 0; }

  /* Shop */
  #shop { padding: 70px 5%; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-info { padding: 12px 10px; }
  .product-name { font-size: 15px; }

  /* Promo Banner */
  .promo-banner { padding: 60px 5%; }
  .promo-banner .section-title { font-size: 30px; }

  /* About */
  #about { grid-template-columns: 1fr; padding: 70px 5%; gap: 0; }
  .about-img-wrap {
    display: block;
    max-width: 100%;
    margin-bottom: 60px;
  }
  .about-content .section-header { text-align: center; }
  .about-content .section-line { margin: 20px auto 0; }
  .about-desc { text-align: center; }
  .about-btn-wrap { text-align: center; }
  .about-features { grid-template-columns: 1fr; gap: 16px; }
  .about-feat { align-items: flex-start; }

  /* Testimonials */
  .testimonials { padding: 70px 5%; }
  .testi-grid { grid-template-columns: 1fr; gap: 20px; }
  .testi-card { padding: 28px 22px; }

  /* Contact */
  #contact { grid-template-columns: 1fr; padding: 70px 5%; gap: 40px; }
  .contact-info .section-header { text-align: center; }
  .contact-info .section-line { margin: 20px auto 0; }
  .contact-desc { text-align: center; }
  .contact-form { padding: 30px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  footer { padding: 60px 5% 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-brand { text-align: center; }
  .footer-brand .nav-logo { margin-bottom: 14px; }
  .social-links { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-bottom {
    flex-direction: column; text-align: center;
    gap: 8px;
  }
}

/* ===================================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
=================================================================== */
@media (max-width: 480px) {
  section { padding: 60px 4%; }

  .nav-logo { font-size: 20px; letter-spacing: 1px; }

  .hero-left { padding: 40px 4% 36px; }
  .hero-title { font-size: 38px; }
  .hero-desc { font-size: 14px; }
  .btn-primary, .btn-outline { padding: 14px 28px; font-size: 11px; }

  .categories-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-name { font-size: 18px; }

  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-name { font-size: 14px; }
  .price-now { font-size: 14px; }

  .promo-banner { padding: 50px 4%; }
  .promo-desc { font-size: 13px; }

  #about { padding: 60px 4%; }
  .about-features { grid-template-columns: 1fr; }

  .testimonials { padding: 60px 4%; }
  .testi-text { font-size: 16px; }
  .testi-card { padding: 24px 18px; }

  #contact { padding: 60px 4%; }
  .contact-form { padding: 24px 16px; }

  footer { padding: 50px 4% 24px; }
  .footer-grid { gap: 28px; }
  .footer-col { text-align: left; }
  .footer-brand { text-align: left; }
  .social-links { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; }
}