/* ============================================
   LuxeNest Interiors — Main Stylesheet
   Premium Furniture & Home Décor
   ============================================ */

:root {
  --primary: #D8B08C;
  --primary-dark: #c49a74;
  --secondary: #8A6A52;
  --bg: #FAF8F5;
  --bg-warm: #F3EDE6;
  --card: #FFFFFF;
  --text: #2E2E2E;
  --text-muted: #6B6560;
  --accent: #C89B6D;
  --gold: #C89B6D;
  --border: #E8E0D6;
  --shadow: 0 8px 30px rgba(138, 106, 82, 0.08);
  --shadow-hover: 0 16px 48px rgba(138, 106, 82, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 84px;
  --max: 1280px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --gradient: linear-gradient(135deg, #D8B08C 0%, #8A6A52 100%);
  --danger: #c45c4a;
  --success: #5a8f6a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, .logo-text, .display {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 0.98rem;
}

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head .section-sub {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(138, 106, 82, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(138, 106, 82, 0.35);
  filter: brightness(1.05);
}

.btn-outline {
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--secondary);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--card);
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- Loader ---------- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  width: 56px;
  height: 56px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loader-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--secondary);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--secondary);
  color: #f5efe8;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar a:hover {
  color: var(--primary);
}

.topbar-links {
  display: flex;
  gap: 20px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
}

.logo-text {
  font-size: 1.35rem;
}

.logo-text span {
  color: var(--secondary);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text);
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.nav-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: var(--transition);
}

.nav-icon:hover {
  background: var(--bg-warm);
  color: var(--secondary);
}

.badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.nav-login {
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 46, 46, 0.45);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}

.search-overlay.open {
  display: flex;
}

.search-box {
  width: min(640px, calc(100% - 32px));
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-hover);
  animation: slideDown 0.35s ease;
}

.search-box form {
  display: flex;
  gap: 10px;
}

.search-box input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 0.95rem;
  outline: none;
  background: var(--bg);
}

.search-box input:focus {
  border-color: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 36px 0 56px;
  background: linear-gradient(160deg, #FAF8F5 0%, #F4EEE6 48%, #FAF8F5 100%);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero-bg-shape.s1 {
  width: 460px;
  height: 460px;
  background: #E9D3B8;
  opacity: 0.42;
  top: -140px;
  right: 12%;
}

.hero-bg-shape.s2 {
  width: 320px;
  height: 320px;
  background: #DDD0C0;
  opacity: 0.38;
  bottom: -90px;
  left: -80px;
}

.hero-bg-shape.s3 {
  width: 220px;
  height: 220px;
  background: #E8C9A8;
  opacity: 0.28;
  top: 42%;
  left: 38%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-copy {
  padding-left: 42px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 36px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
}

.hero-stats span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  border-radius: 25px;
  overflow: hidden;
  isolation: isolate;
  background: #EFE6DA;
  box-shadow:
    0 28px 70px rgba(138, 106, 82, 0.18),
    0 10px 24px rgba(138, 106, 82, 0.08);
  animation:
    heroFadeIn 1.05s cubic-bezier(0.22, 1, 0.36, 1) both,
    heroFloat 6.5s ease-in-out 1.05s infinite;
}

.hero-image-wrap img {
  width: 100%;
  height: min(68vh, 620px);
  object-fit: cover;
  object-position: center;
  display: block;
  animation: heroZoomIn 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image-wrap:hover img {
  transform: scale(1.06);
}

.hero-float {
  position: absolute;
  background: var(--card);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(138, 106, 82, 0.14);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4.5s ease-in-out infinite;
  z-index: 2;
}

.hero-float.f1 {
  bottom: 36px;
  left: -28px;
}

.hero-float.f2 {
  top: 36px;
  right: -20px;
  animation-delay: 1.2s;
}

.float-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 40%;
}

.hero-float small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-warm);
}

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.cat-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.cat-card .img-wrap {
  height: 180px;
  overflow: hidden;
}

.cat-card .img-wrap a {
  display: block;
  height: 100%;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cat-card:hover img {
  transform: scale(1.08);
}

.cat-card .body {
  padding: 18px 18px 20px;
}

.cat-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.cat-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ---------- Collection tiles ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.collection-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
  display: block;
}

.collection-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.collection-tile:hover img {
  transform: scale(1.1);
}

.collection-tile .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 46, 46, 0.72), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
}

.collection-tile h3 {
  font-size: 1.1rem;
}

.collection-tile span {
  font-size: 0.78rem;
  opacity: 0.85;
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-slider {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-slider-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  padding: 8px 2px 18px;
}

.product-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-slider-track.rows-2 {
  flex-direction: column;
}

.product-slider-row {
  display: flex;
  gap: 24px;
}

.product-slider-track .product-card {
  flex-shrink: 0;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--secondary);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-arrow:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.slider-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-card .media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--bg-warm);
}

.product-card .media a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .media img {
  transform: scale(1.07);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-badge.sale {
  background: var(--accent);
}

.wish-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.wish-btn:hover,
.wish-btn.active {
  background: var(--secondary);
  color: #fff;
}

.card-actions {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.product-card:hover .card-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 18px 18px 20px;
}

.product-cat {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-sale-heading {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.product-info h3 {
  font-size: 1.05rem;
  margin: 6px 0 8px;
}

.stars {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.stars span {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0;
  margin-left: 6px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.price {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--secondary);
}

.price-old {
  font-size: 0.85rem;
  color: #b0a89f;
  text-decoration: line-through;
}

/* ---------- Decor mosaic ---------- */
.decor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}

.decor-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.decor-item.tall {
  grid-row: span 2;
}

.decor-item.wide {
  grid-column: span 2;
}

.decor-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.decor-item:hover img {
  transform: scale(1.08);
}

.decor-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.15rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ---------- Promo banner ---------- */
.promo {
  background: var(--secondary);
  color: #f8f3ee;
  border-radius: 28px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.promo h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 10px 0 16px;
}

.promo p {
  opacity: 0.88;
  margin-bottom: 24px;
  max-width: 460px;
}

.promo .btn-primary {
  background: #fff;
  color: var(--secondary);
  box-shadow: none;
}

.promo img {
  height: 280px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card .body {
  padding: 22px;
}

.blog-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.pdp-features {
  margin: 16px 0 8px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.pdp-features li {
  margin: 4px 0;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.read-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.read-more:hover {
  color: var(--accent);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.quote-card p {
  font-style: italic;
  margin: 14px 0 20px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-author strong {
  display: block;
  font-size: 0.92rem;
}

.quote-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Newsletter strip ---------- */
.newsletter-strip {
  background: var(--bg-warm);
  border-radius: 24px;
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.newsletter-strip form {
  display: flex;
  gap: 10px;
  min-width: 380px;
}

.newsletter-strip input {
  flex: 1;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 14px 20px;
  outline: none;
}

.newsletter-strip input:focus {
  border-color: var(--primary);
}

/* ---------- Footer ---------- */
.footer {
  background: #2a241f;
  color: #e8e0d6;
  padding-top: 72px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer .logo-text {
  color: #fff;
}

.footer p {
  color: #c4b8ac;
  font-size: 0.88rem;
  margin: 16px 0 20px;
  max-width: 320px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #2e2e2e;
}

.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: #c4b8ac;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: #c4b8ac;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: #a89c90;
}

.footer-bottom > span:first-child {
  justify-self: start;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
  justify-self: end;
}

.footer-credit,
.footer .footer-credit {
  width: auto;
  max-width: none;
  justify-self: center;
  text-align: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0;
  margin: 0;
}

/* ---------- Page hero ---------- */
.page-hero {
  background: linear-gradient(135deg, #f3ede6, #efe4d6);
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb.pdp-crumb {
  justify-content: flex-start;
  margin-bottom: 28px;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

/* ---------- Shop / filters ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.filters {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.filters h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.filter-group {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.filter-group h4 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 8px;
  cursor: pointer;
}

.filter-group input[type="range"] {
  width: 100%;
  accent-color: var(--secondary);
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.shop-toolbar select {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 10px 16px;
  outline: none;
}

/* ---------- Product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.gallery-main {
  border-radius: 24px;
  overflow: hidden;
  height: 520px;
  background: var(--bg-warm);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.thumbs button {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  height: 88px;
}

.thumbs button.active,
.thumbs button:hover {
  border-color: var(--primary);
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-cat {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--secondary);
}

.pdp h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 8px 0 12px;
}

.pdp .product-sale-heading {
  margin: 8px 0 0;
}

.pdp-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0;
}

.pdp-price .price {
  font-size: 1.6rem;
}

.pdp-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.qty {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.qty button {
  width: 40px;
  height: 42px;
  background: var(--bg-warm);
}

.qty input {
  width: 48px;
  text-align: center;
  border: none;
  outline: none;
  background: #fff;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.specs {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.specs h3 {
  margin-bottom: 12px;
}

.specs table {
  width: 100%;
  font-size: 0.9rem;
}

.specs td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.specs td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin: 48px 0 28px;
}

.tabs button {
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tabs button.active {
  color: var(--secondary);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.review {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

/* ---------- Cart / Wishlist / Checkout ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 36px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  align-items: center;
}

.cart-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}

.summary-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.summary-card h3 {
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 8px;
  font-weight: 600;
  font-size: 1.05rem;
}

.coupon {
  display: flex;
  gap: 8px;
  margin: 16px 0 20px;
}

.coupon input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  outline: none;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.form-card h3 {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

/* ---------- Auth ---------- */
.auth-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 48px 0 80px;
}

.auth-card {
  width: min(460px, 100%);
  background: var(--card);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow-hover);
}

.auth-card h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.auth-card > p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.auth-card .form-group {
  margin-bottom: 14px;
}

.auth-switch {
  text-align: center;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--secondary);
  font-weight: 500;
}

/* ---------- About ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-grid img {
  border-radius: 24px;
  height: 420px;
  width: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--bg-warm);
  display: grid;
  place-items: center;
  color: var(--secondary);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 14px;
}

.team-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-page .section {
  padding-bottom: 40px;
}

.contact-page .form-card {
  margin-bottom: 0;
}

.info-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.info-card a {
  color: inherit;
}

.contact-socials {
  margin-top: 12px;
}

.section .socials a,
.contact-socials a {
  border-color: var(--border);
  background: var(--card);
  color: var(--secondary);
}

.contact-map {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: var(--radius);
  margin-top: 16px;
  box-shadow: var(--shadow);
}

/* ---------- FAQ / Help ---------- */
.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
}

.faq-item.open .answer {
  max-height: 240px;
  padding: 0 22px 18px;
}

.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.help-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.help-card h3 {
  margin: 12px 0 8px;
}

/* ---------- Legal ---------- */
.legal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}

.legal h2 {
  font-size: 1.3rem;
  margin: 28px 0 10px;
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.legal ul {
  padding-left: 18px;
  list-style: disc;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--primary);
  line-height: 1;
}

.error-page h2 {
  font-size: 2rem;
  margin: 8px 0 14px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--secondary);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  z-index: 3000;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-state h2 {
  margin: 12px 0 8px;
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.8s ease forwards;
}

.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.22s; }
.reveal-d3 { animation-delay: 0.34s; }
.reveal-d4 { animation-delay: 0.46s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomIn {
  from {
    transform: scale(1.12);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.observe {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.observe.in {
  opacity: 1;
  transform: none;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
.link-gold { color: var(--secondary); font-weight: 500; }
.remove-btn { color: var(--danger); font-size: 0.8rem; }
.remove-btn:hover { text-decoration: underline; }
.hidden { display: none !important; }
