/*
Theme Name: Riwaayat
Theme URI: https://example.com/riwaayat
Author: Codex
Description: Conversion-focused WordPress theme for a women's Indian ethnic wear dropshipping brand.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: riwaayat
*/

:root {
  --canvas: #f8f2e9;
  --paper: #fffaf3;
  --card: rgba(255, 250, 243, 0.88);
  --ink: #24160e;
  --muted: #6f5b4d;
  --accent: #9f2f22;
  --accent-dark: #742116;
  --accent-soft: #d88960;
  --gold: #c79a3b;
  --line: rgba(36, 22, 14, 0.12);
  --shadow: 0 28px 70px rgba(62, 29, 10, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --site-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(199, 154, 59, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(159, 47, 34, 0.10), transparent 24%),
    linear-gradient(180deg, #f6ecdf 0%, #f8f2e9 42%, #fff8f0 100%);
  font-family: Manrope, "Avenir Next", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.wrap {
  width: min(calc(100% - 2rem), var(--site-width));
  margin: 0 auto;
}

.site-topbar {
  background: #24160e;
  color: #fef8f2;
  font-size: 0.9rem;
}

.site-topbar .wrap {
  display: flex;
  justify-content: center;
  padding: 0.7rem 0;
  letter-spacing: 0.03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 242, 233, 0.82);
  border-bottom: 1px solid rgba(36, 22, 14, 0.06);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-mark {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff8f2;
  box-shadow: 0 14px 30px rgba(159, 47, 34, 0.22);
}

.btn-secondary {
  background: rgba(255, 250, 243, 0.76);
  border-color: rgba(36, 22, 14, 0.14);
  color: var(--ink);
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(159, 47, 34, 0.12);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 250, 243, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero h1,
.section-title {
  margin: 1rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.94;
  font-weight: 600;
}

.hero-copy {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 580px;
}

.hero-actions,
.offer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.6rem 0;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-point,
.stat-card,
.feature-card,
.product-card,
.testimonial,
.faq-card {
  background: var(--card);
  border: 1px solid rgba(36, 22, 14, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-point {
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.hero-media {
  position: relative;
}

.hero-frame {
  position: relative;
  min-height: 640px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(36, 22, 14, 0.08), rgba(36, 22, 14, 0.16)),
    url("https://images.unsplash.com/photo-1610030469983-98e550d6193c?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: 0 38px 90px rgba(62, 29, 10, 0.18);
}

.hero-badge {
  position: absolute;
  right: -10px;
  bottom: 24px;
  width: min(280px, 72%);
  padding: 1.1rem;
  border-radius: 20px;
}

.section {
  padding: 2.5rem 0 1rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.section-copy {
  color: var(--muted);
  max-width: 560px;
}

.stats,
.features,
.products,
.testimonials,
.faq-grid {
  display: grid;
  gap: 1.2rem;
}

.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.features,
.products,
.testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.product-card,
.testimonial,
.faq-card {
  border-radius: var(--radius);
  padding: 1.35rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.feature-card h3,
.product-card h3,
.testimonial h3,
.faq-card h3 {
  margin: 0.2rem 0 0.6rem;
  font-size: 1.1rem;
}

.product-media {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  font-weight: 700;
}

.offer {
  padding: 4rem 0;
}

.offer-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  background: linear-gradient(135deg, #2b180e, #5c2418 58%, #8e3728 100%);
  color: #fff8f2;
  border-radius: 36px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: 0 30px 80px rgba(82, 29, 18, 0.24);
}

.offer-card .muted {
  color: rgba(255, 248, 242, 0.78);
}

.email-signup {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.email-signup input {
  flex: 1 1 260px;
  min-height: 50px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 242, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff8f2;
}

.email-signup input::placeholder {
  color: rgba(255, 248, 242, 0.62);
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero-grid,
  .offer-card,
  .stats,
  .features,
  .products,
  .testimonials,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .site-header-inner,
  .section-head,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    flex-wrap: wrap;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 1.2rem), var(--site-width));
  }

  .hero {
    padding-top: 2rem;
  }

  .brand-title {
    font-size: 2rem;
  }
}
