/* ==========================================================================
   Tarot Kalyug Style Sheet - Core Design System (Header & Hero Only)
   ========================================================================== */

[hidden] {
  display: none !important;
}

/* Local Font Face Definitions */
@font-face {
  font-family: 'Uncut Sans';
  src: url('assets/fonts/Uncut-Sans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Uncut Sans';
  src: url('assets/fonts/Uncut-Sans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Uncut Sans';
  src: url('assets/fonts/Uncut-Sans-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Malibu Sunday';
  src: url('assets/fonts/MalibuSundaySerif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette */
  --bg-deep: hsl(8, 70%, 3%);
  --bg-medium: hsl(8, 55%, 7%);
  --bg-glass: rgba(18, 5, 2, 0.55);
  --bg-glass-hover: rgba(28, 10, 5, 0.75);

  --primary-gold: hsl(43, 90%, 55%);
  --primary-gold-rgb: 242, 175, 41;
  --secondary-orange: hsl(20, 95%, 50%);
  --accent-red: hsl(5, 80%, 45%);

  --text-white: hsl(48, 40%, 97%);
  --text-gold: hsl(43, 70%, 75%);
  --text-muted: hsl(20, 15%, 65%);

  --border-gold: rgba(242, 175, 41, 0.2);
  --border-gold-glow: rgba(242, 175, 41, 0.45);
  --border-white: rgba(254, 250, 224, 0.1);

  /* Fonts */
  --font-body: 'Uncut Sans', sans-serif;
  --font-heading: 'Malibu Sunday', serif;

  /* Layout constraints */
  --container-width: 1272px;
  --inline-padding: 16px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Tokens for About / Testimonials / FAQ / Footer / Contact (added) */
  --color-primary-dark: #592B00;
  --color-white: #FFFFFF;
  --color-orange-primary: #D6600B;
  --color-gold-cream: #FFC285;
  --color-deep-red: #C12300;
  --color-deep-red-alt: #C12300;
  --color-deep-red-dark: #7F0F01;
  /* Warm image wells — avoids harsh white letterboxing */
  --color-image-well: #F6D2A8;
  --color-card-surface: rgba(255, 214, 160, 0.55);
  --color-card-surface-solid: #F8E0C4;
  --grad-pill-button: linear-gradient(95.46deg, #D6600B 2.8%, #F58C41 21.86%, #FBCFB0 38.72%, #F59047 57.67%, #FBD0B1 70.65%, #F58B40 87.39%, #F58B40 104.89%);
  --grad-cta-fallback: linear-gradient(176.87deg, rgba(240, 75, 5, 0) 2.59%, #7F0F01 90.52%);
  --shadow-button-orange: 0px 6px 15px rgba(214, 96, 11, 0.35);
  --shadow-button-hover: 0px 8px 20px rgba(214, 96, 11, 0.5);
  --shadow-card-warm: 0 10px 28px rgba(184, 75, 9, 0.12);
  --shadow-card-hover: 0 14px 36px rgba(184, 75, 9, 0.22);
  --shadow-soft-card: 0px 5px 15px 0px rgba(25, 33, 61, 0.06);
  --gap: 30px;
  --duration: 35s;
  --scroll-start: 0;
  --scroll-end: calc(-100% - var(--gap));
}

/* ==========================================================================
   Resets & Global Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #c4451a;
  /* Prevent ~15px width jump when scrollbar appears (also feels like a zoom) */
  scrollbar-gutter: stable;
}

body {
  background-color: transparent;
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

button,
input,
select {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*
  Fixed viewport layer — NOT on body itself.
  Asset site-bg-001 is a VERY tall strip (1600×9723) with motifs stacked
  vertically inside the file. On wide screens background-size:cover scales by
  width and only the top band is visible (looks like one image). On narrow
  mobile, cover shows much more of that strip, so multiple bands appear in one
  screen — that is NOT background-repeat, it is too much of the tall asset.
*/
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  width: 100dvw;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: -1;
  pointer-events: none;
  background-color: #c4451a;
  background-image: url(assets/site-bg-001.jpg);
  background-image: -webkit-image-set(
    url(assets/site-bg-001.webp) type("image/webp"),
    url(assets/site-bg-001.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(assets/site-bg-001.webp) type("image/webp"),
    url(assets/site-bg-001.jpg) type("image/jpeg")
  );
  background-position: top center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-attachment: scroll;
}

/* Mobile: zoom into the top of the tall strip so only one motif band shows */
@media (max-width: 991px) {
  body::before {
    /* ~top 1000px of 9723px asset — matches desktop crop */
    -webkit-background-size: auto 950%;
    background-size: auto 950%;
    background-position: top center;
    background-repeat: no-repeat;
  }
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0%;
  text-align: center;
  color: #592B00;
  max-width: 23ch;
  text-shadow: 1px 1px 0px #ffffff;

}

.section-subtitle {
  color: #592B00;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -1%;
  text-align: center;
  max-width: 40ch;
}





/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--inline-padding);
  padding-right: var(--inline-padding);
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  border-radius: 9999px;
  transition: all var(--transition-normal);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background var(--transition-normal);
  padding: 28px 0;
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  display: block;
  width: 100%;
  height: 156px;
  background: linear-gradient(180deg, #C33002 0%, rgba(195, 48, 2, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 991px) {
  .header::after {
    height: 72px;
    background: linear-gradient(
      180deg,
      rgba(195, 48, 2, 0.78) 0%,
      rgba(195, 48, 2, 0.28) 55%,
      rgba(195, 48, 2, 0) 100%
    );
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-brand {
  display: block;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.header-brand:hover {
  color: var(--primary-gold);
}

@media (max-width: 1200px) {
  .header-brand {
    font-size: 20px;
  }

  .desktop-nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 18px;
  }
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
  min-width: 0;
}

.nav-link {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--primary-gold);
  transition: transform var(--transition-fast);
  transform-origin: center;
  transform: scaleX(0);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  vertical-align: middle;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  cursor: pointer;
}

.icon-btn svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.icon-btn:hover svg path {
  fill: var(--primary-gold);
}

.mobile-brand {
  display: none;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.mobile-brand a {
  color: inherit;
  text-decoration: none;
}

.mobile-brand a:hover {
  color: var(--primary-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 12px;
  z-index: 110;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-white);
  border-radius: 9px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Mobile Navigation Drawer
   ========================================================================== */
.drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  z-index: 105;
  background: var(--bg-medium);
  border-left: 1px solid var(--border-gold);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  padding: 32px;
  transition: right var(--transition-normal) ease-in-out;
}

.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.drawer-close {
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.drawer-close:hover {
  color: var(--primary-gold);
  transform: rotate(90deg);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.drawer-link {
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.drawer-link:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}


.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 192px;
  padding-bottom: 144px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: bottom;
  z-index: -1;
}

.hero-background-image--mobile {
  display: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1;
}

.avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -12px;
  position: relative;
  color: var(--primary-gold);
  flex-shrink: 0;
}

.avatar:first-child {
  margin-left: 0;
  z-index: 3;
}

.avatar:nth-child(2) {
  z-index: 2;
}

.avatar:nth-child(3) {
  z-index: 1;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.rating-text {
  font-weight: 600;
  color: #592B00;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin: 0;
}

.rating-text svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.testimonial-count {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
  opacity: 0.9;
  white-space: nowrap;
  margin: 0;
}

.pill-badge {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: -0.01em;
  color: #592B00;
  border: 1px solid #592B00;
  border-radius: 9999px;
  padding: 5px 10px;
  margin-bottom: 24px;
  text-transform: uppercase;
  background: transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 70px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  margin-bottom: 24px;
  color: #592B00;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #592B00;
  margin-bottom: 40px;
  max-width: 30ch;
  text-align: center;
}

.hero-buttons {
  margin-bottom: 40px;
}

.btn-pill,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #592B00;
  text-align: center;
  padding: 10px 40px;
  border-radius: 9999px;
  /* background: 
    linear-gradient(95.46deg, #D6600B 2.8%, #F58C41 21.86%, #FBCFB0 38.72%, #F59047 57.67%, #FBD0B1 70.65%, #F58B40 87.39%, #F58B40 104.89%),
    linear-gradient(180deg, rgba(247, 162, 102, 0.59) 0%, rgba(245, 156, 72, 0.705938) 55.21%, rgba(244, 142, 47, 0.8) 100%);
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  -webkit-background-origin: border-box;
  background-origin: border-box; */
  border: 1.5px solid transparent;
  box-shadow: 0px 6px 15px rgba(214, 96, 11, 0.35);
  transition: all var(--transition-normal);
  position: relative;
  background:
    linear-gradient(95.46deg, #D6600B 2.8%, #F58C41 21.86%, #FBCFB0 38.72%, #F59047 57.67%, #FBD0B1 70.65%, #F58B40 87.39%, #F58B40 104.89%),
    linear-gradient(180deg, rgba(247, 162, 102, 0.59) 0%, rgba(245, 156, 72, 0.705938) 55.21%, rgba(244, 142, 47, 0.8) 100%);
  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  -webkit-background-origin: border-box;
  background-origin: border-box;
}

.btn-pill::before,
.btn-primary::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: -1.5px;
  right: -1.5px;
  bottom: -1.5px;
  background: linear-gradient(180deg, rgba(247, 162, 102, 0.59) 0%, rgba(245, 156, 72, 0.705938) 55.21%, rgba(244, 142, 47, 0.8) 100%);

  -webkit-background-clip: padding-box, border-box;
  background-clip: padding-box, border-box;
  -webkit-background-origin: border-box;
  background-origin: border-box;
  border-radius: 9999px;
  z-index: -1;
  transition: all var(--transition-normal);
}

.btn-pill:hover,
.btn-primary:hover {
  box-shadow: 0px 8px 20px rgba(214, 96, 11, 0.5);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  border: none;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.stat-number {
  font-size: 38px;
  font-weight: 600;
  font-family: var(--font-body);
  color: #592B00;
}

.stat-label {
  font-size: 18px;
  line-height: 1.2;
  color: #592B00;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(89, 43, 0, 0) 0%, #592B00 50%, rgba(89, 43, 0, 0) 100%);
  color: transparent;
}

/* ==========================================================================
   Tarot Cards Section (Swiper Coverflow Slider)
   ========================================================================== */

.cards-section {
  padding: 0px 0 100px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.cards-section-btn {
  margin-top: 12px;
}

.tarot-card-lang-tabs {
  margin: 2px auto 6px;
  flex-shrink: 0;
  background: rgba(255, 248, 231, 0.18);
  border: 1px solid rgba(255, 214, 120, 0.35);
}

.tarot-card-lang-tabs .kd-lang-tab {
  font-size: 12px;
  padding: 6px 12px;
  color: #fff8e7;
  opacity: 0.85;
}

.tarot-card-lang-tabs .kd-lang-tab.is-active {
  color: #592B00;
  opacity: 1;
}

.tarot-back-body {
  width: 100%;
  flex: 0 1 auto;
  min-height: 0;
}

.tarot-swiper {
  width: 100%;
  padding-top: 34px;
  padding-bottom: 50px;
  overflow: visible !important;
  cursor: grab;
  /* Original card size (324×500) on desktop */
  min-height: 540px;
}

.tarot-swiper:active {
  cursor: grabbing;
}

.tarot-card-slide {
  width: 324px;
  height: 500px;
  border-radius: 20px;
  overflow: visible;
  box-shadow: none;
  /* Do not transition transform — Swiper coverflow sets it on init */
  transition: none;
  background: transparent;
  border: none;
}

/* Swiper active slide focus state (the middle slide) */
.tarot-card-slide.swiper-slide-active {
  box-shadow: 10px 10px 14px 0px #00000066;
  z-index: 10;
}

.tarot-card {
  width: 100%;
  height: 100%;
  position: relative;
  perspective: 1200px;
  cursor: pointer;
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.tarot-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 20px;
  box-shadow: 10px 10px 14px 0px #00000066;
}

.tarot-card.is-flipped .tarot-card-inner {
  transform: none; /* flip disabled — details open in popup */
}

/* Hide back face in carousel; content is shown in tarot popup */
.tarot-card-back {
  visibility: hidden;
  pointer-events: none;
}

/* Tarot card detail popup — content only (no front image) */
.tarot-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tarot-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tarot-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 18, 0, 0.68);
  backdrop-filter: blur(6px);
}

/* Desktop: original flipped-card size */
.tarot-modal-dialog {
  position: relative;
  z-index: 1;
  width: 324px;
  height: 500px;
  max-width: none;
  max-height: none;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 214, 120, 0.35), transparent 45%),
    linear-gradient(160deg, #3a1600 0%, #7a3200 45%, #1a0a00 100%);
  border: 1px solid rgba(255, 214, 120, 0.35);
  box-shadow: 10px 10px 14px 0px #00000066;
  transform: translateY(14px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 992px) {
  .tarot-modal-dialog {
    width: 324px;
    height: 500px;
    min-width: 324px;
    min-height: 500px;
  }
}

.tarot-modal.is-open .tarot-modal-dialog {
  transform: translateY(0) scale(1);
}

.tarot-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #592B00;
  background: #FFE566;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tarot-modal-media {
  display: none !important;
}

.tarot-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 18px 22px;
  color: #fff8e7;
  -webkit-overflow-scrolling: touch;
  display: flex;
  align-items: center;
}

.tarot-modal-body .tarot-card-back-content {
  height: auto;
  max-height: none;
  overflow: visible;
  gap: 10px;
  width: 100%;
}

.tarot-modal-body .tarot-card-number {
  min-width: 34px;
  height: 34px;
  font-size: 12px;
}

.tarot-modal-body .tarot-back-title,
.tarot-modal-body h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  color: #ffe8a8;
}

.tarot-modal-body .tarot-card-back-list li,
.tarot-modal-body p {
  font-size: 0.78rem;
  line-height: 1.45;
}

.tarot-modal-body .tarot-card-lang-tabs {
  margin: 4px auto 8px;
  background: rgba(255, 248, 231, 0.14);
}

.tarot-modal-back-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 576px) {
  .tarot-modal {
    padding: 12px 10px;
  }

  /* Mobile: keep current larger sheet size */
  .tarot-modal-dialog {
    width: min(100%, 94vw);
    height: auto;
    max-height: 90vh;
    border-radius: 18px;
  }

  .tarot-modal-body {
    padding: 22px 14px 18px;
    align-items: flex-start;
  }

  .tarot-modal-body .tarot-back-title,
  .tarot-modal-body h3 {
    font-size: 1.15rem;
  }

  .tarot-modal-body .tarot-card-back-list li,
  .tarot-modal-body p {
    font-size: 0.84rem;
  }
}

/* Both faces share the same box so flip height matches front */
.tarot-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tarot-card-front {
  transform: rotateY(0deg);
}

.tarot-card-front img,
.tarot-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.tarot-card-back {
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  text-align: center;
  color: #fff8e7;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 214, 120, 0.35), transparent 45%),
    linear-gradient(160deg, #3a1600 0%, #7a3200 45%, #1a0a00 100%);
  border: 1px solid rgba(255, 214, 120, 0.35);
  box-sizing: border-box;
}

.tarot-card-back-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tarot-card-back-content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.tarot-card-back-list {
  margin: 0;
  padding: 0 10px;
  list-style: none;
  width: 100%;
  flex: 0 0 auto;
  overflow: visible;
  text-align: center;
}

.tarot-card-back-list li {
  margin: 0 0 8px;
  padding-left: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.92;
  text-align: center;
}

.tarot-card-back-list li:last-child {
  margin-bottom: 0;
}

.tarot-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 120, 0.55);
  background: rgba(0, 0, 0, 0.25);
  font-size: 12px;
  color: #ffd678;
}

.tarot-card-back-content h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #ffe8a8;
  text-align: center;
  align-self: center;
  flex: 0 0 auto;
}

.tarot-card-back-content p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0.92;
  text-align: center;
  width: 100%;
  flex: 0 0 auto;
}

/* Swiper Pagination Styling */
.tarot-swiper .swiper-pagination-bullet {
  background: #592B00;
  opacity: 0.3;
  width: 8px;
  height: 8px;
  transition: all var(--transition-fast);
}

.tarot-swiper .swiper-pagination-bullet-active {
  background: var(--primary-gold) !important;
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}


.cards-section-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top;
  z-index: -1;
}



/* ==========================================================================
   Services Grid Section — 3 top + 2 wide (same on mobile)
   ========================================================================== */
.services-section {
  padding-bottom: 100px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.top-section-header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: center;
}

.top-section-header * {
  margin-bottom: 0px;
}

.services-grid,
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 12px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

/* Row 1: three equal portrait cards */
.services-grid .service-card:nth-child(1),
.services-grid .service-card:nth-child(2),
.services-grid .service-card:nth-child(3),
.services-page-grid .service-card:nth-child(1),
.services-page-grid .service-card:nth-child(2),
.services-page-grid .service-card:nth-child(3) {
  grid-column: span 2;
  aspect-ratio: 3 / 3.9;
}

/* Row 2: two equal landscape cards (uploaded assets are landscape) */
.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5),
.services-page-grid .service-card:nth-child(4),
.services-page-grid .service-card:nth-child(5) {
  grid-column: span 3;
  aspect-ratio: 16 / 11;
}

.services-grid .service-card:nth-child(n + 6),
.services-page-grid .service-card:nth-child(n + 6) {
  grid-column: span 2;
  aspect-ratio: 3 / 4.2;
}

.service-card {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: var(--color-image-well);
  box-shadow: 0 10px 28px rgba(89, 43, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(89, 43, 0, 0.3);
}

.service-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform 0.35s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card::after,
.service-card .service-card-content {
  display: none !important;
}

/* Service flip popup */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  perspective: 1200px;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 18, 0, 0.62);
  backdrop-filter: blur(5px);
}

.service-flip-stage {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(640px, 90vw);
  max-height: min(82vh, 600px);
  transform: translateY(16px) scale(0.94);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal.is-open .service-flip-stage {
  transform: translateY(0) scale(1);
}

.service-flip-card {
  position: relative;
  width: min(380px, 86vw);
  height: auto;
  aspect-ratio: 3 / 4.2;
  max-width: min(640px, 90vw);
  max-height: min(78vh, 560px);
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  cursor: pointer;
}

.service-flip-card.is-flipped {
  transform: rotateY(180deg);
}

.service-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.service-flip-front {
  background: var(--color-image-well);
}

.service-flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-flip-back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 229, 102, 0.35), transparent 45%),
    linear-gradient(165deg, #C33002 0%, #D6600B 42%, #7a2a08 100%);
  border: 1.5px solid rgba(255, 229, 102, 0.55);
  color: #fff8e7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
}

.service-flip-back-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: 100%;
}

.service-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #592B00;
  background: #FFE566;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.service-modal-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: #FFE566;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 0 rgba(89, 43, 0, 0.25);
}

.service-modal-intro {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
  opacity: 0.96;
  color: #fff8e7;
}

.service-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 26px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(
    180deg,
    var(--service-cta-top, #ff6aaf) 0%,
    var(--service-cta-bottom, #e01872) 100%
  );
  color: var(--service-cta-text, #ffe566);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease, background 0.25s ease;
}

.service-modal-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.service-modal-cta .service-btn-heart {
  font-size: 0.95em;
  line-height: 1;
  color: #fff;
}

@media (max-width: 991px) {
  .services-grid,
  .services-page-grid {
    gap: 10px 8px;
    max-width: 100%;
  }

  .service-card {
    border-radius: 12px;
  }

  .service-flip-stage {
    max-width: min(640px, 90vw);
  }

  .service-flip-card {
    width: auto;
    max-width: min(640px, 90vw);
  }

  .service-modal-title {
    font-size: 1.4rem;
  }

  .service-modal-intro {
    font-size: 0.85rem;
  }

  .service-modal-cta {
    font-size: 0.85rem;
    padding: 10px 20px;
  }
}

@media (max-width: 576px) {
  .services-grid,
  .services-page-grid {
    gap: 8px 6px;
  }

  .service-card {
    border-radius: 10px;
  }

  .service-modal {
    padding: 12px;
  }

  .service-modal-close {
    top: -8px;
    right: -4px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}



/* ===========================
   Products Section
=========================== */

.products-section {
  padding-block: 100px;
  position: relative;
  overflow: hidden;
}

.products-container .swiper-wrapper {
  display: flex;
}

.products-container .swiper-slide {
  display: flex;
  height: auto !important;
}

.product-card {
  padding: 10px;
  border-radius: 20px;
  background: var(--color-card-surface);
  border: 1px solid rgba(255, 200, 140, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: 100% !important;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-image-well);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}


.product-card .product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-content h3 {
  color: #592B00;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.product-card .product-content p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #592B00;
  margin-bottom: auto;
}

.product-card .product-content .btn {
  width: 100%;
  margin-top: 16px;
}

.product-card .product-content .product-price {
  margin: 4px 0 0;
  font-weight: 600;
  color: #592B00;
}

.product-card .product-content h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card .product-content h3 a:hover {
  color: var(--color-orange-primary);
}

a.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.product-card-actions .btn,
.product-card-actions .btn-cart {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  font-size: 15px;
  padding: 10px 16px;
}


.section-btn {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}




/* ==========================
   Videos Section
========================== */

.videos-section {
  padding-block: 100px;
  overflow: hidden;
}

.videos-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.videos-more-btn {
  min-width: 180px;
}

.videos-page-section {
  padding-top: 140px;
  padding-bottom: 80px;
}

.videos-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin-inline: auto;
}

.videos-page-item .video-card {
  height: 100%;
}

.videos-page-item .video-card-inner {
  height: 320px;
}

@media (max-width: 768px) {
  .videos-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .videos-page-item .video-card-inner {
    height: 240px;
  }

  .videos-more-wrap {
    margin-top: 28px;
  }
}


.videos-container .swiper-wrapper {
  display: flex;
}

.video-card {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background: rgb(255 255 255 / 50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-card .video-card-inner {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.video-card .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.video-card .video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: none;
  position: absolute;
  inset: 0;
}

.video-card .video-player--youtube {
  object-fit: unset;
}

.video-card .video-card-inner.playing .video-thumb {
  display: none;
}

.video-card .video-card-inner.playing .video-player {
  display: block;
}

.video-card .video-card-inner.playing .play-btn {
  display: none;
}

.video-card .play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

}

.video-card .play-btn img {
  max-width: 52px;
  display: block;
}

.video-card .video-language {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -1%;
  text-align: center;
  color: #592B00;
}

.swiper-pagination-bullet {
  background: #592B0080;
  width: 6px;
  height: 6px;
  opacity: 1 !important;
  margin-inline: 3px;
  border-radius: 50px;
}

.swiper-pagination-bullet-active {
  width: 10px;
  background: #592B00;
  opacity: 1 !important;
}



/* ==========================
 Pricing Section
========================== */

.pricing-section {
  padding-block: 100px;
  overflow: hidden;
}


.pricing-container .swiper-wrapper {
  display: flex;
}

.pricing-container:not(.is-ready) {
  opacity: 0;
  min-height: 420px;
}

.pricing-container.is-ready {
  opacity: 1;
  transition: opacity 0.2s ease;
}


.pricing-card {
  width: 100%;
}

.pricing-card .session-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  color: #592B00;
  text-shadow: 1px 1px 0px #FFFFFF;
  max-width: 11ch;
  margin-inline: auto;
  margin-bottom: 30px;
}

.pricing-card .pricing-box {
  background: rgb(255 255 255 / 50%);
  border-radius: 20px;
  padding: 26px 12px 20px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
}

.pricing-card .pricing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding-left: 10px;
}

.pricing-card .pricing-list li {
  color: #592B00;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -1%;
  align-items: center;
}

.pricing-card .pricing-list li strong {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0%;
  white-space: nowrap;
}

.pricing-subgroup-title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a3a12;
}

.pricing-subgroup-title small {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #a05a30;
}

.pricing-subgroup {
  margin-top: 14px;
}

.whatsapp-price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.whatsapp-price-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(195, 90, 20, 0.2);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}

.whatsapp-price-card__q {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
  color: #592B00;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.whatsapp-price-card__q span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a3a12;
}

.whatsapp-price-card__price {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  color: #C33002;
  font-weight: 600;
}

@media (max-width: 576px) {
  .pricing-card .pricing-list li,
  .pricing-card .pricing-list li strong {
    font-size: 14px;
  }

  .whatsapp-price-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 6px;
  }

  .whatsapp-price-card {
    padding: 6px 4px;
    border-radius: 10px;
  }

  .whatsapp-price-card__q {
    font-size: 16px;
    gap: 1px;
  }

  .whatsapp-price-card__q span {
    font-size: 8px;
  }

  .whatsapp-price-card__price {
    margin-top: 4px;
    font-size: 12px;
  }
}

.pricing-container .swiper-slide {
  display: flex;
  height: auto !important;
}

.pricing-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card .pricing-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  /* Stretch to fill equal height */
}


/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */



/* Desktop */
@media (min-width:992px) {

  .products-container .swiper-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .products-container .swiper-slide {
    max-width: 295px;
    flex-shrink: 0;
  }

  .videos-container .swiper-slide {
    width: 350px;
    flex-shrink: 0;
  }

  .videos-container .swiper-wrapper {
    justify-content: center;
    gap: 20px;
  }

  .videos-container .swiper-pagination,
  .pricing-section .swiper-pagination {
    display: none;
  }

  .pricing-container .swiper-wrapper {
    justify-content: center;
    gap: 40px;
  }

  .pricing-container .swiper-slide {
    width: 330px;
  }
}


/* Tablet & Smaller Layouts */
@media (max-width: 992px) {
  .hero-title {
    font-size: 56px;
  }

  .header {
    padding-top: 16px;
    padding-bottom: 16px;
  }



}

@media (max-width:991px) {

  .productsSwiper,
  .videos-container {
    overflow: visible !important;
  }

  .products-container .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    transform: none !important;
  }

  .products-container .swiper-slide {
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
  }

  .product-card {
    padding: 8px;
    border-radius: 14px;
    gap: 10px;
  }

  .product-image {
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 10px;
  }

  .product-card .product-content h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .product-card .product-content p {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card .product-content .product-price {
    font-size: 13px;
  }

  .product-card .product-content .btn,
  .product-card-actions .btn,
  .product-card-actions .btn-cart {
    font-size: 11px;
    padding: 6px 10px;
    margin-top: 10px;
  }

  .product-card-actions {
    gap: 6px;
  }

  .section-btn {
    margin-top: 40px;
  }

  .videos-container .swiper-wrapper {
    flex-wrap: nowrap;
  }

  .videos-container .swiper-slide {
    width: 330px !important;
    flex-shrink: 0;
  }

  .videos-container .swiper-pagination {
    position: relative;
    margin-top: 36px;
  }

  .pricing-container {
    overflow: visible;
  }

  .pricing-container .swiper-slide {
    width: 300px !important;
    flex-shrink: 0;
  }

  .session-title {
    font-size: 28px;
  }


  .pricing-section .swiper-pagination {
    position: relative;
    margin-top: 36px;
  }





}


/* Mobile Layouts */
@media (max-width: 768px) {

  .desktop-nav {
    display: none;
  }

  .header-brand {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-actions .icon-btn,
  .header-actions .cart-icon-link {
    width: 28px;
    height: 28px;
  }

  .header-actions .icon-btn svg {
    width: 22px;
    height: 22px;
  }

  .mobile-brand {
    display: block;
    flex: 1;
    min-width: 0;
    padding-right: 8px;
    font-size: 18px;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .drawer {
    right: -100%;
    width: 100%;
    border-left: none;
    background: radial-gradient(circle at center, #1b0905 0%, #0d0301 100%);
    padding: 16px;
    justify-content: space-between;
  }

  .drawer-nav {
    align-items: center;
    gap: 24px;
    margin-top: auto;
    margin-bottom: auto;
  }

  .drawer-link {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.08em;
    color: #fff;
    transition: color var(--transition-fast), transform var(--transition-fast);
  }

  .drawer-link:hover {
    color: var(--primary-gold);
    transform: scale(1.05);
    padding-left: 0;
  }

  .drawer-header .logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #fff;
  }

  .drawer-header .logo a {
    color: inherit;
    text-decoration: none;
  }

  .section-title {
    font-size: 30px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .cards-section,
  .services-section {
    padding-bottom: 50px;
  }

  .services-section .top-section-header {
    margin-bottom: 30px;
    gap: 8px;
  }

  .products-section .top-section-header {
    margin-bottom: 28px;
    gap: 8px;
  }

  .products-section,
  .videos-section,
  .pricing-section {
    padding-block: 36px;
  }
}

@media (max-width: 576px) {
  :root {
    --inline-padding: 16px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .pill-badge {
    font-size: 14px;
  }

  .btn-pill,
  .btn-primary {
    font-size: 16px;
  }

  .rating-text {
    font-size: 14px;
  }

  .testimonial-count {
    font-size: 12px;
  }

  .avatar {
    width: 28px;
    height: 28px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 14px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-buttons {
    margin-bottom: 60px;
  }

  .hero-section {
    padding-top: 50px;
    padding-bottom: 0;
    min-height: 70vh;
  }

  .hero-background-image--desktop {
    display: none;
  }

  .hero-background-image--mobile {
    display: block;
  }

  .tarot-card-slide {
    width: 190px;
    height: 292px;
  }

  .tarot-swiper {
    min-height: 330px;
    padding-top: 16px;
    padding-bottom: 28px;
  }

  .tarot-card,
  .tarot-card-inner {
    height: 100%;
  }

  .tarot-card-back-content h3 {
    font-size: 0.95rem;
  }

  .tarot-card-back-content p {
    font-size: 0.75rem;
  }

  .tarot-card-back-list li {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  .section-btn {
    margin-top: 15px;
  }
}

@media (max-width: 991px) and (min-width: 577px) {
  .tarot-card-slide {
    width: 280px;
    height: 432px;
  }

  .tarot-swiper {
    min-height: 470px;
  }

  .tarot-modal-dialog {
    width: 280px;
    height: 432px;
    min-width: 280px;
    min-height: 432px;
  }
}

/* ==========================================================================
   About Section (About Your Psychic Reader)
   ========================================================================== */
.about-section {
  position: relative;
  padding-block: 80px;
  overflow: hidden;
}


.about-header .pill-badge {
  margin-bottom: 0;
}

.about-header .section-title {
  margin-bottom: 0;
  max-width: 100%;
}

.about-header .section-subtitle {
  margin-bottom: 0;
  max-width: 100%;
}

.about-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .5);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: 383px 1fr;
  gap: 30px;
  max-width: 822px;
  margin-inline: auto;
}

.about-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

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

.about-card-content {
  display: flex;
  flex-direction: column;
}

.reader-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.reader-bio {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.reader-bio:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Testimonials Section & Custom Marquee1
   ========================================================================== */


.testimonials-section {
  position: relative;
  padding-block: 80px;
  overflow: hidden;
}


.testimonials-header .pill-badge {
  margin-bottom: 0;
}

.testimonials-btn-wrapper {
  display: none;
}

.marquee1-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  margin: auto;
  max-width: 100vw;
  overflow: visible;
  padding-block: 12px;
}

.marquee1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  gap: var(--gap);
  padding-block:12px 28px;
  margin-block: -12px;
}

.marquee1 .marquee__group {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  -webkit-animation: scroll-x var(--duration) linear infinite;
          animation: scroll-x var(--duration) linear infinite;
}

.marquee1.marquee--reverse .marquee__group {
  animation-direction: reverse;
  -webkit-animation-direction: reverse;
}

.marquee1:hover .marquee__group {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee1 .marquee__group {
    -webkit-animation-play-state: paused;
            animation-play-state: paused;
  }
}

@-webkit-keyframes scroll-x {
  from {
    -webkit-transform: translateX(var(--scroll-start));
            transform: translateX(var(--scroll-start));
  }
  to {
    -webkit-transform: translateX(var(--scroll-end));
            transform: translateX(var(--scroll-end));
  }
}

@keyframes scroll-x {
  from {
    -webkit-transform: translateX(var(--scroll-start));
            transform: translateX(var(--scroll-start));
  }
  to {
    -webkit-transform: translateX(var(--scroll-end));
            transform: translateX(var(--scroll-end));
  }
}

.testimonial-card {
  width: 360px;
  min-height: 232px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .5);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
}

.user-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-primary-dark);
  font-weight: 400;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  position: relative;
  padding-block: 80px;
  overflow: hidden;
}

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
  text-align: center;
  gap: 12px;
}

.faq-header .pill-badge {
  margin-bottom: 0;
}

.faq-accordion {
  max-width: 835px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background:rgba(255, 255, 255, .5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft-card);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  padding: 26px 32px;
}

/* Placeholder rows shown until the FAQ API responds */
.faq-item-loading {
  height: 88px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .35) 25%, rgba(255, 255, 255, .65) 50%, rgba(255, 255, 255, .35) 75%);
  background-size: 200% 100%;
  -webkit-animation: faq-loading-shimmer 1.4s ease-in-out infinite;
          animation: faq-loading-shimmer 1.4s ease-in-out infinite;
}

@-webkit-keyframes faq-loading-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@keyframes faq-loading-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item-loading {
    -webkit-animation: none;
            animation: none;
  }
}


.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 26px 32px; */
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.35;
}

.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(89, 43, 0, 0.12);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  background: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-block:10px 14px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary-dark);
  font-weight: 400;
  margin: 0;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* ==========================================================================
   Site Footer & CTA Banner
   ========================================================================== */
.site-footer {
    position: relative;
    padding-top: 270px;
    background: var(--color-deep-red-alt);
    margin-top: 400px;
}
.site-footer::after {
  content: "";
  position:absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: url(assets/footer-bg.png) no-repeat center/cover;
  pointer-events: none;
  z-index: 1;
}

.mobile-contact-block {
  display: none;
}

.cta-banner-wrapper {
    max-width: 1030px;
    margin-inline: auto;
    margin-bottom: 60px;
    width: 100%;
    margin-top: -570px;
}

.cta-banner-card {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 451px;
  border-radius: 20px;
  overflow: hidden;
  background: url('assets/cta_tarot_bg.png') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-cta-fallback);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 55px;
  gap: 28px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.2;
  text-shadow: 1px 1px 0px #592B00;
  margin: 0;
}

.cta-btn {
  padding: 14px 44px;
  font-size: 17px;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px 48px;
  padding-bottom: 60px;
  max-width: 920px;
  margin-inline: auto;
  text-align: left;
  position: relative;
  z-index: 2;
}

.footer-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.footer-links,
.footer-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-info a {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: inline-block;
}

.footer-links a.footer-link-multiline {
  max-width: 11.5em;
}

.footer-col:nth-child(2) .footer-links a {
  white-space: nowrap;
}

.footer-links a:hover,
.footer-info a:hover {
  opacity: 1;
  color: var(--color-gold-cream);
  text-decoration: underline;
}

.footer-info li,
.footer-links li
 {
    display: flex;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
}

.footer-bottom {
 background: #0000004D;
  padding-block: 24px;
   position: relative;
  z-index: 2;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.copyright-text {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-white);
  margin: 0;
  letter-spacing: -0.01em;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap:10px 22px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.social-icon:hover {
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .videos-section {
    padding-block: 28px;
  }

  .videos-section .top-section-header {
    margin-bottom: 18px;
    gap: 6px;
  }

  .videos-section .section-title {
    font-size: 24px;
  }

  .videos-section .section-subtitle {
    font-size: 13px;
  }

  /* Match Kalyug deck page phone-video size on mobile */
  .videos-container .swiper-slide {
    width: 260px !important;
    flex-shrink: 0;
  }

  .video-card {
    padding: 0;
    border-radius: 22px;
    gap: 0;
    background: transparent;
    max-width: 260px;
    margin-inline: auto;
  }

  .video-card .video-card-inner {
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 22px;
    border: 3px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow-card-warm);
    background: #1a0a05;
  }

  .videos-more-wrap {
    margin-top: 18px;
  }

  .about-section { padding-block: 28px; }
  .about-section .top-section-header,
  .about-header {
    margin-bottom: 18px;
    gap: 6px;
  }
  .about-section .section-title {
    font-size: 24px;
  }
  .about-section .section-subtitle {
    font-size: 13px;
  }
  .about-card { grid-template-columns: 1fr; gap: 14px; padding: 14px; border-radius: 16px; }
  .about-card-image { border-radius: 12px; max-height: 220px; }
  .about-card-image img { object-fit: cover; }
  .reader-heading { font-size: 22px; margin-bottom: 8px; }
  .reader-bio { font-size: 13px; margin-bottom: 10px; line-height: 1.45; }

  .testimonials-section { padding-block: 28px; }
  .testimonials-header { margin-bottom: 16px; gap: 6px; }
  .testimonials-section .section-title { font-size: 24px; }
  .testimonials-section .section-subtitle { font-size: 13px; }
  .marquee1-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 0;
  }
  .marquee1 {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow: hidden;
    margin-block: 0;
    padding-block: 2px 10px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
            mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }
  .marquee1 .marquee__group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    min-width: 100%;
    flex-shrink: 0;
    -webkit-animation: scroll-x 28s linear infinite;
            animation: scroll-x 28s linear infinite;
  }
  .marquee1.marquee--reverse .marquee__group {
    -webkit-animation-direction: reverse;
            animation-direction: reverse;
  }
  .testimonial-card {
    width: 240px;
    max-width: 240px;
    height: auto;
    min-height: 140px;
    padding: 14px 16px;
    border-radius: 14px;
    flex-shrink: 0;
  }
  .testimonial-text {
    font-size: 13px;
    line-height: 1.4;
    -webkit-line-clamp: 4;
  }
  .testimonials-btn-wrapper { display: none; }

  .faq-section { padding-block: 28px; }
  .faq-header { margin-bottom: 16px; gap: 6px; }
  .faq-section .section-title { font-size: 24px; }
  .faq-section .section-subtitle { font-size: 13px; }
  .faq-accordion { gap: 10px; }
  .faq-title { font-size: 14px; }
  .faq-icon { width: 28px; height: 28px; }
  .faq-item.active .faq-answer { padding-bottom: 12px; }
  .faq-answer p { font-size: 13px; line-height: 1.4; }
  .faq-item { padding: 14px 16px; border-radius: 12px; }
  .faq-item-loading { height: 56px; }

  .mobile-contact-block { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 10px; }
  .mobile-contact-title { font-family: var(--font-heading); font-weight: 400; font-size: 30px; line-height: 1.2; margin-bottom: 20px; text-align: center; color: var(--color-primary-dark); max-width: 23ch; text-shadow: 1px 1px 0px #ffffff; }
  .mobile-contact-block .footer-info { align-items: center; gap: 8px; }
  .mobile-contact-block .footer-info li, .mobile-contact-block .footer-info a { font-size: 14px; color: var(--color-primary-dark); text-align: center; font-weight: 600; }
  .mobile-socials { display: flex; justify-content: center; gap: 22px; margin-top: 20px; }
  .cta-banner-wrapper { margin-bottom: 36px; width: 100%; }
  .cta-banner-card { min-height: 380px; border-radius: 24px; }
  .cta-banner-content { padding: 32px 18px; gap: 20px; }
  .cta-title { font-size: 28px; line-height: 1.25; text-align: center; color: var(--color-white); }
  .cta-btn { padding: 12px 36px; font-size: 16px; font-weight: 600; }
  .footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 28px; text-align: left; padding-bottom: 36px; max-width: 92%; margin-inline: auto; }
  .footer-col:nth-child(2) .footer-links a { white-space: normal; }
  .footer-bottom { padding-block: 19px; }
  .footer-col-title { margin-bottom: 14px; font-size: 14px; color: var(--color-white); }
  .desktop-contact-col, .desktop-socials { display: none !important; }
  .footer-bottom-container { display: flex; justify-content: center; text-align: center; }
  .copyright-text { font-size: 14px; text-align: center; }
  .footer-links a, .footer-info a { font-size: 14px; }
  .mobile-contact-block .social-icon svg { width: 26px; height: 26px; }
  .mobile-contact-block .social-icon svg path { fill: var(--color-primary-dark); }
  .site-footer { margin-top: 360px; }
}

/* ==========================================================================
   Scroll Reveal & Loading Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
}

.reveal.revealed,
.reveal-scale.revealed,
.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   Contact Page Section & Form Styles
   ========================================================================== */
.contact-page-section {
  padding-top: 160px;
  padding-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  max-width: 1100px;
  margin-inline: auto;
}

.contact-info-card,
.contact-form-card {
  background: rgba(255, 255, 255, .5);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--shadow-card-warm);
}

.contact-info-title,
.form-card-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  text-shadow: 1px 1px 0px #ffffff;
}

.contact-info-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary-dark);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #592B00;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(214, 96, 11, 0.25);
}

.detail-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  opacity: 0.7;
  margin-bottom: 2px;
}

.detail-val {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.detail-val:hover {
  color: var(--color-orange-primary);
}

.contact-socials-wrapper {
  border-top: 1px solid rgba(89, 43, 0, 0.12);
  padding-top: 24px;
}

.contact-socials-wrapper .footer-socials {
  margin-top: 12px;
}

.contact-socials-wrapper .social-icon {
  color: var(--color-primary-dark);
}
.contact-socials-wrapper .social-icon svg path {
  fill: #592B00;
}

.contact-socials-wrapper .social-icon:hover {
  color: var(--color-white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(89, 43, 0, 0.18);
  border-radius: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23592B00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 16px;
  padding-right: 44px;
  cursor: pointer;
}

.form-select::-ms-expand {
  display: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: #FFFFFF;
  border-color: var(--color-orange-primary);
  box-shadow: 0 0 0 4px rgba(214, 96, 11, 0.18);
}

.form-textarea {
  resize: vertical;
}

.submit-btn {
  margin-top: 8px;
  align-self: flex-start;
}

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

@media (max-width: 576px) {
  .contact-page-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .contact-info-title,
  .form-card-title {
    font-size: 26px;
  }
}

/* ==========================================================================
   Book Session Page
   ========================================================================== */
.page-book-session .site-footer {
  position: relative;
  z-index: 2;
}

.page-book-session main {
  position: relative;
  z-index: 0;
}

.page-book-session main .container {
  position: relative;
  z-index: 1;
}

.book-session-section {
  padding-top: 160px;
  padding-bottom: 80px;
}

.page-book-session .top-section-header {
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-book-session .section-title {
  max-width: none;
  width: 100%;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.page-book-session .section-subtitle {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.55;
}

.page-book-session .pill-badge {
  margin-bottom: 16px;
}

.page-book-session .book-info-title,
.page-book-session .form-card-title,
.page-book-session .auth-subtitle,
.page-book-session .book-field-label {
  text-align: left;
}

.page-book-session .book-form-card {
  max-width: 100%;
}

.page-book-session #auth-panel {
  align-items: stretch;
}

.book-session-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}

.book-info-card,
.book-form-card {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow-card-warm);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.book-info-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #ffffff;
  line-height: 1.15;
}

.book-info-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary-dark);
  opacity: 0.92;
  line-height: 1.65;
  margin-bottom: 28px;
}

.book-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: book-step;
}

.book-steps-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.book-steps-list li span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #592B00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(214, 96, 11, 0.25);
}

.auth-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-primary-dark);
  opacity: 0.78;
  margin: -4px 0 24px;
}

.auth-inline-link-wrap {
  margin-top: 14px;
  text-align: center;
}

.auth-inline-link {
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-orange-primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-inline-link:hover {
  color: var(--color-deep-red);
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  border: 1px solid rgba(89, 43, 0, 0.08);
}

.auth-tab {
  flex: 1;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--color-primary-dark);
  transition: all var(--transition-fast);
}

.auth-tab.is-active {
  background: var(--grad-pill-button);
  box-shadow: var(--shadow-button-orange);
  color: var(--color-primary-dark);
}

.user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-soft-card);
}

.user-bar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-bar-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-dark);
  opacity: 0.65;
}

.user-bar strong {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary-dark);
}

.btn-block {
  width: 100%;
  margin-top: 8px;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary-dark);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.btn-outline:hover {
  background: rgba(89, 43, 0, 0.06);
}

.form-message {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  min-height: 20px;
}

.form-message.is-error { color: #b42318; }
.form-message.is-success { color: #067647; }

.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 28px;
}

.wizard-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(89, 43, 0, 0.1);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(89, 43, 0, 0.55);
  cursor: default;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wizard-step:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wizard-step:not(:disabled) {
  cursor: pointer;
}

.wizard-step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(89, 43, 0, 0.35);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background 0.2s ease;
}

.wizard-step.is-active {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(212, 140, 58, 0.55);
  color: var(--color-primary-dark);
  box-shadow: 0 8px 24px rgba(89, 43, 0, 0.12);
}

.wizard-step.is-active span,
.wizard-step.is-done span {
  background: #592B00;
}

.wizard-step.is-done {
  color: var(--color-primary-dark);
  border-color: rgba(89, 43, 0, 0.2);
}

.book-session-wizard.booking-layout {
  display: block;
  max-width: 640px;
  margin: 0 auto;
}

.book-wizard-pane {
  animation: wizardPaneIn 0.28s ease;
}

.book-wizard-pane[hidden] {
  display: none !important;
}

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

.wizard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 8px;
}

.wizard-nav .btn-ghost-book {
  margin-right: auto;
}

.btn-ghost-book {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(89, 43, 0, 0.2);
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-primary-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-ghost-book:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(89, 43, 0, 0.35);
}

.booking-layout {
  grid-template-columns: 1fr;
  align-items: start;
}

.book-field {
  margin-bottom: 24px;
}

.book-field-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  opacity: 0.75;
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.region-chip,
.session-chip,
.slot-chip {
  border: 1.5px solid rgba(89, 43, 0, 0.14);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-primary-dark);
  transition: all var(--transition-fast);
}

.region-chip:hover,
.session-chip:hover,
.slot-chip:hover:not(:disabled) {
  border-color: rgba(214, 96, 11, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.region-chip.is-active,
.session-chip.is-active,
.slot-chip.is-active {
  background: var(--grad-pill-button);
  box-shadow: var(--shadow-button-orange);
  border-color: transparent;
}

.session-chip,
.slot-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.session-group-title {
  margin: 12px 0 2px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(89, 43, 0, 0.68);
}

.session-chip strong,
.slot-chip strong {
  font-size: 15px;
  font-weight: 700;
}

.session-chip span,
.slot-chip span {
  font-size: 13px;
  opacity: 0.82;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-month-label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.cal-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(89, 43, 0, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cal-nav-btn:hover {
  background: #fff;
  box-shadow: var(--shadow-soft-card);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-head {
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  opacity: 0.65;
  padding: 4px 0 8px;
}

.cal-day {
  aspect-ratio: 1;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: default;
  transition: all var(--transition-fast);
}

.cal-day.is-empty {
  background: transparent;
  border: none;
}

.cal-day.is-past {
  opacity: 0.28;
}

.cal-day.is-disabled {
  opacity: 0.4;
}

.cal-day.is-available {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(214, 96, 11, 0.2);
  cursor: pointer;
}

.cal-day.is-available:hover {
  background: #fff;
  box-shadow: var(--shadow-soft-card);
}

.cal-day.is-selected {
  background: var(--grad-pill-button);
  border-color: transparent;
  box-shadow: var(--shadow-button-orange);
}

.calendar-hint,
.slot-empty {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-primary-dark);
  opacity: 0.7;
}

.booking-summary {
  margin: 24px 0 20px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(89, 43, 0, 0.08);
}

.booking-summary h4 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-primary-dark);
}

.summary-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  align-items: baseline;
}

.summary-list dt {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  opacity: 0.65;
}

.summary-list dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.book-confirm-form {
  margin-top: 8px;
}

.book-form-card .form-input {
  color: var(--color-primary-dark);
}

@media (max-width: 992px) {
  .book-session-grid,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .book-session-wizard.booking-layout {
    max-width: 100%;
  }

  .book-info-card {
    order: 2;
  }

  .book-form-card {
    order: 1;
  }

  .wizard-steps {
    gap: 8px;
  }

  .wizard-step {
    font-size: 12px;
    padding: 8px 12px;
  }
}

@media (max-width: 576px) {
  .book-session-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .book-info-card,
  .book-form-card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .book-info-title,
  .form-card-title {
    font-size: 26px;
  }

  .user-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
    text-align: center;
  }

  .wizard-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-tabs {
    flex-direction: column;
    border-radius: 18px;
  }

  .summary-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Profile dropdown (header auth) */
.profile-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(89, 43, 0, 0.18);
  border: 1px solid rgba(89, 43, 0, 0.08);
  z-index: 200;
}

.profile-dropdown-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-dropdown-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-dark);
  opacity: 0.6;
  margin: 0 8px 6px;
}

.profile-dropdown-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 8px 8px;
}

.profile-dropdown-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.profile-dropdown-link:hover {
  background: rgba(214, 96, 11, 0.1);
}

.profile-dropdown-logout {
  color: #b42318;
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-primary-dark);
  opacity: 0.65;
}

.password-field {
  position: relative;
}

.password-field .form-input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(89, 43, 0, 0.06);
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.password-toggle:hover {
  background: rgba(214, 96, 11, 0.15);
}

.page-book-session .form-input:-webkit-autofill,
.page-book-session .form-input:-webkit-autofill:hover,
.page-book-session .form-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-primary-dark);
  box-shadow: 0 0 0 1000px rgba(255, 248, 240, 0.95) inset;
  transition: background-color 9999s ease-out 0s;
}

/* Product detail page */
.page-product main {
  padding-top: 120px;
  padding-bottom: 80px;
}

.product-page-section .top-section-header {
  margin-bottom: 36px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.product-detail-image-wrap {
  background: var(--color-card-surface);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 200, 140, 0.4);
  box-shadow: var(--shadow-card-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-detail-image-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
  transition: transform 0.4s ease;
}

.product-detail-image-wrap:hover img {
  transform: scale(1.04);
}

.product-detail-badge {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-dark);
  opacity: 0.7;
  margin-bottom: 8px;
}

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.product-detail-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-primary-dark);
  opacity: 0.9;
  margin-bottom: 28px;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Login page */
.login-page-section .container {
  display: flex;
  justify-content: center;
}

.login-page-section .login-card {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.login-page-section .form-card-title {
  font-size: 28px;
  margin-bottom: 4px;
}

.login-page-section .form-input:-webkit-autofill,
.login-page-section .form-input:-webkit-autofill:hover,
.login-page-section .form-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-primary-dark);
  box-shadow: 0 0 0 1000px rgba(255, 248, 240, 0.95) inset;
  transition: background-color 9999s ease-out 0s;
}

@media (max-width: 576px) {
  .login-page-section .login-card {
    padding: 28px 20px;
  }
}


/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.product-detail-section {
  padding-top: 160px;
  padding-bottom: 80px;
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 32px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(89, 43, 0, 0.78);
  box-shadow: 0 4px 14px rgba(89, 43, 0, 0.28);
  opacity: 1;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

/* Never stay invisible if a parent .reveal animation hasn't fired yet */
.product-back-link.reveal,
.product-back-link.reveal-fade {
  opacity: 1;
  transform: none;
}

.product-back-link:hover {
  color: #ffffff;
  background: rgba(89, 43, 0, 0.95);
  opacity: 1;
  transform: translateX(-2px);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-card-warm);
  margin-bottom: 80px;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 248, 240, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.product-detail-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-detail-content .pill-badge {
  margin-bottom: 16px;
}

.product-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0px #ffffff;
}

.product-detail-price {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-orange-primary);
  margin-bottom: 20px;
}

.product-detail-desc {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-primary-dark);
  opacity: 0.9;
  margin-bottom: 28px;
  white-space: pre-wrap;
}

.product-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.product-buy-btn,
.btn-cart {
  display: inline-flex;
  min-width: 160px;
  justify-content: center;
}

.btn-cart {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(95deg, #C33002 0%, #D6600B 45%, #F58C41 100%);
  border: 1.5px solid transparent;
  border-radius: 9999px;
  padding: 10px 28px;
  cursor: pointer;
  box-shadow: 0px 6px 15px rgba(195, 48, 2, 0.35);
  transition: all var(--transition-normal);
}

.btn-cart::before {
  display: none;
}

.btn-cart:hover {
  color: #fff;
  background: linear-gradient(95deg, #A82801 0%, #C4550A 45%, #E67A30 100%);
  box-shadow: 0px 8px 20px rgba(195, 48, 2, 0.5);
}

.btn-cart.added {
  background: linear-gradient(95deg, #592B00 0%, #7A3D08 100%);
  color: #fff;
  box-shadow: 0px 6px 15px rgba(89, 43, 0, 0.35);
}

.product-payment {
  border-top: 1px solid rgba(89, 43, 0, 0.12);
  padding-top: 22px;
}

.product-payment-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  opacity: 0.7;
  margin-bottom: 12px;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.payment-icon {
  display: inline-flex;
  width: 52px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(89, 43, 0, 0.12);
  background: #fff;
  transition: transform var(--transition-fast);
}

.payment-icon:hover {
  transform: translateY(-2px);
}

.payment-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.product-info-panel {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 28px 32px 36px;
  box-shadow: var(--shadow-card-warm);
  margin-bottom: 60px;
}

.product-info-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: #592B00;
  margin: 0 0 14px;
}

.product-long-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-primary-dark);
  white-space: pre-wrap;
}

.product-not-found {
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: var(--shadow-card-warm);
  margin-bottom: 60px;
}

.product-not-found h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.product-not-found p {
  font-size: 16px;
  color: var(--color-primary-dark);
  opacity: 0.85;
  margin-bottom: 28px;
}

.related-products .top-section-header {
  margin-bottom: 40px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px;
  border-radius: 20px;
  background: var(--color-card-surface);
  border: 1px solid rgba(255, 200, 140, 0.35);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.related-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-image-well);
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.related-product-card:hover .related-product-image img {
  transform: scale(1.06);
}

.related-product-info {
  padding: 0 6px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-product-info h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.related-product-info h3 a {
  color: inherit;
  text-decoration: none;
}

.related-product-info h3 a:hover {
  color: var(--color-orange-primary);
}

.related-product-info p {
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-primary-dark);
  opacity: 0.85;
  margin-bottom: 10px;
}

.related-product-price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-orange-primary);
  margin-bottom: 14px;
}

.related-product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.related-product-actions .btn,
.related-product-actions .btn-cart {
  width: 100%;
  min-width: 0;
  font-size: 14px;
  padding: 10px 16px;
}

@media (max-width: 991px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
  }

  .related-products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .product-detail-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .product-detail-grid {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 50px;
  }

  .product-detail-image {
    padding: 12px;
  }

  .product-detail-title {
    font-size: 28px;
  }

  .product-detail-price {
    font-size: 24px;
  }

  .product-detail-desc {
    font-size: 15px;
  }

  .product-info-panel {
    padding: 20px 16px 28px;
    border-radius: 20px;
    margin-bottom: 40px;
  }

  .product-info-title {
    font-size: 24px;
  }

  .product-long-desc {
    font-size: 15px;
  }

  .product-action-btns {
    flex-direction: column;
  }

  .product-buy-btn,
  .btn-cart {
    width: 100%;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .related-product-image {
    aspect-ratio: 1 / 1;
    height: auto;
  }
}

/* ==========================================================================
   Cart Icon Badge + Cart Page
   ========================================================================== */
.cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 0;
  text-decoration: none;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #FFE566;
  color: #592B00;
  border: 2px solid #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.cart-page-section {
  padding-top: 160px;
  padding-bottom: 80px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}

.cart-items-panel,
.cart-summary-panel {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card-warm);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(89, 43, 0, 0.12);
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-image {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 248, 240, 0.65);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cart-item-name {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.cart-item-name a {
  color: inherit;
  text-decoration: none;
}

.cart-item-name a:hover {
  color: var(--color-orange-primary);
}

.cart-item-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-primary-dark);
  opacity: 0.85;
  margin-bottom: 8px;
}

.cart-item-price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-orange-primary);
  margin-bottom: 12px;
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(89, 43, 0, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-primary-dark);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cart-qty-btn:hover {
  background: rgba(214, 96, 11, 0.12);
}

.cart-qty-value {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary-dark);
}

.cart-remove-btn {
  border: 1.5px solid var(--color-deep-red);
  background: #fff7f5;
  color: var(--color-deep-red);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  line-height: 1.2;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.cart-remove-btn:hover {
  color: #ffffff;
  background: var(--color-deep-red);
  border-color: var(--color-deep-red);
}

.cart-item-line-total {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.cart-summary-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  text-shadow: 1px 1px 0 #fff;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary-dark);
}

.cart-summary-total {
  padding-top: 14px;
  margin-top: 8px;
  margin-bottom: 24px;
  border-top: 1px solid rgba(89, 43, 0, 0.12);
  font-size: 20px;
}

.cart-summary-total strong {
  color: var(--color-orange-primary);
  font-size: 24px;
}

.cart-checkout-btn,
.cart-continue-btn {
  width: 100%;
  margin-bottom: 12px;
  text-align: center;
}

.cart-payment {
  margin-top: 20px;
}

.cart-empty {
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: var(--shadow-card-warm);
}

.cart-empty h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.cart-empty p {
  font-size: 16px;
  color: var(--color-primary-dark);
  opacity: 0.85;
  margin-bottom: 28px;
}

@media (max-width: 991px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .cart-page-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .cart-items-panel,
  .cart-summary-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .cart-item {
    grid-template-columns: 84px 1fr;
    gap: 12px;
  }

  .cart-item-image {
    width: 84px;
    height: 84px;
  }

  .cart-item-line-total {
    grid-column: 2;
  }

  .cart-item-desc {
    display: none;
  }
}

/* ==========================================================================
   Shop Page
   ========================================================================== */
.shop-page-section {
  padding-top: 160px;
  padding-bottom: 80px;
}

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.shop-product-card {
  height: 100%;
}

.shop-product-price {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-orange-primary);
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .shop-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .shop-page-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .shop-product-card .product-card-actions .btn,
  .shop-product-card .product-card-actions .btn-cart {
    font-size: 11px;
    padding: 6px 10px;
  }

  .shop-product-price {
    font-size: 14px;
  }
}

/* ==========================================================================
   Blog Page
   ========================================================================== */
.blog-page-section {
  padding-top: 160px;
  padding-bottom: 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card-surface);
  border: 1px solid rgba(255, 200, 140, 0.35);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.blog-category {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(89, 43, 0, 0.15);
  border-radius: 999px;
  padding: 5px 12px;
}

.blog-date,
.blog-read-time {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-primary-dark);
  opacity: 0.75;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
  text-shadow: 1px 1px 0 #fff;
}

.blog-card-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-primary-dark);
  opacity: 0.9;
  margin-bottom: 18px;
  flex: 1;
}

.blog-card-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-orange-primary);
}

.blog-article-card {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card-warm);
  margin-bottom: 70px;
}

.blog-article-image {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.blog-article-image img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.blog-article-body {
  padding: 36px 40px 40px;
}

.blog-article-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 46px);
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 #fff;
}

.blog-article-author {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary-dark);
  opacity: 0.8;
  margin-bottom: 24px;
}

.blog-article-content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-primary-dark);
  opacity: 0.95;
}

.blog-article-content p {
  margin-bottom: 18px;
}

.blog-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.related-blog .top-section-header {
  margin-bottom: 36px;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-article-body {
    padding: 28px 24px;
  }
}

@media (max-width: 576px) {
  .blog-page-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 210px;
  }

  .blog-article-actions {
    flex-direction: column;
  }

  .blog-article-actions .btn,
  .blog-article-actions .btn-cart {
    width: 100%;
  }
}

/* ==========================================================================
   Payment Page
   ========================================================================== */
.payment-page-section {
  padding-top: 160px;
  padding-bottom: 80px;
}

.payment-layout-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
}

.payment-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.payment-details-card {
  padding: 32px 28px;
}

.payment-details-card .form-card-title {
  margin-bottom: 6px;
}

.payment-section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-primary-dark);
  margin: 8px 0 4px;
  text-shadow: 1px 1px 0 #fff;
}

.payment-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  margin-top: 4px;
}

.payment-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-orange-primary);
  flex-shrink: 0;
}

.payment-summary-panel {
  position: sticky;
  top: 120px;
}

.payment-details-card .form-input.is-invalid,
.payment-details-card .form-textarea.is-invalid,
.payment-details-card .form-select.is-invalid {
  border-color: var(--color-deep-red);
  box-shadow: 0 0 0 3px rgba(195, 48, 2, 0.12);
}

@media (max-width: 991px) {
  .payment-layout-grid {
    grid-template-columns: 1fr;
  }

  .payment-summary-panel {
    position: static;
  }
}

@media (max-width: 576px) {
  .payment-page-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .payment-details-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   Profile Page
   ========================================================================== */
.page-profile main {
  position: relative;
  z-index: 0;
}

.page-profile .site-footer {
  position: relative;
  z-index: 2;
}

.profile-page-section {
  padding-top: 160px;
  padding-bottom: 48px;
}

.profile-page-section .top-section-header {
  margin-bottom: 36px;
}

.profile-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.profile-top-grid,
.profile-address-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.profile-top-grid {
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
}

.profile-address-grid {
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.25fr);
}

.profile-card {
  height: 100%;
}

.profile-card .form-card-title {
  margin-bottom: 12px;
}

.profile-card-subtitle {
  margin: -4px 0 18px;
}

.profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-card-head .form-card-title {
  margin-bottom: 0;
}

.profile-account-meta p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.profile-account-meta p:last-child {
  margin-bottom: 0;
}

.profile-address-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-address-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(89, 43, 0, 0.1);
}

.profile-address-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary-dark);
}

.profile-address-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.profile-action-btn {
  border: none;
  background: none;
  color: var(--color-orange-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-action-delete {
  color: var(--color-deep-red);
}

.profile-empty-note {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary-dark);
  opacity: 0.85;
  margin-bottom: 0;
}

.profile-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-card .contact-form .form-group:last-of-type {
  margin-bottom: 0;
}

.profile-activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.profile-activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.profile-activity-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(89, 43, 0, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.profile-activity-item--stack {
  flex-direction: column;
}

.profile-activity-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--color-primary-dark);
}

.profile-activity-body strong {
  font-size: 15px;
}

.profile-activity-body span {
  opacity: 0.85;
}

.profile-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(89, 43, 0, 0.08);
  color: var(--color-primary-dark);
}

.profile-status-badge.is-success {
  background: rgba(34, 120, 60, 0.12);
  color: #1f6b38;
}

.profile-status-badge.is-error {
  background: rgba(180, 40, 40, 0.12);
  color: #9c2b2b;
}

.profile-status-badge.is-pending {
  background: rgba(214, 96, 11, 0.14);
  color: #a34a08;
}

.profile-meeting-link {
  display: inline-block;
  margin-top: 8px;
  color: #a34a08;
  font-weight: 600;
  text-decoration: underline;
}

.profile-meeting-pass,
.profile-meeting-pending {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.8;
}

.btn-sm {
  min-width: 0;
  padding: 8px 18px;
  font-size: 14px;
}

@media (max-width: 991px) {
  .profile-top-grid,
  .profile-address-grid,
  .profile-activity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .profile-page-section {
    padding-top: 110px;
    padding-bottom: 32px;
  }

  .profile-card {
    padding: 22px 18px;
  }

  .profile-address-item {
    flex-direction: column;
  }

  .profile-address-actions {
    flex-direction: row;
  }
}

/* ==========================================================================
   Policy / Legal Page
   ========================================================================== */
.policy-page-section {
  padding-top: 120px;
  padding-bottom: 80px;
}

.policy-page-section .top-section-header,
.policy-page-section .policy-content-card {
  opacity: 1;
  transform: none;
}

.policy-content-card {
  max-width: 860px;
  margin-inline: auto;
  background: rgba(255, 255, 255, .5);
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: var(--shadow-card-warm);
}

.policy-content {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-primary-dark);
  opacity: 0.95;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-primary-dark);
  margin: 36px 0 14px;
  text-shadow: 1px 1px 0px #ffffff;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 16px;
}

.policy-content ul {
  margin: 0 0 18px 1.2em;
  padding: 0;
}

.policy-content ol {
  margin: 0 0 18px 1.4em;
  padding: 0;
}

.policy-content ol li {
  margin-bottom: 10px;
}

.policy-content a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .policy-page-section {
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .policy-content-card {
    padding: 28px 22px;
  }

  .policy-content {
    font-size: 15px;
  }

  .policy-content h2 {
    font-size: 20px;
    margin-top: 28px;
  }
}
/* ==========================================================================
   Tarot Masterclass
   ========================================================================== */
.masterclass-section {
  padding: 80px 0 70px;
}

.masterclass-home-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: stretch;
  max-width: 822px;
  margin: 0 auto;
  background: var(--color-card-surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 200, 140, 0.4);
  box-shadow: var(--shadow-card-warm);
}

.masterclass-home-media {
  position: relative;
  width: 100%;
  align-self: start;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  line-height: 0;
}

.masterclass-home-media a {
  display: block;
  width: 100%;
  cursor: pointer;
  line-height: 0;
}

.masterclass-home-media img,
.masterclass-detail-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: none;
  object-fit: unset;
  max-height: none;
  min-height: 0;
  transition: transform 0.35s ease;
}

.masterclass-detail-media {
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  line-height: 0;
}

.masterclass-detail-copy .btn {
  width: fit-content;
  max-width: 100%;
}

.masterclass-home-media a:hover img {
  transform: scale(1.03);
}

.masterclass-home-lead {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--color-primary-dark);
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.35);
}

.masterclass-home-copy p {
  color: var(--color-primary-dark) !important;
  line-height: 1.65;
  margin-bottom: 18px;
}

.masterclass-home-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
}

.masterclass-home-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
}

.masterclass-page-section {
  padding-top: 150px;
  padding-bottom: 80px;
}

.masterclass-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto 56px;
}

.masterclass-detail-copy,
.masterclass-detail-copy p,
.masterclass-detail-copy .auth-subtitle,
.masterclass-detail-copy #mc-overview,
.masterclass-detail-copy #mc-details {
  color: var(--color-primary-dark) !important;
}

.masterclass-detail-copy #mc-details {
  line-height: 1.65;
  margin: 0 0 8px;
  opacity: 0.95;
}

.masterclass-review-shot {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  margin: 10px 0 12px;
  background: rgba(255,255,255,0.55);
  cursor: zoom-in;
}

.masterclass-learn-heading {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary-dark);
  margin: 22px 0 12px;
}

.masterclass-learn-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}

.masterclass-learn-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.masterclass-learn-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97D34, #FB9728);
}

.masterclass-cta-banner {
  background: rgba(249, 125, 52, 0.16);
  border: 1px solid rgba(249, 125, 52, 0.28);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}

.masterclass-certificate-block {
  max-width: 980px;
  margin: 0 auto 72px;
}

.masterclass-certificate-showcase {
  margin: 0 0 28px;
  text-align: center;
}

.masterclass-certificate-frame {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  cursor: zoom-in;
  background: transparent;
  box-shadow: 0 18px 48px rgba(89, 43, 0, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.masterclass-certificate-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(89, 43, 0, 0.34);
}

.masterclass-certificate-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.masterclass-certificate-caption {
  margin: 14px auto 0;
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-primary-dark);
  opacity: 0.82;
}

.masterclass-certificate-about {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.masterclass-certificate-about .masterclass-subhead {
  margin-bottom: 12px;
}

.masterclass-certificate-lead {
  margin: 0 auto 22px;
  max-width: 54ch;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-primary-dark);
}

.masterclass-certificate-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.masterclass-certificate-highlights li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-card-warm);
}

.mc-cert-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c45a12;
}

.mc-cert-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary-dark);
}

.masterclass-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.masterclass-subhead {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-primary-dark);
  text-align: center;
  margin: 8px 0 22px;
}

.masterclass-text-reviews-wrap,
.masterclass-image-reviews-wrap {
  max-width: 1100px;
  margin: 0 auto 48px;
  position: relative;
}

.mcTextReviewsSwiper,
.mcImageReviewsSwiper {
  padding: 8px 40px 8px;
}

.mc-text-pagination,
.mc-image-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100%;
  margin-top: 18px;
  text-align: center;
}

.mc-text-pagination .swiper-pagination-bullet,
.mc-image-pagination .swiper-pagination-bullet {
  background: rgba(89, 43, 0, 0.35);
  opacity: 1;
}

.mc-text-pagination .swiper-pagination-bullet-active,
.mc-image-pagination .swiper-pagination-bullet-active {
  background: #F97D34;
  width: 10px;
}

.masterclass-review-card--text {
  min-height: 180px;
  height: 100%;
}

.masterclass-review-card--image {
  background: rgba(255,255,255,0.4);
  padding: 12px;
}

.mc-review-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.masterclass-review-card--image .masterclass-review-shot {
  max-height: 360px;
  margin: 0 0 10px;
}

body.mc-lightbox-open {
  overflow: hidden;
}

.mc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 12, 8, 0.82);
  backdrop-filter: blur(4px);
}

.mc-lightbox[hidden] {
  display: none !important;
}

.mc-lightbox img {
  max-width: min(960px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.mc-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #592B00;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.mc-lightbox-close:hover {
  background: #fff;
}

.masterclass-review-caption {
  color: var(--color-primary-dark);
  font-size: 14px;
  margin: 0 0 8px;
}

.mc-text-prev,
.mc-text-next,
.mc-image-prev,
.mc-image-next {
  color: #592B00 !important;
}

.masterclass-review-card {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: var(--shadow-card-warm);
}

.masterclass-review-stars {
  color: #c45a12;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.masterclass-review-text {
  color: var(--color-primary-dark);
  line-height: 1.6;
  margin-bottom: 12px;
}

.masterclass-review-name {
  color: var(--color-primary-dark);
  font-size: 14px;
}

@media (max-width: 992px) {
  .masterclass-section {
    padding: 40px 0 36px;
  }

  .masterclass-section .top-section-header {
    margin-bottom: 20px;
    gap: 6px;
  }

  /* Same as About card: stacked image then copy */
  .masterclass-home-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 24px;
    max-width: 100%;
  }

  .masterclass-home-media {
    border-radius: 18px;
    min-height: 0;
  }

  .masterclass-home-media img {
    min-height: 0;
    height: auto;
    border-radius: 18px;
  }

  .masterclass-home-lead {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .masterclass-home-copy p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .masterclass-home-copy #home-mc-overview {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .masterclass-home-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 4px;
  }

  .masterclass-home-actions .btn {
    flex: 1 1 0;
    width: auto;
    font-size: 13px;
    padding: 10px 12px;
  }

  /* Detail page — about-style card stack */
  .masterclass-detail-grid,
  .masterclass-reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .masterclass-certificate-block {
    margin-bottom: 44px;
  }

  .masterclass-certificate-frame {
    padding: 0;
    border-radius: 4px;
  }

  .masterclass-certificate-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .masterclass-certificate-lead {
    font-size: 15px;
  }

  .masterclass-page-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .page-masterclass .top-section-header {
    margin-bottom: 18px;
    gap: 6px;
  }

  .page-masterclass .section-title {
    font-size: 28px;
  }

  .page-masterclass .section-subtitle {
    font-size: 14px;
  }

  .masterclass-detail-grid {
    margin-bottom: 36px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: var(--shadow-card-warm);
  }

  .masterclass-detail-media {
    border-radius: 18px;
    min-height: 0;
  }

  .masterclass-detail-media img {
    min-height: 0;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 18px;
    box-shadow: none;
  }

  .page-masterclass .masterclass-detail-copy.book-form-card {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .page-masterclass .form-card-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .page-masterclass .auth-subtitle,
  .page-masterclass #mc-overview,
  .page-masterclass #mc-details {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .masterclass-learn-heading {
    font-size: 20px;
    margin: 16px 0 10px;
  }

  .masterclass-learn-list {
    gap: 8px;
    margin-bottom: 14px;
  }

  .masterclass-learn-list li {
    font-size: 14px;
    font-weight: 500;
    padding-left: 18px;
  }

  .masterclass-cta-banner {
    font-size: 13px;
    padding: 12px 14px;
    margin-bottom: 14px;
  }

  .masterclass-detail-copy .btn {
    width: 100%;
    justify-content: center;
  }

  .masterclass-reviews-block .top-section-header {
    margin-bottom: 16px;
  }

  .masterclass-reviews-block .section-title {
    font-size: 26px;
  }

  .masterclass-subhead {
    font-size: 18px;
    margin: 0 0 12px;
  }

  .masterclass-text-reviews-wrap,
  .masterclass-image-reviews-wrap {
    margin-bottom: 28px;
  }

  .mcTextReviewsSwiper,
  .mcImageReviewsSwiper {
    padding: 4px 6px 4px;
    overflow: visible;
  }

  .mc-text-pagination,
  .mc-image-pagination {
    margin-top: 14px;
  }

  .mc-text-prev,
  .mc-text-next,
  .mc-image-prev,
  .mc-image-next {
    display: none !important;
  }

  .masterclass-review-card {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .masterclass-review-card--text {
    min-height: 0;
  }

  .masterclass-review-text {
    font-size: 14px;
  }

  .masterclass-review-card--image .masterclass-review-shot {
    max-height: 220px;
  }

  .mc-lightbox {
    padding: 16px;
  }

  .mc-lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Kalyug Rider Waite Deck (static page) — screenshot layout
   ========================================================================== */
.kd-page-section {
  padding-top: 140px;
  padding-bottom: 80px;
}

.kd-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 56px;
}

.kd-board-frame {
  background: linear-gradient(145deg, #F97D34 0%, #D6600B 55%, #F58B40 100%);
  border-radius: 40px;
  padding: 22px 20px;
  box-shadow: var(--shadow-card-warm);
}

.kd-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.kd-board-card {
  display: block;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.kd-board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(89, 43, 0, 0.28);
}

.kd-board-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.kd-board-caption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 26px;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(89, 43, 0, 0.35);
}

.kd-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #F97D34, #D6600B);
  box-shadow: var(--shadow-button-orange);
}

.kd-icon-circle--sm {
  width: 42px;
  height: 42px;
}

.kd-icon-circle--lg {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  margin: 0;
}

.kd-center-video {
  max-width: 320px;
  margin: 0 auto 64px;
  text-align: center;
}

.kd-phone-video {
  border-radius: 22px;
  overflow: hidden;
  background: #1a0a05;
  aspect-ratio: 9 / 16;
  box-shadow: var(--shadow-card-warm);
  border: 3px solid rgba(255, 255, 255, 0.45);
}

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

.kd-caption,
.kd-reel figcaption {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(89, 43, 0, 0.35);
  text-align: center;
}

.kd-desc-row {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 64px;
}

.kd-desc-panels {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.kd-desc-box {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-soft-card);
}

.kd-desc-box h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.kd-desc-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.kd-desc-box li {
  color: var(--color-primary-dark);
  font-size: 14px;
  line-height: 1.5;
}

.kd-buy-row {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px) 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 56px;
}

.kd-reel {
  margin: 0;
  text-align: center;
  max-width: 280px;
  justify-self: center;
  width: 100%;
}

.kd-buy-circle {
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(160deg, #F97D34 0%, #D6600B 45%, #F58B40 100%);
  box-shadow: 0 14px 36px rgba(184, 75, 9, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 22px;
  color: #1a0a05;
}

.kd-buy-title {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(89, 43, 0, 0.25);
}

.kd-buy-gpay {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
}

.kd-buy-phone {
  font-family: var(--font-heading);
  font-size: 28px;
  color: #fff;
  margin: 4px 0 10px;
  text-shadow: 1px 1px 0 rgba(89, 43, 0, 0.25);
}

.kd-buy-note {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
  max-width: 200px;
}

.kd-buy-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-soft-card);
}

.kd-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 640px;
  margin: 0 auto 64px;
}

.kd-faq-section {
  padding-block: 12px 0;
}

.kd-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.kd-faq-grid .faq-item {
  margin: 0;
}

.kd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 6, 2, 0.72);
  display: grid;
  place-items: center;
  padding: 20px;
}

.kd-lightbox[hidden] {
  display: none !important;
}

body.kd-lightbox-open {
  overflow: hidden;
}

.kd-lightbox-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card-hover);
}

.kd-lightbox-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 32px;
  line-height: 1;
  color: var(--color-primary-dark);
  width: 40px;
  height: 40px;
}

.kd-lightbox-dialog img {
  width: min(220px, 55%);
  margin: 0 auto 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft-card);
}

.kd-lightbox-dialog h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  text-align: center;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.kd-lb-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.kd-lb-points li {
  color: var(--color-primary-dark);
  font-size: 14px;
  line-height: 1.5;
}

.kd-lang-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(89, 43, 0, 0.08);
  border: 1px solid rgba(89, 43, 0, 0.12);
}

.kd-lang-tabs--center {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 16px;
}

.kd-lang-tab {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 0.75;
}

.kd-lang-tab.is-active {
  background: var(--grad-pill-button);
  color: var(--color-primary-dark);
  opacity: 1;
  box-shadow: var(--shadow-button-orange);
}

@media (max-width: 991px) {
  .kd-page-section {
    padding-top: 120px;
  }

  .kd-boards {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .kd-board-frame {
    border-radius: 28px;
    padding: 16px;
  }

  .kd-desc-row {
    flex-direction: column;
    text-align: center;
  }

  .kd-desc-panels {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .kd-buy-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .kd-buy-circle {
    order: -1;
  }

  .kd-intro-row {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .kd-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .kd-board-grid {
    gap: 6px;
  }

  .kd-board-caption {
    font-size: 22px;
  }

  .kd-buy-title,
  .kd-buy-phone {
    font-size: 24px;
  }

  .kd-center-video,
  .kd-reel {
    max-width: 260px;
  }
}


/* ==========================================================================
   Services page (all services grid)
   ========================================================================== */
.services-page-section {
  padding-top: 160px;
  padding-bottom: 80px;
}

.services-page-loading {
  grid-column: span 2;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255,255,255,.28) 25%, rgba(255,255,255,.5) 50%, rgba(255,255,255,.28) 75%);
  background-size: 200% 100%;
  animation: faq-loading-shimmer 1.4s ease-in-out infinite;
}

.services-page-empty {
  text-align: center;
  color: #fff;
  font-size: 16px;
  margin-top: 24px;
  text-shadow: 1px 1px 0 rgba(89, 43, 0, 0.25);
}

@media (max-width: 576px) {
  .services-page-section {
    padding-top: 110px;
    padding-bottom: 40px;
  }
}
