/*
Theme Name: spacetemplate custum them
Theme URI: http://localhost/olfa/spacetemplate
Description: A barebones custom theme built for Elementor.
Version: 1.0.0
Author: MAB
Author URI: https://www.linkedin.com/in/bouazizi-med-achref/
*/

:root {
  /* Warm Minimalist Luxury Color Palette */
  --bg-silk: #FDFBF9;
  --bg-linen: #F5EBE6;
  --bg-blush: #EADBD3;
  --text-main: #1E1B19;
  --text-muted: #706661;
  --accent: #B88E76;

  /* Card Radii */
  --card-radius: 0px;
  /* Sharp corners for editorial luxury */
}

/* Base Reset & Defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-silk);
  color: var(--text-main);
  font-family: 'Jost', 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography System */
h1,
.h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  /* Responsive fluid sizing */
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Style trick: Use <em> tags inside H1 for beautiful cursive/italic accents */
h1 em,
.h1 em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

.highlight-accent-line {
  color: var(--accent);
  font-weight: 500;
  /* Bolder than base 300 H1 */
  font-size: calc(1em + 2px);
  /* 2px larger */
  font-style: italic;
  display: inline-block;
  margin-top: 0.1em;
}

h2,
.h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

h3,
.h3 {
  font-family: 'Jost', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  /* Wide tracking makes it look modern */
  margin-top: 0;
  margin-bottom: 1rem;
}

h4,
h5,
h6 {
  font-family: 'Jost', sans-serif;
  color: var(--text-main);
  font-weight: 500;
}

p {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  /* Generous line height for elite readability */
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* Section Spacing & Layout */
.section-spacer {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards and Containers */
.card-premium {
  border-radius: var(--card-radius);
  background-color: var(--bg-linen);
  padding: 2.5rem;
  border: 1px solid rgba(184, 142, 118, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-premium:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

/* Premium Buttons (Zero Bloat, High Elegance) */
.btn-premium {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 18px 40px;
  background-color: var(--text-main);
  color: var(--bg-silk);
  border: 1px solid var(--text-main);
  border-radius: var(--card-radius);
  /* Sharp corners scream luxury brand */
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  text-align: center;
}

.btn-premium:hover {
  background-color: transparent;
  color: var(--text-main);
  transform: translateY(-2px);
}

/* WooCommerce Compatibility Styling */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 15px 35px;
  background-color: var(--text-main);
  color: var(--bg-silk);
  border: 1px solid var(--text-main);
  border-radius: var(--card-radius);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: transparent;
  color: var(--text-main);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section Styling (Lighthouse Optimized)
   ========================================================================== */
.spacetemplate-hero-section {
  background-color: var(--bg-silk);
  padding: clamp(5rem, 9vw, 9rem) 0 1.5rem 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1400px;
  /* Generous luxury editorial layout */
  margin: 0 auto;
  padding: 0 0 3rem 0;
  gap: 4%;
}

.hero-content {
  flex: 0 0 46%;
  max-width: 550px;
}

.hero-title {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-subheadline {
  font-size: 1.15rem;
  /* Highly readable, premium text size */
  line-height: 1.65;
  color: #3E3B39;
  /* Darker warm charcoal for better accessibility contrast */
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-cta-area {
  margin-top: 2rem;
}

.hero-microcopy {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* 3D Visual Column Styles */
.hero-visual {
  flex: 0 0 50%;
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  /* Enhanced 3D depth */
}

.visual-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(234, 219, 211, 0.65) 0%, rgba(253, 251, 249, 0) 70%);
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}

.visual-interactive-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  z-index: 2;
}

/* Staggered Wrapper Classes */
.phone-story-wrapper {
  transform: rotateY(-8deg) rotateX(4deg) translateZ(10px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.phone-profile-wrapper {
  transform: rotateY(8deg) rotateX(4deg) translateY(24px) translateZ(35px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.phone-story-wrapper:hover {
  transform: rotateY(-2deg) rotateX(2deg) scale(1.03) translateZ(20px);
  z-index: 20;
}

.phone-profile-wrapper:hover {
  transform: rotateY(2deg) rotateX(2deg) translateY(20px) scale(1.03) translateZ(45px);
  z-index: 20;
}

/* High-End CSS Phone Mockup */
.story-phone-mockup {
  position: relative;
  width: 275px;
  /* Base width on desktop */
  aspect-ratio: 9 / 16;
  /* Mathematical 9:16 fit */
  background: #1E1B19;
  /* Espresso bezel */
  border: 4px solid #1E1B19;
  /* Ultra-thin bezel */
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(30, 27, 25, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  /* Base font-size that controls em scaling */
}

/* Glossy reflection glass */
.story-phone-mockup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: 12;
  border-radius: 16px;
}

.story-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0D0C0B;
  border-radius: 16px;
  overflow: hidden;
}

.story-phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 100% Width Modern Cursor Slider */
.hero-ticker-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 3rem 0;
  border-top: 1px solid rgba(184, 142, 118, 0.12);
  background-color: transparent;
  /* Transparent background */
}

.ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 5%;
  will-change: transform;
}

.ticker-item {
  width: 260px;
  height: 260px;
  flex: 0 0 auto;
  border-radius: 20px;
  /* Much rounder elegant corners */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30, 27, 25, 0.05);
  border: 1px solid rgba(184, 142, 118, 0.12);
  opacity: 0.25;
  /* Dimmed by default */
  transform: scale(0.95);
  filter: grayscale(15%);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
  position: relative;
  z-index: 1;
}

.ticker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ticker-item.highlighted {
  opacity: 1;
  /* Fully visible in middle */
  transform: scale(1.05);
  /* Highlighted scaling */
  filter: grayscale(0%);
  border-color: rgba(184, 142, 118, 0.35);
  box-shadow: 0 15px 35px rgba(30, 27, 25, 0.1);
  z-index: 2;
}

.ticker-item:hover {
  transform: scale(1.14) !important;
  /* Scale up significantly on hover */
  opacity: 1 !important;
  filter: grayscale(0%) !important;
  z-index: 10;
  /* Bring above all other adjacent cards */
  box-shadow: 0 20px 45px rgba(30, 27, 25, 0.16);
  border-color: rgba(184, 142, 118, 0.5);
}

/* Micro-Interactions: Floating visual column */
@keyframes visualFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* MODERN ENTRY ANIMATIONS (IntersectionObserver Driven) */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.18s;
}

.delay-3 {
  transition-delay: 0.28s;
}

.delay-4 {
  transition-delay: 0.38s;
}

.delay-5 {
  transition-delay: 0.48s;
}

.delay-6 {
  transition-delay: 0.58s;
}

.reveal-visual {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

/* Responsive Scaling */
@media (max-width: 991px) {
  .hero-container {
    gap: 4%;
  }

  .hero-content {
    flex: 0 0 46%;
  }

  .hero-visual {
    flex: 0 0 50%;
    height: 480px;
  }

  .story-phone-mockup {
    width: 210px;
    /* Scaled down width */
    font-size: 12px;
    /* Scale font-sizes, margins, padding relative to base */
    border-width: 3px;
  }

  .ticker-item {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 767px) {
  .spacetemplate-hero-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0 3rem 0;
  }

  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    height: 320px;
    margin: 0 auto;
  }

  .visual-interactive-container {
    display: flex;
    flex-direction: row;
    /* Ensure side-by-side layout on mobile */
    justify-content: center;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 0;
  }

  .phone-story-wrapper {
    transform: rotateY(-4deg) rotateX(2deg) translateZ(5px) !important;
  }

  .phone-profile-wrapper {
    transform: rotateY(4deg) rotateX(2deg) translateY(12px) translateZ(15px) !important;
  }

  .story-phone-mockup {
    width: 145px;
    /* Side-by-side on mobile */
    font-size: 8.8px;
    /* Proportional text and icon scaling */
    border-width: 2.5px;
    border-radius: 12px;
  }

  .ticker-item {
    width: 160px;
    height: 160px;
  }
}

/* Instagram Story UI Overlays (EM Responsive) */
.story-progress-bar {
  position: absolute;
  top: 0.75em;
  left: 0.75em;
  right: 0.75em;
  display: flex;
  gap: 0.25em;
  z-index: 15;
}

.progress-segment {
  height: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.story-header {
  position: absolute;
  top: 1.35em;
  left: 0.75em;
  right: 0.75em;
  display: flex;
  align-items: center;
  z-index: 15;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.story-profile-pic {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.5em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-username {
  font-size: 0.75em;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
}

.story-time {
  font-size: 0.75em;
  opacity: 0.8;
  margin-left: 0.4em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.story-close-btn {
  margin-left: auto;
  font-size: 1.2em;
  cursor: pointer;
  opacity: 0.85;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.story-footer {
  position: absolute;
  bottom: 1em;
  left: 0.75em;
  right: 0.75em;
  display: flex;
  align-items: center;
  gap: 0.75em;
  z-index: 15;
}

.story-input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  padding: 0.5em 1em;
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: left;
}

.story-actions {
  display: flex;
  gap: 0.75em;
  align-items: center;
}

.story-icon {
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* Instagram Profile Mockup Elements (EM Responsive) */
.profile-scroll-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.instagram-profile-header {
  background: #0D0C0B;
  padding: 0.8em 0.6em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  flex-shrink: 0;
}

.profile-top-row {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.profile-avatar {
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-stats {
  display: flex;
  justify-content: space-around;
  flex-grow: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.65em;
}

.stat-item strong {
  font-size: 1.15em;
  font-weight: 700;
}

.stat-item span {
  opacity: 0.7;
}

.profile-bio {
  text-align: left;
  line-height: 1.3;
}

.profile-username-tag {
  font-size: 0.75em;
  font-weight: 700;
  margin-bottom: 0.1em;
}

.profile-desc {
  font-size: 0.65em;
  opacity: 0.9;
}

.profile-link {
  font-size: 0.65em;
  color: #3897f0;
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.1em;
}

.profile-actions-row {
  display: flex;
  gap: 0.4em;
  width: 100%;
}

.profile-actions-row .profile-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.7em;
  font-weight: 600;
  padding: 0.4em 0;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
}

.profile-actions-row .profile-btn.btn-follow {
  background: #0095f6;
}

/* Feed Scrolling Layout */
.instagram-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  padding: 1.5px;
  background: #000;
  animation: feedScroll 26s linear infinite;
  will-change: transform;
}

.story-phone-mockup:hover .instagram-feed-grid {
  animation-play-state: paused;
}

.grid-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes feedScroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* iOS Push Notification Banner Overlays on Hover (EM Responsive) */
.story-notification {
  position: absolute;
  top: 50%;
  left: 0.75em;
  right: 0.75em;
  transform: translateY(-50%) scale(0.9) translateY(-0.6em);
  background: rgba(13, 12, 11, 0.9);
  /* Espresso dark glassmorphism */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.6em 0.8em;
  display: flex;
  align-items: center;
  gap: 0.6em;
  z-index: 40;
  /* High z-index to stay above progress bars and headers */
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.story-phone-mockup:hover .story-notification {
  opacity: 1;
  transform: translateY(-50%) scale(1) translateY(0);
  pointer-events: auto;
}

.notification-icon {
  flex-shrink: 0;
  width: 1.85em;
  height: 1.85em;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.notification-text {
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.notification-title {
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
}

.notification-body {
  font-size: 0.6em;
  opacity: 0.8;
  margin-top: 1px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
}

/* Dynamic Plant Shadow Backgrounds */
.plant-shadow-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  /* High-end organic shadow contrast */
  filter: blur(8px);
  /* Soft diffuse shadows */
  color: #1E1B19;
  /* Espresso dark tone to look like real shadows */
}

.plant-shadow-left {
  top: -5%;
  left: -5%;
  width: 55%;
  height: 110%;
  transform-origin: top left;
  animation: leafSwayLeft 8s ease-in-out infinite;
}

.plant-shadow-right {
  bottom: -5%;
  right: -5%;
  width: 50%;
  height: 100%;
  transform-origin: bottom right;
  animation: leafSwayRight 10s ease-in-out infinite;
}

@keyframes leafSwayLeft {
  0% {
    transform: rotate(0deg) scale(1) translate(0px, 0px);
  }

  50% {
    transform: rotate(5deg) scale(1.06) translate(35px, 20px);
  }

  100% {
    transform: rotate(0deg) scale(1) translate(0px, 0px);
  }
}

@keyframes leafSwayRight {
  0% {
    transform: rotate(0deg) scale(1) translate(0px, 0px);
  }

  50% {
    transform: rotate(-5deg) scale(1.06) translate(-30px, -20px);
  }

  100% {
    transform: rotate(0deg) scale(1) translate(0px, 0px);
  }
}

/* Ticker Section Editorial Layout */
.ticker-editorial-block {
  width: 90%;
  max-width: 1400px;
  margin: 3rem auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6%;
  position: relative;
  z-index: 2;
}

.ticker-editorial-image-wrapper {
  flex: 0 0 45%;
  max-width: 550px;
  perspective: 1000px;
}

.ticker-editorial-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
  /* Monolithic sharp corners for luxury brand alignment */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ticker-editorial-image:hover {
  transform: translateY(-6px) rotateX(1deg) rotateY(-1deg) scale(1.02);
}

.ticker-editorial-content {
  flex: 0 0 49%;
  text-align: left;
}

.ticker-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  transition: color 0.4s ease;
}

.ticker-header-title:hover {
  color: var(--accent);
}

.ticker-header-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.ticker-header-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ticker-header-subtitle p {
  margin: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.ticker-header-subtitle p:hover {
  color: var(--text-main);
  transform: translateX(4px);
}

.ticker-cta-badge {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-main);
  background-color: var(--bg-linen);
  display: inline-block;
  margin-top: 1.25rem;
  padding: 12px 28px;
  border-radius: 0px;
  /* Match editorial design language */
  border: 1px solid rgba(184, 142, 118, 0.25);
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(30, 27, 25, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.ticker-cta-badge:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--accent);
  background-color: var(--bg-blush);
  box-shadow: 0 8px 20px rgba(30, 27, 25, 0.06);
}

/* Custom Bobbing Float Animation */
@keyframes editorialFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: editorialFloat 6s ease-in-out infinite;
}

/* High-End Entry Transitions for Phone Mockups */
.phone-story-wrapper {
  opacity: 0;
  transform: rotateY(-18deg) rotateX(8deg) translate3d(-40px, 40px, -100px);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-visual.visible .phone-story-wrapper {
  opacity: 1;
  transform: rotateY(-8deg) rotateX(4deg) translateZ(10px);
  transition-delay: 0.3s;
}

.phone-profile-wrapper {
  opacity: 0;
  transform: rotateY(18deg) rotateX(8deg) translate3d(40px, 60px, -50px);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-visual.visible .phone-profile-wrapper {
  opacity: 1;
  transform: rotateY(8deg) rotateX(4deg) translateY(24px) translateZ(35px);
  transition-delay: 0.5s;
}

/* Responsive Media Queries for Editorial Block */
@media (max-width: 991px) {
  .ticker-editorial-block {
    flex-direction: column;
    gap: 3.5rem;
    text-align: center;
    margin: 4rem auto;
  }

  .ticker-editorial-image-wrapper {
    flex: 0 0 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  .ticker-editorial-content {
    flex: 0 0 100%;
    text-align: center;
  }

  .ticker-header-subtitle p:hover {
    transform: none;
  }
}

/* ==========================================================================
   What's Included Section
   ========================================================================== */
.spacetemplate-whats-included-section {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.included-section-title-outer {
  background-color: var(--bg-silk);
  padding: 1.5rem 0 0 0;
  width: 100%;
  flex-shrink: 0;
}

.included-section-header {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.included-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-top: 0.5rem;
}

.included-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Outer row wrapper to support full-screen height inside 100vh layout */
/* Outer row wrapper to support full-screen height inside 100vh layout */
.spacetemplate-whats-included-section .included-row-outer {
  width: 100%;
  flex: 1;
  /* Occupy remaining height */
  display: none !important;
  /* Hidden by default */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.spacetemplate-whats-included-section .included-row-outer.active-row {
  display: flex !important;
}

.included-row-outer.bg-cream {
  background-color: #FDFBF7;
  border-top: 1px solid rgba(184, 142, 118, 0.08);
}

.included-row-outer.bg-blush {
  background-color: #F5EBE6;
  border-top: 1px solid rgba(184, 142, 118, 0.08);
}

.included-row-inner {
  width: 90%;
  max-width: 1400px;
  height: 85%;
  /* Stretch to take most of active row height */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8%;
}

/* Row Direction Alignments */
.row-align-left {
  flex-direction: row;
}

.row-align-right {
  flex-direction: row-reverse;
}

/* Content Columns */
.included-text-col {
  flex: 0 0 44%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  justify-content: center;
}

.included-index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(184, 142, 118, 0.15);
  margin-bottom: -1.5rem;
  display: block;
}

.included-category-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.included-row-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.included-row-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.included-row-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.included-interactive-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-main);
  text-decoration: none;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(30, 27, 25, 0.25);
  transition: all 0.4s ease;
}

.included-interactive-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  padding-left: 6px;
}

.included-interactive-link .link-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.included-interactive-link:hover .link-arrow {
  transform: translateX(4px);
}

/* Animated Canvas Columns */
.included-visual-col {
  flex: 0 0 46%;
  max-width: 550px;
  height: 450px;
  overflow: visible;
  position: relative;
  border-radius: 0px;
}

/* Anti-Download Protections */
.no-download-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.no-download-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(255, 255, 255, 0);
  /* Invisible overlay block */
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.no-download-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

/* --------------------------------------------------------------------------
   Layout 1: Quotes - Aesthetic Scatter Grid
   -------------------------------------------------------------------------- */
.quotes-scatter-grid {
  position: relative;
  width: 100%;
  height: 100%;
}

.scatter-card {
  position: absolute;
  width: 220px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(184, 142, 118, 0.12);
  box-shadow: 0 10px 30px rgba(30, 27, 25, 0.05);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: var(--bg-silk);
}

.scatter-card:hover {
  transform: scale(1.08) rotate(0deg) translateY(-10px) !important;
  z-index: 20;
  box-shadow: 0 20px 45px rgba(30, 27, 25, 0.12);
  border-color: var(--accent);
}

.card-pos-1 {
  top: 5%;
  left: 2%;
  transform: rotate(-5deg);
  z-index: 2;
}

.card-pos-2 {
  top: 8%;
  right: 4%;
  transform: rotate(6deg);
  z-index: 3;
}

.card-pos-3 {
  bottom: 8%;
  left: 8%;
  transform: rotate(4deg);
  z-index: 4;
}

.card-pos-4 {
  bottom: 10%;
  right: 10%;
  transform: rotate(-6deg);
  z-index: 5;
}

/* Multiaxis Swaying Animations */
.float-sway-y {
  animation: floatSwayY 6s ease-in-out infinite alternate;
}

.float-sway-x {
  animation: floatSwayX 7s ease-in-out infinite alternate;
}

@keyframes floatSwayY {
  0% {
    transform: translateY(0) rotate(-4deg);
  }

  100% {
    transform: translateY(-12px) rotate(4deg);
  }
}

@keyframes floatSwayX {
  0% {
    transform: translateX(0) rotate(4deg);
  }

  100% {
    transform: translateX(-12px) rotate(-4deg);
  }
}

/* --------------------------------------------------------------------------
   Layout 2: Ribbon Slider
   -------------------------------------------------------------------------- */
.horizontal-ribbon-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 15px 0;
  cursor: grab;
}

.ribbon-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: ribbonScroll 25s linear infinite;
}

.horizontal-ribbon-container:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-item {
  width: 175px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(30, 27, 25, 0.04);
  border: 1px solid rgba(184, 142, 118, 0.12);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.ribbon-item:hover {
  transform: scale(1.08) translateY(-6px);
  box-shadow: 0 18px 35px rgba(30, 27, 25, 0.1);
  border-color: var(--accent);
  z-index: 15;
}

@keyframes ribbonScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* --------------------------------------------------------------------------
   Layout 3: Layered 3D Card Deck
   -------------------------------------------------------------------------- */
.layered-card-deck {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-card {
  position: absolute;
  width: 240px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 35px rgba(30, 27, 25, 0.06);
  border: 1px solid rgba(184, 142, 118, 0.12);
  background-color: var(--bg-silk);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: bottom center;
}

.card-depth-1 {
  transform: rotate(-9deg) translate(-20px, -12px);
  z-index: 1;
  opacity: 0.65;
}

.card-depth-2 {
  transform: rotate(-4deg) translate(-10px, -6px);
  z-index: 2;
  opacity: 0.8;
}

.card-depth-3 {
  transform: rotate(0deg) translate(0px, 0px);
  z-index: 3;
  opacity: 0.9;
}

.card-depth-4 {
  transform: rotate(5deg) translate(10px, 6px);
  z-index: 4;
}

/* Fan out animation on hover of visual deck parent */
.layered-card-deck:hover .card-depth-1 {
  transform: rotate(-16deg) translate(-110px, -15px) scale(1.02);
  opacity: 1;
}

.layered-card-deck:hover .card-depth-2 {
  transform: rotate(-7deg) translate(-40px, -8px) scale(1.02);
  opacity: 1;
}

.layered-card-deck:hover .card-depth-3 {
  transform: rotate(5deg) translate(40px, -8px) scale(1.02);
  opacity: 1;
}

.layered-card-deck:hover .card-depth-4 {
  transform: rotate(16deg) translate(110px, -15px) scale(1.02);
  opacity: 1;
}

.deck-card:hover {
  z-index: 20 !important;
  transform: scale(1.08) translateY(-15px) rotate(0deg) !important;
  border-color: var(--accent);
  box-shadow: 0 20px 45px rgba(30, 27, 25, 0.14);
}

/* --------------------------------------------------------------------------
   Layout 4: Interactive 2x2 Focus Grid
   -------------------------------------------------------------------------- */
.interactive-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  top: 5%;
}

.focus-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(184, 142, 118, 0.12);
  box-shadow: 0 10px 25px rgba(30, 27, 25, 0.04);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: var(--bg-silk);
}

/* Dim others on parent hover */
.interactive-focus-grid:hover .focus-grid-item {
  opacity: 0.55;
  transform: scale(0.96);
}

/* Highlight the active card */
.interactive-focus-grid .focus-grid-item:hover {
  opacity: 1;
  transform: scale(1.06);
  border-color: var(--accent);
  z-index: 5;
  box-shadow: 0 15px 35px rgba(30, 27, 25, 0.12);
}

/* --------------------------------------------------------------------------
   Filter Tabs, Dynamic Grids & Lightbox (Premium Additions)
   -------------------------------------------------------------------------- */
.included-filter-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0;
  border-bottom: 1px solid rgba(184, 142, 118, 0.12);
  border-top: 1px solid rgba(184, 142, 118, 0.12);
  background-color: rgba(184, 142, 118, 0.02);
}

.filter-label-instruction {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-top: 1rem;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  opacity: 0.85;
  display: block;
}

.included-filter-tabs {
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  border-top: 1px solid rgba(184, 142, 118, 0.08);
}

.filter-tab {
  flex: 1;
  /* Stretch tabs evenly */
  background: none;
  border: none;
  border-right: 1px solid rgba(184, 142, 118, 0.08);
  border-radius: 0;
  padding: 1.25rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  text-align: center;
}

.filter-tab:last-child {
  border-right: none;
}

.filter-tab:hover {
  color: var(--accent);
  background-color: rgba(184, 142, 118, 0.04);
}

.filter-tab.active {
  color: var(--accent);
  background-color: rgba(184, 142, 118, 0.06);
  font-weight: 600;
  box-shadow: none;
}

.filter-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.filter-tab.active::after {
  width: 100%;
}

/* Scrollable Visual Column containing Grids */
.included-visual-col {
  flex: 0 0 53%;
  max-width: 650px;
  height: 520px;
  /* Constrained fixed height to enable scrollbar and trigger auto-scroll */
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  border-radius: 8px;
  padding: 12px;
  background: rgba(184, 142, 118, 0.03);
  border: 1px solid rgba(184, 142, 118, 0.08);
  transition: all 0.5s ease;
}

.included-visual-col::-webkit-scrollbar {
  width: 6px;
}

.included-visual-col::-webkit-scrollbar-track {
  background: transparent;
}

.included-visual-col::-webkit-scrollbar-thumb {
  background: rgba(184, 142, 118, 0.2);
  border-radius: 10px;
}

.included-visual-col::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Template Grid Layout */
.template-images-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.template-grid-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-silk);
  border: 1px solid rgba(184, 142, 118, 0.1);
  box-shadow: 0 4px 15px rgba(30, 27, 25, 0.02);
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;

  /* Stagger entry animation properties */
  opacity: 0;
  transform: scale(0.9) translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.template-grid-card.loaded {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.template-grid-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 10px 22px rgba(184, 142, 118, 0.18);
  border-color: var(--accent);
  z-index: 5;
}

.template-grid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.template-grid-card:hover img {
  transform: scale(1.06);
}

.zoom-overlay-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 27, 25, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 12;
}

.template-grid-card:hover .zoom-overlay-indicator {
  opacity: 1;
}

.zoom-text {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  background-color: rgba(30, 27, 25, 0.25);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transform: translateY(10px);
}

.template-grid-card:hover .zoom-text {
  transform: translateY(0);
  border-color: var(--accent);
  background-color: var(--accent);
  box-shadow: 0 4px 12px rgba(184, 142, 118, 0.3);
}


/* Rows Transition Styles */
.included-row-outer {
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.included-row-outer.hidden-row {
  display: none !important;
}

/* Premium Lightbox Overlay */
.template-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 27, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.template-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100001;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(184, 142, 118, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  padding: 1rem 1.3rem;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 100001;
}

.lightbox-prev {
  left: 3rem;
}

.lightbox-next {
  right: 3rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(184, 142, 118, 0.4);
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  overflow: hidden;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}


/* ==========================================================================
   Responsive Adaptations for What's Included Section
   ========================================================================== */
@media (max-width: 991px) {
  .spacetemplate-whats-included-section {
    height: auto;
    min-height: 100vh;
    overflow: visible !important;
  }

  .included-section-header {
    text-align: center;
  }

  /* Sticky filters on mobile */
  .included-filter-container {
    position: sticky !important;
    top: 0;
    z-index: 999;
    background-color: var(--bg-silk) !important;
    box-shadow: 0 6px 20px rgba(30, 27, 25, 0.05);
    margin-top: 0 !important;
    padding: 0.5rem 0 !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(184, 142, 118, 0.12) !important;
  }

  .filter-label-instruction {
    display: none !important;
  }

  .included-link-wrapper {
    text-align: center !important;
    width: 100%;
  }

  .spacetemplate-whats-included-section .included-row-outer {
    padding: 3rem 1.25rem !important;
    height: auto;
    flex: none;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .spacetemplate-whats-included-section .included-row-outer.active-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .included-row-inner {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2.25rem !important;
    text-align: center !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .included-text-col {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .included-text-col h3,
  .included-text-col p,
  .included-text-col span,
  .included-text-col div {
    text-align: center !important;
  }

  .included-index {
    margin-bottom: -1rem;
  }

  .included-visual-col {
    flex: none !important;
    width: 100% !important;
    max-width: 440px !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    margin: 0 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px !important;
    border: 1px solid rgba(184, 142, 118, 0.14) !important;
    box-shadow: 0 10px 30px rgba(30, 27, 25, 0.05) !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }

  .template-images-grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  .included-filter-container {
    margin-top: 0.5rem;
    border-bottom: 1px solid rgba(184, 142, 118, 0.08);
    padding: 0.6rem 1rem !important;
    box-sizing: border-box !important;
  }

  .included-filter-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow-x: visible !important;
    box-sizing: border-box !important;
  }

  .included-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex: none !important;
    white-space: normal !important;
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    padding: 0.65rem 0.4rem !important;
    border: 1px solid rgba(184, 142, 118, 0.18) !important;
    border-radius: 4px !important;
    text-align: center !important;
    background-color: var(--bg-silk);
  }

  .filter-tab.active {
    background-color: rgba(184, 142, 118, 0.12) !important;
    border-color: var(--accent) !important;
  }

  .filter-tab::after {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .spacetemplate-whats-included-section .included-row-outer {
    padding: 2.5rem 0.85rem !important;
  }

  .included-row-inner {
    gap: 1.75rem !important;
  }

  .included-visual-col {
    max-width: 100% !important;
    padding: 8px !important;
  }

  .template-images-grid-container {
    gap: 8px !important;
  }

  .included-filter-container {
    padding: 0.5rem 0.65rem !important;
  }

  .included-filter-tabs {
    gap: 6px !important;
  }
}

/* --------------------------------------------------------------------------
   Bonus Section Styles
   -------------------------------------------------------------------------- */
.spacetemplate-bonus-section {
  background: radial-gradient(circle at 75% 50%, rgba(184, 142, 118, 0.12) 0%, var(--bg-linen) 70%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  border-top: 1px solid rgba(184, 142, 118, 0.1);
  box-sizing: border-box;
}

.bonus-grid-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 5%;
}

.bonus-text-col {
  flex: 0 0 46%;
  text-align: left;
}

.bonus-mockups-col {
  flex: 0 0 49%;
  position: relative;
  display: flex;
  justify-content: center;
}

.bonus-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-top: 0.5rem;
}

.bonus-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.bonus-section-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.5;
}

.bonus-cta-wrapper {
  margin-top: 2rem;
}

.bonus-primary-btn {
  display: inline-block;
  padding: 1.1rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  background-color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(184, 142, 118, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
}

.bonus-primary-btn:hover {
  background-color: var(--text-main);
  border-color: var(--text-main);
  box-shadow: 0 12px 30px rgba(30, 27, 25, 0.15);
  transform: translateY(-2px);
}

/* Circular Stamp Badge */
.bonus-badge {
  position: absolute;
  top: -30px;
  left: 20px;
  width: 82px;
  height: 82px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(184, 142, 118, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  z-index: 10;
  transform: rotate(-8deg);
  transition: transform 0.4s ease;
}

.bonus-mockups-container:hover .bonus-badge {
  transform: rotate(10deg) scale(1.08);
}

.badge-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
}

.badge-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
  line-height: 1;
}

.bonus-mockups-container {
  display: block;
  /* Custom absolute alignment */
  width: 100%;
  max-width: 580px;
  perspective: 1500px;
  height: 560px;
  position: relative;
  transform-style: preserve-3d;
  margin: 0 auto;
}

.bonus-phone-wrapper {
  width: 260px;
  position: absolute;
  will-change: transform;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

/* Precision 3D Fan Overlay Placements */
.phone-pos-1 {
  left: 0;
  z-index: 1;
}

.phone-pos-2 {
  left: calc(50% - 130px);
  z-index: 3;
}

.phone-pos-3 {
  right: 0;
  z-index: 2;
}

/* Luxury phone bezel and screen */
.bonus-phone-wrapper .story-phone-mockup {
  width: 100%;
  box-shadow: 0 30px 65px rgba(30, 27, 25, 0.22);
  border: 6px solid #0a0909;
  border-radius: 32px;
  background: #0a0909;
}

.bonus-phone-wrapper .story-phone-screen {
  border-radius: 26px;
}

/* Dynamic Island Notch */
.phone-dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 16px;
  background: #000;
  border-radius: 20px;
  z-index: 15;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.bonus-phone-wrapper .bonus-story-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

/* Float Sway Animation for Phones */
.float-sway-y .story-phone-mockup {
  animation: floatSwayY 6s ease-in-out infinite alternate;
}

.float-sway-x .story-phone-mockup {
  animation: floatSwayX 7s ease-in-out infinite alternate;
}

@keyframes floatSwayY {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-12px);
  }
}

@keyframes floatSwayX {
  0% {
    transform: translateY(0px) translateX(0px);
  }

  100% {
    transform: translateY(-10px) translateX(6px);
  }
}

/* Responsive Overrides for Bonus Section */
@media (max-width: 991px) {
  .bonus-grid-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .bonus-text-col {
    flex: 0 0 100%;
    text-align: center;
  }

  .bonus-mockups-col {
    flex: 0 0 100%;
    justify-content: center;
    width: 100%;
  }

  .bonus-mockups-container {
    height: 480px;
    max-width: 500px;
  }

  .bonus-phone-wrapper {
    width: 210px;
  }

  .phone-pos-1 {
    left: 0;
  }

  .phone-pos-2 {
    left: calc(50% - 105px);
  }

  .phone-pos-3 {
    right: 0;
  }
}

@media (max-width: 768px) {
  .spacetemplate-bonus-section {
    padding: 4rem 0;
    height: auto;
  }

  .bonus-mockups-container {
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    perspective: none;
    max-width: 100%;
  }

  .bonus-phone-wrapper {
    width: 200px;
    position: static;
    transform: none !important;
  }

  .bonus-phone-wrapper .story-phone-mockup {
    animation: none !important;
    border-radius: 24px;
    border-width: 4px;
  }

  .bonus-phone-wrapper .story-phone-screen {
    border-radius: 20px;
  }

  .bonus-phone-wrapper .bonus-story-video {
    border-radius: 20px;
  }

  .phone-dynamic-island {
    top: 9px;
    width: 50px;
    height: 13px;
  }
}

@media (max-width: 480px) {
  .bonus-phone-wrapper {
    width: 45%;
    min-width: 140px;
  }
}

/* --------------------------------------------------------------------------
   "Do I Really Need It?" Section Styles
   -------------------------------------------------------------------------- */
.spacetemplate-need-section {
  background: radial-gradient(circle at 25% 50%, rgba(184, 142, 118, 0.08) 0%, var(--bg-silk) 70%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  border-top: 1px solid rgba(184, 142, 118, 0.1);
  box-sizing: border-box;
}

.need-grid-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 6%;
}

.need-text-col {
  flex: 0 0 46%;
  text-align: left;
}

.need-visual-col {
  flex: 0 0 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.need-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-top: 0.5rem;
}

.need-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.need-body-wrapper {
  margin-top: 2rem;
}

.need-paragraph {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.highlighted-paragraph {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  margin-top: 2.2rem;
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  line-height: 1.5;
}

/* Trust Callout Banner */
.trust-callout-banner {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-linen);
  border: 1px solid rgba(184, 142, 118, 0.18);
  padding: 0.8rem 2.2rem;
  border-radius: 4px;
  margin: 2.2rem 0;
  box-shadow: 0 5px 15px rgba(184, 142, 118, 0.05);
}

.trust-accent-text {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-main);
  text-transform: uppercase;
}

.trust-divider {
  color: var(--accent);
  font-weight: 300;
  font-size: 1.2rem;
}

.trust-sales-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--accent);
  line-height: 1;
}

.need-cta-wrapper {
  margin-top: 1rem;
}

.need-primary-btn {
  display: inline-block;
  padding: 1.1rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  background-color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(184, 142, 118, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
}

.need-primary-btn:hover {
  background-color: var(--text-main);
  border-color: var(--text-main);
  box-shadow: 0 12px 30px rgba(30, 27, 25, 0.15);
  transform: translateY(-2px);
}

/* Image Mockup Frame */
.need-image-frame {
  max-width: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.need-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 55px rgba(30, 27, 25, 0.1));
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .spacetemplate-need-section {
    padding: 5rem 0;
  }

  .need-grid-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .need-text-col {
    flex: 0 0 100%;
    text-align: center;
  }

  .need-visual-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 500px;
  }

  .highlighted-paragraph {
    border-left: none;
    border-top: 2px solid var(--accent);
    padding-left: 0;
    padding-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .trust-callout-banner {
    padding: 0.8rem 1.5rem;
    gap: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   Canva Edit Showcase and Guide Section Styles
   -------------------------------------------------------------------------- */
.spacetemplate-edit-section {
  background: var(--bg-linen);
  padding: 8rem 0;
  border-top: 1px solid rgba(184, 142, 118, 0.1);
  box-sizing: border-box;
}

.edit-video-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1650px;
  margin: 0 auto;
  gap: 6%;
}

.edit-text-col {
  flex: 0 0 38%;
  text-align: left;
}

.edit-video-col {
  flex: 0 0 57%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.edit-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-top: 0.5rem;
}

.edit-section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.edit-paragraph {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-weight: 300;
}

.edit-features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.edit-features-list li {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-bullet {
  color: var(--accent);
  font-weight: 600;
}

.edit-cta-wrapper {
  margin-top: 2rem;
}

.edit-primary-btn {
  display: inline-block;
  padding: 1.1rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  background-color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(184, 142, 118, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
}

.edit-primary-btn:hover {
  background-color: var(--text-main);
  border-color: var(--text-main);
  box-shadow: 0 12px 30px rgba(30, 27, 25, 0.15);
  transform: translateY(-2px);
}

/* Browser Window Mockup */
.browser-window-mockup {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(30, 27, 25, 0.18);
  border: 1px solid rgba(184, 142, 118, 0.15);
  background: #1e1b19;
  display: flex;
  flex-direction: column;
}

.browser-header {
  background: #151312;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(184, 142, 118, 0.1);
  position: relative;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dots .dot.red {
  background: #ff5f56;
}

.browser-dots .dot.yellow {
  background: #ffbd2e;
}

.browser-dots .dot.green {
  background: #27c93f;
}

.browser-address-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 25px;
  border-radius: 4px;
  width: 40%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-content {
  width: 100%;
  background: #000;
  position: relative;
}

.showcase-video {
  width: 100%;
  display: block;
  height: auto;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .spacetemplate-edit-section {
    padding: 5rem 0;
  }

  .edit-video-grid {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .edit-text-col {
    flex: 0 0 100%;
    text-align: center;
  }

  .edit-features-list li {
    justify-content: center;
  }

  .edit-video-col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 650px;
  }
}

/* --------------------------------------------------------------------------
   How It Works Section Styles
   -------------------------------------------------------------------------- */
.spacetemplate-how-section {
  background: radial-gradient(circle at 50% 50%, rgba(184, 142, 118, 0.08) 0%, var(--bg-silk) 75%);
  padding: 8rem 0;
  border-top: 1px solid rgba(184, 142, 118, 0.1);
  box-sizing: border-box;
}

.how-header {
  text-align: center;
  margin-bottom: 5rem;
}

.how-main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-top: 0.5rem;
  text-align: center;
}

.how-main-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.how-steps-grid {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 4%;
}

.how-step-card {
  flex: 0 0 30.6%;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.how-step-card:hover {
  transform: translateY(-8px);
}

.step-visual-wrapper {
  width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f7eeea;
  border: 1px solid rgba(184, 142, 118, 0.12);
  box-shadow: 0 15px 35px rgba(30, 27, 25, 0.04);
  aspect-ratio: 1.25 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(184, 142, 118, 0.3);
}

.step-visual-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.how-step-card:hover .step-visual-wrapper img {
  transform: scale(1.04);
}

.step-content-wrapper {
  margin-top: 2rem;
  text-align: center;
}

.step-card-title {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.step-card-desc {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .how-steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .how-step-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 480px;
  }
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section Styles
   -------------------------------------------------------------------------- */
.spacetemplate-faq-section {
  background: var(--bg-linen);
  padding: 8rem 0;
  border-top: 1px solid rgba(184, 142, 118, 0.1);
  box-sizing: border-box;
}

.faq-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.faq-main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-top: 0.5rem;
  text-align: center;
}

.faq-main-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.faq-sub-title {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin: 1.25rem auto 0 auto;
  font-weight: 300;
}

.faq-accordion-container {
  width: 90%;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(184, 142, 118, 0.15);
  padding: 1.25rem 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:focus {
  outline: none;
}

.faq-question-text {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-main);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.faq-question:hover .faq-question-text {
  color: var(--accent);
}

.faq-icon-toggle {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1.5rem;
}

.faq-icon-toggle::before,
.faq-icon-toggle::after {
  content: '';
  position: absolute;
  background: var(--text-main);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-icon-toggle::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon-toggle::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-question:hover .faq-icon-toggle::before,
.faq-question:hover .faq-icon-toggle::after {
  background: var(--accent);
}

.faq-item.active .faq-icon-toggle::after {
  transform: rotate(90deg) scaleY(0);
}

.faq-item.active .faq-icon-toggle::before {
  transform: rotate(180deg);
  background: var(--accent);
}

.faq-item.active .faq-question-text {
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.faq-answer-inner p {
  font-family: 'Jost', sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin: 0;
}


/* ==========================================================================
   Coming Soon Page Styling
   ========================================================================== */
.spacetemplate-coming-soon-section {
  background-color: var(--bg-silk);
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
  width: 100%;
}

.coming-soon-header {
  margin-bottom: 2rem;
  z-index: 10;
  text-align: center;
}

.coming-soon-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text-main);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

.coming-soon-logo span {
  color: var(--accent);
  font-style: italic;
}

.coming-soon-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 6%;
  z-index: 10;
}

.coming-soon-content {
  flex: 0 0 48%;
  max-width: 600px;
}

.coming-soon-title {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
}

.coming-soon-title em {
  font-style: italic;
  color: var(--accent);
  font-family: 'Cormorant Garamond', serif;
}

.coming-soon-subheadline {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Countdown Grid */
.coming-soon-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 3rem;
  max-width: 480px;
}

.countdown-box {
  background: var(--bg-linen);
  border: 1px solid rgba(184, 142, 118, 0.15);
  border-radius: var(--card-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(30, 27, 25, 0.03);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.countdown-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.countdown-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.25rem;
  display: block;
}

.countdown-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
}

/* Launch Form */
.coming-soon-form-wrapper {
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.coming-soon-form {
  display: flex;
  gap: 12px;
  width: 100%;
}

.coming-soon-input {
  flex: 1;
  font-family: 'Jost', sans-serif;
  background-color: transparent;
  border: 1px solid rgba(184, 142, 118, 0.3);
  border-radius: var(--card-radius);
  padding: 0.9rem 1.2rem;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.coming-soon-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 142, 118, 0.1);
}

.coming-soon-input::placeholder {
  color: rgba(112, 102, 97, 0.6);
}

.coming-soon-form .btn-premium {
  border: none;
  cursor: pointer;
  padding: 0.9rem 1.8rem;
  white-space: nowrap;
}

.coming-soon-success-msg {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  color: #5A7E64;
  margin-top: 0.75rem;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.coming-soon-success-msg.visible {
  display: block;
  opacity: 1;
}

/* Site Mocks Column */
.coming-soon-visual {
  flex: 0 0 46%;
  height: 580px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.coming-soon-visual-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* Floating Staggered 3D Cards */
.mock-device-stack {
  position: relative;
  width: 320px;
  height: 420px;
  transform-style: preserve-3d;
  animation: visualFloat 6s ease-in-out infinite;
}

.mock-card {
  position: absolute;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(30, 27, 25, 0.12);
  border: 1px solid rgba(184, 142, 118, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: var(--bg-linen);
}

.mock-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mock-card-1 {
  width: 260px;
  aspect-ratio: 1/1;
  left: -40px;
  top: 180px;
  transform: translateZ(10px) rotate(-6deg);
  z-index: 1;
}

.mock-card-2 {
  width: 240px;
  aspect-ratio: 1/1;
  right: -50px;
  top: 20px;
  transform: translateZ(25px) rotate(8deg);
  z-index: 2;
}

.mock-card-3 {
  width: 200px;
  aspect-ratio: 9/16;
  left: 60px;
  top: 60px;
  transform: translateZ(40px) rotate(-2deg);
  z-index: 3;
  border: 3px solid #1E1B19;
}

.mock-card-3::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

/* Hover effects for 3D layout */
.coming-soon-visual:hover .mock-card-1 {
  transform: translateZ(25px) rotate(-10deg) translate(-15px, 15px);
}

.coming-soon-visual:hover .mock-card-2 {
  transform: translateZ(40px) rotate(12deg) translate(20px, -15px);
}

.coming-soon-visual:hover .mock-card-3 {
  transform: translateZ(65px) rotate(0deg) scale(1.05);
}

/* Responsive Layout */
@media (max-width: 991px) {
  .coming-soon-container {
    gap: 4%;
  }

  .coming-soon-content {
    flex: 0 0 50%;
  }

  .coming-soon-visual {
    flex: 0 0 46%;
    height: 480px;
  }

  .mock-device-stack {
    width: 260px;
    height: 360px;
  }

  .mock-card-1 {
    width: 200px;
    left: -20px;
    top: 140px;
  }

  .mock-card-2 {
    width: 180px;
    right: -30px;
    top: 10px;
  }

  .mock-card-3 {
    width: 160px;
    left: 50px;
    top: 40px;
  }
}

@media (max-width: 767px) {
  .spacetemplate-coming-soon-section {
    padding: 4rem 1.5rem;
  }

  .coming-soon-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 3.5rem;
  }

  .coming-soon-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .coming-soon-countdown-grid {
    margin: 0 auto 2.5rem auto;
    width: 100%;
    gap: 12px;
  }

  .countdown-box {
    padding: 1.2rem 0.6rem;
  }

  .coming-soon-form-wrapper {
    width: 100%;
  }

  .coming-soon-form {
    flex-direction: column;
    gap: 10px;
  }

  .coming-soon-form .btn-premium {
    width: 100%;
  }

  .coming-soon-visual {
    width: 100%;
    max-width: 100%;
    height: 380px;
  }

  .mock-device-stack {
    width: 200px;
    height: 280px;
  }

  .mock-card-1 {
    width: 150px;
    left: -30px;
    top: 100px;
  }

  .mock-card-2 {
    width: 140px;
    right: -40px;
    top: 10px;
  }

  .mock-card-3 {
    width: 120px;
    left: 40px;
    top: 30px;
  }

  /* Custom Sleek Scrollbar */
  /* For WebKit (Chrome, Safari, Edge, Opera) */
  ::-webkit-scrollbar,
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 12px !important;
    /* Slightly wider for visibility */
    height: 12px !important;
  }

  ::-webkit-scrollbar-track,
  html::-webkit-scrollbar-track,
  body::-webkit-scrollbar-track {
    background: #FDFBF9 !important;
    /* Light Silk background */
  }

  ::-webkit-scrollbar-thumb,
  html::-webkit-scrollbar-thumb,
  body::-webkit-scrollbar-thumb {
    background: #B88E76 !important;
    /* Light brown brand accent */
    border-radius: 6px !important;
    border: 3px solid #FDFBF9 !important;
    /* Border creates visual padding */
  }

  ::-webkit-scrollbar-thumb:hover,
  html::-webkit-scrollbar-thumb:hover,
  body::-webkit-scrollbar-thumb:hover {
    background: #9c735c !important;
    /* Darker warm brown on hover */
  }

  /* For Firefox */
  html {
    scrollbar-width: thin !important;
    scrollbar-color: #B88E76 #FDFBF9 !important;
  }

  /* ==========================================================================
   Minimalist Footer Styling
   ========================================================================== */
  .spacetemplate-footer {
    background-color: var(--bg-silk);
    border-top: 1px solid rgba(184, 142, 118, 0.15);
    padding: 3rem 0;
    width: 100%;
    z-index: 10;
    position: relative;
  }

  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-copyright {
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
  }

  .footer-author {
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    color: rgba(112, 102, 97, 0.6);
    margin: 0;
  }

  .footer-author a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-author a:hover {
    color: #9c735c;
  }

  .footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .payment-icon-wrapper {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease, color 0.3s ease;
  }

  .payment-icon-wrapper:hover {
    opacity: 1;
    color: var(--accent);
  }

  .payment-icon-wrapper svg {
    height: 20px;
    width: auto;
    fill: currentColor;
  }

  @media (max-width: 767px) {
    .footer-container {
      flex-direction: column-reverse;
      text-align: center;
      align-items: center;
      gap: 1.5rem;
    }

    .footer-payment-icons {
      justify-content: center;
    }
  }

}

/* ============================================================
   WOOCOMMERCE — Full Theme Integration
   Palette: --bg-silk #FDFBF9 / --bg-linen #F5EBE6 / --accent #B88E76
   Fonts:    Cormorant Garamond (headings) / Jost (body/UI)
   ============================================================ */

/* ----- Global WooCommerce Page Wrapper ----- */
.woocommerce,
.woocommerce-page {
  background-color: var(--bg-silk);
  font-family: 'Jost', sans-serif;
  color: var(--text-main);
}

/* ----- Breadcrumb ----- */
.woocommerce .woocommerce-breadcrumb {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1.5rem 0 0.5rem;
}
.woocommerce .woocommerce-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}
.woocommerce .woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

/* ----- Section Headings ----- */
.woocommerce h2,
.woocommerce h3,
.woocommerce-page h2,
.woocommerce-page h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

/* Two-column layout wrapper */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  background: var(--bg-silk);
}

/* Checkout form fieldsets */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: var(--bg-silk);
}

/* Fieldset & legend headings */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(184, 142, 118, 0.2);
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
}

/* ----- Form fields ----- */
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea,
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea {
  background: #fff;
  border: 1px solid rgba(184, 142, 118, 0.3);
  border-radius: 0;
  color: var(--text-main);
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 142, 118, 0.12);
}

/* Labels */
.woocommerce form .form-row label,
.woocommerce-checkout form .form-row label {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  display: block;
}

/* Required asterisk */
.woocommerce form .form-row label .required {
  color: var(--accent);
}

/* Select arrow */
.woocommerce form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B88E76' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ----- Login / Register notice ----- */
.woocommerce-checkout .woocommerce-info {
  background: var(--bg-linen);
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-radius: 0;
}

.woocommerce-checkout .woocommerce-info a {
  color: var(--accent);
  font-weight: 500;
}

/* Coupon / login collapsed form */
.woocommerce-form-coupon-toggle,
.woocommerce-form-login-toggle {
  background: var(--bg-linen);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.woocommerce-form-coupon {
  background: var(--bg-silk);
  border: 1px solid rgba(184, 142, 118, 0.2);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* ----- Order Review Table ----- */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
}

.woocommerce-checkout-review-order-table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(184, 142, 118, 0.25);
  padding: 0.6rem 0;
}

.woocommerce-checkout-review-order-table tbody tr td {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(184, 142, 118, 0.1);
  color: var(--text-main);
  vertical-align: middle;
}

.woocommerce-checkout-review-order-table tfoot tr td,
.woocommerce-checkout-review-order-table tfoot tr th {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(184, 142, 118, 0.2);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Order total row */
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-main);
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
}

/* Product name in order review */
.woocommerce-checkout-review-order-table .product-name {
  font-weight: 500;
  color: var(--text-main);
}

/* ----- Payment Methods ----- */
#payment {
  background: var(--bg-linen);
  border: 1px solid rgba(184, 142, 118, 0.2);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid rgba(184, 142, 118, 0.2);
}

#payment ul.payment_methods li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(184, 142, 118, 0.1);
}

#payment ul.payment_methods li:first-child {
  border-top: none;
}

#payment ul.payment_methods li label {
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

#payment ul.payment_methods li input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

#payment .payment_box {
  background: rgba(184, 142, 118, 0.07);
  border-left: 2px solid var(--accent);
  padding: 1rem 1.25rem;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
}

/* Privacy/terms notice above place order */
#payment .woocommerce-terms-and-conditions-wrapper {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

#payment .woocommerce-terms-and-conditions-wrapper a {
  color: var(--accent);
}

/* ----- Place Order Button ----- */
#payment #place_order,
.woocommerce #payment #place_order {
  display: block;
  width: 100%;
  background: var(--text-main);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  padding: 1.1rem 2rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  border-radius: 0;
}

#payment #place_order:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* ----- General WooCommerce Buttons ----- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--text-main);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  text-decoration: none;
  display: inline-block;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--accent);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: #9c735c;
}

/* ----- Notices & Messages ----- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-notice {
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  padding: 1rem 1.25rem 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0;
  list-style: none;
}

.woocommerce-message {
  background: var(--bg-linen);
  border-left: 3px solid var(--accent);
  color: var(--text-main);
}

.woocommerce-error {
  background: #fff0f0;
  border-left: 3px solid #c0392b;
  color: #c0392b;
}

/* ============================================================
   CART PAGE
   ============================================================ */

.woocommerce-cart table.cart,
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
}

.woocommerce table.shop_table th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid rgba(184, 142, 118, 0.3);
  padding: 0.75rem 0.5rem;
  background: transparent;
}

.woocommerce table.shop_table td {
  padding: 1.1rem 0.5rem;
  border-bottom: 1px solid rgba(184, 142, 118, 0.12);
  color: var(--text-main);
  vertical-align: middle;
}

/* Remove button */
.woocommerce table.cart td.product-remove a.remove {
  color: var(--text-muted) !important;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.woocommerce table.cart td.product-remove a.remove:hover {
  color: #c0392b !important;
  background: transparent;
}

/* Product image in cart */
.woocommerce table.cart td.product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid rgba(184, 142, 118, 0.15);
}

/* Qty input */
.woocommerce table.cart td.product-quantity .qty,
.woocommerce .quantity input.qty {
  border: 1px solid rgba(184, 142, 118, 0.35);
  border-radius: 0;
  width: 64px;
  padding: 0.45rem 0.5rem;
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  color: var(--text-main);
}

/* Cart totals box */
.woocommerce .cart-collaterals .cart_totals {
  background: var(--bg-linen);
  border: 1px solid rgba(184, 142, 118, 0.2);
  padding: 2rem;
}

.woocommerce .cart_totals h2 {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.woocommerce .cart_totals table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
}

.woocommerce .cart_totals table th {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.6rem 0;
  text-align: left;
  border-bottom: 1px solid rgba(184, 142, 118, 0.1);
  width: 40%;
}

.woocommerce .cart_totals table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(184, 142, 118, 0.1);
  color: var(--text-main);
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-main);
  border-top: 2px solid var(--accent);
  border-bottom: none;
  padding-top: 1rem;
}

/* Coupon field in cart */
.woocommerce .coupon {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.woocommerce .coupon .input-text {
  border: 1px solid rgba(184, 142, 118, 0.35);
  padding: 0.65rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  border-radius: 0;
  flex: 1;
  min-width: 160px;
}

/* ============================================================
   SHOP / PRODUCT ARCHIVE
   ============================================================ */

.woocommerce ul.products {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products li.product {
  text-align: center;
  border: 1px solid rgba(184, 142, 118, 0.12);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  background: #fff;
  padding: 0;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 32px rgba(30, 27, 25, 0.08);
  transform: translateY(-3px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 1rem 1rem 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.woocommerce ul.products li.product .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
}

.woocommerce ul.products li.product .price del {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Product image wrapper */
.woocommerce ul.products li.product a img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* Add to cart button in shop loop */
.woocommerce ul.products li.product .button {
  margin: 0.75rem auto 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

/* Sale badge */
.woocommerce span.onsale {
  background: var(--accent);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.3em 0.7em;
  min-width: auto;
  min-height: auto;
  line-height: 1.5;
  top: 0.75rem;
  left: 0.75rem;
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */

.single-product .product_title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.single-product .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--accent);
  font-weight: 500;
}

.single-product .woocommerce-product-details__short-description {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 1.25rem 0 1.75rem;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid rgba(184, 142, 118, 0.2);
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
  display: flex;
  gap: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: none;
  border-radius: 0;
  background: transparent;
  margin: 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.85rem 1.5rem;
  display: block;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

.woocommerce div.product .woocommerce-tabs .panel {
  border: none;
  padding: 2rem 0;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================================
   ORDER CONFIRMATION (Thank You page)
   ============================================================ */

.woocommerce-order-received .woocommerce-order {
  font-family: 'Jost', sans-serif;
}

.woocommerce-order-received h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.woocommerce-order-received .woocommerce-notice--success {
  background: var(--bg-linen);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.woocommerce-order-received .woocommerce-order-overview {
  background: var(--bg-linen);
  border: 1px solid rgba(184, 142, 118, 0.2);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 2rem;
}

.woocommerce-order-received .woocommerce-order-overview li {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0;
  text-transform: none;
}

/* ============================================================
   SPACETEMPLATE WOOCOMMERCE MY ACCOUNT LUXURY SYSTEM
   Author: MAB (https://www.linkedin.com/in/bouazizi-med-achref/)
   ============================================================ */

.spacetemplate-account-page-wrapper {
  background: linear-gradient(180deg, #FDFBF9 0%, #F5EBE6 100%);
  min-height: 75vh;
  padding: 4.5rem 1.5rem 6rem 1.5rem;
  box-sizing: border-box;
}

.account-page-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.account-pretitle {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  display: block;
  margin-bottom: 0.75rem;
}

.account-main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main, #1E1B19);
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.015em;
}

.account-lead-desc {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted, #706661);
  margin: 0;
}

.account-card-container {
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.25);
  box-shadow: 0 20px 50px rgba(30, 27, 25, 0.05);
  padding: 3.5rem;
  box-sizing: border-box;
}

/* Headings inside account card */
.account-card-container h2,
.woocommerce form.login h2,
.woocommerce form.register h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  color: var(--text-main, #1E1B19) !important;
  text-align: center !important;
  margin: 0 0 1.5rem 0 !important;
  letter-spacing: -0.01em !important;
}

/* Login & Register Forms */
.woocommerce form.login,
.woocommerce form.register {
  max-width: 440px;
  margin: 0 auto;
  border: none !important;
  padding: 0 !important;
}

.woocommerce .form-row {
  margin-bottom: 1.25rem !important;
  padding: 0 !important;
}

.woocommerce .form-row label {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--text-muted, #706661) !important;
  margin-bottom: 0.45rem !important;
  display: block !important;
}

.woocommerce .form-row .required {
  color: var(--accent, #B88E76) !important;
  text-decoration: none !important;
}

/* Text Inputs */
.woocommerce-Input,
.woocommerce input[type="text"],
.woocommerce input[type="password"],
.woocommerce input[type="email"] {
  width: 100% !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(184, 142, 118, 0.35) !important;
  border-radius: 0 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.95rem !important;
  color: var(--text-main, #1E1B19) !important;
  padding: 0.85rem 1.1rem !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce-Input:focus,
.woocommerce input[type="text"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce input[type="email"]:focus {
  border-color: var(--accent, #B88E76) !important;
  box-shadow: 0 0 0 3px rgba(184, 142, 118, 0.15) !important;
}

/* Remember me */
.woocommerce-form-login__rememberme {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.85rem !important;
  color: var(--text-muted, #706661) !important;
  cursor: pointer;
  margin: 0.5rem 0 1.25rem 0 !important;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
  accent-color: var(--accent, #B88E76);
  width: 16px;
  height: 16px;
  margin: 0 !important;
}

/* Submit Buttons */
.woocommerce-form-login__submit,
.woocommerce-button,
.woocommerce .button:not(.woocommerce-orders-table__cell-order-actions .button):not(.woocommerce-table--order-downloads .button) {
  background: var(--text-main, #1E1B19) !important;
  color: #FFFFFF !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1.05rem 2rem !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: block !important;
  text-align: center !important;
  margin-top: 0.75rem !important;
}

.woocommerce-form-login__submit:hover,
.woocommerce-button:hover,
.woocommerce .button:not(.woocommerce-orders-table__cell-order-actions .button):not(.woocommerce-table--order-downloads .button):hover {
  background: var(--accent, #B88E76) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* Lost Password Link */
.woocommerce-LostPassword {
  text-align: center !important;
  margin-top: 1.5rem !important;
}

.woocommerce-LostPassword a {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.82rem !important;
  color: var(--accent, #B88E76) !important;
  text-decoration: underline !important;
  letter-spacing: 0.04em !important;
  transition: color 0.2s ease !important;
}

.woocommerce-LostPassword a:hover {
  color: var(--text-main, #1E1B19) !important;
}

/* Logged-in Dashboard Layout */
.woocommerce-account .woocommerce {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2.5rem !important;
  align-items: flex-start !important;
}

.woocommerce-account .woocommerce-notices-wrapper {
  width: 100% !important;
  flex: 0 0 100% !important;
  order: 1 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  flex: 0 0 240px !important;
  max-width: 240px !important;
  width: 240px !important;
  float: none !important;
  border: none !important;
  order: 2 !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  float: none !important;
  order: 3 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(184, 142, 118, 0.22);
  background: #FDFBF9;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.95rem 1.25rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #706661);
  border-bottom: 1px solid rgba(184, 142, 118, 0.12);
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child a {
  border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #FFFFFF;
  color: var(--accent, #B88E76);
  border-left: 3px solid var(--accent, #B88E76);
  padding-left: calc(1.25rem - 3px);
}

.woocommerce-account .woocommerce-MyAccount-content {
  font-family: 'Jost', sans-serif;
  color: var(--text-main, #1E1B19);
  font-size: 0.98rem;
  line-height: 1.75;
}

.woocommerce-MyAccount-content p {
  margin-bottom: 1.25rem;
}

.woocommerce-MyAccount-content a {
  color: var(--accent, #B88E76);
  font-weight: 500;
  text-decoration: underline;
}

.woocommerce-MyAccount-content a:hover {
  color: var(--text-main, #1E1B19);
}

/* Orders and Downloads Tables */
table.woocommerce-orders-table,
table.woocommerce-table--order-downloads {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-family: 'Jost', sans-serif;
}

table.woocommerce-orders-table th,
table.woocommerce-table--order-downloads th {
  background: var(--bg-linen, #F5EBE6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(184, 142, 118, 0.2);
  text-align: left;
}

table.woocommerce-orders-table td,
table.woocommerce-table--order-downloads td {
  padding: 1rem;
  border-bottom: 1px solid rgba(184, 142, 118, 0.12);
  font-size: 0.9rem;
  color: var(--text-main, #1E1B19);
}

.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-table--order-downloads .button {
  background: var(--text-main, #1E1B19) !important;
  color: #FFFFFF !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.5rem 1rem !important;
  text-decoration: none !important;
  width: auto !important;
  display: inline-block !important;
  border-radius: 0 !important;
  transition: background 0.2s ease !important;
}

.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-table--order-downloads .button:hover {
  background: var(--accent, #B88E76) !important;
}

/* Notices & Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem !important;
  padding: 1.1rem 1.4rem !important;
  margin-bottom: 2rem !important;
  border-left: 4px solid var(--accent, #B88E76) !important;
  background: var(--bg-linen, #F5EBE6) !important;
  color: var(--text-main, #1E1B19) !important;
  list-style: none !important;
}

.woocommerce-error {
  background: #FFF0F0 !important;
  border-left-color: #D32F2F !important;
  color: #7F1D1D !important;
}

@media (max-width: 767px) {
  .spacetemplate-account-page-wrapper {
    padding: 2.5rem 1rem 4rem 1rem;
  }

  .account-card-container {
    padding: 2rem 1.25rem;
  }

  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ============================================================
   CHECKOUT RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
  .woocommerce-checkout .col2-set {
    display: block;
  }

  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
  }

  .woocommerce-checkout-review-order-table tfoot .order-total th,
  .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 1.2rem;
  }

  #payment #place_order {
    font-size: 0.78rem;
    padding: 1rem;
  }

  .woocommerce .cart-collaterals .cart_totals {
    width: 100%;
  }

  .woocommerce .coupon {
    flex-direction: column;
  }

  .woocommerce .coupon .input-text {
    width: 100%;
  }
}

/* ============================================================
   WOOCOMMERCE BLOCK CHECKOUT — Full Theme Integration
   Targets the new Gutenberg block-based checkout
   (.wc-block-* / .wp-block-woocommerce-*)
   ============================================================ */

/* ----- Page background & font base ----- */
.wp-block-woocommerce-checkout,
.wc-block-checkout,
.wc-block-cart {
  background-color: var(--bg-silk);
  font-family: 'Jost', sans-serif;
  color: var(--text-main);
}

/* ----- Constrain checkout width to prevent full-bleed layout ----- */
.wp-block-woocommerce-checkout .wc-block-checkout,
.wc-block-checkout {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2.5rem 2rem !important;
}

/* Also constrain the cart block */
.wp-block-woocommerce-cart .wc-block-cart,
.wc-block-cart {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2.5rem 2rem !important;
}

/* ----- Layout columns ----- */
.wc-block-checkout__main {
  background: var(--bg-silk);
}

.wc-block-checkout__sidebar {
  background: var(--bg-linen);
  border: 1px solid rgba(184, 142, 118, 0.2);
  padding: 2rem !important;
  border-radius: 0 !important;
}

/* ----- Step headings (Contact, Billing, Payment) ----- */
.wc-block-components-form-step__heading,
.wc-block-components-form-step__heading-content {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
}

.wc-block-components-form-step {
  border-bottom: 1px solid rgba(184, 142, 118, 0.15);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

/* ----- Text inputs ----- */
.wc-block-components-text-input input,
.wc-block-components-text-input .wc-block-components-text-input__input,
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"],
.wc-block-checkout input[type="password"],
.wc-block-checkout textarea {
  background: #fff !important;
  border: 1px solid rgba(184, 142, 118, 0.35) !important;
  border-radius: 0 !important;
  color: var(--text-main) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.92rem !important;
  padding: 0.85rem 1rem !important;
  height: auto !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  outline: none !important;
  box-shadow: none !important;
}

.wc-block-components-text-input input:focus,
.wc-block-checkout input[type="text"]:focus,
.wc-block-checkout input[type="email"]:focus,
.wc-block-checkout input[type="tel"]:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(184, 142, 118, 0.12) !important;
}

/* Floating labels */
.wc-block-components-text-input label,
.wc-block-components-text-input .wc-block-components-label {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
}

/* Active/filled label state */
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input:focus-within label {
  color: var(--accent) !important;
}

/* ----- Select dropdowns ----- */
.wc-block-components-select select,
.wc-block-checkout select {
  background: #fff !important;
  border: 1px solid rgba(184, 142, 118, 0.35) !important;
  border-radius: 0 !important;
  color: var(--text-main) !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.92rem !important;
  padding: 0.85rem 2.5rem 0.85rem 1rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B88E76' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  cursor: pointer !important;
}

.wc-block-components-select select:focus,
.wc-block-checkout select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(184, 142, 118, 0.12) !important;
  outline: none !important;
}

/* ----- Combobox (country/state) ----- */
.wc-block-components-combobox .wc-block-components-combobox-control input {
  background: #fff !important;
  border: 1px solid rgba(184, 142, 118, 0.35) !important;
  border-radius: 0 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.92rem !important;
  color: var(--text-main) !important;
  padding: 0.85rem 1rem !important;
}

.wc-block-components-combobox .wc-block-components-combobox-control input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(184, 142, 118, 0.12) !important;
  outline: none !important;
}

/* ----- Checkbox ----- */
.wc-block-checkout input[type="checkbox"],
.wc-block-components-checkbox input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input {
  border: 1px solid rgba(184, 142, 118, 0.4) !important;
  border-radius: 0 !important;
}

/* ----- Radio controls (payment methods) ----- */
.wc-block-components-radio-control .wc-block-components-radio-control__input {
  accent-color: var(--accent);
}

.wc-block-components-radio-control-accordion-option {
  border: 1px solid rgba(184, 142, 118, 0.2) !important;
  border-radius: 0 !important;
  margin-bottom: 0.5rem !important;
}

.wc-block-components-radio-control-accordion-option.is-selected,
.wc-block-components-radio-control-accordion-option:has(input:checked) {
  border-color: var(--accent) !important;
  background: rgba(184, 142, 118, 0.04) !important;
}

/* ----- Payment section ----- */
.wc-block-components-checkout-step--payment-method {
  background: var(--bg-linen);
  border: 1px solid rgba(184, 142, 118, 0.2);
  padding: 1.5rem !important;
  margin-top: 0 !important;
}

/* ----- Place Order button ----- */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__place-order .wc-block-components-button {
  background: var(--text-main) !important;
  color: #fff !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1.1rem 2rem !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.25s ease, transform 0.15s ease !important;
  height: auto !important;
  line-height: 1.5 !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__place-order .wc-block-components-button:hover {
  background: var(--accent) !important;
  transform: translateY(-1px) !important;
}

/* ----- Generic wc-block buttons ----- */
.wc-block-components-button {
  border-radius: 0 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* ----- Notices / Errors ----- */
.wc-block-components-notice-banner,
.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.is-warning,
.wc-block-components-notice-banner.is-info {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.88rem !important;
  border-radius: 0 !important;
  padding: 1rem 1.25rem !important;
}

.wc-block-components-notice-banner.is-error {
  background: #fff0f0 !important;
  border-left: 3px solid #c0392b !important;
  color: #c0392b !important;
}

.wc-block-components-notice-banner.is-info {
  background: var(--bg-linen) !important;
  border-left: 3px solid var(--accent) !important;
  color: var(--text-muted) !important;
}

/* ----- Order Summary sidebar ----- */
.wc-block-order-summary {
  font-family: 'Jost', sans-serif;
}

.wc-block-order-summary__title,
.wc-block-components-order-summary .wc-block-order-summary__title {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  border-bottom: 1px solid rgba(184, 142, 118, 0.2);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.wc-block-order-summary-cart-items .wc-block-order-summary-cart-item {
  border-bottom: 1px solid rgba(184, 142, 118, 0.12) !important;
  padding: 0.85rem 0 !important;
}

.wc-block-order-summary-cart-item__title {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--text-main) !important;
}

.wc-block-order-summary-cart-item__description {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
}

/* ----- Totals rows ----- */
.wc-block-components-totals-wrapper {
  border-top: 1px solid rgba(184, 142, 118, 0.2);
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.wc-block-components-totals-item {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
  padding: 0.5rem 0 !important;
  border-bottom: 1px solid rgba(184, 142, 118, 0.08) !important;
}

.wc-block-components-totals-item__label {
  color: var(--text-muted) !important;
  font-weight: 400 !important;
}

.wc-block-components-totals-item__value {
  color: var(--text-main) !important;
  font-weight: 500 !important;
}

/* Grand total row */
.wc-block-components-totals-grand-total {
  border-top: 2px solid var(--accent) !important;
  padding-top: 1rem !important;
  margin-top: 0.5rem !important;
}

.wc-block-components-totals-grand-total .wc-block-components-totals-item__label {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  color: var(--text-main) !important;
  letter-spacing: -0.01em !important;
}

.wc-block-components-totals-grand-total .wc-block-components-totals-item__value {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  color: var(--text-main) !important;
}

/* ----- Coupon field ----- */
.wc-block-components-totals-coupon {
  border: 1px solid rgba(184, 142, 118, 0.2) !important;
  padding: 1rem 1.25rem !important;
  border-radius: 0 !important;
  margin-bottom: 0.75rem !important;
}

.wc-block-components-totals-coupon__form input {
  border: 1px solid rgba(184, 142, 118, 0.35) !important;
  border-radius: 0 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.88rem !important;
  padding: 0.65rem 1rem !important;
}

.wc-block-components-totals-coupon__button {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0.65rem 1.25rem !important;
}

/* ----- Terms & privacy text ----- */
.wc-block-checkout__terms {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
}

.wc-block-checkout__terms a {
  color: var(--accent) !important;
}

/* ----- "Order Summary" toggle on mobile ----- */
.wc-block-checkout__sidebar-toggle {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--text-main) !important;
  background: var(--bg-linen) !important;
  border-bottom: 1px solid rgba(184, 142, 118, 0.2) !important;
}

/* ----- Spinner/loader accent ----- */
.wc-block-components-spinner {
  color: var(--accent) !important;
}

/* ----- Block Cart (cart page) ----- */
.wc-block-cart .wc-block-cart-items {
  font-family: 'Jost', sans-serif;
}

.wc-block-cart-items__header,
.wc-block-cart-items__header th {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  border-bottom: 2px solid rgba(184, 142, 118, 0.3) !important;
  background: transparent !important;
}

.wc-block-cart-item {
  border-bottom: 1px solid rgba(184, 142, 118, 0.12) !important;
  padding: 1rem 0 !important;
}

.wc-block-cart-item__description {
  font-family: 'Jost', sans-serif !important;
}

.wc-block-cart-item__title {
  font-family: 'Jost', sans-serif !important;
  font-weight: 500 !important;
  color: var(--text-main) !important;
  font-size: 0.92rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.wc-block-cart-item__price {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.15rem !important;
  color: var(--accent) !important;
  font-weight: 500 !important;
}

/* ----- Responsive block checkout ----- */
@media (max-width: 768px) {
  .wp-block-woocommerce-checkout .wc-block-checkout,
  .wc-block-checkout,
  .wp-block-woocommerce-cart .wc-block-cart,
  .wc-block-cart {
    padding: 1.25rem 0.85rem !important;
    max-width: 100% !important;
  }

  .wc-block-checkout__main {
    padding: 0.75rem 0.25rem !important;
    background: transparent !important;
  }

  .wc-block-checkout__sidebar {
    padding: 1.25rem 1rem !important;
    margin-bottom: 1.25rem !important;
    border-radius: 4px !important;
  }

  .wc-block-components-checkout-place-order-button {
    font-size: 0.78rem !important;
    padding: 1rem !important;
  }

  .wc-block-components-totals-grand-total .wc-block-components-totals-item__label,
  .wc-block-components-totals-grand-total .wc-block-components-totals-item__value {
    font-size: 1.1rem !important;
  }

  .wc-site-header {
    padding: 0.85rem 0 !important;
  }

  .wc-header-inner,
  .wc-site-header > div {
    padding: 0 1rem !important;
  }
}

@media (max-width: 480px) {
  .wp-block-woocommerce-checkout .wc-block-checkout,
  .wc-block-checkout,
  .wp-block-woocommerce-cart .wc-block-cart,
  .wc-block-cart {
    padding: 0.75rem 0.35rem !important;
  }

  .wc-block-checkout__main {
    padding: 0.5rem 0 !important;
  }

  .wc-block-checkout__sidebar {
    padding: 1rem 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  .wc-block-components-form-step {
    padding-bottom: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }

  .wc-header-inner,
  .wc-site-header > div {
    padding: 0 0.85rem !important;
  }
}

/* ==========================================================================
   SPACETEMPLATE SINGLE POST EDITORIAL SYSTEM
   Warm Minimalist Luxury Editorial Post Layout, In-Content CTAs & Demo Grids
   Author: MAB (https://www.linkedin.com/in/bouazizi-med-achref/)
   ========================================================================== */

/* 1. Reading Progress Bar */
.spacetemplate-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, #B88E76) 0%, #D4AF37 100%);
  width: 0%;
  z-index: 99999;
  transition: width 0.1s ease-out;
}

/* 2. Post Site Header */
.post-site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(253, 251, 249, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 142, 118, 0.16);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.post-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.post-header-logo-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.post-header-logo-link:hover {
  opacity: 0.85;
}

.post-header-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.post-header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.post-nav-back {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #706661);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.post-nav-back:hover {
  color: var(--accent, #B88E76);
}

.btn-post-header-cta {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: var(--accent, #B88E76);
  border: 1px solid var(--accent, #B88E76);
  padding: 0.55rem 1.25rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(184, 142, 118, 0.2);
}

.btn-post-header-cta:hover {
  background-color: var(--text-main, #1E1B19);
  border-color: var(--text-main, #1E1B19);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* 3. Post Hero Header */
.post-hero-banner {
  background: linear-gradient(180deg, #FDFBF9 0%, #F5EBE6 100%);
  border-bottom: 1px solid rgba(184, 142, 118, 0.18);
  padding: 4.5rem 1.5rem 3.5rem 1.5rem;
  text-align: center;
}

.post-hero-container {
  max-width: 880px;
  margin: 0 auto;
}

.post-category-tag {
  margin-bottom: 1.25rem;
}

.category-pill {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.35);
  padding: 0.35rem 0.95rem;
  display: inline-block;
}

.post-editorial-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--text-main, #1E1B19);
  margin: 0 0 1.5rem 0;
}

.post-editorial-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent, #B88E76);
}

.post-lead-excerpt {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted, #706661);
  margin: 0 auto 2rem auto;
  max-width: 740px;
  font-weight: 400;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted, #706661);
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 142, 118, 0.15);
}

.meta-author-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar-badge {
  width: 28px;
  height: 28px;
  background: var(--accent, #B88E76);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.meta-by {
  opacity: 0.7;
  margin-right: 3px;
}

.author-name {
  color: var(--text-main, #1E1B19);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.author-name:hover {
  color: var(--accent, #B88E76);
}

.meta-divider {
  color: rgba(184, 142, 118, 0.4);
}

.meta-date,
.meta-reading-time {
  letter-spacing: 0.04em;
}

.post-featured-media {
  margin-top: 3rem;
  box-shadow: 0 25px 50px rgba(30, 27, 25, 0.08);
  border: 1px solid rgba(184, 142, 118, 0.2);
}

.post-featured-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 4. Two-Column Editorial Grid */
.spacetemplate-article-container {
  background-color: var(--bg-silk, #FDFBF9);
}

.post-grid-layout {
  max-width: 1320px;
  margin: 3.5rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 4rem;
  align-items: stretch;
  position: relative;
}

/* Left Content Column */
.post-main-column {
  min-width: 0;
}

/* Right Sticky Sidebar Column */
.post-sidebar-column {
  position: relative;
  height: 100%;
}

.post-content-entry {
  font-family: 'Jost', sans-serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-main, #1E1B19);
}

.post-content-entry p {
  margin: 0 0 1.6rem 0;
}

.post-content-entry > p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.8rem;
  float: left;
  line-height: 0.85;
  padding-right: 0.75rem;
  padding-top: 0.2rem;
  color: var(--accent, #B88E76);
  font-weight: 400;
}

.post-content-entry h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-main, #1E1B19);
  letter-spacing: -0.01em;
  margin-top: 3.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(184, 142, 118, 0.22);
}

.post-content-entry h2 em {
  font-style: italic;
  color: var(--accent, #B88E76);
}

.post-content-entry h3 {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent, #B88E76);
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
}

.post-content-entry h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main, #1E1B19);
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.post-content-entry blockquote {
  background: var(--bg-linen, #F5EBE6);
  border-left: 3px solid var(--accent, #B88E76);
  padding: 1.6rem 2.2rem;
  margin: 2.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--text-main, #1E1B19);
  position: relative;
}

.post-content-entry blockquote::before {
  content: '“';
  font-size: 3.5rem;
  color: rgba(184, 142, 118, 0.3);
  position: absolute;
  top: 0.2rem;
  left: 0.8rem;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
}

.post-content-entry ul,
.post-content-entry ol {
  margin: 1rem 0 2rem 0;
  padding-left: 1.5rem;
}

.post-content-entry li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.post-content-entry strong {
  font-weight: 600;
  color: var(--text-main, #1E1B19);
}

/* Editorial Callout & Tip Cards */
.editorial-callout-box {
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.3);
  border-left: 4px solid var(--accent, #B88E76);
  padding: 1.8rem 2.2rem;
  margin: 2.8rem 0;
  box-shadow: 0 10px 30px rgba(184, 142, 118, 0.06);
}

.callout-badge {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  display: block;
  margin-bottom: 0.6rem;
}

.editorial-callout-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin: 0 0 0.75rem 0;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-main, #1E1B19);
}

.editorial-callout-box p {
  margin-bottom: 0;
  color: var(--text-muted, #706661);
  font-size: 1rem;
}

/* In-Content Tailored CTA Card */
.article-inline-cta {
  background: linear-gradient(135deg, #FDFBF9 0%, #F5EBE6 100%);
  border: 1px solid rgba(184, 142, 118, 0.35);
  padding: 2.5rem;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.inline-cta-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  margin-bottom: 0.75rem;
  display: block;
}

.inline-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--text-main, #1E1B19);
}

.inline-cta-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent, #B88E76);
}

.inline-cta-desc {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: var(--text-muted, #706661);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.inline-cta-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.btn-inline-cta {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: var(--text-main, #1E1B19);
  padding: 0.95rem 2rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  border: 1px solid var(--text-main, #1E1B19);
}

.btn-inline-cta:hover {
  background-color: var(--accent, #B88E76);
  border-color: var(--accent, #B88E76);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(184, 142, 118, 0.25);
}

.inline-cta-microcopy {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted, #706661);
  margin: 0;
}

/* Template Demo Grid Showcase */
.article-demo-gallery {
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.25);
  padding: 2.5rem;
  margin: 3.5rem 0;
}

.demo-gallery-header {
  text-align: center;
  margin-bottom: 2rem;
}

.demo-gallery-badge {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  display: block;
  margin-bottom: 0.5rem;
}

.demo-gallery-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 400;
  margin: 0 0 0.75rem 0;
  color: var(--text-main, #1E1B19);
}

.demo-gallery-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted, #706661);
  max-width: 600px;
  margin: 0 auto;
}

.demo-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.demo-template-card {
  position: relative;
  background: var(--bg-silk, #FDFBF9);
  border: 1px solid rgba(184, 142, 118, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 8px 20px rgba(30, 27, 25, 0.04);
}

.demo-template-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent, #B88E76);
  box-shadow: 0 16px 32px rgba(184, 142, 118, 0.15);
}

.demo-template-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.demo-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 27, 25, 0.85);
  color: #FFFFFF;
  padding: 0.4rem;
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.demo-template-card:hover .demo-card-overlay {
  opacity: 1;
}

.demo-gallery-cta {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 142, 118, 0.15);
}

.demo-gallery-cta .btn-inline-cta {
  font-size: 0.85rem;
  padding: 0.95rem 2.5rem;
}

/* Author Signature Card */
.post-author-signature-card {
  background: var(--bg-linen, #F5EBE6);
  border: 1px solid rgba(184, 142, 118, 0.25);
  padding: 2.2rem;
  margin: 4rem 0 2.5rem 0;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.author-card-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: var(--accent, #B88E76);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 18px rgba(184, 142, 118, 0.28);
}

.author-role-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  display: block;
  margin-bottom: 0.35rem;
}

.author-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.author-card-name a {
  color: var(--text-main, #1E1B19);
  text-decoration: none;
}

.author-card-bio {
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  color: var(--text-muted, #706661);
  line-height: 1.6;
  margin: 0 0 0.85rem 0;
}

.author-linkedin-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.author-linkedin-link:hover {
  text-decoration: underline;
}

/* Post Pagination Navigation */
.post-prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0 4rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 142, 118, 0.2);
}

.nav-prev-link a,
.nav-next-link a {
  display: block;
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.2);
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-next-link a {
  text-align: right;
}

.nav-prev-link a:hover,
.nav-next-link a:hover {
  border-color: var(--accent, #B88E76);
  background: var(--bg-linen, #F5EBE6);
  transform: translateY(-2px);
}

.nav-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent, #B88E76);
  display: block;
  margin-bottom: 0.4rem;
}

.nav-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-main, #1E1B19);
  line-height: 1.35;
  display: block;
}

/* 5. Sticky Conversion Sidebar */
.post-sidebar-column {
  position: relative;
  height: 100%;
}

.sticky-sidebar-cta-card {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.25);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 20px 45px rgba(30, 27, 25, 0.06);
  text-align: center;
  z-index: 100;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.sidebar-badge {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  background: var(--bg-linen, #F5EBE6);
  border: 1px solid rgba(184, 142, 118, 0.3);
  padding: 0.3rem 0.85rem;
  display: inline-block;
  margin-bottom: 1.1rem;
}

.sidebar-mockup-wrapper {
  margin: 0 auto 1.25rem auto;
  max-width: 200px;
}

.sidebar-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(30, 27, 25, 0.12));
}

.sidebar-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.65rem 0;
  color: var(--text-main, #1E1B19);
}

.sidebar-card-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted, #706661);
  line-height: 1.55;
  margin: 0 0 1.5rem 0;
}

.sidebar-pricing-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 0;
  background: var(--bg-silk, #FDFBF9);
  border-top: 1px dashed rgba(184, 142, 118, 0.25);
  border-bottom: 1px dashed rgba(184, 142, 118, 0.25);
}

.sidebar-original-price {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  color: var(--text-muted, #706661);
  text-decoration: line-through;
  opacity: 0.7;
}

.sidebar-sale-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-main, #1E1B19);
  line-height: 1;
}

.sidebar-discount-pill {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  background: var(--accent, #B88E76);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.sidebar-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem 0;
  text-align: left;
}

.sidebar-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.86rem;
  color: var(--text-main, #1E1B19);
  margin-bottom: 0.7rem;
  line-height: 1.45;
}

.sidebar-checklist .check-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: var(--accent, #B88E76);
  margin-top: 2px;
}

.btn-sidebar-checkout {
  font-family: 'Jost', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: var(--accent, #B88E76);
  border: 1px solid var(--accent, #B88E76);
  padding: 1rem 1.5rem;
  display: block;
  width: 100%;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(184, 142, 118, 0.3);
}

.btn-sidebar-checkout:hover {
  background-color: var(--text-main, #1E1B19);
  border-color: var(--text-main, #1E1B19);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.sidebar-guarantees {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  color: var(--text-muted, #706661);
}

/* 6. Grand Full-Width Bottom Conversion Banner */
.post-grand-bottom-cta {
  background: var(--bg-linen, #F5EBE6);
  border-top: 1px solid rgba(184, 142, 118, 0.2);
  border-bottom: 1px solid rgba(184, 142, 118, 0.2);
  padding: 5.5rem 2rem;
  text-align: center;
  position: relative;
}

.bottom-cta-inner {
  max-width: 820px;
  margin: 0 auto;
}

.bottom-cta-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
  display: block;
  margin-bottom: 1rem;
}

.bottom-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.16;
  color: var(--text-main, #1E1B19);
  margin: 0 0 1.5rem 0;
}

.bottom-cta-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent, #B88E76);
}

.bottom-cta-description {
  font-family: 'Jost', sans-serif;
  font-size: 1.12rem;
  color: var(--text-muted, #706661);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.2rem auto;
}

.bottom-cta-button-wrap {
  margin-bottom: 1.25rem;
}

.btn-grand-cta {
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: var(--text-main, #1E1B19);
  border: 1px solid var(--text-main, #1E1B19);
  padding: 1.15rem 2.8rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(30, 27, 25, 0.15);
}

.btn-grand-cta:hover {
  background-color: var(--accent, #B88E76);
  border-color: var(--accent, #B88E76);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(184, 142, 118, 0.3);
}

.bottom-cta-microcopy {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted, #706661);
  margin: 0;
}

/* 7. Mobile Sticky Bottom Bar (< 768px) */
.post-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(253, 251, 249, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(184, 142, 118, 0.25);
  padding: 0.85rem 1.25rem;
  z-index: 9999;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -8px 25px rgba(30, 27, 25, 0.08);
}

.mobile-bar-info {
  display: flex;
  flex-direction: column;
}

.mobile-bar-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main, #1E1B19);
}

.mobile-bar-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--accent, #B88E76);
}

.mobile-bar-price del {
  color: var(--text-muted, #706661);
  font-size: 0.85rem;
  margin-right: 4px;
}

.btn-mobile-bar-cta {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: var(--accent, #B88E76);
  padding: 0.65rem 1.2rem;
  text-decoration: none;
  border-radius: 0;
}

/* 8. Quotes Editorial Grid & Interactive Quote Cards */
.quotes-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
  margin: 1.8rem 0 2.5rem 0;
}

.quote-item-card {
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.22);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(30, 27, 25, 0.02);
}

.quote-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent, #B88E76);
  box-shadow: 0 12px 28px rgba(184, 142, 118, 0.12);
}

.quote-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.quote-card-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #B88E76);
}

.quote-copy-btn {
  background: none;
  border: 1px solid rgba(184, 142, 118, 0.3);
  color: var(--text-muted, #706661);
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quote-copy-btn:hover {
  background: var(--text-main, #1E1B19);
  color: #FFFFFF;
  border-color: var(--text-main, #1E1B19);
}

.quote-copy-btn.copied {
  background: #2E7D32;
  color: #FFFFFF;
  border-color: #2E7D32;
}

.quote-card-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-main, #1E1B19);
  margin: 0;
}

/* 9. Tactic Step Cards & Supply Checklists */
.article-tactic-box {
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.25);
  padding: 2.2rem;
  margin: 2.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.article-tactic-box:hover {
  border-color: var(--accent, #B88E76);
  box-shadow: 0 10px 30px rgba(184, 142, 118, 0.08);
}

.tactic-numeral {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent, #B88E76);
  display: block;
  margin-bottom: 0.5rem;
}

.tactic-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--text-main, #1E1B19);
  margin: 0 0 1rem 0;
  line-height: 1.25;
}

.tactic-content p:last-child {
  margin-bottom: 0;
}

.supply-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.8rem 0;
}

.supply-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-linen, #F5EBE6);
  border: 1px solid rgba(184, 142, 118, 0.2);
  padding: 1rem 1.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  color: var(--text-main, #1E1B19);
  line-height: 1.45;
}

.supply-check-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--accent, #B88E76);
  margin-top: 2px;
}

/* 10. Responsive Breakpoints */
@media (max-width: 1024px) {
  .post-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sticky-sidebar-cta-card {
    position: static;
    max-width: 520px;
    margin: 0 auto;
  }

  .demo-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .post-header-inner {
    padding: 0 1.25rem;
  }

  .post-nav-back {
    display: none;
  }

  .btn-post-header-cta {
    font-size: 0.72rem;
    padding: 0.45rem 0.95rem;
  }

  .post-hero-banner {
    padding: 3rem 1.25rem 2.5rem 1.25rem;
  }

  .post-grid-layout {
    padding: 0 1.25rem;
    margin: 2rem auto;
  }

  .article-inline-cta,
  .article-demo-gallery {
    padding: 1.75rem 1.25rem;
  }

  .demo-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .post-author-signature-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }

  .author-card-avatar {
    margin: 0 auto;
  }

  .post-prev-next-nav {
    grid-template-columns: 1fr;
  }

  .nav-next-link a {
    text-align: left;
  }

  .post-grand-bottom-cta {
    padding: 3.5rem 1.25rem;
  }

  .post-mobile-sticky-bar {
    display: flex;
  }

  body.spacetemplate-single-post-body {
    padding-bottom: 60px; /* Space for mobile floating bar */
  }
}

@media (max-width: 480px) {
  .post-editorial-title {
    font-size: 2.1rem;
    line-height: 1.18;
  }

  .post-lead-excerpt {
    font-size: 1rem;
    line-height: 1.6;
  }

  .btn-inline-cta,
  .btn-grand-cta {
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.2rem;
    font-size: 0.8rem;
    box-sizing: border-box;
  }

  .quotes-editorial-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quote-item-card {
    padding: 1.25rem 1.1rem;
  }

  .quote-card-text {
    font-size: 1.15rem;
  }

  .article-tactic-box {
    padding: 1.5rem 1.15rem;
  }

  .tactic-numeral {
    font-size: 2.4rem;
  }

  .tactic-title {
    font-size: 1.4rem;
  }

  .supply-checklist-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .supply-check-item {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  .post-grand-bottom-cta {
    padding: 2.8rem 1rem;
  }

  .bottom-cta-title {
    font-size: 1.85rem;
  }

  .bottom-cta-description {
    font-size: 0.98rem;
  }

  .sticky-sidebar-cta-card {
    padding: 1.5rem 1.1rem;
  }
}

/* ==========================================================================
   GLOBAL SPACETEMPLATE BRAND FOOTER
   Author: MAB (https://www.linkedin.com/in/bouazizi-med-achref/)
   ========================================================================== */
.spacetemplate-footer {
  background-color: #FFFEFE;
  border-top: 1px solid rgba(184, 142, 118, 0.18);
  padding: 2.75rem 0;
  width: 100%;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.spacetemplate-footer .footer-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 90% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  box-sizing: border-box;
}

.spacetemplate-footer .footer-info {
  display: flex;
  align-items: center;
}

.spacetemplate-footer .footer-copyright {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.88rem !important;
  color: #706661 !important;
  margin: 0 !important;
  letter-spacing: 0.02em;
}

.spacetemplate-footer .footer-payment-icons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.spacetemplate-footer .footer-payment-img,
.spacetemplate-footer .footer-payment-icons img,
.spacetemplate-footer img {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 340px !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 0.88;
  transition: opacity 0.2s ease;
  margin: 0 !important;
}

.spacetemplate-footer .footer-payment-icons img:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  .spacetemplate-footer {
    padding: 2.2rem 1.25rem calc(2.2rem + 68px) 1.25rem !important;
  }

  .spacetemplate-footer .footer-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.25rem !important;
    justify-content: center !important;
  }

  .spacetemplate-footer .footer-info {
    justify-content: center;
  }

  .spacetemplate-footer .footer-payment-img,
  .spacetemplate-footer .footer-payment-icons img,
  .spacetemplate-footer img {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 270px !important;
  }
}

/* ==========================================================================
   GLOBAL SITE HEADER (Home + Articles Journal)
   Logo · Lash Tips CTA · Purchase CTA
   Author: MAB (https://www.linkedin.com/in/bouazizi-med-achref/)
   ========================================================================== */
.st-site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 142, 118, 0.16);
  padding: 1rem 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.st-site-header.is-scrolled {
  padding: 0.7rem 0;
  background: rgba(253, 251, 249, 0.97);
  box-shadow: 0 6px 24px rgba(30, 27, 25, 0.05);
}

.admin-bar .st-site-header {
  top: 32px;
}

.st-header-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.st-header-logo {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.st-header-logo:hover {
  opacity: 0.8;
}

.st-header-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.st-header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.st-header-link {
  position: relative;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.st-header-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.st-header-link:hover {
  color: var(--accent);
}

.st-header-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.st-link-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.st-link-short {
  display: none;
}

.st-header-cta {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-silk);
  background-color: var(--text-main);
  border: 1px solid var(--text-main);
  border-radius: var(--card-radius);
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.st-cta-price {
  padding-left: 0.6rem;
  border-left: 1px solid rgba(253, 251, 249, 0.3);
  font-weight: 600;
}

.st-cta-price del {
  opacity: 0.55;
  font-weight: 400;
  margin-right: 2px;
}

.st-cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.st-header-cta:hover {
  background-color: transparent;
  color: var(--text-main);
  transform: translateY(-1px);
}

.st-header-cta:hover .st-cta-price {
  border-left-color: rgba(30, 27, 25, 0.25);
}

.st-header-cta:hover .st-cta-arrow {
  transform: translateX(3px);
}

/* Tighten the hero top spacing now that a header sits above it */
.home .spacetemplate-hero-section {
  padding-top: clamp(3.5rem, 6.5vw, 6.5rem);
}

@media (max-width: 782px) {
  .admin-bar .st-site-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  .st-site-header {
    padding: 0.8rem 0;
  }

  .st-header-logo-img {
    height: 26px;
  }

  .st-header-nav {
    gap: 1rem;
  }

  .st-header-link {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .st-link-full,
  .st-link-icon,
  .st-cta-label,
  .st-cta-arrow {
    display: none;
  }

  .st-link-short {
    display: inline;
  }

  .st-header-cta {
    padding: 0.6rem 0.95rem;
    font-size: 0.72rem;
  }

  .st-cta-price {
    padding-left: 0;
    border-left: 0;
  }

  .st-cta-price::before {
    content: 'Buy ';
    font-weight: 500;
  }
}

/* ==========================================================================
   ARTICLES JOURNAL (page-articles.php)
   Author: MAB (https://www.linkedin.com/in/bouazizi-med-achref/)
   ========================================================================== */
.st-journal {
  background: var(--bg-silk);
}

/* 1. Hero */
.st-journal-hero {
  background: linear-gradient(180deg, var(--bg-silk) 0%, var(--bg-linen) 100%);
  border-bottom: 1px solid rgba(184, 142, 118, 0.18);
  padding: clamp(4rem, 8vw, 6.5rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.st-journal-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.st-journal-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.35);
  padding: 0.35rem 0.95rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.st-journal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 1.5rem;
}

.st-journal-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.st-journal-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.st-journal-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.st-journal-stats strong {
  color: var(--text-main);
  font-weight: 600;
}

.st-stat-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* 2. Filters */
.st-journal-filters {
  width: 90%;
  max-width: 1320px;
  margin: 3rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.st-filter-chip {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(184, 142, 118, 0.3);
  border-radius: var(--card-radius);
  padding: 0.6rem 1.15rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.st-filter-chip:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.st-filter-chip.is-active {
  color: var(--bg-silk);
  background: var(--text-main);
  border-color: var(--text-main);
}

/* 3. Grid */
.st-journal-grid {
  width: 90%;
  max-width: 1320px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.st-article-card {
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.15);
  border-radius: var(--card-radius);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  animation: stCardIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
  animation-delay: var(--card-delay, 0ms);
}

.st-article-card.is-hidden {
  display: none;
}

.st-article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(184, 142, 118, 0.14);
}

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

.st-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.st-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-linen);
}

.st-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.st-article-card:hover .st-card-img {
  transform: scale(1.04);
}

/* Typographic art panel (used when an article has no featured image) */
.st-card-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--accent);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.7) 0%, transparent 55%),
    linear-gradient(135deg, var(--bg-linen) 0%, var(--bg-blush) 100%);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.st-article-card:nth-child(3n+2) .st-card-art {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.7) 0%, transparent 55%),
    linear-gradient(135deg, var(--bg-silk) 0%, var(--bg-linen) 100%);
}

.st-article-card:nth-child(3n) .st-card-art {
  background:
    radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.6) 0%, transparent 55%),
    linear-gradient(160deg, var(--bg-blush) 0%, var(--bg-linen) 100%);
}

.st-article-card:hover .st-card-art {
  transform: scale(1.04);
}

.st-card-number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 1;
  color: var(--text-main);
  opacity: 0.85;
}

.st-card-lash {
  width: 92px;
  height: auto;
  opacity: 0.75;
}

.st-card-category {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.35);
  padding: 0.3rem 0.75rem;
}

.st-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.6rem 1.6rem 1.4rem;
}

.st-card-flag {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.st-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--text-main);
  margin: 0 0 0.8rem;
  transition: color 0.3s ease;
}

.st-article-card:hover .st-card-title {
  color: var(--accent);
}

.st-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.st-card-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 142, 118, 0.14);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.st-meta-dot {
  color: var(--accent);
}

.st-card-read {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.3s ease, transform 0.3s ease;
}

.st-article-card:hover .st-card-read {
  color: var(--accent);
  transform: translateX(3px);
}

/* Featured (first) article spans the full row */
.st-article-card.is-featured {
  grid-column: 1 / -1;
}

.st-article-card.is-featured .st-card-link {
  flex-direction: row;
}

.st-article-card.is-featured .st-card-visual {
  flex: 0 0 52%;
  aspect-ratio: auto;
  min-height: 380px;
}

.st-article-card.is-featured .st-card-body {
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.st-article-card.is-featured .st-card-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
}

.st-article-card.is-featured .st-card-excerpt {
  font-size: 1.05rem;
  -webkit-line-clamp: 4;
}

.st-article-card.is-featured .st-card-number {
  font-size: clamp(5rem, 9vw, 7.5rem);
}

.st-article-card.is-featured .st-card-lash {
  width: 130px;
}

.st-journal-empty {
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
}

/* 4. Pagination */
.st-journal-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 3.5rem auto 0;
}

.st-journal-pagination .page-numbers {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid rgba(184, 142, 118, 0.3);
  padding: 0.6rem 1rem;
  transition: all 0.3s ease;
}

.st-journal-pagination .page-numbers:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.st-journal-pagination .page-numbers.current {
  color: var(--bg-silk);
  background: var(--text-main);
  border-color: var(--text-main);
}

/* 5. Conversion banner spacing */
.st-journal-cta {
  margin-top: clamp(4rem, 8vw, 6rem);
}

@media (max-width: 1100px) {
  .st-journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .st-journal-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding: 0 5% 0.25rem;
    scrollbar-width: none;
  }

  .st-journal-filters::-webkit-scrollbar {
    display: none;
  }

  .st-filter-chip {
    flex-shrink: 0;
  }

  .st-journal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .st-article-card.is-featured .st-card-link {
    flex-direction: column;
  }

  .st-article-card.is-featured .st-card-visual {
    flex: none;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .st-article-card.is-featured .st-card-body {
    padding: 1.6rem;
  }

  .st-card-title {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st-article-card {
    animation: none;
  }
}

/* ==========================================================================
   Lash Tips & Guides Articles Carousel Section
   Author: MAB (https://www.linkedin.com/in/bouazizi-med-achref/)
   ========================================================================== */
.st-articles-carousel-section {
  padding: 7rem 1.5rem;
  background: #FDFBF9;
  border-top: 1px solid rgba(184, 142, 118, 0.14);
  border-bottom: 1px solid rgba(184, 142, 118, 0.14);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.st-articles-carousel-section * {
  box-sizing: border-box;
}

.st-carousel-container {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header */
.st-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.st-carousel-header-copy {
  max-width: 720px;
}

.st-carousel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(184, 142, 118, 0.1);
  border: 1px solid rgba(184, 142, 118, 0.28);
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B88E76;
  margin-bottom: 1rem;
}

.st-carousel-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B88E76;
  box-shadow: 0 0 8px rgba(184, 142, 118, 0.6);
}

.st-carousel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: #1E1B19;
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.01em;
}

.st-carousel-title em {
  font-style: italic;
  font-weight: 400;
  color: #B88E76;
}

.st-carousel-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #706661;
  margin: 0;
  font-weight: 300;
  max-width: 620px;
}

/* Actions (View All + Arrows) */
.st-carousel-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.st-carousel-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1E1B19;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  background: #FAF7F2;
  border: 1px solid rgba(184, 142, 118, 0.3);
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.st-carousel-view-all:hover {
  background: #B88E76;
  color: #FFFFFF;
  border-color: #B88E76;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 142, 118, 0.25);
}

.st-carousel-view-all:hover .st-carousel-arrow-icon {
  transform: translateX(3px);
}

.st-carousel-arrow-icon {
  transition: transform 0.3s ease;
}

.st-carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.st-carousel-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.28);
  color: #1E1B19;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 12px rgba(30, 27, 25, 0.04);
}

.st-carousel-nav-btn:hover:not(:disabled) {
  background: #B88E76;
  color: #FFFFFF;
  border-color: #B88E76;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 142, 118, 0.25);
}

.st-carousel-nav-btn:active:not(:disabled) {
  transform: translateY(0);
}

.st-carousel-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(184, 142, 118, 0.15);
}

/* Viewport and Track */
.st-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0 1.5rem 0;
}

.st-carousel-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0.25rem 1rem 0.25rem;
  outline: none;
}

.st-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Carousel Slide Card */
.st-carousel-slide {
  flex: 0 0 calc((100% - 2 * 1.75rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: #FFFFFF;
  border: 1px solid rgba(184, 142, 118, 0.18);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.4s ease;
}

.st-carousel-slide:hover {
  transform: translateY(-6px);
  border-color: #B88E76;
  box-shadow: 0 20px 45px rgba(184, 142, 118, 0.18);
}

.st-carousel-slide .st-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.st-carousel-slide .st-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F5EFEB;
}

.st-carousel-slide .st-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.st-carousel-slide:hover .st-card-img {
  transform: scale(1.05);
}

/* Card Art & Thumbnail Styling inherits from .st-article-card (same as Tips & Guides page) */

.st-carousel-slide .st-card-body {
  padding: 1.75rem 1.6rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.st-carousel-slide .st-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.3;
  color: #1E1B19;
  margin: 0 0 0.75rem 0;
  transition: color 0.3s ease;
}

.st-carousel-slide:hover .st-card-title {
  color: #B88E76;
}

.st-carousel-slide .st-card-excerpt {
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #706661;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.st-carousel-slide .st-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  color: #8C827A;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 142, 118, 0.12);
  margin-top: auto;
}

.st-carousel-slide .st-meta-dot {
  opacity: 0.5;
}

.st-carousel-slide .st-card-read {
  margin-left: auto;
  font-weight: 600;
  color: #B88E76;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.3s ease;
}

.st-carousel-slide:hover .st-card-read {
  transform: translateX(4px);
}

/* Progress & Mobile CTA */
.st-carousel-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.st-carousel-progress {
  width: 140px;
  height: 3px;
  background: rgba(184, 142, 118, 0.2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.st-carousel-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33.33%;
  background: #B88E76;
  border-radius: 999px;
  transition: transform 0.15s ease-out, width 0.3s ease;
}

.st-carousel-mobile-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1E1B19;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  background: #FAF7F2;
  border: 1px solid rgba(184, 142, 118, 0.3);
  border-radius: 999px;
  transition: all 0.3s ease;
}

.st-carousel-mobile-cta:hover {
  background: #B88E76;
  color: #FFFFFF;
  border-color: #B88E76;
}

/* Breakpoints */
@media (max-width: 1024px) {
  .st-articles-carousel-section {
    padding: 5rem 1.25rem;
  }

  .st-carousel-slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }

  .st-carousel-progress-bar {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .st-carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .st-carousel-actions .st-carousel-view-all {
    display: none;
  }

  .st-carousel-mobile-cta {
    display: inline-flex;
  }

  .st-carousel-track {
    gap: 1.25rem;
  }

  .st-carousel-slide {
    flex: 0 0 86%;
  }

  .st-carousel-progress-bar {
    width: 30%;
  }
}