:root {
  --primary: #000000;
  --bg-light: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --font-main: 'Poppins', sans-serif;
  --radius-card: 24px;
  --brand-orange: #f3a333;
  /* Furniture slider vars */
  --white: #FFFFFF;
  --font-display: 'Poppins', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --slide-dur: 7s;
}

html[dir="rtl"] {
  --font-main: 'Cairo', sans-serif;
  --font-display: 'Cairo', sans-serif;
}

html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] a,
html[dir="rtl"] li,
html[dir="rtl"] .elementor-widget-container * {
  font-family: 'Cairo', sans-serif !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 3000;
  transition: all 0.3s;
}

.navbar.scrolled {
  background: #fff;
  padding: 1rem 4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}



/* Scrolled State Overrides */
.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.navbar.scrolled .nav-divider {
  color: #999;
}

.navbar.scrolled .search-box {
  background: #fff;
  border-color: #333;
  color: #333;
}

.navbar.scrolled .search-input {
  color: #333;
}

.navbar.scrolled .search-icon {
  color: #666;
}

.navbar.scrolled .lang-current {
  border-color: #333;
  color: #333;
}

.navbar.scrolled .burger-menu {
  color: #333;
}

.logo-img {
  height: 26px;
  width: auto;
  max-width: 200px;
  transition: opacity 0.3s;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.burger-menu {
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  padding: 0.2rem;
  display: none;
  /* Hide by default on desktop */
}

.burger-menu svg {
  width: 28px;
  height: 28px;
}

/* Default Black Text State */
.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0.2rem;
}

.nav-links a:hover {
  color: var(--brand-orange);
}

.nav-link.active::before,
.mobile-direct-link.active span::before,
.mobile-collapse-btn.active span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 32px;
  background-color: var(--brand-orange);
  transform: translate(-50%, -50%) skewX(45deg);
  z-index: -1;
  opacity: 0.95;
  pointer-events: none;
}

.footer-slash-mark {
  width: 5px;
  height: 16px;
  background-color: var(--brand-orange);
  transform: skewX(45deg);
  margin-left: 1rem;
  display: inline-block;
  align-self: center;
}

.mobile-direct-link span,
.mobile-collapse-btn span {
  position: relative;
  display: inline-block;
}

.mobile-direct-link {
  position: relative;
  display: block;
  /* Ensure full width for padding/positioning */
}

.footer-links a {
  position: relative;
  display: inline-block;
  padding: 0 4px;
}

.nav-divider {
  color: #ddd;
  font-size: 14px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  background: rgba(0, 0, 0, 0.03);
  /* subtle transparent bg */
  width: 140px;
  transition: all 0.3s;
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: 12px;
  background: transparent;
  color: #000;
}

.search-divider {
  color: #ddd;
  margin: 0 0.5rem;
  font-size: 12px;
}

.search-icon {
  width: 12px;
  height: 12px;
  color: #666;
  flex-shrink: 0;
}

.language-selector {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 12px;
  border: 1px solid #eee;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  color: #000;
  transition: all 0.3s;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-width: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.language-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
}

/* Normal Dropdown Menu Styles */
.has-dropdown {
  position: relative;
}

.normal-sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border-bottom: 2px solid var(--brand-orange);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
}

.has-dropdown:hover .normal-sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-nav-link {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  padding: 0.8rem 1.5rem;
  transition: all 0.3s;
  position: relative;
  display: block;
  text-align: center;
  z-index: 1;
}

.sub-nav-link:hover {
  color: #000;
}

.sub-nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 28px;
  background-color: var(--brand-orange);
  transform: translate(-50%, -50%) skewX(45deg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.sub-nav-link:hover::before,
.sub-nav-link.active::before {
  opacity: 0.8;
}

/* Mega Menu Styles */
.has-mega {
  position: static;
  /* Required for full-width mega menu if desired, or keep default */
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 3rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border-bottom: 1px solid #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  gap: 4rem;
}

.mega-side-col {
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mega-side-col a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.mega-side-col a.active,
.mega-side-col a:hover {
  background: #fff;
  color: #000 !important;
}

.vertical-line {
  width: 1px;
  background: #222;
  height: auto;
}

.mega-main-cols {
  display: flex;
  gap: 8rem;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mega-col a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.mega-col a:hover {
  background: #fff;
  color: #000 !important;
}

/* Burger Menu Lines */
.burger-menu .line1,
.burger-menu .line2,
.burger-menu .line3 {
  transition: transform 0.3s, opacity 0.3s;
}

.burger-menu.open .line1 {
  transform: translateY(6px) rotate(45deg);
}

.burger-menu.open .line2 {
  opacity: 0;
}

.burger-menu.open .line3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 70px;
  /* Adjust based on navbar height */
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 2rem 5%;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    visibility 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-header {
  margin-bottom: 2rem;
}

.mobile-search {
  width: 100% !important;
  background: #f5f5f5 !important;
  border-color: #eee !important;
}

.mobile-search input {
  color: #000;
  background: transparent;
  font-size: 14px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-collapse-btn {
  background: none;
  border: none;
  color: #000;
  width: 100%;
  text-align: left;
  font-size: 1.5rem;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.mobile-collapse-btn .chevron-icon {
  width: 20px;
  transition: transform 0.3s;
}

.mobile-collapse-btn.active .chevron-icon {
  transform: rotate(180deg);
}

.mobile-sub-menu {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem 1rem;
  background: #fafafa;
}

.mobile-sub-menu a {
  color: #666;
  text-decoration: none;
  font-size: 1.1rem;
}

.mobile-direct-link {
  color: #000;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #eee;
}

.mobile-lang-switcher {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.mobile-lang-switcher a {
  color: #999;
  text-decoration: none;
  font-size: 1rem;
}

.mobile-lang-switcher a.active {
  color: #000;
}

.lang-dropdown a {
  padding: 0.6rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.2s;
}

.lang-dropdown a:hover {
  background: #f5f5f5;
}

.lang-dropdown a:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.lang-dropdown a:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.globe-icon {
  width: 14px;
  height: 14px;
}

.chevron-icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 992px) {
  .navbar {
    padding: 1rem 5% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .nav-links,
  .desktop-search,
  .language-selector {
    display: none !important;
  }

  .nav-actions {
    margin-left: auto;
  }

  .burger-menu {
    display: flex !important;
  }

  html[dir="rtl"] .navbar,
  html[dir="rtl"] .nav-actions {
    flex-direction: row-reverse !important;
  }
}


/* ============================================
   HERO SECTION (From furniture template)
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin-top: 0;
  overflow: hidden;
  background: #ffffff;
}

/* Slides container */
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

/* Three-panel row */
.panels-row {
  display: flex;
  width: 100%;
  height: 100%;
}

.panel {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* Thin white divider between panels */
.panel+.panel {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

/* Background image with Camera Panning */
.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: background-position;
  animation: bgPanRight 25s linear infinite alternate;
}

/* Disable animation on the first slide & adjust position */
.hero-slide[data-index="0"] .panel-bg {
  animation: none !important;
  background-position: center 38% !important;
  /* Move man down even more */
}

.panel:nth-child(2) .panel-bg {
  animation-name: bgPanLeft;
  animation-duration: 28s;
  animation-delay: -5s;
}

.panel:nth-child(3) .panel-bg {
  animation-name: bgPanRight;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes bgPanRight {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes bgPanLeft {
  from {
    background-position: 100% 50%;
  }

  to {
    background-position: 0% 50%;
  }
}

/* Dark gradient overlay on first panel */
.panel-overlay {
  position: absolute;
  inset: 0;
  background: none;
  /* removed overlay */
}

/* Slide text content */
.slide-content {
  position: absolute;
  bottom: 22%;
  left: 44px;
  right: 20px;
  color: var(--white);
  z-index: 10;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease) 0.5s, transform 0.9s var(--ease) 0.5s;
}

.hero-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.typewriter-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  vertical-align: bottom;
  position: relative;
  padding-right: 12px;
  /* Space for the slanted cursor */
}

.typewriter-text::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background-color: var(--brand-orange);
  transform: skewX(25deg);
  margin-left: 8px;
  vertical-align: baseline;
  opacity: 0;
}

.hero-slide.active .typewriter-text {
  animation: typing-effect 3.5s steps(24, end) forwards;
}

.hero-slide.active .typewriter-text::after {
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes typing-effect {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-cursor {

  from,
  to {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* Overrides for Slide 1 based on design image */
.hero-slide[data-index="0"] .slide-content {
  bottom: 70%;
  left: 8%;
}

.hero-slide[data-index="0"] .slide-headline {
  font-size: 24px;
  color: #555;
  text-shadow: none;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.slide-desc {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.5px;
  opacity: 0.95;
  margin-bottom: 24px;
  max-width: 450px;
  line-height: 1.5;
}

.slide-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.tag-dash {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--white);
  flex-shrink: 0;
}

.tag-text {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.75;
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s, opacity 0.2s;
}

.slide-cta:hover {
  border-color: white;
  opacity: 0.8;
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  color: var(--white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.25s, transform 0.25s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

/* Hero Progress Bars */
.hero-progress {
  position: absolute;
  bottom: 32px;
  left: 44px;
  display: flex;
  gap: 6px;
  z-index: 20;
}

.prog-bar {
  position: relative;
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  border: none;
  padding: 0;
}

.prog-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--white);
  border-radius: 2px;
}

.prog-bar.active .prog-fill {
  animation: fillBar var(--slide-dur) linear forwards;
}

@keyframes fillBar {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* Intro Text */
.intro-text {
  padding: 2rem 15%;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.intro-text .highlight {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Collections */
.collections {
  padding: 1rem 10%;
  background-color: transparent;
}

.collections h2 {
  text-align: center;
  font-size: 2.0rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 4rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.collection-card,
.project-card,
.contact-card,
.product-page-card {
  /* Animation initial state */
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Base styles for collection card */
.collection-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 500px;
  cursor: pointer;
}

/* LTR Default: slide odd from left, even from right */
body:not([dir="rtl"]) .collection-card:nth-child(odd),
body:not([dir="rtl"]) .project-card:nth-child(odd),
body:not([dir="rtl"]) .contact-card:nth-child(odd),
body:not([dir="rtl"]) .product-page-card:nth-child(odd) {
  transform: translateX(-50px);
}

body:not([dir="rtl"]) .collection-card:nth-child(even),
body:not([dir="rtl"]) .project-card:nth-child(even),
body:not([dir="rtl"]) .contact-card:nth-child(even),
body:not([dir="rtl"]) .product-page-card:nth-child(even) {
  transform: translateX(50px);
}

/* RTL: slide odd from right, even from left */
body[dir="rtl"] .collection-card:nth-child(odd),
body[dir="rtl"] .project-card:nth-child(odd),
body[dir="rtl"] .contact-card:nth-child(odd),
body[dir="rtl"] .product-page-card:nth-child(odd) {
  transform: translateX(50px);
}

body[dir="rtl"] .collection-card:nth-child(even),
body[dir="rtl"] .project-card:nth-child(even),
body[dir="rtl"] .contact-card:nth-child(even),
body[dir="rtl"] .product-page-card:nth-child(even) {
  transform: translateX(-50px);
}

.collection-card.visible,
.project-card.visible,
.contact-card.visible,
.product-page-card.visible {
  opacity: 1;
  transform: translateX(0) scale(1) !important;
  filter: blur(0);
  /* Clean up if reveal-element is also applied */
}

/* Staggered cascading delays for grid items */
.collection-card:nth-child(2),
.project-card:nth-child(2),
.contact-card:nth-child(2),
.product-page-card:nth-child(2) {
  transition-delay: 0.15s;
}

.collection-card:nth-child(3),
.project-card:nth-child(3),
.contact-card:nth-child(3),
.product-page-card:nth-child(3) {
  transition-delay: 0.3s;
}

.collection-card:nth-child(4),
.project-card:nth-child(4),
.contact-card:nth-child(4),
.product-page-card:nth-child(4) {
  transition-delay: 0.45s;
}

.collection-card:nth-child(5),
.project-card:nth-child(5),
.contact-card:nth-child(5),
.product-page-card:nth-child(5) {
  transition-delay: 0.6s;
}

.collection-card:nth-child(6),
.project-card:nth-child(6),
.contact-card:nth-child(6),
.product-page-card:nth-child(6) {
  transition-delay: 0.75s;
}

.collection-card:nth-child(7),
.project-card:nth-child(7),
.contact-card:nth-child(7),
.product-page-card:nth-child(7) {
  transition-delay: 0.9s;
}

.collection-card:nth-child(8),
.project-card:nth-child(8),
.contact-card:nth-child(8),
.product-page-card:nth-child(8) {
  transition-delay: 1.05s;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gradient-bg {
  width: 100%;
  height: 100%;
}

.gradient-bg.dune {
  background: linear-gradient(to bottom right, #a8a096, #cbd5e1);
}

.gradient-bg.kalya {
  background: linear-gradient(to bottom right, #1e293b, #0f172a);
}

.gradient-bg.wadi {
  background: linear-gradient(to bottom right, #f1f5f9, #e2e8f0);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 4rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: white;
}

.card-overlay h3 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  /* Pre-scale so panning doesn't show edges */
  transition: transform 0.8s ease;
}

.collection-card:hover img {
  animation: hoverPan 8s ease-in-out infinite alternate;
}

/* Scroll Animation Classes */
.reveal-element {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(8px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

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

/* Ensure elements are ALWAYS visible inside WordPress editors (Elementor / Gutenberg) */
body.elementor-editor-active .reveal-element,
body.block-editor-page .reveal-element,
body.wp-admin .reveal-element,
.edit-post-visual-editor .reveal-element {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

body.elementor-editor-active .video-bg-container {
  display: none !important;
  /* Prevents background from blocking clicks in editor */
}

/* Collaboration Section */
/* Collaboration Section */
.collab-section {
  padding: 6rem 10%;
  background: var(--bg-light);
}

.collab-container {
  width: 100%;
  margin: 0 auto;
  background: #e0d7ce;
  border-radius: 30px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 4rem 5rem 4rem 40%;
  min-height: 400px;
}

.collab-image {
  position: absolute;
  bottom: 0;
  left: -40px;
  /* Overlaps left slightly */
  height: 115%;
  /* Bleeds out top slightly */
  width: auto;
  max-width: 45%;
  object-fit: contain;
  object-position: bottom left;
  z-index: 2;
}

.collab-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.collab-logos {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}

.collab-signature-full {
  height: auto;
  max-width: 380px;
  object-fit: contain;
  object-position: left;
}

.collab-headline-link {
  text-decoration: none;
  display: block;
}

.collab-headline {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.25;
  color: #222;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.collab-headline-link:hover .collab-headline {
  color: var(--brand-orange);
}

.collab-divider {
  border: none;
  border-top: 2px solid var(--brand-orange);
  margin-bottom: 1.5rem;
}

.collab-desc {
  font-size: 1.13rem;
  font-weight: 300;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

@media (max-width: 900px) {
  .collab-container {
    flex-direction: column;
    padding: 2rem 2rem 3rem;
    min-height: auto;
    margin-top: 60px;
    /* Gives space for the head popping out */
  }

  .collab-image {
    position: relative;
    left: 0;
    height: auto;
    width: 70%;
    margin: -100px auto -20px;
    /* Negative top margin pops the head outside the card */
    bottom: auto;
    max-width: 100%;
    display: block;
  }

  .collab-content {
    margin-left: 0;
    padding-top: 2rem;
  }

  .collab-headline {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .collab-signature-full {
    max-width: 250px;
  }

  .collab-headline {
    font-size: 1.6rem;
  }
}

/* Contact & Footer Section */
.contact-section {
  background-color: #e5e5e5;
  padding: 6rem 10% 2rem;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-container h2 {
  text-align: center;
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select {
  padding: 0.7rem 1rem;
  border-radius: 20px;
  border: 1px solid #777;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  outline: none;
  appearance: none;
}

.form-group select {
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #111;
}

.form-checkbox {
  margin-top: 1rem;
  display: flex;
}

.form-checkbox label {
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--brand-orange) !important;
  text-decoration: underline !important;
  transition: color 0.3s ease;
}

.form-checkbox label a:hover {
  color: var(--text-dark) !important;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.form-submit button {
  padding: 0.5rem 3rem;
  border-radius: 20px;
  border: 1px solid #333;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.form-submit button:hover {
  background: #333;
  color: white;
}

.footer-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 0 0 2rem 0;
}

.footer-wrapper {
  background-color: #e5e5e5;
  padding: 5rem 10% 2rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  max-width: 250px;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  font-size: 16px;
  color: #333;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover::after,
.footer-links a.active::after {
  transform: scaleX(1) !important;
  transform-origin: left !important;
}

.footer-links a:hover,
.footer-links a.active {
  color: var(--brand-orange) !important;
}

.footer-info {
  display: flex;
  gap: 0.8rem;
  font-size: 14px;
  color: #666;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-info .info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.info-icon {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
  color: #888;
}

.footer-info span {
  white-space: nowrap;
}

.footer-info .info-divider {
  color: #ccc;
}

.footer-copyright {
  font-size: 11px;
  color: #666;
}

.newsletter-form {
  display: flex;
  align-items: center;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 0.2rem 0.5rem;
  width: 200px;
}

.newsletter-form input {
  border: none;
  background: transparent;
  outline: none;
  padding: 0.3rem 0.5rem;
  font-family: inherit;
  font-size: 12px;
  width: 100%;
  color: #333;
}

.newsletter-form button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  color: #333;
  transition: transform 0.3s;
}

.newsletter-form button:hover {
  transform: translateX(3px);
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  align-items: center;
}

.social-icons a {
  color: inherit !important;
  display: inline-flex !important;
}

.social-icons svg {
  cursor: pointer;
  transition: stroke 0.3s;
}

.social-icons a:hover svg,
.social-icons svg:hover {
  stroke: #666;
}

/* Responsive */
@media (max-width: 1024px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .intro-text {
    padding: 4rem 8%;
  }

  .collections {
    padding: 3rem 8%;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .search-box {
    width: 140px;
    padding: 0.3rem 0.6rem;
  }

  .search-input {
    font-size: 12px;
  }

  .language-selector {
    font-size: 12px;
    padding: 0.3rem 0.6rem;
  }

  .hero {
    margin-top: 60px;
    height: calc(100vh - 60px);
  }

  .panels-row {
    flex-direction: row;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .panel {
    flex: 0 0 100vw;
    width: 100vw;
  }

  .panel+.panel {
    border-left: none;
  }

  .slide-headline {
    font-size: 2.8rem;
  }

  .hero-slide[data-index="0"] .slide-headline {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .slide-content {
    left: 5%;
    right: 5%;
    bottom: 15%;
  }

  .hero-progress {
    left: 5%;
    bottom: 20px;
    z-index: 30;
  }

  .hero-arrow {
    display: none;
  }

  .intro-text {
    padding: 3rem 5%;
  }

  .intro-text p {
    font-size: 1rem;
  }

  .collections {
    padding: 2rem 5%;
  }

  .collections h2 {
    font-size: 2.0rem;
    margin-bottom: 2rem;
  }

  .collection-card {
    height: 350px;
  }

  .card-overlay {
    padding: 1.5rem;
  }

  .card-overlay h3 {
    font-size: 2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    gap: 0.8rem;
    line-height: 1.5;
  }

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

  .footer-info .info-divider {
    display: none;
  }

  .footer-slash-mark {
    margin-left: 0rem;
  }

  .newsletter-form {
    margin: 0 auto;
  }

  .social-icons {
    justify-content: center;
  }

  .contact-section {
    padding: 4rem 5% 2rem;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    gap: 0.5rem;
  }

  .search-box {
    width: 110px;
  }

  .logo-img {
    left: 1rem;
  }
}

/* Categories Section */
.categories-section {
  padding: 4rem 5%;
  position: relative;
  background: #fff;
}

.cat-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.cat-slider-container {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.cat-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cat-card {
  flex: 0 0 calc(33.333% - 1.333rem);
  text-align: center;
  min-width: 280px;
}

.cat-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0.05em;
}

.cat-img-wrapper {
  background: transparent;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cat-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-card:hover .cat-img-wrapper {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
}

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

.cat-nav-btn {
  position: absolute;
  top: calc(50% + 20px);
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #666;
  transition: all 0.3s ease;
}

.cat-nav-btn:hover {
  border-color: #000;
  color: #000;
  background: #f8f8f8;
}

.cat-nav-btn.prev {
  left: -25px;
}

.cat-nav-btn.next {
  right: -25px;
}

.view-all-container {
  text-align: center;
  margin-top: 4rem;
}

.btn-view-all {
  padding: 0.8rem 3rem;
  border-radius: 30px;
  border: 1px solid #888;
  background: transparent;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 400;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

@media (max-width: 1024px) {
  .cat-card {
    flex: 0 0 calc(50% - 1rem);
  }

  .cat-nav-btn.prev {
    left: 0;
  }

  .cat-nav-btn.next {
    right: 0;
  }
}

@media (max-width: 768px) {
  .cat-card {
    flex: 0 0 85%;
  }

  .cat-slider {
    gap: 1rem;
  }

  .cat-nav-btn {
    display: none;
  }

  .cat-card {
    scroll-snap-align: center;
  }
}

/* Projects Section */
.projects-section {
  padding: 4rem 5%;
  text-align: center;
  background: #fff;
}

.projects-section .section-title {
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
  color: #1a1a1a;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  text-align: center;
}

.project-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: #f5f5f5;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 0.8s ease;
}

.project-card:hover .project-img-wrapper img {
  animation: hoverPan 8s ease-in-out infinite alternate;
}

@keyframes hoverPan {
  0% {
    transform: scale(1.2) translateX(0);
  }

  50% {
    transform: scale(1.2) translateX(3%);
  }

  100% {
    transform: scale(1.2) translateX(-3%);
  }
}

.project-card h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: #1a1a1a;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #666;
  max-width: 90%;
  margin: 0 auto;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 4rem;
  }

  .project-img-wrapper {
    aspect-ratio: 1 / 1;
  }
}

/* Philosophy Section */
.philosophy-section {
  padding: 8rem 5%;
  background: #fff;
}

.philosophy-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-section .section-title {
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
  color: #1a1a1a;
}

.philosophy-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 7;
  margin-bottom: 6rem;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.philosophy-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.2);
  animation: philosophyPan 18s ease-in-out infinite alternate;
}

@keyframes philosophyPan {
  from {
    transform: scale(1.2) translateX(-4%);
  }

  to {
    transform: scale(1.2) translateX(4%);
  }
}

.philosophy-content {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

html[dir="rtl"] .philosophy-content {
  text-align: right;
}

.philosophy-headline {
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 4rem;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.philosophy-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
  font-weight: 300;
  text-align: justify;
}

.philosophy-text strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.download-container {
  text-align: center;
  margin-top: 8rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 1rem 3rem;
  border-radius: 40px;
  border: 1px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-download svg {
  transition: transform 0.4s ease;
}

.btn-download:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-download:hover svg {
  transform: translateY(3px);
}

@media (max-width: 768px) {
  .philosophy-headline {
    font-size: 2rem;
  }

  .philosophy-section {
    padding: 5rem 5%;
  }

  .philosophy-image-wrapper {
    margin-bottom: 4rem;
    border-radius: 20px;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
  }
}

/* Products Page Specific Styles */
.products-page-header {
  padding: 8rem 5% 4rem;
}

.products-page-header h1 {
  font-size: clamp(1.9rem, 5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #1a1a1a;
  text-align: center;
}

.products-page-header p {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  font-weight: 300;
}

html[dir="rtl"] .products-page-header p {
  text-align: right;
}

.products-grid-container {
  padding: 0 5% 10rem;
}

.mosaic-layout {
  display: flex;
  flex-direction: row;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.mosaic-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mosaic-col.left-col {
  flex: 4;
  /* ~40% width */
}

.mosaic-col.right-col {
  flex: 5.5;
  /* ~58% width */
}

.product-page-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background-color: #E8E9EB;
  cursor: pointer;
  display: block;
  /* Removed flex so aspect-ratio works natively */
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.chairs-card {
  aspect-ratio: 1 / 1.1;
}

.tables-card {
  aspect-ratio: 1 / 1;
}

.planters-card {
  aspect-ratio: 1 / 1.45;
  flex-grow: 1;
}

.sofas-card {
  aspect-ratio: 1 / 0.87;
}

.loungers-card {
  aspect-ratio: 1 / 0.69;
}

.benches-card {
  aspect-ratio: 1 / 0.6;
  flex-grow: 1;
}

.product-page-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-page-card h3 {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  z-index: 2;
  color: #111;
  margin: 0;
}

.product-page-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.product-page-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

@media (max-width: 1024px) {
  .mosaic-layout {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .mosaic-col {
    display: contents !important;
  }

  .product-page-card {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    aspect-ratio: 1.2 / 1 !important;
    padding: 0;
    border-radius: 24px !important;
  }

  .product-page-card h3 {
    top: 1.8rem;
    left: 1.8rem;
    font-size: 1.4rem;
    z-index: 10;
  }

  .product-page-img {
    height: 100%;
    width: 100%;
  }

  .product-page-img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 576px) {
  .mosaic-layout {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .product-page-card {
    aspect-ratio: 1.7 / 1 !important;
    border-radius: 20px !important;
  }

  .product-page-card h3 {
    top: 1.2rem;
    left: 1.2rem;
    font-size: 1.2rem;
  }
}

/* Designer Page Specific Styles */
.designer-page-header {
  padding: 5rem 5% 1.5rem;
  text-align: center;
}

.designer-page-header h1 {
  font-size: clamp(2.2rem, 4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
}

.designer-philosophy-section {
  padding: 0 5% 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.designer-banner-image {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  border-radius: 80px;
  overflow: hidden;
  margin-bottom: 5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.designer-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.designer-banner-image:hover img {
  transform: scale(1.03);
}

.designer-philosophy-content {
  max-width: 1400px;
  margin: 0 auto;
}

.designer-philosophy-content h2 {
  font-size: 2.0rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 3rem;
  color: #000;
}

.designer-philosophy-text {
  column-count: 1;
}

.designer-photo {
  float: left;
  width: 320px;
  margin-right: 3rem;
  margin-bottom: 1.5rem;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}

.designer-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.designer-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.designer-photo:hover img {
  transform: scale(1.03);
}

html[dir="rtl"] .designer-photo {
  float: right;
  margin-right: 0;
  margin-left: 3rem;
}

.designer-philosophy-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
  font-weight: 300;
  text-align: justify;
}

@media (max-width: 768px) {

  .designer-photo,
  html[dir="rtl"] .designer-photo {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 2rem !important;
    border-radius: 24px !important;
  }
}


@media (max-width: 992px) {
  .designer-banner-image {
    border-radius: 40px;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .designer-page-header {
    padding: 6rem 5% 3rem;
  }

  .designer-philosophy-content h2 {
    font-size: 2.0rem;
  }

  .designer-philosophy-text p {
    font-size: 1rem;
  }
}

/* About Page Specific Styles */
.about-page-header {
  padding: 8rem 5% 4rem;
  text-align: center;
}

.about-page-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
}

.about-grid-section {
  padding: 0 0% 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.about-main-img {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.about-side-imgs {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-side-img {
  flex: 1;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.about-side-img.top-rect {
  flex: 0.85;
  /* Makes it shorter and more rectangular */
}

/* Updated to target imgs anywhere inside these classes to support Elementor */
.about-main-img .elementor-widget-wrap,
.about-main-img .elementor-widget,
.about-main-img .elementor-widget-container,
.about-main-img .elementor-image,
.about-main-img figure,
.about-main-img a,
.about-side-img .elementor-widget-wrap,
.about-side-img .elementor-widget,
.about-side-img .elementor-widget-container,
.about-side-img .elementor-image,
.about-side-img figure,
.about-side-img a {
  height: 100% !important;
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.about-main-img img,
.about-side-img img,
.about-grid-section img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.2);
  /* Pre-scale so panning doesn't show edges */
  transition: transform 0.8s ease;
  display: block !important;
  margin: 0 !important;
}

.about-main-img:hover img,
.about-side-img:hover img {
  animation: hoverPan 8s ease-in-out infinite alternate;
}

/* Custom Slide Animations for About Images */
.about-main-img.reveal-element,
.about-side-img.reveal-element {
  transition-duration: 2.2s !important;
}

body:not([dir="rtl"]) .about-main-img.reveal-element {
  transform: translateX(-100px) scale(0.97);
}

body:not([dir="rtl"]) .about-side-img.reveal-element {
  transform: translateX(100px) scale(0.97);
}

body[dir="rtl"] .about-main-img.reveal-element {
  transform: translateX(100px) scale(0.97);
}

body[dir="rtl"] .about-side-img.reveal-element {
  transform: translateX(-100px) scale(0.97);
}

.about-main-img.reveal-element.visible,
.about-side-img.reveal-element.visible {
  transform: translateX(0) scale(1) !important;
}

.about-side-imgs>.about-side-img:nth-child(2).reveal-element {
  transition-delay: 0.6s !important;
}

.about-content-section {
  padding: 0 1% 10rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-content-section h2 {
  font-size: 2.0rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 3rem;
  color: #000;
}

.about-text-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2rem;
  font-weight: 300;
  text-align: justify;
}

.about-text-content p strong {
  font-weight: 600;
  color: #000;
}

html[dir="rtl"] .about-content-section,
html[dir="rtl"] .about-content-section h2 {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .about-text-content p {
  text-align: justify;
  direction: rtl;
}

@media (max-width: 992px) {
  .about-image-grid {
    grid-template-columns: 1fr;
  }

  .about-main-img {
    aspect-ratio: 16 / 9;
  }

  .about-side-img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .about-page-header {
    padding: 6rem 5% 2rem;
  }

  .about-image-grid {
    gap: 15px;
  }

  .about-side-imgs {
    gap: 15px;
  }

  .about-main-img,
  .about-side-img {
    border-radius: 24px;
  }

  .about-content-section {
    padding-bottom: 5rem;
  }

  .about-content-section h2 {
    margin-bottom: 2rem;
    font-size: 2.0rem;
  }

  .about-text-content p {
    font-size: 1.05rem;
  }
}

/* About Mission, Vision, Goals Section */
.about-mvg-section {
  padding: 0 1% 8rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-mvg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.about-mvg-card,
.elementor-column.about-mvg-card>.elementor-widget-wrap {
  background: #fdfdfd !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: var(--radius-card, 24px) !important;
  padding: 3rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.about-mvg-card h3,
.about-mvg-card .elementor-heading-title {
  font-size: 1.8rem !important;
  font-weight: 500 !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  color: #1a1a1a !important;
  display: flex !important;
  align-items: center !important;
}

.about-mvg-card h3::after,
.about-mvg-card .elementor-heading-title::after {
  content: "";
  width: 5px;
  height: 18px;
  background-color: var(--brand-orange);
  transform: skewX(25deg);
  display: inline-block;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

html[dir="rtl"] .about-mvg-card h3::after,
html[dir="rtl"] .about-mvg-card .elementor-heading-title::after {
  margin-left: 0;
  margin-right: 0.5rem;
}

.about-mvg-card h3 .title-slash {
  display: none !important;
}

.about-mvg-card p,
.about-mvg-card .elementor-text-editor p {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #444 !important;
  font-weight: 300 !important;
  margin: 0 !important;
}

/* Goals Card styling */
.goals-card {
  grid-column: span 2;
}

.goals-list,
.about-mvg-card .elementor-text-editor ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 30px !important;
}

.goals-list li,
.about-mvg-card .elementor-text-editor ul li {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #444 !important;
  font-weight: 300 !important;
  position: relative !important;
  padding-left: 1.5rem !important;
  padding-right: 0 !important;
}

.goals-list li strong,
.about-mvg-card .elementor-text-editor ul li strong {
  color: #1a1a1a !important;
  font-weight: 500 !important;
  display: block !important;
  margin-bottom: 0.25rem !important;
}

.goals-list li::before,
.about-mvg-card .elementor-text-editor ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: 7px !important;
  width: 6px !important;
  height: 6px !important;
  background-color: var(--brand-orange) !important;
  border-radius: 50% !important;
}

/* RTL list styles */
html[dir="rtl"] .goals-list li,
html[dir="rtl"] .about-mvg-card .elementor-text-editor ul li {
  padding-left: 0 !important;
  padding-right: 1.5rem !important;
}

html[dir="rtl"] .goals-list li::before,
html[dir="rtl"] .about-mvg-card .elementor-text-editor ul li::before {
  left: auto;
  right: 0 !important;
}

/* About page custom links section */
.about-links-section {
  padding: 0 1% 8rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.about-link-card,
.elementor-column.about-link-card>.elementor-widget-wrap {
  position: relative !important;
  height: 500px !important;
  border-radius: var(--radius-card, 24px) !important;
  overflow: hidden !important;
  display: block !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.link-img-wrapper,
.about-link-card .elementor-widget-image,
.about-link-card .elementor-image {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.link-img-wrapper img,
.about-link-card img,
.about-link-card .elementor-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.2) !important;
  transition: transform 0.8s ease !important;
}

.about-link-card:hover img,
.elementor-column.about-link-card:hover .elementor-widget-wrap img {
  animation: hoverPan 8s ease-in-out infinite alternate !important;
}

.link-overlay,
.about-link-card .elementor-cta__content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 3rem !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)) !important;
  color: #fff !important;
  z-index: 2 !important;
  text-align: left !important;
  transition: padding-bottom 0.3s ease;
}

html[dir="rtl"] .link-overlay,
html[dir="rtl"] .about-link-card .elementor-cta__content {
  text-align: right !important;
  direction: rtl !important;
}

.link-overlay h2,
.about-link-card .elementor-cta__title {
  font-size: 2.2rem !important;
  font-weight: 300 !important;
  letter-spacing: 2px !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  color: #fff !important;
}

/* Animations for cards using reveal-element pattern */
body:not([dir="rtl"]) .about-mvg-card.reveal-left,
body:not([dir="rtl"]) .elementor-column.about-mvg-card.reveal-left>.elementor-widget-wrap,
body:not([dir="rtl"]) .about-link-card.reveal-left,
body:not([dir="rtl"]) .elementor-column.about-link-card.reveal-left>.elementor-widget-wrap {
  transform: translateX(-100px) scale(0.97);
  opacity: 0;
  filter: blur(8px);
}

body:not([dir="rtl"]) .about-mvg-card.reveal-right,
body:not([dir="rtl"]) .elementor-column.about-mvg-card.reveal-right>.elementor-widget-wrap,
body:not([dir="rtl"]) .about-link-card.reveal-right,
body:not([dir="rtl"]) .elementor-column.about-link-card.reveal-right>.elementor-widget-wrap {
  transform: translateX(100px) scale(0.97);
  opacity: 0;
  filter: blur(8px);
}

body[dir="rtl"] .about-mvg-card.reveal-left,
body[dir="rtl"] .elementor-column.about-mvg-card.reveal-left>.elementor-widget-wrap,
body[dir="rtl"] .about-link-card.reveal-left,
body[dir="rtl"] .elementor-column.about-link-card.reveal-left>.elementor-widget-wrap {
  transform: translateX(100px) scale(0.97);
  opacity: 0;
  filter: blur(8px);
}

body[dir="rtl"] .about-mvg-card.reveal-right,
body[dir="rtl"] .elementor-column.about-mvg-card.reveal-right>.elementor-widget-wrap,
body[dir="rtl"] .about-link-card.reveal-right,
body[dir="rtl"] .elementor-column.about-link-card.reveal-right>.elementor-widget-wrap {
  transform: translateX(-100px) scale(0.97);
  opacity: 0;
  filter: blur(8px);
}

.about-mvg-card.reveal-down,
.elementor-column.about-mvg-card.reveal-down>.elementor-widget-wrap,
.about-link-card.reveal-down,
.elementor-column.about-link-card.reveal-down>.elementor-widget-wrap {
  transform: translateY(100px) scale(0.97);
  opacity: 0;
  filter: blur(8px);
}

body .about-mvg-card.reveal-element.visible,
body .elementor-column.about-mvg-card.reveal-element.visible>.elementor-widget-wrap,
body .about-link-card.reveal-element.visible,
body .elementor-column.about-link-card.reveal-element.visible>.elementor-widget-wrap {
  transform: translate(0) scale(1) !important;
  opacity: 1 !important;
  filter: blur(0) !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-mvg-section {
    padding-bottom: 6rem;
  }

  .about-links-section {
    padding-bottom: 6rem;
  }
}

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

  .goals-card {
    grid-column: span 1;
    padding: 3rem;
  }

  .goals-list,
  .about-mvg-card .elementor-text-editor ul {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .about-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-link-card,
  .elementor-column.about-link-card>.elementor-widget-wrap {
    height: 350px !important;
  }

  .link-overlay,
  .about-link-card .elementor-cta__content {
    padding: 2rem !important;
  }

  .link-overlay h2,
  .about-link-card .elementor-cta__title {
    font-size: 1.8rem !important;
  }
}


/* ============================================
   COLLECTIONS PAGE
   ============================================ */

.collections-page {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.collections-page-header {
  padding: 8rem 5% 4rem;
  text-align: center;
}

.collections-page.video-layout .collections-page-header {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  margin: 15vh auto 40vh;
  /* Reduced from 55vh to close the white gap below the video */
  max-width: 800px;
  border-radius: 0 !important;
  padding: 0 !important;
  display: none !important;

  /* Initially hidden & offset for smooth fade-up */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.collections-page.video-layout .collections-page-header.glassy-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Editor stability: ensure the header is always visible while editing */
body.elementor-editor-active .collections-page.video-layout .collections-page-header,
body.block-editor-page .collections-page.video-layout .collections-page-header,
body.wp-customizer-active .collections-page.video-layout .collections-page-header {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

@media (max-width: 768px) {
  .collections-page.video-layout .collections-page-header {
    margin: 26vh 5% 30vh;
    /* Centered vertically on the mobile background video (85vh height) */
    padding: 2rem 1rem;
    border-radius: 12px;
  }
}

.collections-page-header h1 {
  font-size: clamp(2.2rem, 4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 1.5rem 0;
}

.collections-desc {
  margin: 0;
  text-align: justify;
}

.collections-desc p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #555;
}

.collection-intro {
  max-width: 1400px;
  margin: 0 auto 6rem;
  padding: 0 5%;
  text-align: left;
}

.collection-intro h2 {
  font-size: 2.0rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.collection-intro p {
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.collection-intro p.reveal-element {
  transition-delay: 0.15s;
}

.back-btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 5%;
}

.btn-back {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid #000;
  border-radius: 8px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-back:hover {
  background-color: #000;
  color: #fff;
}

.collections-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.collection-row {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 2.5 / 1;
  cursor: pointer;
}

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

.collection-row:hover img {
  transform: scale(1.05);
}

.collection-row-title {
  position: absolute;
  bottom: 2rem;
  left: 3rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0;
}

@media (max-width: 768px) {
  .collection-row {
    aspect-ratio: 16 / 9;
  }

  .collection-row-title {
    bottom: 1rem;
    left: 1.5rem;
  }
}

/* Collection Subnav */
.collection-subnav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.collection-subnav a {
  text-decoration: none;
  color: var(--text-color);
  position: relative;
  transition: color 0.3s;
  padding: 0.5rem 0.2rem;
  z-index: 1;
}

.collection-subnav a:hover {
  color: var(--brand-orange);
}

.collection-subnav a.active {
  font-weight: 600;
}

.collection-subnav a.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 32px;
  background-color: var(--brand-orange);
  transform: translate(-50%, -50%) skewX(45deg);
  z-index: -1;
  opacity: 0.95;
  pointer-events: none;
}

/* Luma Grid */
.luma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto 6rem;
  padding: 0 5%;
}

.luma-item {
  display: flex;
  flex-direction: column;
}

.luma-item-img-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  margin-bottom: 1.5rem;
  background: #f5f5f5;
}

.luma-item-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.luma-item:hover .luma-item-img-wrapper img {
  transform: scale(1.05);
}

.luma-item-title {
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.luma-item-desc {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  margin: 0;
}

/* Luma Gallery */
.luma-gallery {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.luma-gallery-full {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 2.8 / 1;
}

.luma-gallery-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.2);
  transition: transform 0.8s ease;
}

.luma-gallery-full:hover img {
  animation: hoverPan 8s ease-in-out infinite alternate;
}

.luma-gallery-split {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem;
}

.luma-gallery-half {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.luma-gallery-split .luma-gallery-half:first-child {
  aspect-ratio: 16 / 9;
}

.luma-gallery-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.2);
  transition: transform 0.8s ease;
}

.luma-gallery-half:hover img {
  animation: hoverPan 8s ease-in-out infinite alternate;
}

/* Gallery Scroll Slide Animations */
/* Main image slides from above */
.luma-gallery-full.reveal-element {
  transform: translateY(-80px) scale(0.97);
  transition-duration: 1.8s !important;
}

.luma-gallery-full.reveal-element.visible {
  transform: translateY(0) scale(1) !important;
}

/* LTR smaller images scroll slide */
body:not([dir="rtl"]) .luma-gallery-split .luma-gallery-half:first-child.reveal-element {
  transform: translateX(-80px) scale(0.97);
  transition-duration: 1.8s !important;
}

body:not([dir="rtl"]) .luma-gallery-split .luma-gallery-half:last-child.reveal-element {
  transform: translateX(80px) scale(0.97);
  transition-duration: 1.8s !important;
}

/* RTL smaller images scroll slide */
body[dir="rtl"] .luma-gallery-split .luma-gallery-half:first-child.reveal-element {
  transform: translateX(80px) scale(0.97);
  transition-duration: 1.8s !important;
}

body[dir="rtl"] .luma-gallery-split .luma-gallery-half:last-child.reveal-element {
  transform: translateX(-80px) scale(0.97);
  transition-duration: 1.8s !important;
}

/* Common reset when visible */
.luma-gallery-split .luma-gallery-half.reveal-element.visible {
  transform: translateX(0) scale(1) !important;
}

@media (max-width: 768px) {

  .luma-grid,
  .luma-gallery-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .luma-gallery-full {
    aspect-ratio: 16 / 9;
  }

  .luma-gallery-split .luma-gallery-half:first-child,
  .luma-gallery-split .luma-gallery-half:last-child {
    aspect-ratio: 16 / 11;
  }

  .collection-subnav {
    font-size: 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
}

/* ============================================
   PRODUCT DETAILS PAGE
   ============================================ */
.product-details-page {
  max-width: 1400px;
  margin: 0 auto 6rem;
  padding: 0 5%;
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.product-main-img-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 2rem;
  aspect-ratio: 1 / 1;
}

.product-main-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zoom-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.zoom-btn:hover {
  transform: scale(1.1);
}

.product-actions {
  margin-bottom: 4rem;
}

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid #1a1a1a;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-download-pdf:hover {
  background: #1a1a1a;
  color: #fff;
}

.product-schematics img {
  width: 100%;
  height: auto;
  display: block;
}

.product-title {
  font-size: 3rem;
  font-weight: 400;
  margin: 0 0 3rem;
  color: #1a1a1a;
}

.product-specs-section {
  margin-bottom: 3rem;
}

.specs-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.specs-divider {
  border: none;
  border-top: 1px solid #1a1a1a;
  margin: 0 0 1.5rem;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.specs-list li {
  position: relative;
  padding-left: 1.2rem;
}

.specs-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a1a1a;
}

.product-color-section {
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.color-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 40px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 40px);
  gap: 1rem;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.color-swatch:hover {
  transform: scale(1.1);
}

.product-gallery {
  max-width: 1400px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-gallery-full {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 2.2 / 1;
}

.product-gallery-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}



/* ============================================
   VISIBILITY UTILITIES
   ============================================ */
.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-gallery-full {
    aspect-ratio: 16 / 9;
  }
}

/* ============================================
   IMAGE ZOOM MODAL
   ============================================ */
.zoom-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 9999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.zoom-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation-name: zoomIn;
  animation-duration: 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: 300;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.close-modal:hover,
.close-modal:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* WooCommerce Gallery Overrides */
.woocommerce-product-gallery {
  margin-bottom: 2rem;
  width: 100% !important;
  float: none !important;
}

.woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto;
  border-radius: 8px;
  /* Match JORO image style */
  background: #e0e0e0;
}

.flex-control-nav.flex-control-thumbs {
  display: none !important;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding: 0;
  list-style: none;
}

.flex-control-nav.flex-control-thumbs li {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.flex-control-nav.flex-control-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #eee;
  cursor: pointer;
}

/* Projects Page Styles */
.projects-page-header {
  text-align: center;
  padding: 10rem 5% 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.projects-page-header h1 {
  font-size: clamp(1.9rem, 5vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 2rem;
  letter-spacing: 0em;
}

.projects-list-container {
  max-width: 1400px;
  margin: 0 auto 6rem;
  padding: 0 5%;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.project-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.project-item-img {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #f5f5f5;
  margin-bottom: 2rem;
}

.project-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-item:hover .project-item-img img {
  transform: scale(1.03);
}

.project-item-content {
  max-width: 900px;
}

.project-item-content h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.project-item-content p {
  color: #555;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .projects-list {
    gap: 4rem;
  }
}

/* Contact Info Cards */
.contact-info-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  width: 100%;
}

.contact-card {
  background-color: #E8E9EB;
  border-radius: 20px;
  padding: 40px 30px;
  flex: 1;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
  cursor: default;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.contact-card .contact-icon {
  margin-bottom: 20px;
  color: var(--brand-orange);
  /* Brand orange */
  display: flex;
  justify-content: center;
}

.contact-card .contact-icon svg {
  width: 36px;
  height: 36px;
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
}

.contact-card p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

@media (max-width: 768px) {
  .contact-info-cards {
    flex-direction: column;
    gap: 20px;
  }
}

.video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 85vh;
  /* Limits the video to the top hero section */
  z-index: 0;
  overflow: hidden;
  background-color: transparent;
  pointer-events: auto;
  /* Allow container and children to receive pointer events */
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 Aspect Ratio */
  min-height: 85vh;
  min-width: 151.11vh;
  /* 85vh * 16/9 */
  /* Reverted scale to avoid zooming */
  transform: translate(-50%, -50%);
  pointer-events: none !important;
  z-index: 1;
  /* Sit below the click blocker overlay */

  /* Start hidden to cover up the initial YouTube logo/controls/pause overlays */
  opacity: 0;
  transition: opacity 1.5s ease;
}

.video-bg.video-playing {
  opacity: 1;
}

.video-bg-container iframe,
#youtube-player {
  pointer-events: none !important;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
  /* Sit on top of the iframe to absorb clicks/taps */
  pointer-events: auto !important;
  /* Explicitly capture clicks so they never reach the video */
  display: none;
}

.collections-page.video-layout {
  position: relative;
  z-index: 10;
  margin-top: 85vh;
}

/* Ensure the navbar background is glassy and blurred at top (matching homepage) */
body.page-template-page-luma .navbar:not(.scrolled) {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.page-template-page-collections .navbar.scrolled,
body.page-template-page-luma .navbar.scrolled {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

body.page-template-page-luma .navbar:not(.scrolled) .nav-links a,
body.page-template-page-luma .navbar:not(.scrolled) .brand-text,
body.page-template-page-luma .navbar:not(.scrolled) .info-icon,
body.page-template-page-luma .navbar:not(.scrolled) .globe-icon,
body.page-template-page-luma .navbar:not(.scrolled) .search-icon,
body.page-template-page-luma .navbar:not(.scrolled) .mobile-menu-btn span {
  color: #1a1a1a;
  /* Assuming you want dark text over the video, change to white if needed */
}

/* Hide price on product details page (catalog mode) */
.product-details-page .product-price {
  display: none !important;
}

/* Hero Panel Video Wrapper & Scaling */
.panel-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.panel-video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.07);
  /* White very transparent overlay */
  z-index: 2;
  pointer-events: none;
}

.panel-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 15% oversized to crop out youtube branding/controllers on top/bottom edges */
  width: 115vw;
  height: 64.68vw;
  /* 16:9 ratio of 115vw */
  min-height: 115vh;
  min-width: 204.44vh;
  /* 16:9 ratio of 115vh */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Centered Tagline in the Middle Center for Video Hero Slides */
.hero-slide[data-type="video"] .slide-content,
.hero-slide[data-index="0"] .slide-content {
  bottom: auto !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) translateY(24px) !important;
  text-align: center;
  width: 90%;
  max-width: 800px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.9s var(--ease) 0.5s, transform 0.9s var(--ease) 0.5s !important;
}

.hero-slide[data-type="video"].active .slide-content,
.hero-slide[data-index="0"].active .slide-content {
  opacity: 1 !important;
  transform: translate(-50%, -50%) translateY(0) !important;
}

.hero-slide[data-type="video"] .slide-headline,
.hero-slide[data-index="0"] .slide-headline {
  color: #000000 !important;
  font-size: clamp(1.4rem, 2.2vw, 2.5rem) !important;
  /* Smaller size */
  line-height: 1.4 !important;
  margin-bottom: 0 !important;
  text-shadow: none !important;
  font-weight: 300 !important;
  font-style: normal !important;
  /* Removed italic */
  white-space: normal !important;
  /* Disable typewriter no-wrap */
  width: 100% !important;
  animation: none !important;
  display: inline-block !important;
  transition: opacity 0.5s ease-in-out !important;
}

.hero-slide[data-type="video"] .slide-headline.fade-out,
.hero-slide[data-index="0"] .slide-headline.fade-out {
  opacity: 0 !important;
}

/* Ensure the typewriter cursor slash is visible and blinks */
.hero-slide[data-type="video"] .slide-headline::after,
.hero-slide[data-index="0"] .slide-headline::after {
  content: "" !important;
  display: inline-block !important;
  width: 2px !important;
  /* Thinner */
  height: 0.85em !important;
  /* Smaller slash */
  background-color: var(--brand-orange) !important;
  transform: skewX(25deg) !important;
  margin-left: 6px !important;
  vertical-align: middle !important;
  animation: blink-cursor 0.8s step-end infinite !important;
}

.hero-slide[data-type="video"] .slide-headline.hide-cursor::after,
.hero-slide[data-index="0"] .slide-headline.hide-cursor::after {
  display: none !important;
  /* Hide cursor during initial delay */
}

/* Adjustments for mobile version to fit screen */
@media (max-width: 768px) {

  .hero-slide[data-type="video"] .slide-content,
  .hero-slide[data-index="0"] .slide-content {
    padding: 0 !important;
    width: 90% !important;
  }

  .hero-slide[data-type="video"] .slide-headline,
  .hero-slide[data-index="0"] .slide-headline {
    font-size: clamp(1rem, 4vw, 1.4rem) !important;
    /* Mobile sizing fits screen */
    line-height: 1.45 !important;
  }
}

/* Redesigned Contact Page Styling */
.contact-page-wrapper {
  background-color: var(--bg-light);
  overflow: hidden;
}

.contact-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 450px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

/* Gradient fade-out at the bottom of the contact hero image */
.contact-hero-fade {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0) 0%, var(--bg-light) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Glassy rectangle card container */
.contact-glassy-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 12px !important;
  padding: 3rem 4rem !important;
  max-width: 650px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contact-glassy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12) !important;
}

.contact-glassy-card h2 {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.45;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-shadow: none;
}

/* Download Catalog Button - matches homepage .btn-download */
.contact-catalog-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 15px !important;
  padding: 1rem 3rem !important;
  border-radius: 40px !important;
  border: 1px solid #1a1a1a !important;
  background: transparent !important;
  color: #1a1a1a !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.contact-catalog-btn svg {
  transition: transform 0.4s ease !important;
}

.contact-catalog-btn:hover {
  background: #1a1a1a !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

.contact-catalog-btn:hover svg {
  transform: translateY(3px) !important;
}

/* Form section container styling */
.contact-form-section {
  padding: 4rem 2rem 8rem 2rem;
  background-color: var(--bg-light);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.contact-form-section .contact-container {
  max-width: 800px;
  width: 100%;
}

/* Adjustments for RTL (Arabic) version */
body[dir="rtl"] .contact-catalog-btn {
  letter-spacing: 0;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
  .contact-hero {
    height: auto;
    min-height: 380px;
    padding: 3rem 1.5rem;
  }

  .contact-glassy-card {
    padding: 2.2rem 2rem !important;
  }

  .contact-glassy-card h2 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  .contact-catalog-btn {
    padding: 0.95rem 1.8rem;
    font-size: 0.85rem;
  }

  .contact-form-section {
    padding: 2rem 1.5rem 6rem 1.5rem;
  }
}

/* Styling for the section heading above the contact form */
.contact-section-title {
  text-align: center !important;
  font-family: var(--font-main);
  font-size: 2.2rem !important;
  font-weight: 300 !important;
  color: var(--text-dark) !important;
  margin-bottom: 2.5rem !important;
  text-shadow: none !important;
}

body[dir="rtl"] .contact-section-title {
  font-family: 'Cairo', sans-serif !important;
}

/* ============================================
   BLOG / JOURNAL PAGES
   ============================================ */

/* Blog Archive & Listing */
.blog-archive-section {
  padding: 8rem 5% 8rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.blog-card {
  background: #fdfdfd;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-card, 24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.blog-card-img-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.blog-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 0.8s ease;
}

.blog-card:hover .blog-card-img-wrapper img {
  animation: hoverPan 8s ease-in-out infinite alternate;
}

.blog-card-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: flex;
  gap: 15px;
}

.blog-card-meta a {
  color: var(--brand-orange);
  text-decoration: none;
  font-weight: 500;
}

.blog-card-title {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 1rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title:hover,
.blog-card-title a:hover {
  color: var(--brand-orange);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  font-weight: 300;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.blog-card-link::after {
  content: "→";
  display: inline-block;
  transition: transform 0.3s ease;
}

.blog-card-link:hover {
  color: var(--brand-orange);
}

.blog-card-link:hover::after {
  transform: translateX(5px);
}

/* Single Post Page styling */
.single-post-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.single-post-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5);
  transform: scale(1.1);
}

.single-post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.single-post-meta {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-orange);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.single-post-meta span {
  color: #fff;
}

.single-post-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.25;
  margin: 0;
  text-transform: uppercase;
  color: #fff;
}

.single-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.single-post-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  font-weight: 300;
  margin-bottom: 2rem;
}

.single-post-content h2,
.single-post-content h3 {
  color: #1a1a1a;
  font-weight: 400;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}

.single-post-content h2 {
  font-size: 1.8rem;
}

.single-post-content h3 {
  font-size: 1.4rem;
}

.single-post-content blockquote {
  border-left: 4px solid var(--brand-orange);
  margin: 3rem 0;
  padding: 1rem 0 1rem 2rem;
  font-style: italic;
  font-size: 1.25rem;
  color: #555;
  line-height: 1.6;
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.single-post-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 3rem 0;
}

.single-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 5rem;
  padding: 3rem 0;
  gap: 30px;
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.post-nav-link.next-link {
  text-align: right;
  align-items: flex-end;
}

.post-nav-link.prev-link {
  text-align: left;
  align-items: flex-start;
}

.post-nav-link:hover {
  opacity: 0.7;
}

.post-nav-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin-bottom: 0.5rem;
}

.post-nav-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0;
}

/* RTL Blog styles */
html[dir="rtl"] .blog-card-meta {
  letter-spacing: 0;
  direction: rtl;
}

html[dir="rtl"] .blog-card-link::after {
  content: "←";
}

html[dir="rtl"] .blog-card-link:hover::after {
  transform: translateX(-5px);
}

html[dir="rtl"] .single-post-meta {
  letter-spacing: 0;
  direction: rtl;
}

html[dir="rtl"] .single-post-meta span {
  font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .single-post-content h2,
html[dir="rtl"] .single-post-content h3 {
  font-family: 'Cairo', sans-serif !important;
}

html[dir="rtl"] .single-post-content blockquote {
  border-left: none;
  border-right: 4px solid var(--brand-orange);
  padding-left: 0;
  padding-right: 2rem;
}

html[dir="rtl"] .post-nav-link.next-link {
  text-align: left;
  align-items: flex-start;
}

html[dir="rtl"] .post-nav-link.prev-link {
  text-align: right;
  align-items: flex-end;
}

html[dir="rtl"] .post-nav-title {
  font-family: 'Cairo', sans-serif !important;
}

/* Responsiveness for Blog */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .blog-archive-section {
    padding: 6rem 1.5rem 6rem;
  }

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

  .blog-card-img-wrapper {
    height: 220px;
  }

  .single-post-hero {
    height: 50vh;
  }

  .single-post-content {
    padding: 4rem 1.5rem;
  }

  .single-post-navigation {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 2rem 0;
  }
}

/* Contact Info Section */
.contact-info-section {
  padding: 6rem 5% 4rem;
  max-width: 1000px;
  margin: 0 auto;
  background: transparent;
}

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

.contact-info-card {
  background: #fdfdfd;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.contact-info-card:hover {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(243, 163, 51, 0.25);
}

.contact-info-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  width: 160px;
  position: relative;
  transition: color 0.3s ease;
}

/* Vertical separator line */
.contact-info-card h3::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s ease;
}

.contact-info-card p {
  font-size: 1rem;
  color: #555;
  font-weight: 300;
  margin: 0;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.contact-info-card p a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card p a:hover {
  text-decoration: underline;
}

/* Phone separator */
.phone-separator {
  margin: 0 8px;
  color: rgba(0, 0, 0, 0.2);
  transition: color 0.3s ease;
}

/* Hover styles */
.contact-info-card:hover h3 {
  color: #ffffff;
}

.contact-info-card:hover h3::after {
  background-color: rgba(255, 255, 255, 0.3);
}

.contact-info-card:hover p,
.contact-info-card:hover p a,
.contact-info-card:hover .phone-separator {
  color: #ffffff;
}

/* AJAX Response Message */
.form-response-message {
  margin-top: 1.5rem;
  padding: 1.25rem 2rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 400;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-response-message.success {
  opacity: 1;
  transform: translateY(0);
  background-color: rgba(46, 117, 89, 0.08);
  color: #2e7559;
  border: 1px solid rgba(46, 117, 89, 0.15);
}

.form-response-message.error {
  opacity: 1;
  transform: translateY(0);
  background-color: rgba(214, 40, 40, 0.08);
  color: #d62828;
  border: 1px solid rgba(214, 40, 40, 0.15);
}

/* RTL Support */
html[dir="rtl"] .contact-info-card {
  flex-direction: row;
  text-align: right;
}

html[dir="rtl"] .contact-info-card h3 {
  font-family: 'Cairo', sans-serif !important;
  width: 180px;
}

html[dir="rtl"] .contact-info-card h3::after {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .contact-info-card p {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 300;
}

html[dir="rtl"] .footer-phone,
html[dir="rtl"] .contact-phone,
html[dir="rtl"] .contact-info-card p a[href^="tel:"],
html[dir="rtl"] .contact-info-card p a {
  direction: ltr !important;
  display: inline-block !important;
}

html[dir="rtl"] input[type="tel"] {
  direction: ltr !important;
  text-align: right !important;
}

html[dir="rtl"] .form-response-message {
  font-family: 'Cairo', sans-serif !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-info-section {
    padding: 4rem 5% 2rem;
  }

  .contact-info-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 1.5rem;
  }

  .contact-info-card h3 {
    width: auto;
    padding-bottom: 5px;
  }

  .contact-info-card h3::after {
    display: none;
  }
}


/* Products Mosaic Elementor Width Override */
.elementor-widget-joro_products_mosaic .products-grid-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .elementor-widget-joro_products_mosaic .products-grid-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .products-page-header {
    padding: 6rem 5% 2rem;
  }
}

/* Category Archive Grid & Global Price Hiding */
.products-grid.luma-grid,
.products-grid-container ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Force layout direction based on body language class to prevent unwanted RTL leaks */
body:not(.rtl) .products-grid-container ul.products {
  direction: ltr !important;
  text-align: left !important;
}

body:not(.rtl) .products-grid-container ul.products li.product,
body:not(.rtl) .products-grid-container ul.products .product-card {
  text-align: left !important;
}

body.rtl .products-grid-container ul.products {
  direction: rtl !important;
  text-align: right !important;
}

body.rtl .products-grid-container ul.products li.product,
body.rtl .products-grid-container ul.products .product-card {
  text-align: right !important;
}

.products-grid.luma-grid .product-card,
.products-grid-container ul.products li.product,
.products-grid-container ul.products .product-card {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* Center the product title inside the cards globally */
.product-card .product-title,
.products-grid-container ul.products li.product .product-title,
.products-grid-container ul.products li.product h3,
.products-grid-container ul.products .product-card h3 {
  text-align: center !important;
  margin: 0.5rem auto 1rem !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  width: 100% !important;
  display: block !important;
}

/* Ensure product images occupy the full card size, looking much larger */
.product-card .product-img-wrapper img,
.products-grid-container ul.products li.product .product-img-wrapper img,
.products-grid-container ul.products .product-card .product-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 992px) {

  .products-grid.luma-grid,
  .products-grid-container ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
}

@media (max-width: 768px) {

  .products-grid.luma-grid,
  .products-grid-container ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 480px) {

  .products-grid.luma-grid,
  .products-grid-container ul.products {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .product-card .product-title,
  .products-grid-container ul.products li.product .product-title,
  .products-grid-container ul.products li.product h3,
  .products-grid-container ul.products .product-card h3 {
    font-size: 1.1rem !important;
  }
}

/* Hide Prices globally on product cards, details pages, and variations */
.product-price,
.price,
.woocommerce-Price-amount,
.woocommerce-variation-price {
  display: none !important;
}

/* Designer Products Marquee styling */
.designer-products-marquee-wrapper {
  padding: 2.5rem 0;
  background-color: transparent;
  width: 100%;
  overflow: hidden;
}

.designer-products-marquee-wrapper .marquee-section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

html[dir="rtl"] .designer-products-marquee-wrapper .marquee-section-title {
  font-family: 'Cairo', sans-serif !important;
}

.designer-products-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
  direction: ltr !important;
}

.designer-products-marquee::before,
.designer-products-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.designer-products-marquee::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.designer-products-marquee::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  gap: 30px !important;
  animation: marquee-animation 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-animation {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

.product-marquee-card {
  width: 320px !important;
  height: 320px !important;
  flex-shrink: 0 !important;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}


.product-marquee-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
}

.product-marquee-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-marquee-card .card-img-wrapper {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #fafafa;
}

.product-marquee-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-marquee-card:hover .card-img-wrapper img {
  transform: scale(1.03);
}

.product-marquee-card .card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.product-marquee-card .card-info h4 {
  font-size: 1.15rem;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .designer-products-marquee-wrapper {
    padding: 4rem 0;
  }

  .designer-products-marquee-wrapper .marquee-section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .product-marquee-card {
    width: 260px;
    height: 260px !important;
    border-radius: 16px;
  }

  .product-marquee-card .card-img-wrapper {
    height: 260px;
  }

  .designer-products-marquee::before,
  .designer-products-marquee::after {
    width: 80px;
  }
}

/* Project Details Styles */
.project-details-page-wrapper {
  width: 100%;
}

.project-details-container {
  padding: 0 5% 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.project-details-banner {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* If overlapping main menu, add top spacing to the boxed banner */
.project-details-banner:not(.full-width-video) {
  max-width: 1400px;
  margin: 50px auto 5rem;
  padding: 0 5%;
}

/* Also support product details page if overlapping */
.product-details-page {
  padding-top: 50px !important;
}

.project-details-banner-inner {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  border-radius: 80px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  background-color: #f5f5f5;
  position: relative;
}

.project-details-banner-inner img,
.project-details-banner-inner iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

.project-details-banner-inner img {
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-details-banner:hover .project-details-banner-inner img {
  transform: scale(1.03);
}

.project-details-banner.full-width-video {
  width: 100vw;
  height: 85vh;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 5rem;
}

.project-details-banner.full-width-video .project-details-banner-inner {
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  aspect-ratio: unset;
}

.project-details-content-wrap {
  max-width: 900px;
  margin-bottom: 4rem;
}

.project-details-header h2 {
  font-size: clamp(1.9rem, 5vw, 2.2rem) !important;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0em;
}

.project-details-text p {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 6rem;
}

.project-gallery-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background-color: #f5f5f5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.project-gallery-item:hover img {
  transform: scale(1.04);
}

/* RTL Adaptations */
html[dir="rtl"] .project-details-container {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .project-details-text p {
  direction: rtl;
  text-align: justify;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .project-details-banner-inner {
    border-radius: 40px;
  }

  .project-details-banner:not(.full-width-video) {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .project-details-banner.full-width-video {
    height: 50vh;
    margin-bottom: 3rem;
  }

  .project-details-banner:not(.full-width-video) {
    margin-top: 20px;
    margin-bottom: 2rem;
  }

  .project-details-banner-inner {
    border-radius: 24px;
    aspect-ratio: 16 / 9;
  }

  .project-details-text p {
    font-size: 1rem;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 4rem;
  }

  .project-gallery-item {
    border-radius: 16px;
  }
}

/* Products Page Mobile Overflow Fixes */
@media (max-width: 768px) {

  /* Disable slide translations that cause horizontal scroll on mobile */
  body:not([dir="rtl"]) .product-page-card:nth-child(odd),
  body:not([dir="rtl"]) .product-page-card:nth-child(even),
  body[dir="rtl"] .product-page-card:nth-child(odd),
  body[dir="rtl"] .product-page-card:nth-child(even) {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  /* Ensure container fits mobile screen cleanly */
  .products-grid-container {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .mosaic-layout {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    gap: 15px !important;
  }
}