/* ==========================================================================
   KATÉA Atelier — Brand Refresh
   Palette sampled from the supplied champagne-gold identity artwork.
   ========================================================================== */

:root {
  --color-primary: #704F25;
  --color-primary-rgb: 112, 79, 37;
  --color-secondary: #917650;
  --color-accent: #C9AE79;
  --color-accent-hover: #A9926E;
  --color-accent-light: #F0E5D8;
  --color-gold: #C9AE79;

  --color-white: #FFFDF9;
  --color-bg: #FFFDF9;
  --color-bg-soft: #F7F0E7;
  --color-bg-alt: #E7DDCF;
  --color-bg-dark: #3A2B1B;
  --color-text: #3B2D22;
  --color-text-muted: #796A5E;
  --color-text-light: #A39282;
  --color-text-white: #FFFDF9;
  --color-border: #DECDB9;
  --color-border-light: #EEE4D8;
  --color-border-dark: #80623F;

  /* WhatsApp remains the conversion channel, but visual treatment follows the atelier palette. */
  --color-whatsapp: #A9926E;
  --color-whatsapp-dark: #917650;
  --color-whatsapp-hover: #80623F;
  --shadow-whatsapp: 0 8px 28px rgba(112, 79, 37, 0.24);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
}

.announcement-bar {
  background: linear-gradient(90deg, #704F25 0%, #917650 50%, #704F25 100%);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.site-header {
  background: rgba(255, 253, 249, 0.98);
}

.site-header.scrolled {
  background: rgba(255, 253, 249, 0.94);
}

.logo-text {
  color: #704F25;
}

.logo-tagline,
.footer-brand-subtitle {
  color: #A9926E;
}

.header-whatsapp-cta {
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #3A2B1B;
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.header-whatsapp-cta:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-primary,
.btn-whatsapp,
.product-action-whatsapp {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #3A2B1B;
  box-shadow: none;
}

.btn-primary:hover,
.btn-whatsapp:hover,
.product-action-whatsapp:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 9px 24px rgba(112,79,37,.18);
}

.btn-secondary {
  color: var(--color-primary);
  border-color: var(--color-accent-hover);
}

.btn-secondary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.section-alt,
.page-hero {
  background: linear-gradient(135deg, #FBF6EF 0%, #F0E5D8 100%);
}

.product-image-wrap {
  background: #F4EBDD;
}

.product-card {
  background: transparent;
}

.product-card-actions {
  background: linear-gradient(to top, rgba(58,43,27,.72) 0%, rgba(58,43,27,0) 100%);
}

.product-action-btn {
  color: var(--color-primary);
}

.product-action-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.badge-dark {
  background: var(--color-primary);
}

.badge-stock {
  background: #F2E8DA;
  color: #80623F;
  border: 1px solid #DECDB9;
}

.badge-stock::before {
  background: #A9926E;
}

.guide-steps-minimal .guide-step-card {
  padding-top: 58px;
  background: rgba(255,253,249,.74);
}

.guide-steps-minimal .guide-step-number {
  top: 22px;
  left: 30px;
  right: auto;
  color: var(--color-accent);
  font-size: 1.15rem;
  letter-spacing: .14em;
}

.atelier-concierge-section {
  background: #F7F0E7;
}

.atelier-concierge-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 48px;
  padding: 56px 64px;
  border: 1px solid #DECDB9;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,253,249,.98), rgba(231,221,207,.62));
  box-shadow: 0 24px 70px rgba(112,79,37,.12), 0 4px 16px rgba(112,79,37,.06);
}

.atelier-concierge-copy h2 {
  max-width: 660px;
  margin-bottom: 16px;
}

.atelier-concierge-copy p {
  max-width: 720px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.pdp-private-order {
  padding: 22px;
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, #FBF6EF, #F2E8DA);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(26, 18, 11, .06);
}

.pdp-private-order-note,
.quickview-private-note {
  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.pdp-whatsapp-btn {
  min-height: 56px;
}

.about-story-section {
  background: #FFFDF9;
}

.about-story-layout {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.about-brand-art {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  background: #E7DDCF;
  box-shadow: 0 22px 60px rgba(112,79,37,.12);
}

.about-brand-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-story-refined {
  text-align: left;
  max-width: none;
  margin: 0;
}

.about-story-refined .about-story-title {
  text-align: left;
  max-width: 680px;
}

.about-story-refined .about-story-copy {
  max-width: 760px;
  margin: 0;
}

.about-story-refined .about-story-copy p {
  text-align: left;
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.9;
}

.about-story-refined .about-signature {
  color: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  margin-top: 34px;
  letter-spacing: .08em;
}

.about-story-refined .about-actions {
  justify-content: flex-start;
}

.site-footer {
  background: #3A2B1B;
  border-top: 1px solid #80623F;
}

.footer-top-grid-refined {
  grid-template-columns: 1.55fr .82fr .82fr 1.2fr;
}

.footer-logo {
  color: #F4E8D9;
}

.footer-brand-subtitle {
  display: block;
  margin-top: -14px;
  font-size: .62rem;
  letter-spacing: .42em;
}

.footer-contact-clean {
  gap: 7px;
}

.footer-contact-clean a,

.footer-contact-clean a:hover,

.footer-signature {
  font-family: var(--font-accent);
  color: rgba(255,253,249,.56);
}

.whatsapp-popup-header {
  background: linear-gradient(135deg, #704F25 0%, #A9926E 100%);
}

.whatsapp-popup-body {
  background: #F2E8DA;
}

.whatsapp-floating-btn {
  background: #A9926E;
}

.whatsapp-floating-btn:hover {
  background: #704F25;
}

@media (max-width: 1100px) {
  .header-container { grid-template-columns: 1fr auto 1fr; }
  .mobile-menu-toggle { justify-self: start; }
  .header-actions { justify-self: end; }
  .header-whatsapp-cta { display: none; }
  .about-story-layout { grid-template-columns: 1fr 1.25fr; gap: 44px; }
  .atelier-concierge-card { grid-template-columns: 1fr; gap: 28px; padding: 44px; }
  .atelier-concierge-card .btn { justify-self: start; }
}

@media (max-width: 767px) {
  .currency-select-wrap { display: none !important; }
  .header-actions { gap: 4px; }
  .header-actions .action-btn { width: 44px; height: 44px; }
  .about-story-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-brand-art { position: static; max-width: 520px; margin: 0 auto; }
  .about-story-refined,
  .about-story-refined .about-story-title,
  .about-story-refined .about-story-copy p { text-align: left; }
  .atelier-concierge-card { padding: 32px 22px; }
  .atelier-concierge-card .btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    font-size: .58rem;
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(26, 18, 11, .12);
  }
  .footer-top-grid-refined { grid-template-columns: 1fr; }
  .footer-signature { width: 100%; }
}

/* Warm champagne overlays keep photography legible while carrying the brand identity. */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(58,43,27,.22) 0%, rgba(58,43,27,.42) 58%, rgba(58,43,27,.68) 100%);
}

.spotlight-banner-overlay {
  background: linear-gradient(to right, rgba(58,43,27,.84) 0%, rgba(112,79,37,.58) 58%, rgba(112,79,37,.12) 100%);
}

.btn-white {
  background: #FFF7EC;
  border-color: #FFF7EC;
  color: #704F25;
}

.btn-white:hover {
  background: #E7DDCF;
  border-color: #E7DDCF;
  color: #704F25;
}

.btn-outline-white:hover {
  background: #FFF7EC;
  border-color: #FFF7EC;
  color: #704F25;
}

.pdp-specs {
  border-top-color: var(--color-border);
}

.pdp-specs > div {
  border-bottom-color: var(--color-border-light);
}

/* =========================================================
   OUR STORY — EDITORIAL LUXURY LAYOUT
   ========================================================= */
.story-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 45vw, 560px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.68), transparent 34%),
    linear-gradient(135deg, #f7efe4 0%, #ead9c4 48%, #d4b684 100%);
  border-bottom: 1px solid rgba(112,79,37,.18);
}

.story-hero::before,
.story-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(145,118,80,.24);
  border-radius: 50%;
  pointer-events: none;
}

.story-hero::before { top: -230px; left: -125px; }
.story-hero::after { right: -170px; bottom: -275px; width: 520px; }

.story-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.story-kicker,
.story-hero p,
.story-chapter-label,
.story-signature-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .26em;
}

.story-kicker {
  display: inline-block;
  color: var(--color-primary);
  font-size: .76rem;
  margin-bottom: 22px;
}

.story-hero h1 {
  font-family: 'Playfair Display', var(--font-heading);
  font-size: clamp(3.3rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.025em;
  color: #4b3520;
  margin: 0;
}

.story-hero-rule {
  width: 66px;
  height: 1px;
  background: var(--color-primary);
  margin: 28px auto 22px;
}

.story-hero p {
  font-size: .72rem;
  color: #6f583d;
  margin: 0;
}

.story-editorial {
  background: #fffdf9;
  padding-top: clamp(78px, 9vw, 138px);
  padding-bottom: clamp(82px, 10vw, 150px);
}

.story-opening {
  max-width: 960px;
  margin: 0 auto clamp(72px, 9vw, 128px);
  text-align: center;
}

.story-opening h2 {
  font-family: 'Playfair Display', var(--font-heading);
  font-size: clamp(2.45rem, 5.2vw, 5.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #4b3520;
  margin: 18px 0 34px;
}

.story-opening h2 em {
  color: #a78556;
  font-weight: 400;
}

.story-lead {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Playfair Display', var(--font-heading);
  font-size: clamp(1.28rem, 2.2vw, 1.75rem);
  line-height: 1.65;
  color: #5d5145;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.story-visual {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

.story-image-frame {
  position: relative;
  overflow: hidden;
  background: #e8ded1;
  border: 1px solid rgba(112,79,37,.18);
  box-shadow: 0 28px 72px rgba(89,62,30,.12);
}

.story-image-frame::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.45);
  pointer-events: none;
}

.story-image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 1.2s cubic-bezier(.2,.75,.25,1);
}

.story-image-frame:hover img { transform: scale(1.055); }

.story-image-caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 2;
  padding: 9px 13px;
  background: rgba(255,253,249,.86);
  backdrop-filter: blur(10px);
  color: #694d2e;
  font-size: .67rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.story-visual-note {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(112,79,37,.2);
}

.story-visual-note > span {
  font-family: 'Playfair Display', var(--font-heading);
  font-size: 1.3rem;
  color: #af8a58;
}

.story-visual-note p {
  margin: 0;
  color: #766757;
  line-height: 1.75;
  font-size: .92rem;
}

.story-chapters {
  border-top: 1px solid rgba(112,79,37,.22);
}

.story-chapter {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: clamp(24px, 3vw, 46px);
  padding: clamp(42px, 5.5vw, 68px) 0;
  border-bottom: 1px solid rgba(112,79,37,.22);
}

.story-chapter-number {
  font-family: 'Playfair Display', var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  color: #c0a070;
  line-height: 1;
}

.story-chapter-label {
  display: block;
  color: #947043;
  font-size: .7rem;
  margin-bottom: 18px;
}

.story-chapter p {
  margin: 0;
  font-family: 'Playfair Display', var(--font-heading);
  font-size: clamp(1.22rem, 2vw, 1.58rem);
  line-height: 1.72;
  color: #4d443b;
}

.story-signature-block {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  max-width: 1100px;
  margin: clamp(84px, 10vw, 140px) auto 0;
  padding: clamp(42px, 6vw, 74px);
  overflow: hidden;
  background: linear-gradient(135deg, #49351f 0%, #6f522f 100%);
  color: #fff8ef;
}

.story-signature-block::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  top: -130px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}

.story-signature-mark {
  font-family: 'Playfair Display', var(--font-heading);
  font-size: clamp(4.8rem, 9vw, 8rem);
  font-style: italic;
  color: #d9bb83;
  line-height: .8;
}

.story-signature-eyebrow {
  display: block;
  font-size: .67rem;
  color: #ddc69e;
  margin-bottom: 14px;
}

.story-signature-block p {
  margin: 0;
  font-family: 'Playfair Display', var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  line-height: 1.32;
}

.story-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
}

/* Delicate entrance motion when the story view is rendered. */
.story-hero-inner,
.story-opening,
.story-grid,
.story-signature-block,
.story-actions {
  animation: storyRise .85s cubic-bezier(.2,.7,.25,1) both;
}
.story-opening { animation-delay: .08s; }
.story-grid { animation-delay: .16s; }
.story-signature-block { animation-delay: .22s; }
.story-actions { animation-delay: .28s; }

@keyframes storyRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; max-width: 760px; }
  .story-visual { position: static; max-width: 560px; margin: 0 auto; }
  .story-chapters { margin-top: 6px; }
}

@media (max-width: 640px) {
  .story-hero { min-height: 330px; }
  .story-hero-inner { padding-top: 46px; padding-bottom: 46px; }
  .story-opening { text-align: left; margin-bottom: 58px; }
  .story-opening h2 { margin-bottom: 25px; }
  .story-lead { line-height: 1.55; }
  .story-chapter { grid-template-columns: 42px 1fr; gap: 18px; padding: 36px 0; }
  .story-chapter p { line-height: 1.58; }
  .story-signature-block { grid-template-columns: 1fr; gap: 24px; padding: 38px 28px; }
  .story-signature-mark { font-size: 4.8rem; }
  .story-actions { flex-direction: column; }
  .story-actions .btn { width: 100%; }
  .story-image-caption { left: 18px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-hero-inner,
  .story-opening,
  .story-grid,
  .story-signature-block,
  .story-actions { animation: none !important; }
  .story-image-frame img { transition: none !important; }
}
