/*
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 24s linear infinite;
  will-change: transform;
}

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

.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 0;
    height: auto;
    flex: none;
  }

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

  .included-row-inner {
    flex-direction: column !important;
    gap: 2.5rem;
    text-align: center;
    height: auto;
  }

  .included-text-col {
    flex: 0 0 100%;
    max-width: 100%;
    align-items: center !important;
    text-align: center !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: 0 0 100%;
    width: 100%;
    max-width: 480px;
    /* Constrain to standard phone width for square ratio aspect */
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    margin: 0 auto;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid rgba(184, 142, 118, 0.12);
    box-shadow: 0 10px 30px rgba(30, 27, 25, 0.05);
    padding: 12px;
  }

  .template-images-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

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

  .included-filter-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 0 !important;
    overflow-x: visible !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) {
  .included-visual-col {
    padding: 8px;
  }

  .template-images-grid-container {
    gap: 8px !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;
}

/* ============================================================
   MY ACCOUNT PAGE
   ============================================================ */

.woocommerce-account .woocommerce-MyAccount-navigation {
  border-right: 1px solid rgba(184, 142, 118, 0.2);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  padding: 0.65rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 142, 118, 0.1);
  transition: color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--accent);
}

/* ============================================================
   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: 767px) {
  .wc-block-checkout__main,
  .wc-block-checkout__sidebar {
    padding: 1.25rem !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;
  }
}