@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
  --bg-cream: #fdfbf7;
  --bg-paper: #f4efe6;
  --text-espresso: #2c1e16;
  --text-light: #5a4b41;
  --accent-gold: #c39b5b;
  --accent-gold-dark: #a17c45;
  --border-light: #e5dac7;
  --border-dark: #2c1e16;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;

  --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-espresso);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .brand-logo {
  font-family: var(--font-heading);
  color: var(--text-espresso);
  font-weight: 600;
}

.brand-logo {
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.title-xl {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-lg {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
}

.subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--accent-gold-dark);
  margin-bottom: 1rem;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-cream);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--text-espresso);
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Affiliate Banner */
.affiliate-banner {
  background-color: var(--text-espresso);
  color: var(--bg-cream);
  text-align: center;
  padding: 8px 15px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header */
header {
  position: sticky;
  top: 0; width: 100%;
  padding: 25px 5%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 100%; height: 1px;
  background-color: var(--text-espresso);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  border: 1px solid var(--text-espresso);
  background: transparent;
  color: var(--text-espresso);
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-solid {
  background-color: var(--text-espresso);
  color: var(--bg-cream);
}

.btn-solid:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #fff;
}

.btn-outline:hover {
  background-color: var(--text-espresso);
  color: var(--bg-cream);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 2000;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--text-espresso);
  transition: all var(--transition-fast);
}

.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--bg-cream);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin: 2rem 0; }
.mobile-nav a { font-family: var(--font-heading); font-size: 2.5rem; font-style: italic; color: var(--text-espresso); }

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section (Magazine Style) */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.hero-img-wrapper {
  position: relative;
}

.hero-img-wrapper::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100%; height: 100%;
  border: 1px solid var(--accent-gold);
  z-index: -1;
}

.hero-img {
  width: 100%;
  display: block;
  box-shadow: 10px 15px 40px rgba(44, 30, 22, 0.1);
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-text { text-align: center; margin-bottom: 3rem; }
  .hero-text p { margin: 0 auto 2.5rem; }
}

/* Editorial Sections */
.editorial-section {
  padding: 120px 0;
  background-color: var(--bg-paper);
}

.editorial-section.alt {
  background-color: var(--bg-cream);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.editorial-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.editorial-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.editorial-image {
  position: relative;
}

.editorial-image img {
  width: 100%;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: -30px; right: 20px;
  background: var(--bg-cream);
  padding: 10px 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border-light);
}

.editorial-grid.reverse .editorial-text { order: 2; }
.editorial-grid.reverse .editorial-image { order: 1; }

@media (max-width: 900px) {
  .editorial-grid { grid-template-columns: 1fr; gap: 4rem; }
  .editorial-grid.reverse .editorial-text, .editorial-grid.reverse .editorial-image { order: unset; }
  .image-caption { bottom: 10px; right: 10px; }
}

/* Internal Pages (Review) */
.page-header {
  text-align: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border-light);
}

.article-content {
  max-width: 800px;
  margin: 60px auto;
}

.article-content img {
  width: 100%;
  margin: 2rem 0;
}

.article-content h3 {
  font-size: 2rem;
  margin: 3rem 0 1rem;
  font-style: italic;
}

.article-content p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-gold-dark);
  text-align: center;
  margin: 4rem 0;
  font-style: italic;
  padding: 0 2rem;
}

/* Product Page */
.product-showcase {
  padding: 80px 0;
}

.product-showcase .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 901px) {
  .gallery-container {
    position: sticky;
    top: 110px;
  }
}

.gallery-main {
  background: var(--bg-paper);
  padding: 2rem;
  margin-bottom: 1rem;
}

.gallery-main img {
  width: 100%;
  display: block;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-thumbs img {
  width: 100%;
  background: var(--bg-paper);
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.gallery-thumbs img.active, .gallery-thumbs img:hover {
  opacity: 1;
  border-bottom: 2px solid var(--accent-gold);
}

.product-details {
  padding-top: 2rem;
}

.product-details h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 2rem;
  font-family: var(--font-body);
  color: var(--accent-gold-dark);
  margin-bottom: 2rem;
}

.spec-list {
  list-style: none;
  margin: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 1rem;
}

.spec-list span:first-child {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.spec-list span:last-child {
  color: var(--text-light);
}

@media (max-width: 900px) {
  .product-showcase .container { grid-template-columns: 1fr; gap: 3rem; }
}

/* FAQ */
.faq-section {
  padding: 100px 0;
  background: var(--bg-cream);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-btn {
  width: 100%;
  text-align: left;
  padding: 25px 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-espresso);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-icon {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-fast);
}

.faq-btn.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-content p {
  padding-bottom: 25px;
  color: var(--text-light);
}

/* Contact & Legal */
.form-input {
  width: 100%;
  padding: 15px;
  margin-bottom: 1.5rem;
  border: none;
  border-bottom: 1px solid var(--text-espresso);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-bottom-color: var(--accent-gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Footer */
footer {
  background-color: var(--text-espresso);
  color: var(--bg-cream);
  padding: 100px 5% 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2.5rem;
  color: var(--bg-cream);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 2rem;
}

.footer-col p, .footer-col a {
  color: #bfaea3;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  display: block;
}

.footer-col a:hover {
  color: var(--bg-cream);
}

.footer-bottom {
  max-width: 1300px;
  margin: 80px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #bfaea3;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0; width: 100%;
  background: var(--bg-cream);
  color: var(--text-espresso);
  padding: 20px 5%;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -10px 30px rgba(44, 30, 22, 0.05);
  z-index: 9999;
  transition: bottom var(--transition-smooth);
}

.cookie-banner.active {
  bottom: 0;
}

.cookie-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  font-size: 0.9rem;
}

.cookie-content a {
  color: var(--accent-gold-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-content { flex-direction: column; text-align: center; }
}
