/* style.css - Luxury Hospitality Editorial Minimalism Style System */

@font-face {
  font-family: 'ElMessiri';
  src: url('./fonts/ElMessiri/ElMessiri-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette - Default (Warm Neutrals) */
  --bg-color: #eae6e1;
  --accent-color: #f5f2ee;
  --text-color: #050505;
  --border-color: #dcd6cf;
  --placeholder-color: #cbc4bc;
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-arabic: 'ElMessiri', Georgia, 'Times New Roman', serif;
  
  /* Layout Spacing */
  --max-width: 1400px;
  --header-height: 80px;
  
  /* Motion & Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.3s ease;
}

/* Seasonal Theme Overrides */
[data-theme="ramadan"] {
  --bg-color: #e5dfd5;
  --accent-color: #ece6dc;
  --text-color: #0f0d0a;
  --border-color: #d2cbbd;
}

[data-theme="christmas"] {
  --bg-color: #e5e8e2;
  --accent-color: #ecefe9;
  --text-color: #0d120a;
  --border-color: #d1d8cc;
}

[data-theme="winter"] {
  --bg-color: #e3e6eb;
  --accent-color: #eceff2;
  --text-color: #0b1016;
  --border-color: #cbd2db;
}

[data-theme="halloween"] {
  --bg-color: #e9e4de;
  --accent-color: #f1ebd8;
  --text-color: #140d07;
  --border-color: #ded6c9;
}

[data-theme="newyear"] {
  --bg-color: #e9e7e2;
  --accent-color: #f7f5f2;
  --text-color: #000000;
  --border-color: #e2ded7;
}

/* CSS Resets & General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* RTL Specific Rules */
[dir="rtl"] body {
  font-family: var(--font-arabic);
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  outline: none;
}

/* Helper styles */
.hidden-during-load {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.visible-after-load {
  opacity: 1 !important;
}

/* 1. Luxury Brand Reveal Loading Screen */
.reveal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.45s;
}

.reveal-container.fade-out {
  opacity: 0;
  visibility: hidden;
}

.reveal-logo-only {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  animation: logoFlicker 2.5s ease-in-out infinite;
}

@keyframes logoFlicker {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.9;
  }
}

/* 2. Site Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left-logo {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-start;
}

.header-ac-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.header-brand-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 2;
  text-align: center;
}

.header-main-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.header-main-logo:hover {
  opacity: 0.8;
}

.menu-trigger-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.menu-text {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  opacity: 0.8;
}

.bento-icon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 15px;
  height: 15px;
}

.bento-icon span {
  background-color: var(--text-color);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  display: block;
}

/* 3. Full-Screen Hamburger Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s;
  padding: 40px;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.menu-header-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.menu-close-btn {
  font-size: 2.5rem;
  font-weight: 300;
  opacity: 0.7;
  transition: var(--transition-fast);
  line-height: 1;
}

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

.menu-overlay-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.overlay-nav {
  margin-bottom: 50px;
}

.overlay-nav-list {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.overlay-nav-list > li > a.nav-link {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.overlay-nav-list > li > a.nav-link:hover {
  opacity: 1;
  letter-spacing: 0.18em;
}

/* Nav Dropdowns */
.nav-item-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-dropdown-trigger {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition-fast);
}

.nav-dropdown-trigger:hover {
  opacity: 1;
}

.dropdown-chevron {
  font-size: 1.2rem;
  transition: transform 0.4s ease;
}

.nav-dropdown-trigger.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.nav-dropdown-menu::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.nav-dropdown-menu.open {
  max-height: 350px;
  overflow-y: hidden;
}

.nav-dropdown-menu li a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}

.nav-dropdown-menu li a:hover {
  opacity: 0.9;
}

.menu-overlay-footer {
  width: 100%;
  max-width: 500px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.lang-btn {
  opacity: 0.4;
  font-weight: 400;
}

.lang-btn.active {
  opacity: 1;
  font-weight: 600;
}

.lang-separator {
  opacity: 0.3;
}

.admin-portal-link {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  opacity: 0.6;
  border-bottom: 1px solid transparent;
}

.admin-portal-link:hover {
  opacity: 1;
  border-bottom: 1px solid var(--text-color);
}

/* 4. Home Page Components */

/* Hero Cinematic Carousel */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background-color: var(--bg-color);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.hero-img-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.04);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active .hero-img-full {
  transform: scale(1);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.55) 50%, rgba(10, 10, 10, 0.85) 100%);
  z-index: 2;
}

.hero-content-overlay {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translate(-50%, 15px);
  width: 90%;
  max-width: 800px;
  text-align: center;
  z-index: 3;
  color: #f5f2ee;
  opacity: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active .hero-content-overlay {
  opacity: 1;
  transform: translate(-50%, 0);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s;
}

/* Slide Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
}

.hero-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prev-arrow {
  left: 30px;
}

.prev-arrow:hover svg {
  transform: translateX(-3px);
}

.next-arrow {
  right: 30px;
}

.next-arrow:hover svg {
  transform: translateX(3px);
}

.hero-category-label {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 15px;
  display: block;
  color: #f5f2ee;
}

.hero-line-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-line-story {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 0.95;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto 30px;
  color: #eae6e1;
  letter-spacing: 0.02em;
}

.hero-cta-btn-white {
  align-self: center;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  transition: var(--transition-fast);
}

.hero-cta-btn-white:hover {
  gap: 25px;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-color);
  opacity: 0.25;
  transition: var(--transition-fast);
}

.hero-dot.active {
  opacity: 0.8;
  transform: scale(1.3);
}

/* Category Filter Bar */
.category-filter-bar {
  position: sticky;
  top: var(--header-height);
  width: 100%;
  background-color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 500;
  display: flex;
  justify-content: center;
}

.filter-container {
  display: flex;
  width: 100%;
  max-width: var(--max-width);
}

.filter-btn {
  flex-grow: 1;
  text-align: center;
  padding: 22px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  border-right: 1px solid var(--border-color);
  opacity: 0.55;
  transition: var(--transition-fast);
}

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

.filter-btn:hover, .filter-btn.active {
  opacity: 1;
  background-color: var(--bg-color);
}

/* Homepage Story Section (Clean Editorial Center Layout) */
.story-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.story-image-container {
  width: 100%;
  max-width: 1000px;
  padding: 0 40px;
  margin-bottom: 50px;
  overflow: hidden;
}

.story-img-large {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: var(--placeholder-color);
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-image-container:hover .story-img-large {
  transform: scale(1.015);
}

.story-text-container {
  max-width: 760px;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-label {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 20px;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
  line-height: 1.25;
}

.story-desc {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.9;
  opacity: 1;
  font-weight: 500;
  text-align: center;
  color: #0a0a0a;
}

/* Features Bar */
.features-bar {
  background-color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-col {
  text-align: center;
  padding: 50px 25px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.feature-col:last-child {
  border-right: none;
}

.feature-icon {
  opacity: 0.7;
}

.feature-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 1;
}

/* 5. Line Template & Category Pages */
.template-header {
  padding: 80px 40px 50px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.template-label {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 15px;
}

.template-title {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.1;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.template-intro {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 1;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #0a0a0a;
}

/* Hero banner on line page */
.line-hero-banner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 40px;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.line-hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Product Catalog Layout */
.catalog-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.collection-group {
  margin-bottom: 80px;
}

.collection-group:last-child {
  margin-bottom: 0;
}

.collection-group-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 40px;
}

/* Minimalist Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

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

.product-image-wrapper {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background-color: var(--placeholder-color);
  margin-bottom: 20px;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-info {
  text-align: center;
}

.product-line-name {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 5px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 1;
  color: #000000;
  text-shadow: 0 0 0.4px currentColor;
}

/* 6. Site Footer Styling */
.site-footer {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0 0;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1.4fr;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 60px 40px;
}

.footer-col {
  border-right: 1px solid var(--border-color);
  padding: 0 30px;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: 25px;
  opacity: 0.9;
  transition: var(--transition-fast);
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  font-weight: 300;
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 500;
}

.footer-col-title {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-bottom: 25px;
  opacity: 1;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-list li a {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
}

.footer-link-list li a:hover {
  opacity: 0.9;
  padding-left: 3px;
}

.connect-box p {
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.85;
  font-weight: 500;
  margin-bottom: 20px;
}

.connect-arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  border-bottom: 1px solid var(--text-color);
  padding-bottom: 4px;
}

.connect-arrow-btn:hover {
  gap: 25px;
}

.footer-bottom-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 40px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.footer-socials {
  display: flex;
  gap: 30px;
}

.social-link {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-color) !important;
  opacity: 0.65;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* 7. Floating WhatsApp Widget */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--text-color);
  color: var(--bg-color);
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}



.whatsapp-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}

/* 8. Fade-in on Scroll Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom accelerated transition for the main view container */
#app-view.fade-in-section {
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(12px);
}
#app-view.fade-in-section.is-visible {
  transform: translateY(0);
}

/* ==========================================
   9. Consolidated Responsive System
   ========================================== */

/* --- TABLET BREAKPOINT (max-width: 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --max-width: 90%;
  }

  /* Core Layout Paddings */
  .story-section, 
  .partners-section, 
  .eco-section, 
  .vision-mission-section, 
  .founder-section,
  .catalog-container {
    padding: 70px 30px;
  }

  /* Typography Scales */
  .story-title {
    font-size: 2.3rem;
  }

  .story-desc {
    font-size: 1.15rem;
  }

  .founder-quote {
    font-size: 1.4rem;
  }

  /* Grid Layouts */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 30px 60px 30px;
  }

  .footer-col {
    border-right: none;
    padding: 0;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }

  .features-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-col:nth-child(3) {
    border-right: none;
  }

  .feature-col:nth-child(4), 
  .feature-col:nth-child(5) {
    border-top: 1px solid var(--border-color);
  }
}

/* --- PHONE BREAKPOINT (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Core Layout Paddings */
  .story-section {
    padding: 50px 20px;
  }
  
  .partners-section, 
  .eco-section, 
  .vision-mission-section, 
  .founder-section,
  .catalog-container,
  .static-content-page {
    padding: 36px 20px;
  }

  @media (max-width: 480px) {
    .story-section {
      padding: 36px 16px;
    }
    .partners-section, 
    .eco-section, 
    .vision-mission-section, 
    .founder-section,
    .catalog-container,
    .static-content-page {
      padding: 28px 16px;
    }
  }

  /* Typography Scales */
  .hero-content-overlay .hero-line-title {
    font-size: 2.2rem !important;
    letter-spacing: 0.08em;
  }

  .hero-content-overlay .hero-line-story {
    font-size: 0.82rem !important;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .story-title,
  .section-sub-title {
    font-size: 1.8rem !important;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .story-desc,
  .static-page-body .text-block p {
    font-size: 0.98rem !important;
    line-height: 1.7;
  }

  .founder-quote {
    font-size: 1.15rem !important;
    line-height: 1.7;
    margin: 20px 0 15px;
  }

  .vm-title {
    font-size: 1.15rem !important;
    margin-bottom: 12px;
  }

  .vm-text {
    font-size: 1rem !important;
    line-height: 1.6;
  }

  .template-title {
    font-size: 2.8rem !important;
    letter-spacing: 0.1em;
  }

  .template-intro {
    font-size: 1.1rem !important;
  }

  /* Hero Slider Height */
  .hero-slider {
    height: 60vh;
  }

  /* Hero banner on line page aspect-ratio override */
  .line-hero-banner {
    padding: 0 20px;
    margin-bottom: 20px;
    height: auto;
    aspect-ratio: auto;
  }

  /* Story Center Image aspect ratio */
  .story-img-large {
    aspect-ratio: 4 / 5;
  }

  .story-image-container {
    padding: 0;
    margin-bottom: 25px;
  }

  .story-text-container {
    padding: 0;
  }

  /* Partners Image wrapper padding */
  .partners-image-wrapper {
    margin-top: 25px;
    padding: 0;
  }

  /* Vision/Mission Grid stack */
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .vm-col {
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    padding: 0 0 25px 0 !important;
  }

  .vm-col:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }

  [dir="rtl"] .vm-col {
    border-right: none !important;
    padding: 0 0 25px 0 !important;
  }

  /* Compact Features Ribbon */
  .features-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0;
  }

  .feature-col {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 10px;
    gap: 8px;
  }

  .feature-col:nth-child(even) {
    border-right: none;
  }

  .feature-col:nth-child(5) {
    grid-column: span 2;
    border-bottom: none;
    border-right: none;
  }

  .feature-icon {
    width: 18px;
    height: 18px;
  }

  .feature-title {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
  }

  /* Static Content list items */
  .fancy-bullet-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fancy-bullet-list li {
    font-size: 1.05rem;
  }

  /* Inquiry Form padding */
  .inquiry-form-container {
    padding: 25px 15px;
    margin-top: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .inquiry-form input, 
  .inquiry-form textarea {
    padding: 12px 15px;
    font-size: 1rem;
  }

  /* Navigation Header adjustments */
  .header-container {
    padding: 0 15px;
  }

  .header-main-logo {
    height: 22px;
  }

  .header-ac-logo {
    height: 18px;
  }

  .menu-text {
    display: none;
  }

  /* Category Sticky filter bar scrolling */
  .filter-container {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .filter-container::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    padding: 16px 20px;
    border-bottom: none;
  }

  /* Elegant Editorial Footer (Clean Left-Align stack) */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
    padding: 0 20px 40px 20px;
  }

  .footer-col {
    border-right: none !important;
    border-left: none !important;
    padding: 0 !important;
  }

  .footer-col:first-child {
    grid-column: span 1;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;
  }

  .footer-col:last-child {
    grid-column: span 1;
    align-items: flex-start;
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 20px !important;
  }

  .footer-col-title {
    margin-bottom: 15px;
  }

  .footer-tagline {
    font-size: 0.92rem;
  }

  .connect-box p {
    font-size: 0.78rem;
    margin-bottom: 15px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 25px 20px;
  }

  .footer-socials {
    gap: 20px;
  }

  /* Floating WhatsApp button scaling */
  .whatsapp-floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
  }

  .whatsapp-icon {
    width: 18px;
    height: 18px;
  }

  .whatsapp-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  [dir="rtl"] .whatsapp-floating-btn {
    left: 20px;
    right: auto;
  }
}

/* --- SMALL PHONE BREAKPOINT (max-width: 480px) --- */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .product-name {
    font-size: 0.95rem !important;
  }

  .product-line-name {
    font-size: 0.55rem !important;
  }

  .story-title,
  .section-sub-title {
    font-size: 1.6rem !important;
  }
}

/* RTL Adjustments */
[dir="rtl"] {
  text-align: right;
}

/* Premium Arabic Typography & Layout System */
[dir="rtl"],
[dir="rtl"] *,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] button,
[dir="rtl"] select {
  font-family: var(--font-arabic) !important;
  letter-spacing: 0 !important; /* Prevent breaking Arabic connected script */
}

/* Specific Font Weights (Thicknesses) for Arabic Editorial Aesthetic */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] .template-title,
[dir="rtl"] .hero-line-title {
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

[dir="rtl"] h3,
[dir="rtl"] .story-title,
[dir="rtl"] .collection-group-title,
[dir="rtl"] .section-sub-title {
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

[dir="rtl"] h4,
[dir="rtl"] .product-name,
[dir="rtl"] .product-line-name {
  font-weight: 500 !important;
}

[dir="rtl"] p,
[dir="rtl"] .story-desc,
[dir="rtl"] .hero-line-story,
[dir="rtl"] .template-intro,
[dir="rtl"] .text-block p {
  font-weight: 400 !important;
  line-height: 1.8 !important;
  font-size: 1.05rem !important; /* Slightly larger for Arabic legibility */
}

[dir="rtl"] .template-label,
[dir="rtl"] .hero-category-label,
[dir="rtl"] .story-label {
  font-weight: 700 !important;
  font-size: 0.75rem !important;
}

[dir="rtl"] button,
[dir="rtl"] .hero-cta-btn,
[dir="rtl"] .hero-cta-btn-white,
[dir="rtl"] .connect-arrow-btn {
  font-weight: 600 !important;
}

[dir="rtl"] .text-block,
[dir="rtl"] .template-header,
[dir="rtl"] .static-page-body,
[dir="rtl"] .template-intro,
[dir="rtl"] .story-text-container {
  text-align: right !important;
}

[dir="rtl"] .arrow-symbol,
[dir="rtl"] .discover-arrow {
  display: inline-block;
  transform: scaleX(-1) !important;
}

[dir="rtl"] .footer-col,
[dir="rtl"] .footer-col:first-child,
[dir="rtl"] .footer-col:last-child {
  text-align: right !important;
  align-items: flex-end !important;
}

[dir="rtl"] .menu-trigger-btn {
  justify-content: flex-end !important;
  flex-direction: row !important;
}

[dir="rtl"] .menu-close-btn {
  text-align: left;
}

[dir="rtl"] .hero-cta-btn, [dir="rtl"] .connect-arrow-btn {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-cta-btn .arrow-symbol, [dir="rtl"] .connect-arrow-btn .arrow-symbol {
  transform: scaleX(-1);
}

[dir="rtl"] .hero-dots {
  flex-direction: row-reverse;
}

[dir="rtl"] .filter-btn {
  border-left: 1px solid var(--border-color);
  border-right: none;
}

[dir="rtl"] .filter-btn:last-child {
  border-left: none;
}

[dir="rtl"] .feature-col {
  border-left: 1px solid var(--border-color);
  border-right: none;
}

[dir="rtl"] .feature-col:last-child {
  border-left: none;
}

[dir="rtl"] .footer-col {
  border-left: 1px solid var(--border-color);
  border-right: none;
}

[dir="rtl"] .footer-col:first-child {
  padding-right: 0;
  padding-left: 30px;
}

[dir="rtl"] .footer-col:last-child {
  border-left: none;
  padding-left: 0;
  padding-right: 30px;
}

[dir="rtl"] .whatsapp-floating-btn {
  right: auto;
  left: 30px;
  flex-direction: row-reverse;
}

@media (max-width: 1024px) {
  [dir="rtl"] .footer-col {
    border-left: none;
  }
}

/* Static Content Page Styles */
.static-content-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.static-page-body {
  max-width: 800px;
  margin: 40px auto 0;
}

.static-page-body .text-block p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 25px;
}

.content-divider {
  height: 1px;
  background-color: var(--border-color);
  width: 100%;
  margin: 40px 0;
  opacity: 0.7;
}

.section-sub-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
}

.fancy-bullet-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
  padding-left: 0;
  margin-bottom: 30px;
}

.fancy-bullet-list li {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  opacity: 0.85;
  position: relative;
  padding-left: 20px;
}

.fancy-bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0.5;
}

[dir="rtl"] .fancy-bullet-list li {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"] .fancy-bullet-list li::before {
  left: auto;
  right: 0;
}

/* B2B Inquiry Form */
.inquiry-form-container {
  background-color: var(--accent-color);
  padding: 50px 40px;
  border-radius: 2px;
  border: 1px solid var(--border-color);
  margin-top: 30px;
}

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

.form-row {
  display: flex;
  gap: 20px;
}

.inquiry-form input, .inquiry-form textarea {
  width: 100%;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-color);
  transition: var(--transition-fast);
  border-radius: 0;
}

.inquiry-form input:focus, .inquiry-form textarea:focus {
  outline: none;
  border-color: var(--text-color);
}

.inquiry-form textarea {
  height: 150px;
  resize: vertical;
}

/* Partners Section Home Layout */
.partners-section {
  padding: 80px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.partners-image-wrapper {
  max-width: 900px;
  margin: 40px auto 0;
}

.partners-img-full {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Eco Section Home Layout */
.eco-section {
  padding: 80px 40px;
  text-align: center;
  background-color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
}

/* Vision/Mission Grid Home Layout */
.vision-mission-section {
  padding: 80px 40px;
  border-bottom: 1px solid var(--border-color);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.vm-col {
  padding: 20px;
  border-left: 1px solid var(--border-color);
  padding-left: 40px;
}

[dir="rtl"] .vm-col {
  border-left: none;
  border-right: 1px solid var(--border-color);
  padding-left: 20px;
  padding-right: 40px;
}

.vm-col:first-child {
  border-left: none;
}

[dir="rtl"] .vm-col:first-child {
  border-right: none;
}

.vm-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 20px;
}

.vm-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 1;
  font-weight: 500;
}

/* Founder Section Home Layout */
.founder-section {
  padding: 100px 40px;
  text-align: center;
  background-color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
}

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

.founder-quote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.8;
  font-style: italic;
  margin: 30px 0 20px;
  opacity: 1;
  font-weight: 500;
}

.founder-signature {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 500;
}

/* Responsive overrides consolidated above */

/* Private Label Services Page Hero */
.private-label-hero {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0 40px;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.private-label-hero-img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  filter: grayscale(0.05);
}

@media (max-width: 768px) {
  .private-label-hero {
    padding: 0 20px;
    margin-bottom: 20px;
    height: auto;
    aspect-ratio: auto;
  }
}

/* ==========================================
   10. Progressive Image Loading (Blur-Up) System
   ========================================== */
.blur-load {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}

/* Background low-res placeholder layer, scaled and blurred to prevent edge bleeding */
.blur-load::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px);
  transform: scale(1.1);
  transition: opacity 250ms ease-in-out;
  z-index: 1;
}

/* Skeleton Pulse Overlay */
.blur-load::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  animation: skeleton-pulse 1.5s infinite ease-in-out;
  z-index: 2;
  transition: opacity 250ms ease-in-out;
}

@keyframes skeleton-pulse {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.3;
  }
}

/* Main Image style */
.blur-load img {
  opacity: 0;
  transition: opacity 250ms ease-in-out;
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
}

/* Loaded State Styles */
.blur-load.loaded img {
  opacity: 1;
}

/* Hide background placeholder and pulse overlay after image loads */
.blur-load.loaded::before {
  opacity: 0;
  pointer-events: none;
}

.blur-load.loaded::after {
  opacity: 0;
  pointer-events: none;
}

/* Specific Page Adaptations for Blur-Load Wrapper */

/* 1. Hero Slider Carousel */
.hero-slide .blur-load {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide .blur-load img {
  object-fit: cover;
  transform: scale(1.04);
  transition: opacity 250ms ease-in-out, transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active .blur-load img {
  transform: scale(1);
}

/* 2. Story Section */
.story-image-container .blur-load {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.story-image-container .blur-load img {
  object-fit: cover;
  transition: opacity 250ms ease-in-out, transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-image-container:hover .blur-load img {
  transform: scale(1.015);
}

/* 3. Product Catalog Grid */
.product-image-wrapper .blur-load {
  width: 100%;
  height: 100%;
}

.product-image-wrapper .blur-load img {
  object-fit: cover;
  transition: opacity 250ms ease-in-out, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .blur-load img {
  transform: scale(1.02);
}

/* 4. Partners Section */
.partners-image-wrapper .blur-load {
  width: 100%;
  height: auto;
}

.partners-image-wrapper .blur-load img {
  object-fit: contain;
  opacity: 0.85;
}

/* 5. Line Template Page Hero */
.line-hero-banner .blur-load {
  width: 100%;
  height: auto;
}

.line-hero-banner .blur-load img {
  object-fit: contain;
  border-radius: 4px;
}

/* 6. Capabilities Grid & Cards */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.capability-card {
  border: 1px solid var(--border-color);
  padding: 30px;
  background-color: var(--accent-color);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.capability-card h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  color: var(--text-color);
}

.capability-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.8;
  margin: 0;
}

.private-label-inquiry-cta {
  text-align: center;
  margin-top: 60px;
}

/* 7. B2B Inquiry Buttons */
.inquiry-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}

.btn-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-color);
  font-weight: 400;
}

.btn-inquiry svg {
  transition: transform 0.3s ease;
}

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

.btn-gmail-inquiry {
  border-color: var(--text-color);
}

.btn-gmail-inquiry:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

.btn-whatsapp-inquiry {
  border-color: #25D366;
  color: #25D366;
}

.btn-whatsapp-inquiry:hover {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.18);
}

/* 7a. B2B Inquiry Form Layout, FAQ and Private Label Elements */
.inquiry-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--accent-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.inquiry-intro-text {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.6;
}

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

.inquiry-form .form-row {
  display: flex;
  gap: 20px;
}

.inquiry-form .form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.inquiry-form .form-group-textarea {
  margin-top: 10px;
}

.inquiry-form label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  text-align: left;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border-radius: 2px;
  transition: border-color 0.3s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--text-color);
  outline: none;
}

.inquiry-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Editorial Blockquote for Founder's Word */
.editorial-quote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-color);
  font-style: italic;
  margin: 40px 0;
  padding: 0 40px;
  position: relative;
  text-align: center;
  border: none;
}

.editorial-quote::before,
.editorial-quote::after {
  content: '"';
  font-family: var(--font-serif);
  font-size: 4rem;
  opacity: 0.15;
  position: absolute;
  line-height: 1;
}

.editorial-quote::before {
  left: 10px;
  top: -15px;
}

.editorial-quote::after {
  right: 10px;
  bottom: -40px;
}

.quote-author {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 15px;
  opacity: 0.6;
}

/* Private Label page custom styles */
.private-label-page #pl-body {
  white-space: pre-wrap;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

/* FAQ AEO Section */
.faq-aeo-section {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: left;
  font-family: var(--font-sans);
}

.faq-section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 300;
  color: var(--text-color);
}

.faq-item {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-color);
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.8;
  margin: 0;
  font-weight: 300;
}

/* 8. Mobile Optimized UI for Footer Static Pages */
@media (max-width: 768px) {
  /* Layout Padding & Immersive Spacing */
  .static-content-page {
    padding: 0 0 40px 0 !important;
  }
  
  .static-page-body {
    margin-top: 15px;
    padding: 0 20px !important;
  }
  
  /* Mobile Title & Header Tuning */
  .template-header {
    padding: 40px 20px 20px 20px !important;
  }
  
  .template-title {
    font-size: 2.3rem !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }
  
  .template-intro {
    font-size: 1.02rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
  }
  
  /* Full-bleed Editorial Hero Banner for Mobile */
  .line-hero-banner {
    margin: 20px 0 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
  }
  
  .line-hero-banner img {
    border-radius: 0 !important;
  }
  
  /* Elegant Paragraph Layouts */
  .static-page-body .text-block p {
    font-size: 0.98rem !important;
    line-height: 1.75 !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.01em;
    font-weight: 300;
  }
  
  /* Dividers & Subtitles */
  .content-divider {
    margin: 25px 0 !important;
  }
  
  .section-sub-title {
    font-size: 1.45rem !important;
    margin-bottom: 15px !important;
    letter-spacing: 0.05em;
  }
  
  /* Fancy Bullet List styled as native Mobile Card Row list */
  .fancy-bullet-list {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    margin-bottom: 25px !important;
    border-top: 1px solid var(--border-color);
  }
  
  .fancy-bullet-list li {
    font-size: 0.98rem !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
    position: relative !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .fancy-bullet-list li::before {
    display: none !important;
  }
  
  .fancy-bullet-list li::after {
    display: none !important;
  }
  
  /* Form Inputs Touch Target Tweaks */
  .inquiry-form-container {
    padding: 24px 18px !important;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  }
  
  .inquiry-form {
    gap: 16px !important;
  }
  
  .inquiry-form .form-row {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .inquiry-form input, 
  .inquiry-form textarea {
    padding: 15px 18px !important;
    font-size: 0.95rem !important;
    border-radius: 4px !important;
    background-color: var(--accent-color);
  }
  
  /* Stacked Full-Width Buttons */
  .inquiry-buttons {
    flex-direction: column !important;
    width: 100%;
    gap: 12px !important;
    margin-top: 10px !important;
  }
  
  .btn-inquiry {
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 0.8rem !important;
    justify-content: center;
    border-radius: 4px;
  }
  
  /* Capabilities Cards Mobile Stack */
  .capabilities-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .capability-card {
    padding: 24px 20px !important;
    border-radius: 4px;
  }
  
  .capability-card h4 {
    font-size: 1.22rem !important;
    margin-bottom: 8px !important;
  }
  
  .capability-card p {
    font-size: 0.85rem !important;
  }
  
  .private-label-inquiry-cta {
    margin-top: 35px !important;
  }
  
  /* Mobile FAQ styling overrides */
  .faq-aeo-section {
    margin-top: 40px !important;
  }
  
  .faq-section-title {
    font-size: 1.45rem !important;
    margin-bottom: 25px !important;
  }
  
  .faq-item {
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
  }
  
  .faq-question {
    font-size: 1.15rem !important;
    margin-bottom: 6px !important;
  }
  
  .faq-answer {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  /* Mobile editorial quote overrides */
  .editorial-quote {
    font-size: 1.25rem !important;
    padding: 0 20px !important;
    margin: 30px 0 !important;
  }
  .editorial-quote::before {
    left: -5px !important;
    top: -10px !important;
  }
  .editorial-quote::after {
    right: -5px !important;
    bottom: -30px !important;
  }
}

/* 9. Our Lines Logo Scrolling Marquee Ticker */
.our-lines-carousel-section {
  width: 100%;
  max-width: 850px;
  margin: 50px auto 0 auto;
  padding: 0 40px;
  text-align: center;
}

.our-lines-marquee {
  overflow: hidden;
  width: 100%;
  margin-top: 25px;
  position: relative;
  /* Invisible container */
  background: transparent;
}

/* Elegant linear gradient masks to fade logos at edges */
.our-lines-marquee::before,
.our-lines-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.our-lines-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}

.our-lines-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}

[dir="rtl"] .our-lines-marquee::before {
  left: auto;
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}

[dir="rtl"] .our-lines-marquee::after {
  right: auto;
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}

.our-lines-track {
  display: flex;
  gap: 60px;
  width: max-content;
  align-items: center;
  will-change: transform;
  /* Adjust animation duration for slow, luxurious movement */
  animation: scrollTrack 35s linear infinite;
}

.our-lines-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 100px;
}

.our-lines-logo-wrapper {
  width: 100%;
  height: 100%;
  background: transparent !important;
}

.our-lines-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Scale up to counteract native image padding */
  transform: scale(1.4);
  /* Dark silhouette style matches default theme text color */
  filter: brightness(0) opacity(0.6);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.our-lines-logo-img:hover {
  filter: brightness(0) opacity(0.95);
  transform: scale(1.5);
}

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

/* RTL scrolling track */
[dir="rtl"] .our-lines-track {
  animation: scrollTrackRTL 35s linear infinite;
}

@keyframes scrollTrackRTL {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .our-lines-carousel-section {
    margin-top: 35px;
    padding: 0 15px;
  }
  
  .our-lines-marquee::before,
  .our-lines-marquee::after {
    width: 40px;
  }
  
  .our-lines-track {
    gap: 35px;
    animation-duration: 25s; /* Slightly faster on small screens for visual dynamics */
  }
  
  .our-lines-logo-item {
    width: 170px;
    height: 70px;
  }
  
  .our-lines-logo-wrapper {
    width: 100%;
    height: 100%;
  }
  
  .our-lines-logo-img {
    transform: scale(1.35);
  }
}

/* Image Lightbox Modal styling */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.4s;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  font-weight: 200;
  color: #ffffff;
  opacity: 0.6;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 3010;
  line-height: 1;
  background: none;
  border: none;
  outline: none;
}

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

.lightbox-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

/* Disable body scroll when lightbox is active */
body.lightbox-open {
  overflow: hidden;
}

/* Make entire Hero slide clickable */
.hero-slide {
  cursor: pointer;
}


