@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700&family=Frank+Ruhl+Libre:wght@400;500;600;700&family=Geist:wght@400;500;600;700&family=Host+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400..700&display=swap');

:root {
  /* Exact Figma Color Tokens */
  --color-rose: #BF8484;
  --color-light-gray: #D9D7D3;
  --color-dark: #0C0D0F;
  --color-dark-90: #0C0D0FE5;
  --color-slate: #53555B;
  --color-cream: #FDFCF9;
  --color-white: #FFFFFF;
  --color-navy: #3E4259;
  --color-taupe-58: #C2BFB994;

  /* Functional UI Tokens */
  --color-green-cta: #06853A;
  --color-green-hover: #056E30;
  --color-blue-cta: #0D8BFD;
  --color-blue-hover: #0B76D8;
  --color-locked-gray: #9499A3;
  --color-bg-soft: #F6F4EF;
  --color-canvas-card: #F4EFE7;
  --color-input-bg: #F2F1EE;
  --color-danger: #E53935;
  --color-delivery-strip: #675F73;

  /* Typography — Playfair Display for Headings */
  --font-serif-en: 'Playfair Display', Georgia, serif;
  --font-serif-he: 'Playfair Display', 'Frank Ruhl Libre', serif;
  --font-sans-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans-he: 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;

  --font-heading: var(--font-serif-en);
  --font-body: var(--font-sans-en);

  /* Layout & Button Radius */
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius-btn: 12px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 20px rgba(12, 13, 15, 0.05);
  --shadow-btn-active: 0 6px 16px rgba(12, 13, 15, 0.22);
}

html[dir="rtl"] {
  --font-heading: var(--font-serif-he);
  --font-body: var(--font-sans-he);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-cream);
  color: var(--color-dark);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* ==========================================
   UNIFORM SECTION HEADINGS (Playfair Display, 50px, Weight 550)
   ========================================== */
.section-title-rose,
.section-title-navy,
.studio-heading,
.cart-page-title,
.about-story-title,
.about-section-heading,
.legal-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 50px;
  font-weight: 550;
  line-height: 1.15;
}

.section-title-rose {
  color: var(--color-rose);
  text-align: center;
  margin-bottom: 48px;
}

.section-title-navy {
  color: var(--color-navy);
}

/* ==========================================
   TOP NAVBAR (#3E4259)
   ========================================== */
.site-header {
  background-color: var(--color-navy);
  color: var(--color-white);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
  font-weight: 500;
}

.brand-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-white);
  text-transform: uppercase;
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  padding: 4px;
  margin-inline-end: 6px;
}

.header-cart-icon {
  width: 21px;
  height: 21px;
  object-fit: contain;
  display: block;
}

.cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -6px;
  background-color: var(--color-danger);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform 0.25s ease;
}

.cart-badge.hidden {
  display: none;
}

@keyframes cartBadgePulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.45);
  }
  100% {
    transform: scale(1);
  }
}

.cart-badge-pulse {
  animation: cartBadgePulse 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 2.3e: Flying Add-to-Cart Thumbnail Indicator */
.cart-flyer-indicator {
  position: fixed;
  z-index: 2500;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-blue-cta);
  background-size: cover;
  background-position: center;
  border: 2px solid var(--color-white);
  box-shadow: 0 6px 18px rgba(12, 13, 15, 0.28);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 2px;
  direction: ltr;
}

.lang-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.lang-btn.active {
  background-color: var(--color-white);
  color: var(--color-navy);
}

/* ==========================================
   FLOATING ACTION BUTTONS (WhatsApp & A11y)
   ========================================== */
.floating-btn {
  position: fixed;
  z-index: 900;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.floating-btn:hover {
  transform: scale(1.07);
}

.floating-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.floating-whatsapp {
  bottom: 28px;
  right: 24px;
}

.floating-a11y {
  bottom: 28px;
  left: 24px;
}

.a11y-panel {
  position: fixed;
  bottom: 80px;
  left: 24px;
  z-index: 1100;
  width: 230px;
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(12, 13, 15, 0.16);
  padding: 14px;
}

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EAE7E1;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

.a11y-close-btn {
  font-size: 14px;
  color: var(--color-slate);
  padding: 2px 6px;
}

.a11y-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.a11y-opt-btn {
  width: 100%;
  text-align: start;
  padding: 8px 10px;
  border-radius: var(--radius-btn);
  border: 1px solid #E5E3DD;
  background-color: var(--color-cream);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-dark);
  transition: all 0.15s ease;
}

.a11y-opt-btn:hover,
.a11y-opt-btn.active {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.a11y-reset-btn {
  margin-top: 4px;
  text-align: center;
  background-color: #F2F1EE;
}

body.a11y-high-contrast {
  filter: contrast(1.35);
}

body.a11y-grayscale {
  filter: grayscale(100%);
}

body.a11y-highlight-links a,
body.a11y-highlight-links button {
  outline: 2px solid #0D8BFD !important;
  outline-offset: 2px;
}

body.a11y-readable-font,
body.a11y-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ==========================================
   SHARED BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-navy:hover {
  background-color: #32364A;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark-90);
}

.btn-outline:hover {
  background-color: rgba(12, 13, 15, 0.05);
}

.btn-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ==========================================
   1.4 FREE DELIVERY BANNER & FOOTER
   ========================================== */
.delivery-banner {
  background-color: #675F73;
  color: var(--color-white);
  padding: 15px 20px;
  min-height: 54px;
  text-align: center;
  font-family: 'Geist', var(--font-body);
  font-size: 22px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
}

.delivery-banner-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}

.footer-grid > .footer-col:nth-child(2) {
  justify-self: center;
}

.footer-col h4 {
  font-family: 'Geist', var(--font-body);
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 6px;
}

.footer-col p,
.footer-col a,
.footer-col span,
.footer-col strong {
  font-family: 'Geist', var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.65;
}

.footer-col p {
  margin-top: 0 !important;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links li {
  margin: 0;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.social-icon-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.social-icon-link:hover {
  transform: scale(1.08);
}

/* 1.4a & 1.4b: Outer edge aligned with the dividing line end, +3% size (264px), centered vertically between top of footer and dividing line */
.footer-logo-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  align-self: center;
  width: 100%;
  height: 100%;
  margin-inline-end: 0;
}

.footer-logo-img {
  height: 264px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.footer-bottom {
  padding-top: 16px;
  text-align: center;
  font-family: 'Geist', var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
}

/* ==========================================
   1.1 HOMEPAGE: HERO BANNER (+10% Central Block Enlargement)
   ========================================== */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #EAE5DC;
  background-image: url("../assets/header image.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 24px;
  overflow: hidden;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 902px;
}

/* 1.1: +10% larger title */
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(78.6px, 10.1vw, 121px);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.05;
  margin-bottom: 0;
}

/* 1.1: +10% larger subtitle & proportional spacing */
.hero-subtitle {
  font-size: 19.8px;
  color: var(--color-slate);
  margin-top: 38.5px;
  margin-bottom: 16.5px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* 1.1: +10% larger buttons */
.hero-actions .btn {
  width: 231px;
  padding: 13.5px 31px;
  font-size: 15.4px;
}

/* ==========================================
   1.2 HOMEPAGE: FOUR SIMPLE STEPS
   ========================================== */
/* 1.2b: Increased vertical padding between cover image, title, 4 circles, and Gallery */
.steps-section {
  background-color: #F7F5F2;
  padding: 92px 0 84px;
}

.steps-section .section-title-rose {
  margin-top: 0;
  margin-bottom: 84px;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background-color: #E2DFD9;
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle-wrap {
  position: relative;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background-color: #F7F5F2;
  border: 6px solid var(--color-white);
  box-shadow: 0 4px 14px rgba(12, 13, 15, 0.06), 0 0 0 1px #E6E3DC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-dark);
}

/* 1.2a: Circle size reduced by 5% (36px -> 34px), number font-size reduced by 7% (20px -> 18.6px) */
.step-badge-num {
  position: absolute;
  top: -2px;
  inset-inline-start: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid #DFDDD7;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  font-family: 'Host Grotesk', var(--font-body);
  font-size: 18.6px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3E4259;
}

.step-icon-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.steps-grid .step-item:nth-child(2) .step-icon-img {
  transform: translateX(10px);
}

html[dir="rtl"] .steps-grid .step-item:nth-child(4) .step-icon-img {
  transform: scaleX(-1);
}

.step-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-slate);
  max-width: 235px;
  line-height: 1.5;
}

/* ==========================================
   1.3 HOMEPAGE: GALLERY BENTO CAROUSEL (+10% Height & +5% CTA)
   ========================================== */
.gallery-section {
  background-color: #F7F5F2;
  padding: 56px 0 72px;
}

/* 1.2b: Increased space between "Gallery" title and gallery images */
.gallery-section .section-title-rose {
  margin-bottom: 68px;
}

.gallery-carousel-wrap {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  direction: ltr;
}

/* 1.3a: Extended gallery height by +10% (740px -> 814px) */
.gallery-slide {
  display: none;
  gap: 14px;
  height: 814px;
  min-height: 814px;
}

.gallery-slide.active {
  display: grid;
}

/* Slide 1: Tall Left + 2 Stacked Squares Right */
.gallery-slide-1 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.gallery-slide-1 .g-item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.gallery-slide-1 .g-item-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.gallery-slide-1 .g-item-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* Slide 2: 2x2 Asymmetric Grid */
.gallery-slide-2 {
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr 1fr;
}

.gallery-slide-2 .g-item-1 {
  grid-column: 1 / 7;
  grid-row: 1 / 2;
}

.gallery-slide-2 .g-item-2 {
  grid-column: 7 / 13;
  grid-row: 1 / 2;
}

.gallery-slide-2 .g-item-3 {
  grid-column: 1 / 8;
  grid-row: 2 / 3;
}

.gallery-slide-2 .g-item-4 {
  grid-column: 8 / 13;
  grid-row: 2 / 3;
}

/* Slide 3: 2 Stacked Left + Tall Top-Right & Wide Bottom-Right */
.gallery-slide-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(12, 1fr);
}

.gallery-slide-3 .g-item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 7;
}

.gallery-slide-3 .g-item-2 {
  grid-column: 1 / 2;
  grid-row: 7 / 13;
}

.gallery-slide-3 .g-item-3 {
  grid-column: 2 / 3;
  grid-row: 1 / 9;
}

.gallery-slide-3 .g-item-4 {
  grid-column: 2 / 3;
  grid-row: 9 / 13;
}

.gallery-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #E7E2D8;
  border-radius: 2px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.02);
}

.carousel-arrow,
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  direction: ltr;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-light-gray);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover,
.reviews-arrow:hover {
  background-color: var(--color-light-gray);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
  left: -66px;
}

.carousel-arrow.next {
  right: -66px;
}

.gallery-cta-wrap {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 0;
}

/* 1.3b: CTA button enlarged by an additional 5% */
.gallery-cta-wrap .btn {
  padding: 15px 34px;
  font-size: 16.3px;
}

/* ==========================================
   HOMEPAGE: TESTIMONIALS SLIDER
   ========================================== */
.reviews-section {
  background-color: var(--color-white);
  padding: 64px 0 84px;
  overflow: hidden;
}

.reviews-section .section-title-rose {
  margin-top: 0;
  margin-bottom: 64px;
}

.reviews-slider-outer {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  direction: ltr;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  direction: ltr;
}

.review-card {
  flex: 0 0 calc((100% - 72px) / 3.4);
  min-width: 290px;
  background-color: #FDFCF9;
  border: 1.5px solid #D9D7D3;
  border-radius: var(--radius-md);
  padding: 28px 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

html[dir="rtl"] .review-card {
  direction: rtl;
}

.review-quote-img {
  position: absolute;
  top: 18px;
  width: 20px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.review-quote-img.quote-left {
  left: 20px;
  right: auto;
}

.review-quote-img.quote-right {
  right: 20px;
  left: auto;
}

.review-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-light-gray);
  margin-bottom: 16px;
  border: 2px solid var(--color-cream);
}

.review-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-slate);
  margin-bottom: 18px;
  flex-grow: 1;
}

.review-divider {
  width: 100%;
  height: 1px;
  background-color: #E2DFD9;
  margin-bottom: 12px;
}

.review-author {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.review-city {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-locked-gray);
}

.reviews-arrow.prev {
  left: 6%;
}

.reviews-arrow.next {
  right: 6%;
}

/* ==========================================
   2. CUSTOMIZE CANVAS PAGE HEADINGS & BACKGROUNDS
   ========================================== */
/* 2.1a: Hebrew RTL — reduce weight to 450 on all 3 headings on the page */
html[dir="rtl"] .choose-section .section-title-rose,
html[dir="rtl"] .studio-heading,
html[dir="rtl"] .faq-section .section-title-rose {
  font-weight: 450;
}

/* English LTR — compact the three Customize Canvas headings without affecting Hebrew. */
html[dir="ltr"] .choose-section .section-title-rose,
html[dir="ltr"] .studio-heading,
html[dir="ltr"] .faq-section .section-title-rose {
  font-weight: 550;
  font-size: 45px;
}

/* 2.2 & 2.4: "How to choose" background #FAF8F5 + increased bottom spacing */
.choose-section {
  padding: 64px 0 80px;
  background-color: #FAF8F5;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.choose-card {
  background-color: var(--color-white);
  border: 1.5px solid #D5D1C8;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.choose-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 14px 20px;
  border-bottom: 1.5px solid #D5D1C8;
}

.choose-card-icon {
  position: absolute;
  inset-inline-start: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #D5D1C8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}

.choose-card-icon img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
}

.choose-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 550;
  color: var(--color-dark);
}

.choose-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.choose-col {
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.choose-col:first-child {
  border-inline-end: 1.5px solid #D5D1C8;
}

.status-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.status-circle.good {
  border: 1.5px solid #2EAD4B;
  color: #2EAD4B;
}

.status-circle.bad {
  border: 1.5px solid #E53935;
  color: #E53935;
}

.choose-img-wrap {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #E7E2D8;
  margin-bottom: 10px;
}

.choose-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.choose-caption {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
  color: var(--color-dark);
}

/* ==========================================
   2.2 & 2.3 INTERACTIVE STUDIO (#F2F2F0 & Proportional Vertical Stretch)
   ========================================== */
.studio-section {
  background-color: #F2F2F0;
  padding: 76px 0 68px;
}

/* 2.2: Increased spacing between "Design your personal canvas" title and the 2 panels below it */
.studio-heading {
  color: #3E4259;
  margin-bottom: 48px;
}

.studio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.studio-controls-card {
  background-color: var(--color-cream);
  border: 1.5px solid #D7D7D7;
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

/* 2.3a: 1:1 aspect-ratio on Steps 1–3 group so the dividing line above Section 4 aligns with the bottom border of the square preview window */
.step-1-3-group {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
}

.studio-controls-card[data-state="1"] {
  background-color: #ECEAE4;
  opacity: 0.42;
  filter: grayscale(100%);
  pointer-events: none;
  user-select: none;
}

.studio-step-block {
  padding: 20px 26px;
  border-bottom: none;
  transition: opacity 0.2s ease;
}

.studio-step-block.step-4-block {
  border-top: 1.5px solid #DFDDD7;
  padding-top: 22px;
  padding-bottom: 26px;
}

.studio-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* 2.3b: Enlarged typography in control panel by 1–2px */
.studio-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-step-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-dark);
}

.studio-controls-card[data-state="2"] .step-4-block .studio-step-title,
.studio-controls-card[data-state="2"] .step-4-block .studio-step-num {
  color: #A3A19D;
}

.studio-controls-card[data-state="4"] .step-1-3-group .studio-step-title,
.studio-controls-card[data-state="4"] .step-1-3-group .studio-step-num,
.studio-controls-card[data-state="4"] .step-1-3-group .studio-step-desc {
  color: #9499A3;
}

.style-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.style-option-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 42px;
  min-height: 54px;
  border-radius: var(--radius-btn);
  border: 1px solid #DFDDD7;
  background-color: var(--color-white);
  color: var(--color-dark);
  font-size: 16.5px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.style-swatch {
  position: absolute;
  inset-inline-start: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--color-white);
  border: 1px solid #E2DFD9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 10px;
}

.style-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.style-option-btn.selected {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-btn-active);
}

.studio-controls-card[data-state="1"] .style-option-btn,
.studio-controls-card[data-state="1"] .size-option-btn {
  background-color: #E5E4E0;
  border-color: #DCDAD4;
  color: #9B9995;
  box-shadow: none;
  pointer-events: none;
}

.studio-controls-card[data-state="4"] .style-option-btn,
.studio-controls-card[data-state="4"] .size-option-btn {
  pointer-events: none;
}

.studio-controls-card[data-state="4"] .style-option-btn.selected,
.studio-controls-card[data-state="4"] .size-option-btn.selected {
  background-color: var(--color-locked-gray);
  border-color: var(--color-locked-gray);
  color: var(--color-white);
}

.studio-controls-card[data-state="4"] .style-option-btn:not(.selected),
.studio-controls-card[data-state="4"] .size-option-btn:not(.selected) {
  opacity: 0.6;
}

.size-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.size-option-btn {
  padding: 14px 10px;
  border-radius: var(--radius-btn);
  border: 1px solid #DFDDD7;
  background-color: var(--color-white);
  color: var(--color-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.size-option-title {
  font-size: 17.5px;
  font-weight: 600;
}

.size-option-sub {
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.85;
}

/* Hebrew size guidance stays as two deliberate lines, keeping parentheses intact. */
html[dir="rtl"] .size-option-sub .size-sub-line {
  display: block;
  white-space: nowrap;
}

html[dir="ltr"] .choose-caption {
  font-size: 11px;
  font-weight: 500;
}

.size-option-btn.selected {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-btn-active);
}

.size-tip-bar {
  background-color: #EAE8E3;
  color: var(--color-slate);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 8px 14px;
  border-radius: 999px;
}

.studio-step-desc {
  font-size: 15px;
  color: var(--color-slate);
  margin-bottom: 14px;
}

.btn-create-preview {
  width: 100%;
  padding: 15px 22px;
  border-radius: var(--radius-btn);
  font-size: 17.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #06853A;
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(6, 133, 58, 0.28);
  transition: all 0.2s ease;
}

.btn-create-preview:hover {
  background-color: var(--color-green-hover);
}

.studio-controls-card[data-state="1"] .btn-create-preview {
  background-color: #E2E0DC;
  color: #9B9995;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.studio-controls-card[data-state="3"] .btn-create-preview {
  opacity: 0.85;
  pointer-events: none;
}

.studio-controls-card[data-state="4"] .btn-create-preview {
  background-color: var(--color-locked-gray);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.studio-cta-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.studio-controls-card[data-state="1"] .btn-create-preview .studio-cta-icon,
.studio-controls-card[data-state="1"] .btn-add-cart .studio-cta-icon,
.studio-controls-card[data-state="2"] .btn-add-cart .studio-cta-icon,
.studio-controls-card[data-state="3"] .btn-add-cart .studio-cta-icon {
  filter: opacity(0.45);
}

.summary-order-box {
  background-color: var(--color-white);
  border: 1px solid #E6E3DC;
  border-radius: var(--radius-btn);
  padding: 18px 20px;
}

.summary-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.free-ship-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E5E3DD;
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 13.5px;
  color: var(--color-slate);
}

/* 2.3c: Green circle around the green V checkmark */
.free-ship-pill .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #2EAD4B;
  color: #2EAD4B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.studio-controls-card[data-state="1"] .free-ship-pill,
.studio-controls-card[data-state="2"] .free-ship-pill {
  color: #B0AEA9;
}

.summary-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.summary-total-label {
  font-size: 15.5px;
  color: var(--color-slate);
}

.summary-total-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-dark);
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

.studio-controls-card[data-state="1"] .summary-total-price,
.studio-controls-card[data-state="2"] .summary-total-price {
  color: #8C8A85;
}

.summary-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #DFDDD7;
  border-radius: var(--radius-btn);
  height: 48px;
  background-color: var(--color-white);
}

.qty-btn {
  width: 34px;
  height: 100%;
  font-size: 18px;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.btn-add-cart {
  flex: 1;
  height: 48px;
  border-radius: var(--radius-btn);
  background-color: var(--color-blue-cta);
  color: var(--color-white);
  font-size: 17.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(13, 139, 253, 0.25);
  transition: background-color 0.2s ease;
}

.btn-add-cart:hover {
  background-color: var(--color-blue-hover);
}

.studio-controls-card[data-state="1"] .qty-selector,
.studio-controls-card[data-state="2"] .qty-selector,
.studio-controls-card[data-state="3"] .qty-selector {
  opacity: 0.45;
  pointer-events: none;
}

.studio-controls-card[data-state="1"] .btn-add-cart,
.studio-controls-card[data-state="2"] .btn-add-cart,
.studio-controls-card[data-state="3"] .btn-add-cart {
  background-color: #E2E0DC;
  color: #9B9995;
  box-shadow: none;
  pointer-events: none;
}

/* Right/Left Column: Interactive Circular Canvas Card */
.studio-canvas-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.canvas-board-card {
  position: relative;
  background-color: #F4EFE7;
  border: 2px solid #D7D7D7;
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  margin: 0 auto;
}

.canvas-Action-pill {
  position: absolute;
  z-index: 20;
  background-color: var(--color-white);
  color: var(--color-dark);
  border: 1px solid #DFDDD7;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.canvas-Action-pill:hover {
  background-color: var(--color-cream);
}

.pill-icon-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

.btn-replace-photo {
  top: 14px;
  inset-inline-end: 14px;
}

.btn-go-back {
  bottom: 14px;
  inset-inline-start: 14px;
}

.circle-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #F7F5F0;
  border: 6px solid var(--color-white);
  box-shadow: 0 10px 28px rgba(12, 13, 15, 0.12), inset 0 0 0 1px #E2DFD7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-dropzone {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  cursor: pointer;
  background-color: #F7F5F0;
}

.upload-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-rose);
  color: var(--color-rose);
  box-shadow: 0 4px 12px rgba(12, 13, 15, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.upload-icon-circle img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.upload-dropzone:hover .upload-icon-circle {
  transform: scale(1.06);
}

.upload-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.upload-sub {
  font-size: 13.5px;
  color: var(--color-slate);
}

#studio-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
}

#studio-canvas:active {
  cursor: grabbing;
}

.zoom-bar-wrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-reset-crop {
  background-color: var(--color-white);
  border: 1px solid #DFDDD7;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zoom-slider {
  flex: 1;
  accent-color: var(--color-navy);
  height: 5px;
  cursor: pointer;
}

.zoom-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-dark);
}

.density-card {
  width: 100%;
  margin: 0 auto;
  background-color: var(--color-cream);
  border: 1px solid #E4E1DA;
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.density-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.density-sub {
  font-size: 13.5px;
  color: var(--color-slate);
  margin-bottom: 14px;
}

.density-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.density-btn {
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid #DFDDD7;
  background-color: var(--color-white);
  color: var(--color-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
}

.density-btn-title {
  font-size: 15px;
  font-weight: 700;
}

.density-btn-sub {
  font-size: 12px;
  opacity: 0.8;
}

.density-btn.selected {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-btn-active);
}

/* ==========================================
   2.4 CANVAS DESIGN: FAQ ACCORDION (#F2F2F0)
   ========================================== */
.faq-section {
  padding: 64px 0 80px;
  background-color: #F2F2F0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid #D8D5CE;
}

.faq-item {
  border-bottom: 1px solid #D8D5CE;
}

.faq-question-btn {
  width: 100%;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: start;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark);
}

.faq-toggle-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid #D8D5CE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-slate);
  flex-shrink: 0;
}

.faq-answer {
  display: none;
  padding: 0 4px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-slate);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================
   3. CART & CHECKOUT PAGE + FORM VALIDATION
   ========================================== */
.cart-page-section {
  padding: 48px 0 80px;
  background-color: var(--color-bg-soft);
  flex: 1;
}

.cart-page-title {
  color: var(--color-rose);
  margin-bottom: 28px;
}

/* 3.2a: Hebrew Cart Page Title reduced to font-weight 450 */
html[dir="rtl"] .cart-page-title {
  font-weight: 450;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.cart-left-col,
.cart-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-card {
  background-color: var(--color-white);
  border: 1px solid #E6E3DC;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.checkout-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.shipping-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.shipping-method-box {
  border: 1px solid #DFDDD7;
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  background-color: var(--color-white);
  color: var(--color-dark);
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.2s ease;
}

.shipping-method-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.shipping-method-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.shipping-method-price {
  font-size: 12px;
  font-weight: 600;
  text-align: end;
  line-height: 1.25;
}

.shipping-method-price .strike-price {
  display: block;
  text-decoration: line-through;
  opacity: 0.65;
  font-size: 11px;
}

.shipping-method-sub {
  font-size: 11.5px;
  opacity: 0.8;
  line-height: 1.35;
}

.shipping-method-box.selected {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-btn-active);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group.half-width {
  grid-column: span 1;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-dark);
}

.req-star {
  color: var(--color-danger);
  margin-inline-start: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: var(--color-input-bg);
  border: 1px solid #E2E0DC;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9E9C97;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-navy);
  background-color: var(--color-white);
}

/* 3.2b: Inline Form Validation Error Styling */
.form-input.input-error {
  border-color: var(--color-danger);
  background-color: #FFF8F8;
}

.field-error-msg {
  font-size: 11.5px;
  color: var(--color-danger);
  line-height: 1.3;
}

.form-textarea {
  min-height: 84px;
  resize: vertical;
}

.billing-radios-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.billing-radio-card {
  border: 1px solid #E2E0DC;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  background-color: var(--color-white);
  transition: all 0.2s ease;
}

.billing-radio-card.selected {
  border: 1.5px solid var(--color-navy);
}

.billing-radio-card input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--color-navy);
  cursor: pointer;
}

.billing-radio-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.billing-radio-sub {
  font-size: 11.5px;
  color: var(--color-slate);
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-card {
  background-color: var(--color-white);
  border: 1px solid #E6E3DC;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.cart-item-thumb {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-white);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  background-color: #FFFFFF;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item-thumb:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.cart-item-main {
  flex: 1;
  min-width: 0;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.25;
}

.btn-remove-item {
  color: var(--color-danger);
  padding: 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.btn-remove-item:hover {
  opacity: 1;
  background-color: rgba(229, 57, 53, 0.08);
}

.cart-item-specs {
  font-size: 12px;
  color: var(--color-slate);
  margin: 4px 0 12px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #DFDDD7;
  border-radius: var(--radius-btn);
  height: 32px;
  background-color: var(--color-white);
}

.cart-qty-btn {
  width: 28px;
  height: 100%;
  font-size: 14px;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  direction: ltr;
  unicode-bidi: embed;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--color-slate);
  margin-bottom: 10px;
}

.summary-row strong {
  color: var(--color-dark);
  font-weight: 600;
  direction: ltr;
  unicode-bidi: embed;
}

.summary-divider {
  height: 1px;
  background-color: #E9E6DF;
  margin: 14px 0;
}

.summary-total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.summary-total-line span {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
}

.summary-total-line strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-dark);
  direction: ltr;
  unicode-bidi: embed;
}

.summary-legal-note {
  font-size: 11px;
  color: var(--color-slate);
  margin-bottom: 16px;
  line-height: 1.45;
}

.btn-proceed-payment {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-btn);
  background-color: var(--color-blue-cta);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(13, 139, 253, 0.24);
  transition: background-color 0.2s ease;
  margin-bottom: 12px;
}

.btn-proceed-payment:hover {
  background-color: var(--color-blue-hover);
}

.ssl-checkout-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-slate);
}

.empty-cart-box {
  background-color: var(--color-white);
  border: 1px solid #E6E3DC;
  border-radius: var(--radius-md);
  padding: 56px 24px;
  text-align: center;
}

.empty-cart-box p {
  font-size: 16px;
  color: var(--color-slate);
  margin-bottom: 20px;
}

/* Payment return pages */
.payment-result-section {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 88px 24px;
  background: var(--color-bg-soft);
}

.payment-result-card {
  width: min(100%, 620px);
  padding: 48px;
  text-align: center;
  background: var(--color-white);
  border: 1px solid #E6E3DC;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.payment-result-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
}

.payment-result-success .payment-result-mark {
  color: var(--color-green-cta);
  background: #EAF7EF;
  border: 2px solid var(--color-green-cta);
}

.payment-result-cancelled .payment-result-mark {
  color: var(--color-rose);
  background: #FBEFEF;
  border: 2px solid var(--color-rose);
}

.payment-result-card h1 {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 550;
  margin-bottom: 12px;
}

.payment-result-card p {
  color: var(--color-slate);
  font-size: 16px;
  line-height: 1.65;
}

.payment-result-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 28px auto;
  max-width: 420px;
  padding: 18px;
  text-align: start;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
}

.payment-result-details:empty { display: none; }
.payment-result-details dt { color: var(--color-slate); font-size: 13px; }
.payment-result-details dd { color: var(--color-dark); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }

/* Cart Thumbnail Lightbox Modal */
.cart-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(12, 13, 15, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.cart-lightbox-content {
  position: relative;
  background-color: var(--color-canvas-card);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 580px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-lightbox-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 6px solid var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  background-color: var(--color-white);
  display: block;
}

.cart-lightbox-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-light-gray);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ==========================================
   ABOUT US PAGE
   ========================================== */
.about-story-section {
  padding: 64px 0 56px;
  background-color: #F2F2F0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-story-title {
  color: var(--color-navy);
  margin-bottom: 20px;
}

.about-story-text p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--color-slate);
  margin-bottom: 16px;
}

.about-story-img-wrap {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  margin-inline-start: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(12, 13, 15, 0.12);
  background-color: #D9D7D3;
}

.about-story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-modern-section {
  padding: 56px 0 48px;
  background-color: #F2F2F0;
  text-align: center;
}

.about-modern-inner {
  max-width: 780px;
  margin: 0 auto;
}

.about-section-heading {
  color: var(--color-navy);
  margin-bottom: 12px;
}

.about-modern-sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-slate);
  margin-bottom: 24px;
}

.about-modern-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-slate);
  margin-bottom: 16px;
}

.about-advantages-section {
  padding: 40px 0 64px;
  background-color: #F2F2F0;
}

.about-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 36px;
}

.advantage-card {
  background-color: #F6F5F2;
  border: 1.5px solid #D5D1C8;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.advantage-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1.5px solid #D5D1C8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  margin-bottom: 18px;
}

.advantage-icon-circle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.advantage-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.advantage-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-slate);
}

.about-closing-line {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-slate);
  line-height: 1.6;
}

.about-cta-banner {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 64px 24px;
  text-align: center;
}

.about-cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  font-weight: 550;
  margin-bottom: 12px;
}

/* Hebrew About headings: slightly larger, deliberately lighter. */
html[dir="rtl"] .about-story-title {
  font-size: 53px;
  font-weight: 500;
}

html[dir="rtl"] .about-section-heading {
  font-size: 51px;
  font-weight: 500;
}

html[dir="rtl"] .about-cta-title {
  font-size: 41px;
  font-weight: 500;
}

.about-cta-sub {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 28px;
}

.about-cta-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  direction: ltr;
}

.about-pill-btn {
  background-color: var(--color-white);
  color: var(--color-dark);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  min-width: 210px;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.about-pill-btn:hover {
  background-color: var(--color-cream);
  transform: translateY(-1px);
}

/* ==========================================
   LEGAL PAGES (PRIVACY POLICY & TERMS)
   ========================================== */
html[lang="en"] .only-he {
  display: none !important;
}
html[lang="he"] .only-en {
  display: none !important;
}

.legal-page-section {
  padding: 64px 0 88px;
  background-color: var(--color-bg-soft);
  flex: 1;
}

.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-container.only-en {
  direction: ltr;
  text-align: left;
}

.legal-container.only-he {
  direction: rtl;
  text-align: right;
}

.legal-main-title {
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 20px;
}

.legal-intro {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--color-slate);
  margin-bottom: 32px;
}

.legal-block {
  padding: 24px 0;
  border-top: 1px solid #E4E1DA;
}

.legal-block h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
  display: block;
  text-align: start;
  font-variant-numeric: lining-nums;
  line-height: 1.35;
}

.legal-block p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--color-slate);
  margin-bottom: 12px;
}

.legal-list {
  list-style: disc;
  padding-inline-start: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--color-slate);
}

.legal-list li strong {
  color: var(--color-dark);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 960px) {
  .section-title-rose,
  .section-title-navy,
  .studio-heading,
  .cart-page-title,
  .about-story-title,
  .about-section-heading,
  .legal-main-title,
  html[dir="ltr"] .choose-section .section-title-rose,
  html[dir="ltr"] .studio-heading,
  html[dir="ltr"] .faq-section .section-title-rose {
    font-size: 38px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .steps-grid::before {
    display: none;
  }
  .carousel-arrow.prev {
    left: 10px;
  }
  .carousel-arrow.next {
    right: 10px;
  }
  .gallery-slide {
    height: 550px;
    min-height: 550px;
  }
  .review-card {
    flex: 0 0 calc((100% - 24px) / 1.5);
  }
  .choose-grid,
  .studio-layout,
  .cart-layout,
  .about-story-grid,
  .about-advantages-grid {
    grid-template-columns: 1fr;
  }
  .step-1-3-group {
    aspect-ratio: auto;
  }
  .studio-canvas-column,
  .cart-right-col {
    order: -1;
  }
  .shipping-methods-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .about-story-img-wrap {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .nav-links {
    gap: 14px;
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid > .footer-col:nth-child(2) {
    justify-self: center;
  }
  .footer-socials,
  .footer-logo-col {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .container,
  .header-inner { padding-inline: 16px; }

  .site-header { height: auto; min-height: 58px; }
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions" "nav nav";
    gap: 8px 12px;
    padding-block: 8px;
  }
  .brand-logo { grid-area: brand; text-align: start; font-size: 20px; }
  .header-actions { grid-area: actions; gap: 12px; }
  .nav-links { grid-area: nav; justify-content: space-between; gap: 6px; width: 100%; }
  .nav-links a { font-size: 12px; white-space: nowrap; }

  .section-title-rose,
  .section-title-navy,
  .studio-heading,
  .cart-page-title,
  .about-story-title,
  .about-section-heading,
  .legal-main-title,
  html[dir="ltr"] .choose-section .section-title-rose,
  html[dir="ltr"] .studio-heading,
  html[dir="ltr"] .faq-section .section-title-rose { font-size: 32px; }

  html[dir="rtl"] .about-story-title { font-size: 35px; }
  html[dir="rtl"] .about-section-heading { font-size: 33px; }
  html[dir="rtl"] .about-cta-title { font-size: 34px; }

  .choose-section,
  .studio-section,
  .faq-section,
  .about-story-section,
  .about-modern-section,
  .about-advantages-section { padding-block: 44px; }
  .section-title-rose { margin-bottom: 30px; }
  .choose-grid { gap: 16px; }
  .choose-col { padding: 12px 9px 14px; }
  .choose-caption { font-size: 11px; }

  .studio-layout { gap: 20px; }
  .studio-controls-card,
  .canvas-board-card { padding: 20px; }
  .size-options-grid { gap: 7px; }
  .size-option-btn { padding: 11px 5px; }
  .size-option-title { font-size: 16px; }
  .size-option-sub { font-size: 11px; }
  .canvas-Action-pill { font-size: 11px; padding: 5px 9px; }
  .summary-order-box { flex-direction: column; align-items: stretch; }
  .summary-top-row { flex-wrap: wrap; }

  .cart-page-section { padding-block: 40px; }
  .cart-item-card { padding: 14px; gap: 12px; }
  .cart-item-thumb { width: 70px; height: 70px; }
  .cart-item-title { font-size: 16px; }
  .checkout-card { padding: 18px 14px; }
  .empty-cart-box { padding: 40px 16px; }
  .empty-cart-cta { width: 100%; justify-content: center; }
  .payment-result-section { padding: 48px 16px; }
  .payment-result-card { padding: 32px 20px; }
  .payment-result-card h1 { font-size: 30px; }

  .about-story-grid { gap: 28px; }
  .about-story-img-wrap { max-width: 100%; }
  .about-story-text p,
  .about-modern-inner p,
  .about-closing-line { font-size: 15px; }
  .about-advantages-grid { gap: 16px; }
  .about-cta-banner { padding: 48px 16px; }
}
