/* ═══════════════════════════════════════════════════════════
   DIOURA ELEGANCE — Homepage Styles
   Coordinated Pastel-Pink Boutique Theme (Matching Design Target)
   "Your style, Your choice."
═══════════════════════════════════════════════════════════ */

/* ── Hero Section (Balanced Two-Column Full-Width Showcase) ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  min-height: 560px;
  display: flex;
  align-items: stretch;
  padding: 0;
}

/* Botanical artwork attached to the left edge of hero (aligned with top edge, subtle decorative border) */
.hero-floral-left-edge {
  position: absolute;
  top: calc(var(--nav-h) + 16px);
  left: -28px;
  height: clamp(400px, 46vw, 520px);
  max-height: 540px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  object-position: left top;
  pointer-events: none;
  z-index: 1;
  opacity: 0.36;
  animation: heroFadeInLeft 0.8s var(--ease) 0.08s both;
}

.hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: stretch;
  position: relative;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 540px;
  width: 100%;
  gap: 1.5rem;
}

.hero-left {
  padding: calc(var(--nav-h) + 1.25rem) 1.5rem 2rem clamp(5.5rem, 8vw, 7.8rem);
  max-width: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-btn);
  opacity: 0.9;
  margin-bottom: 0.85rem;
  animation: heroFadeInLeft 0.6s var(--ease) 0.05s both;
}

.hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 4.2vw, 3.85rem); /* Noticeable 56-62px prominent headline */
  font-weight: 700;
  line-height: 1.06;
  color: var(--dark);
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
  animation: heroFadeInLeft 0.65s var(--ease) 0.15s both;
}

.hero-left h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--rose-btn);
  display: block;
  font-size: 1em; /* Approximately the same large size as the first line */
  margin-top: 0.15rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--medium);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
  animation: heroFadeInLeft 0.65s var(--ease) 0.25s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeInLeft 0.65s var(--ease) 0.35s both;
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.65rem; /* Decreased width for a sleeker, balanced pill */
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 999px;
  min-height: 46px;
  line-height: 1;
}

/* ── Hero Slideshow Showcase (Soft Background Blend, Zero White Border) ── */
.hero-right-full,
.hero-right-boxed {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Expanded 0.5cm (~20px) on right, 1cm (~38-40px) on left */
  padding: calc(var(--nav-h) + 1.25rem) 1.25rem 2rem 0;
  margin-left: -24px;
  position: relative;
  z-index: 2;
  min-height: 500px;
  animation: heroFadeInRight 0.75s var(--ease) 0.18s both;
}

.hero-box-frame {
  position: relative;
  width: 100%;
  max-width: 740px; /* Increased width to accommodate 1cm left + 0.5cm right expansion */
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-carousel-wrap {
  width: 100%;
  height: clamp(400px, 36vw, 470px);
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 10px 30px rgba(176, 74, 98, 0.07),
    0 2px 6px rgba(0, 0, 0, 0.02);
  border: none;
  padding: 0;
  transition: transform var(--t-hover) var(--ease-hover), box-shadow var(--t-hover) var(--ease-hover);
}

/* Cinematic Luxury Cross-Fade Slideshow for Hero Showcase */
.hero-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 1.1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 28px;
  transform: scale(1.0);
  transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active img {
  transform: scale(1.036);
}

/* Soft, gentle blend around perimeter edges into blush canvas without obscuring dress clarity */
.hero-gradient-blend {
  position: absolute;
  inset: 0;
  background:
    /* Left edge blend */
    linear-gradient(to right, var(--bg) 0%, rgba(253, 240, 243, 0.38) 2%, transparent 6%),
    /* Right edge blend */
    linear-gradient(to left, var(--bg) 0%, rgba(253, 240, 243, 0.38) 2%, transparent 6%),
    /* Top edge blend */
    linear-gradient(to bottom, var(--bg) 0%, rgba(253, 240, 243, 0.38) 2%, transparent 6%),
    /* Bottom edge blend */
    linear-gradient(to top, var(--bg) 0%, rgba(253, 240, 243, 0.38) 2%, transparent 6%);
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
}

/* Handwritten Cursive Script Watermark — safely inside lower-right corner with ample spacing */
.hero-script-note {
  position: absolute;
  right: 28px;
  bottom: 24px;
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 2.5vw, 2.45rem);
  color: var(--rose-btn);
  line-height: 1.05;
  transform: rotate(-3deg);
  text-shadow:
    0 2px 14px rgba(255, 255, 255, 0.95),
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 4px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
}

/* 3 Slide Indicator Dots Centered Neatly Below Image Area */
.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
  position: relative;
  z-index: 4;
  width: 100%;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(179, 74, 98, 0.22);
  border: 1.5px solid rgba(179, 74, 98, 0.45);
  padding: 0;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  box-shadow: 0 1px 3px rgba(179, 74, 98, 0.12);
}

.hero-dot:hover {
  background: rgba(179, 74, 98, 0.55);
  transform: scale(1.12);
}

.hero-dot.active {
  width: 34px;
  height: 11px;
  border-radius: 999px;
  background: var(--rose-btn);
  border-color: var(--rose-btn);
  box-shadow: 0 2px 10px rgba(179, 74, 98, 0.42);
}

/* ── Value Proposition Strip (Benefits / "Why Choose Us") ─ */
.value-prop-strip {
  padding: 3.5rem 0 2.5rem;
  background: var(--bg);
  position: relative;
  z-index: 1;
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

.value-prop-header {
  text-align: center;
  margin-bottom: 2.25rem;
}
.value-prop-header .section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-btn);
  margin-bottom: 0.45rem;
}
.value-prop-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 600;
  color: var(--dark);
}

.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid rgba(179, 74, 98, 0.16);
  border-radius: var(--r-lg);
  padding: 2.15rem 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 16px rgba(179, 74, 98, 0.05);
  transition: transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(179, 74, 98, 0.09);
  border-color: rgba(179, 74, 98, 0.32);
}

.value-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(234, 165, 180, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-btn);
  margin-bottom: 1.25rem;
  transition: transform 0.35s var(--ease),
              background 0.35s var(--ease);
}
.value-card:hover .value-card-icon {
  transform: scale(1.06);
  background: rgba(234, 165, 180, 0.32);
}
.value-card-icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.value-card-icon svg:not([stroke]) {
  fill: currentColor;
  stroke: none;
}
.value-card-icon svg[stroke] {
  fill: none;
  stroke: currentColor;
}

.value-card h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.value-card p {
  font-size: 0.86rem;
  color: var(--medium);
  line-height: 1.45;
  margin: 0;
}

/* ── Section Headers (Shared) ──────────────────────────── */
.section-header-centered {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header-centered h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 600;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.section-header-centered p {
  font-size: 0.96rem;
  color: var(--medium);
  margin-top: 0.4rem;
}

/* ── Featured Collection Section ───────────────────────── */
.featured-section {
  padding: 3.75rem 0 4rem;
  background: var(--bg);
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

/* Category Filter Pills (All, New Arrivals, Best Sellers, Offers) */
.filter-pills-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.55rem 1.5rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              color 0.25s var(--ease),
              transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
}
.filter-pill:hover {
  border-color: var(--rose-btn);
  color: var(--rose-btn);
  background: #FFF7F9;
  transform: translateY(-1px);
}
.filter-pill:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}
.filter-pill.active {
  background: var(--rose-btn);
  border-color: var(--rose-btn);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(176, 74, 98, 0.28);
}

/* Products Carousel Grid with Arrows */
.featured-grid-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 54px; /* Ample buffer so side arrows NEVER overlap product cards */
  overflow: hidden;
}

.grid-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              color 0.25s var(--ease),
              transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  user-select: none;
}
.grid-arrow-btn:hover {
  background: var(--rose-btn);
  border-color: var(--rose-btn);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 14px rgba(176, 74, 98, 0.24);
}
.grid-arrow-btn:active {
  transform: translateY(-50%) scale(0.92);
  transition-duration: 0.1s;
}
.grid-arrow-btn.prev { left: 4px; }
.grid-arrow-btn.next { right: 4px; }

/* Featured Carousel Viewport & Continuous Horizontal Ribbon Track */
.featured-grid {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.featured-track {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 2px 20px 2px;
  cursor: grab;
}
.featured-track::-webkit-scrollbar {
  display: none;
}
.featured-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.featured-track.fade-switch {
  animation: featuredTrackFade 0.35s ease-out;
}

@keyframes featuredTrackFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Individual card sizing inside ribbon */
.featured-track .product-card {
  flex: 0 0 calc((100% - (3 * 1.5rem)) / 4);
  min-width: calc((100% - (3 * 1.5rem)) / 4);
  max-width: calc((100% - (3 * 1.5rem)) / 4);
  scroll-snap-align: start;
}

.featured-page {
  display: contents;
}

/* Pagination Dots */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-dot:hover {
  background: var(--rose-accent);
  transform: scale(1.2);
}
.carousel-dot.active {
  background: var(--rose-btn);
  width: 24px;
  border-radius: var(--r-pill);
  transform: scale(1);
}

/* Centered Explore All Collection CTA Underneath Featured Grid */
.featured-view-more {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.featured-view-more .btn-berry-pill,
.btn-featured-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.68rem 1.85rem;
  font-size: 0.90rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  height: 44px;
  min-height: 44px;
  box-shadow: 0 3px 10px rgba(176, 74, 98, 0.22);
  transition: all var(--t-hover) var(--ease-hover);
}
.featured-view-more .btn-berry-pill:hover,
.btn-featured-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(176, 74, 98, 0.32);
}
.featured-view-more .arrow {
  font-size: 1rem;
  transition: transform 0.2s var(--ease);
}
.featured-view-more .btn-berry-pill:hover .arrow,
.btn-featured-explore:hover .arrow {
  transform: translateX(4px);
}

/* ── A Story of Elegance Section (Stage 1 Redesign) ────── */
.story-elegance-section {
  position: relative;
  background: linear-gradient(180deg, #FDF4F6 0%, #FAF0F3 50%, #F8E9EE 100%);
  overflow: hidden;
  padding: 3.5rem 1.5rem;
  min-height: clamp(520px, 42vw, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

.story-elegance-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* Flanking Visual Left: Mannequin in Floral Frock */
.story-flank {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(280px, 32vw, 460px);
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.story-flank-left {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.98) 55%, rgba(0,0,0,0.35) 82%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.98) 55%, rgba(0,0,0,0.35) 82%, rgba(0,0,0,0) 100%);
}

/* Flanking Visual Right: Fashion Workspace & Sketchbook */
.story-flank-right {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.98) 55%, rgba(0,0,0,0.35) 82%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0.98) 55%, rgba(0,0,0,0.35) 82%, rgba(0,0,0,0) 100%);
}

.story-flank-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-flank-left .story-flank-img {
  object-position: left 20%;
}
.story-flank-right .story-flank-img {
  object-position: right 30%;
}

/* Main Center Story Content Card */
.story-center-card,
.story-center-content {
  position: relative;
  z-index: 3;
  max-width: 610px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 2rem 1.5rem;
  background: radial-gradient(ellipse at center, rgba(255, 246, 248, 0.94) 0%, rgba(255, 246, 248, 0.75) 60%, rgba(255, 246, 248, 0) 100%);
  border-radius: 28px;
}

/* OUR STORY subtag with delicate flanking lines */
.story-subtag-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}
.story-subtag-line {
  width: 38px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--rose-btn, #B04A62), transparent);
  opacity: 0.8;
}
.story-subtag {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-btn, #B04A62);
  display: inline-block;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Main heading */
.story-heading,
.story-center-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.5vw, 3.25rem);
  font-weight: 600;
  color: var(--dark, #281B20);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 0.55rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}
.story-heading em,
.story-center-content h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--dark, #281B20);
  margin-left: 0.15em;
}

/* Delicate Botanical motif divider */
.story-motif-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--rose-btn, #B04A62);
}
.story-motif-divider svg {
  width: 36px;
  height: 20px;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.8));
}

/* Story paragraph */
.story-desc {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.18vw, 1.1rem);
  color: var(--dark-muted, #543E46);
  line-height: 1.76;
  margin-bottom: 1.85rem;
  max-width: 530px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
}

/* 4 Brand Values in a row on desktop */
.story-values-grid,
.story-bullets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 0.75rem;
  width: 100%;
  max-width: 560px;
  margin-bottom: 1.85rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(214, 158, 172, 0.5);
}

.story-value-item,
.story-bullet {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.story-value-icon,
.story-bullet-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-btn, #B04A62);
  transition: transform 0.25s ease;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.story-value-item:hover .story-value-icon,
.story-bullet:hover .story-bullet-icon {
  transform: translateY(-2px);
}
.story-value-icon svg,
.story-bullet-icon svg {
  width: 28px;
  height: 28px;
}

.story-value-label,
.story-bullet span {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark, #281B20);
  line-height: 1.25;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Script sentiment phrase */
.story-sentiment-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.25rem;
}
.story-sentiment,
.story-feeling-phrase,
.story-script-tagline {
  font-family: 'Alex Brush', var(--font-script, cursive);
  font-size: clamp(1.95rem, 2.6vw, 2.45rem);
  font-weight: 500;
  color: var(--rose-btn, #B04A62);
  line-height: 1.2;
  letter-spacing: 0.015em;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}
.story-sentiment-curve {
  width: 190px;
  height: 8px;
  margin-top: 2px;
  opacity: 0.6;
}

/* Mobile Visual Showcase (hidden on desktop) */
.story-mobile-visuals {
  display: none;
}

/* ── Integrated Wide Contact Section ────────────────────── */
.contact-section,
.contact-touch-section {
  padding: 4.25rem 1.5rem 4.75rem;
  background: var(--bg);
  position: relative;
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

.contact-panel {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F7 100%);
  border: 1px solid rgba(234, 165, 180, 0.45);
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(176, 74, 98, 0.08), 0 2px 10px rgba(176, 74, 98, 0.04);
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 3.5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

/* Delicate Botanical Sprigs in Panel Corners */
.contact-botanical-tl {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 130px;
  height: 130px;
  pointer-events: none;
  opacity: 0.5;
  transform: rotate(-45deg);
}

.contact-botanical-br {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  pointer-events: none;
  opacity: 0.5;
  transform: scaleX(-1) rotate(-45deg);
}

.contact-panel-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}

.contact-panel-header .section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-btn);
  margin-bottom: 0.5rem;
}

.contact-panel-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.contact-panel-header p {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--medium);
  line-height: 1.6;
}

/* 3-column wide grid on desktop, 1-col on tablet/mobile */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

.contact-method-card {
  background: #FFFFFF;
  border: 1px solid rgba(234, 165, 180, 0.4);
  border-radius: 18px;
  padding: 2.25rem 1.65rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(176, 74, 98, 0.04);
  transition: transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
  box-sizing: border-box;
  height: 100%;
}

.contact-method-card:hover,
.contact-method-card:focus-visible {
  transform: translateY(-2.5px);
  box-shadow: 0 10px 28px rgba(176, 74, 98, 0.1);
  border-color: var(--rose-btn);
}
.contact-method-card:active {
  transform: translateY(-1px);
  transition-duration: 0.1s;
}

.contact-method-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem auto;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
  line-height: 0;
  transition: transform 0.35s var(--ease),
              background-color 0.35s var(--ease);
}
.contact-method-card:hover .contact-method-icon {
  transform: scale(1.06);
}

.contact-method-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.contact-method-icon.phone-icon,
.contact-method-icon.email-icon,
.contact-method-icon.wa-icon {
  background: #FFF0F3;
  color: var(--rose-btn);
  border: 1px solid rgba(234, 165, 180, 0.38);
}

.contact-method-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  width: 100%;
  flex-grow: 1;
}

.contact-method-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--medium);
}

.contact-method-val {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  word-break: break-word;
}

.contact-method-sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--medium);
  margin-top: 0.15rem;
}

/* Compact WhatsApp Button inside WhatsApp Card */
.btn-whatsapp-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #25D366;
  color: #FFFFFF !important;
  border-radius: var(--r-pill);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0.95rem auto 0 auto;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.28);
  transition: all var(--t-hover) var(--ease-hover);
  align-self: center;
}

.btn-whatsapp-compact:hover,
.btn-whatsapp-compact:focus-visible {
  background: #20BA5A;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.4);
}

/* Centered Follow Us Bar along the bottom of the contact panel */
.contact-follow-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(234, 165, 180, 0.3);
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact-follow-bar .contact-socials-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--medium);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-follow-bar .contact-socials-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
}

.contact-socials-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-socials-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(234, 165, 180, 0.45);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(176, 74, 98, 0.05);
  transition: transform 0.25s var(--ease),
              background-color 0.25s var(--ease),
              border-color 0.25s var(--ease),
              color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  flex-shrink: 0;
  box-sizing: border-box;
}

.contact-social-btn:hover,
.contact-social-btn:focus-visible {
  transform: translateY(-1.5px) scale(1.04);
  background: var(--rose-btn);
  color: #FFFFFF;
  border-color: var(--rose-btn);
  box-shadow: 0 4px 14px rgba(176, 74, 98, 0.22);
}
.contact-social-btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.contact-social-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: auto;
}

/* ── Responsive Rules ──────────────────────────────────── */
@media (max-width: 1100px) {
  .featured-track { gap: 1.15rem; }
  .featured-track .product-card {
    flex: 0 0 calc((100% - (2 * 1.15rem)) / 3);
    min-width: calc((100% - (2 * 1.15rem)) / 3);
    max-width: calc((100% - (2 * 1.15rem)) / 3);
  }
  .featured-page { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
  .featured-grid-wrap { padding: 0 48px; }
  .grid-arrow-btn.prev { left: 2px; }
  .grid-arrow-btn.next { right: 2px; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (max-width: 960px) {
  .hero {
    display: block;
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 2.5rem;
    min-height: auto;
  }
  .hero-floral-left-edge {
    max-height: 380px;
    max-width: 120px;
    left: -20px;
    opacity: 0.28;
  }
  .hero-container {
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    min-height: auto;
  }
  .hero-left {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  .hero-desc {
    margin: 0 auto 2rem;
  }
  .hero-left h1 {
    font-size: clamp(2.2rem, 5.5vw, 2.85rem);
    line-height: 1.1;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-right-full,
  .hero-right-boxed {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: auto;
    min-height: auto;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
  }
  .hero-box-frame {
    max-width: 580px;
    height: auto;
  }
  .hero-carousel-wrap {
    height: clamp(340px, 48vw, 400px);
  }
  .hero-script-note {
    right: 20px;
    bottom: 18px;
    font-size: 1.85rem;
  }
  .hero-dots {
    margin-top: 1rem;
  }
  .value-prop-strip { padding: 3rem 0 2rem; }
  .value-prop-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .featured-section { padding: 3.25rem 0 3.5rem; }
  .story-elegance-section {
    padding: 3rem 1.25rem;
    min-height: clamp(480px, 40vw, 560px);
  }
  .story-flank {
    width: clamp(240px, 28vw, 320px);
  }
  .story-center-card,
  .story-center-content {
    max-width: 520px;
    padding: 1.5rem 1.25rem;
  }
  .story-values-grid,
  .story-bullets-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 1.1rem 1.5rem;
    max-width: 420px;
  }
  .story-value-item,
  .story-bullet {
    flex-direction: row;
    text-align: left;
    gap: 0.75rem;
    justify-content: flex-start;
  }
  .story-value-icon,
  .story-bullet-icon {
    flex-shrink: 0;
  }
  .contact-section,
  .contact-touch-section { padding: 3.5rem 1.25rem 4rem; }
  .contact-panel-header { margin: 0 auto 2.25rem; }
  .contact-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto 2rem; }
  .contact-panel { padding: 2.5rem 1.5rem; }
}

@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-h) + 1.25rem) 0 2.5rem; }
  .hero-floral-left-edge {
    opacity: 0.22;
    max-height: 300px;
    max-width: 90px;
    left: -18px;
  }
  .value-prop-strip { padding: 2.75rem 0 1.75rem; }
  .featured-section { padding: 3rem 0 3.25rem; }
  .featured-track { gap: 1rem; }
  .featured-track .product-card {
    flex: 0 0 calc((100% - 1rem) / 2.2);
    min-width: calc((100% - 1rem) / 2.2);
    max-width: calc((100% - 1rem) / 2.2);
    scroll-snap-align: center;
  }
  .featured-page { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .featured-grid-wrap { padding: 0 44px; }
  .grid-arrow-btn {
    display: flex;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .grid-arrow-btn.prev { left: 2px; }
  .grid-arrow-btn.next { right: 2px; }
  .story-elegance-section {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 1rem 3.5rem;
    min-height: 600px;
    background-color: #FAF1F3;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .story-elegance-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(250, 241, 243, 0.06), rgba(250, 241, 243, 0.06)), url('/images/story-bg-mobile.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: saturate(0.85) brightness(0.99);
    pointer-events: none;
    z-index: 1;
  }
  .story-flank {
    display: none;
  }
  .story-mobile-visuals {
    display: none;
  }
  .story-center-card,
  .story-center-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.6rem 1.6rem 1.4rem;
    background: radial-gradient(ellipse at center, rgba(254, 246, 248, 0.93) 0%, rgba(254, 246, 248, 0.74) 75%, rgba(254, 246, 248, 0.15) 100%);
    border-radius: 26px;
  }
  .story-heading,
  .story-center-content h2 {
    font-size: 2.15rem;
    margin-bottom: 0.5rem;
  }
  .story-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.45rem;
  }
  .story-values-grid,
  .story-bullets-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 0.95rem 1.25rem;
    max-width: 380px;
    padding-top: 1.15rem;
    margin-bottom: 1.45rem;
  }
  .story-value-item,
  .story-bullet {
    flex-direction: row;
    text-align: left;
    gap: 0.65rem;
  }
  .story-value-icon,
  .story-bullet-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .story-value-icon svg,
  .story-bullet-icon svg {
    width: 24px;
    height: 24px;
  }
  .story-value-label,
  .story-bullet span {
    font-size: 0.88rem;
  }
  .story-sentiment,
  .story-feeling-phrase,
  .story-script-tagline {
    font-size: 1.85rem;
    white-space: normal;
    text-align: center;
  }
  .contact-section,
  .contact-touch-section { padding: 3rem 1rem 3.5rem; }
  .contact-panel { padding: 2.25rem 1.25rem; border-radius: 22px; }
  .contact-panel-header { margin: 0 auto 2rem; }
  .contact-botanical-tl,
  .contact-botanical-br { width: 90px; height: 90px; opacity: 0.4; }
  .contact-panel-footer { flex-direction: column; text-align: center; justify-content: center; }
}

@media (max-width: 600px) {
  .hero { padding: calc(var(--nav-h) + 1.25rem) 0 2rem; }
  .hero-floral-left-edge {
    display: block;
    top: calc(var(--nav-h) + 6px);
    bottom: auto;
    left: -8px;
    width: 65px;
    max-height: 220px;
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
  }
  .value-prop-strip { padding: 2.25rem 0 1.5rem; }
  .featured-section { padding: 2.5rem 0 2.75rem; }
  .story-elegance-section {
    padding: 3.25rem 0.75rem 3.25rem;
    min-height: 580px;
  }
  .story-center-card,
  .story-center-content {
    width: 100%;
    max-width: 430px;
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 22px;
  }
  .story-heading,
  .story-center-content h2 {
    font-size: 1.95rem;
    margin-bottom: 0.5rem;
  }
  .story-desc {
    font-size: 0.95rem;
    line-height: 1.68;
    margin-bottom: 1.35rem;
  }
  .story-values-grid,
  .story-bullets-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    max-width: 360px;
    gap: 0.85rem 1.1rem;
    padding-top: 1rem;
  }
  .story-value-label,
  .story-bullet span {
    font-size: 0.85rem;
  }
  .story-sentiment,
  .story-feeling-phrase,
  .story-script-tagline {
    font-size: 1.7rem;
    margin-top: 0.5rem;
  }
  .contact-section,
  .contact-touch-section { padding: 2.5rem 0.75rem 3rem; }
  .contact-panel-header { margin: 0 auto 1.65rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 0.85rem; margin-bottom: 1.75rem; }
  .contact-botanical-tl,
  .contact-botanical-br { width: 70px; height: 70px; opacity: 0.3; }
  .contact-method-card { flex-direction: column; align-items: center; text-align: center; justify-content: flex-start; min-height: auto; padding: 1.85rem 1.25rem; }
  .contact-method-icon { margin: 0 auto 0.85rem auto; width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
}

@media (max-width: 480px) {
  .hero-left h1 { font-size: 2.1rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .hero-right-full,
  .hero-right-boxed {
    height: auto;
    padding: 0 0.5rem;
  }
  .hero-box-frame {
    height: auto;
    border-radius: 0;
    padding: 0;
  }
  .hero-carousel-wrap {
    height: clamp(308px, calc(64vw + 38px), 368px);
    border-radius: 20px;
  }
  .hero-slide img {
    border-radius: 20px;
  }
  .hero-script-note { font-size: 1.55rem; right: 18px; bottom: 16px; }
  .hero-dots { margin-top: 0.85rem; }
  .value-prop-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .featured-grid-wrap { padding: 0 38px; }
  .featured-track { gap: 0.85rem; }
  .featured-track .product-card {
    flex: 0 0 calc(78% - 0.5rem);
    min-width: 240px;
    max-width: 285px;
    scroll-snap-align: center;
  }
  .grid-arrow-btn {
    display: flex;
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }
  .grid-arrow-btn.prev { left: 0; }
  .grid-arrow-btn.next { right: 0; }
  .featured-page { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .filter-pill { padding: 0.45rem 1.1rem; font-size: 0.8rem; }
  .story-elegance-section { padding: 2.75rem 0.5rem 3rem; }
  .story-center-card,
  .story-center-content { max-width: 350px; padding: 1.35rem 1rem 1.15rem; }
  .story-subtag { font-size: 0.78rem; }
  .story-heading,
  .story-center-content h2 { font-size: 1.75rem; margin-bottom: 0.45rem; }
  .story-desc { font-size: 0.90rem; line-height: 1.62; margin-bottom: 1.25rem; }
  .story-values-grid,
  .story-bullets-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem 0.65rem; padding-top: 0.95rem; max-width: 330px; }
  .story-value-label,
  .story-bullet span { font-size: 0.82rem; }
  .story-value-icon,
  .story-bullet-icon { width: 28px; height: 28px; }
  .story-value-icon svg,
  .story-bullet-icon svg { width: 20px; height: 20px; }
  .story-sentiment,
  .story-feeling-phrase,
  .story-script-tagline { font-size: 1.55rem; max-width: 310px; }
  .contact-botanical-tl,
  .contact-botanical-br {
    display: block;
    width: 52px;
    height: 52px;
    opacity: 0.22;
  }
  .contact-panel { padding: 1.85rem 1rem; border-radius: 18px; }
  .btn-whatsapp-pill { width: 100%; justify-content: center; }
  .featured-view-more { margin-top: 1.6rem; }
  .featured-view-more .btn-berry-pill,
  .btn-featured-explore {
    padding: 0.6rem 1.6rem;
    font-size: 0.86rem;
    height: 42px;
    min-height: 42px;
  }
}

@media (max-width: 380px) {
  .featured-view-more { margin-top: 1.35rem; }
  .featured-view-more .btn-berry-pill,
  .btn-featured-explore {
    padding: 0.55rem 1.35rem;
    font-size: 0.82rem;
    height: 40px;
    min-height: 40px;
  }
  .hero-left h1 { font-size: 1.85rem; }
  .hero-floral-left-edge {
    width: 55px;
    left: -6px;
    max-height: 190px;
  }
  .hero-right-full { height: auto; }
  .hero-carousel-wrap { height: clamp(285px, calc(64vw + 38px), 328px); }
  .hero-script-note { font-size: 1.4rem; right: 8px; bottom: 12px; }
  .value-card { padding: 1.1rem 0.85rem; }
  .featured-grid-wrap { padding: 0 32px; }
  .featured-track { gap: 0.75rem; }
  .featured-track .product-card {
    flex: 0 0 calc(84% - 0.35rem);
    min-width: 210px;
    max-width: 250px;
    scroll-snap-align: center;
  }
  .grid-arrow-btn {
    display: flex;
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }
  .grid-arrow-btn.prev { left: 0; }
  .grid-arrow-btn.next { right: 0; }
  .story-elegance-section { padding: 2.5rem 0.35rem 2.75rem; }
  .story-center-card,
  .story-center-content { max-width: 320px; padding: 1.2rem 0.85rem 1rem; }
  .story-heading,
  .story-center-content h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
  .story-desc { font-size: 0.86rem; line-height: 1.55; margin-bottom: 1.1rem; }
  .story-values-grid,
  .story-bullets-grid { max-width: 300px; gap: 0.65rem 0.45rem; padding-top: 0.85rem; }
  .story-value-label,
  .story-bullet span { font-size: 0.78rem; }
  .story-value-icon,
  .story-bullet-icon { width: 24px; height: 24px; }
  .story-value-icon svg,
  .story-bullet-icon svg { width: 18px; height: 18px; }
  .story-sentiment,
  .story-feeling-phrase,
  .story-script-tagline { font-size: 1.4rem; max-width: 290px; }
  .contact-method-val { font-size: 0.88rem; }
}

@media (max-width: 340px) {
  .hero-left h1 { font-size: 1.65rem; }
  .hero-floral-left-edge {
    width: 48px;
    left: -4px;
    max-height: 170px;
  }
  .hero-right-full { height: auto; }
  .hero-carousel-wrap { height: clamp(265px, calc(64vw + 38px), 295px); }
  .hero-script-note { font-size: 1.25rem; right: 5px; bottom: 10px; }
  .story-center-card,
  .story-center-content { max-width: 295px; padding: 1.1rem 0.65rem 0.95rem; }
  .story-heading,
  .story-center-content h2 { font-size: 1.4rem; }
  .story-desc { font-size: 0.82rem; line-height: 1.50; }
  .story-values-grid,
  .story-bullets-grid { max-width: 280px; gap: 0.5rem 0.35rem; }
  .story-value-label,
  .story-bullet span { font-size: 0.74rem; }
  .story-value-icon,
  .story-bullet-icon { width: 22px; height: 22px; }
  .story-value-icon svg,
  .story-bullet-icon svg { width: 15px; height: 15px; }
  .story-sentiment,
  .story-feeling-phrase,
  .story-script-tagline { font-size: 1.3rem; }
  .contact-panel { padding: 1.5rem 0.75rem; }
  .contact-method-icon { width: 36px; height: 36px; }
}
