/* ============================================================
   SAFIR HOME DECOR – Premium Boutique Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors - Warm Neutrals & Gold */
  --ink: #1b1815;
  --ink-soft: #3d3832;
  --ink-light: #6b6259;
  --sand: #f7f3ee;
  --sand-dark: #ede7de;
  --parchment: #fdfbf8;
  --gold: #c5a050;
  --gold-dark: #a8873d;
  --gold-glow: rgba(197, 160, 80, 0.15);
  --gold-glow-strong: rgba(197, 160, 80, 0.3);
  --sage: #8a9a7e;
  --rose: #c4a193;
  --white: #ffffff;
  --error: #c45050;
  --success: #5a9a6b;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1280px;
  --header-height: 70px;

  /* Transitions */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s var(--ease-luxury);
  --transition-fast: 0.3s var(--ease-luxury);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 24, 21, 0.05);
  --shadow-md: 0 4px 20px rgba(27, 24, 21, 0.08);
  --shadow-lg: 0 8px 40px rgba(27, 24, 21, 0.12);
  --shadow-gold: 0 4px 20px rgba(197, 160, 80, 0.2);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50%;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--parchment);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-light);
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-2xl);
}

.gold-accent {
  color: var(--gold);
}

/* ---------- Scroll Reveal Animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="left"].revealed {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal="right"].revealed {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: scale(0.95);
}

[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--ink);
  color: var(--sand);
  text-align: center;
  padding: 8px var(--space-lg);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 100;
}

.announcement-bar .gold-text {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Marquee Bar ---------- */
.marquee-bar {
  background: var(--gold);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-content span {
  margin: 0 var(--space-xl);
}

.marquee-content span::after {
  content: '✦';
  margin-left: var(--space-xl);
  opacity: 0.6;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Header ---------- */
.header {
  background: var(--parchment);
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--sand-dark);
  transition: box-shadow var(--transition-fast);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  gap: var(--space-lg);
}

/* Navigation */
.nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-left a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}

.nav-left a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-left a:hover {
  color: var(--ink);
}

.nav-left a:hover::after {
  width: 100%;
}

/* Logo */
.logo {
  text-align: center;
}

.logo a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-md);
}

.header-actions button,
.header-actions a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
}

.header-actions button:hover,
.header-actions a:hover {
  color: var(--gold);
}

.header-actions svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.cart-count {
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: var(--transition-fast);
  display: block;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(27, 24, 21, 0.55) 0%,
      rgba(27, 24, 21, 0.15) 60%,
      transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 12%;
  left: 6%;
  max-width: 550px;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  background: rgba(197, 160, 80, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-desc {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.hero-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.hero-cta:hover::before {
  opacity: 1;
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  right: 6%;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--sand);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--sand-dark);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
}

.trust-text strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.85rem;
}

.trust-text span {
  font-size: 0.75rem;
  color: var(--ink-light);
}

/* ---------- Coupon Banner ---------- */
.coupon-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2520 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coupon-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--gold-glow) 0%, transparent 70%);
}

.coupon-inner {
  position: relative;
  z-index: 1;
}

.coupon-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.coupon-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.coupon-code {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(197, 160, 80, 0.12);
  border: 1.5px dashed var(--gold);
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.coupon-code:hover {
  background: rgba(197, 160, 80, 0.2);
  transform: scale(1.03);
}

.coupon-code svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  opacity: 0.7;
}

.coupon-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-sm);
}

/* ---------- Categories Grid ---------- */
.categories-section {
  padding: var(--space-4xl) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.category-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-luxury);
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 24, 21, 0.7) 0%, transparent 50%);
  transition: background var(--transition-smooth);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(27, 24, 21, 0.8) 0%, rgba(27, 24, 21, 0.1) 60%);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  transform: translateY(10px);
  transition: transform var(--transition-smooth);
}

.category-card:hover .category-card-content {
  transform: translateY(0);
}

.category-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.category-card-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: var(--space-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
}

.category-card:hover .category-card-link {
  opacity: 1;
  transform: translateY(0);
}

.category-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.category-card-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Products Grid ---------- */
.products-section {
  padding: var(--space-4xl) 0;
  background: var(--sand);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand-dark);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.product-badge.pix {
  background: var(--success);
}

.product-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  display: flex;
  gap: var(--space-xs);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 2;
}

.product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateY(0);
}

.product-actions-overlay button,
.product-actions-overlay a {
  flex: 1;
  padding: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-add-cart {
  background: var(--ink);
  color: var(--white);
}

.btn-add-cart:hover {
  background: var(--gold);
}

.btn-quick-view {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--sand-dark) !important;
}

.btn-quick-view:hover {
  border-color: var(--gold) !important;
  color: var(--gold);
}

.product-info {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.product-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.product-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.product-price {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.product-price-installment {
  font-size: 0.72rem;
  color: var(--ink-light);
  font-weight: 400;
}

.product-price-pix {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  opacity: 0;
}

.product-card:hover .wishlist-btn {
  opacity: 1;
}

.wishlist-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink-soft);
  fill: none;
  transition: all var(--transition-fast);
}

.wishlist-btn:hover svg,
.wishlist-btn.active svg {
  stroke: var(--error);
  fill: var(--error);
}

/* ---------- Brand Story Section ---------- */
.brand-story {
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.brand-story-image {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.brand-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.brand-story-accent {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  opacity: 0.3;
  z-index: -1;
}

.brand-story-text {
  padding: var(--space-xl) 0;
}

.brand-story-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.brand-story-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.brand-story-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.brand-story-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.brand-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-feature-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
}

.brand-feature span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.brand-story-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 4px;
  transition: all var(--transition-fast);
}

.brand-story-cta:hover {
  color: var(--gold);
  gap: 12px;
}

/* ---------- Newsletter Section ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2520 50%, #1e1a16 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-glow-strong) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.newsletter-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xl);
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--gold-dark);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
  text-align: left;
}

.footer-brand .logo a {
  color: var(--white);
  font-size: 1.4rem;
}

.footer-brand .logo-subtitle {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
  transition: fill var(--transition-fast);
}

.footer-social a:hover svg {
  fill: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-xs);
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-payments {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.footer-payments span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

/* ---------- Cart Drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 24, 21, 0.5);
  backdrop-filter: blur(3px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--sand-dark);
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cart-close:hover {
  background: var(--sand-dark);
}

.cart-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg) var(--space-xl);
}

.cart-empty {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cart-empty svg {
  width: 60px;
  height: 60px;
  stroke: var(--sand-dark);
  margin-bottom: var(--space-md);
}

.cart-empty p {
  font-size: 0.9rem;
  color: var(--ink-light);
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--sand);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sand);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand-dark);
  background: var(--sand);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cart-item-qty button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cart-item-qty span {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.cart-item-remove {
  font-size: 0.72rem;
  color: var(--ink-light);
  text-decoration: underline;
  cursor: pointer;
  margin-top: 4px;
  display: inline-block;
}

.cart-item-remove:hover {
  color: var(--error);
}

.cart-footer {
  border-top: 1px solid var(--sand-dark);
  padding: var(--space-lg) var(--space-xl);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.cart-total-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-total-value {
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
}

.cart-checkout-btn:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

.cart-checkout-btn svg {
  width: 18px;
  height: 18px;
}

.cart-pix-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--success);
  margin-top: var(--space-xs);
  font-weight: 500;
}

/* ---------- Mobile Nav Overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--parchment);
  z-index: 150;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  padding: var(--space-3xl) var(--space-xl);
  display: flex;
  flex-direction: column;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.mobile-nav-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--sand-dark);
  display: block;
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ---------- Quick View Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 24, 21, 0.6);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  padding: var(--space-xl);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
  max-height: 90vh;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand);
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  z-index: 5;
}

.modal-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
}

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 500;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
}

/* ---------- Scroll To Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-gold);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold-dark);
  transform: scale(1.1) !important;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-left {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .brand-story-image {
    aspect-ratio: 16 / 9;
    max-height: 400px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    height: 65vh;
    min-height: 400px;
  }

  .hero-content {
    bottom: 15%;
    left: 5%;
    right: 5%;
    max-width: none;
  }

  .trust-items {
    gap: var(--space-lg);
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .category-card {
    aspect-ratio: 16 / 9;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .product-actions-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .wishlist-btn {
    opacity: 1;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-image {
    max-height: 250px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero {
    height: 55vh;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    flex-direction: column;
    gap: var(--space-md);
  }

  .cart-drawer {
    width: 100vw;
  }
}

/* ---------- Loading Skeleton ---------- */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, var(--sand) 25%, var(--sand-dark) 50%, var(--sand) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ---------- Search Overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 24, 21, 0.85);
  backdrop-filter: blur(10px);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 24px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-overlay.active .search-overlay-inner {
  transform: translateY(0);
}

.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.search-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink-light);
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
}

.search-box input::placeholder {
  color: var(--ink-light);
}

.search-results {
  margin-top: 16px;
  max-height: 50vh;
  overflow-y: auto;
  border-radius: 12px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  text-decoration: none;
  transition: background 0.2s;
}

.search-result-item:first-child {
  border-radius: 12px 12px 0 0;
}

.search-result-item:last-child {
  border-radius: 0 0 12px 12px;
  border-bottom: none;
}

.search-result-item:only-child {
  border-radius: 12px;
}

.search-result-item:hover {
  background: var(--sand);
}

.search-result-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--sand);
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.search-result-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2px;
}

.search-no-results {
  text-align: center;
  padding: 32px;
  background: var(--white);
  border-radius: 12px;
  color: var(--ink-light);
  font-size: 0.88rem;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}