/**
 * Kahramanat Baghdad - Mobile-First Stylesheet
 * Optimized for all devices with perfect mobile support
 * @version 3.0.0
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  --bg: #050505;
  --fg: #FFFFFF;
  --muted: #9CA3AF;
  --brand: #D4AF37;
  --brand-10: rgba(212, 175, 55, 0.10);
  --brand-25: rgba(212, 175, 55, 0.25);
  --brand-40: rgba(212, 175, 55, 0.40);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.10);
  --container: 1100px;
  --font-en: "Inter", system-ui, -apple-system, sans-serif;
  --font-ar: "Cairo", system-ui, -apple-system, sans-serif;
  --touch-target: 44px;
}

/* BASE STYLES - MOBILE FIRST */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-en);
  direction: ltr;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

body.rtl {
  font-family: var(--font-ar);
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-touch-callout: default;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
}

/* UTILITY CLASSES */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.anchor {
  scroll-margin-top: 72px;
}

section[id] {
  scroll-margin-top: 72px;
}

@media (min-width: 768px) {
  .anchor,
  section[id] {
    scroll-margin-top: 92px;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

/* PAGE LOADER */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--line-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* HEADER - MOBILE FIRST */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transform: translateZ(0);
  will-change: transform;
}

@supports not (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(5, 5, 5, 0.95);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 64px;
  gap: 12px;
  padding: 8px 0;
}

@media (min-width: 920px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    min-height: 72px;
    gap: 14px;
  }
}

.nav {
  display: none;
}

@media (min-width: 920px) {
  .nav {
    display: flex;
    gap: 18px;
    align-items: center;
    white-space: nowrap;
  }
  
  .nav-left {
    justify-content: flex-start;
  }
  
  .nav-right {
    justify-content: flex-end;
  }
  
  .nav a {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 10px 10px;
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    border: 1px solid transparent;
  }
  
  .nav a:hover {
    color: var(--fg);
    background: var(--brand-10);
    border-color: var(--brand-25);
    transform: translateY(-1px);
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.18s ease, border-color 0.18s ease;
  justify-self: center;
}

.logo:hover {
  background: var(--brand-10);
  border-color: var(--brand-25);
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-img {
    height: 44px;
  }
}

.lang {
  appearance: none;
  background: transparent;
  color: var(--fg);
  font: inherit;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.lang:hover {
  background: var(--brand-10);
  border-color: var(--brand-40);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.burger {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.burger:hover {
  background: var(--brand-10);
  border-color: var(--brand-25);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  opacity: 0.9;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:checked ~ .burger span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle:checked ~ .burger span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 920px) {
  .burger {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  grid-column: 1 / -1;
  margin: 10px 0 16px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-toggle:checked ~ .mobile-drawer {
  display: block;
}

.mobile-drawer a,
.mobile-drawer button {
  display: block;
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  color: var(--fg);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  transition: background 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  background: transparent;
  font-weight: 600;
}

body.rtl .mobile-drawer a,
body.rtl .mobile-drawer button {
  text-align: right;
}

.mobile-drawer a:active,
.mobile-drawer button:active {
  background: var(--brand-10);
  border-color: var(--brand-25);
}

.mobile-drawer hr {
  border: none;
  height: 1px;
  background: var(--line-soft);
  margin: 10px 0;
}

@media (min-width: 920px) {
  .mobile-drawer {
    display: none !important;
  }
}

/* HERO - MOBILE FIRST */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 92vh;
    min-height: calc(100vh - 72px);
    padding-top: 72px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 50% 30%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(600px 400px at 50% 60%, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  z-index: 0;
}

@media (min-width: 768px) {
  .hero-bg {
    background:
      radial-gradient(1200px 700px at 18% 28%, rgba(255, 255, 255, 0.10), transparent 55%),
      radial-gradient(900px 600px at 72% 62%, rgba(212, 175, 55, 0.10), transparent 55%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.60) 45%, rgba(0, 0, 0, 0.88));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 0 40px;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 24px 0 46px;
  }
}

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

.hero-content .warning,
.hero-content .hero-title,
.hero-content .hero-actions,
.hero-content .hero-controls {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.7s ease forwards;
}

.hero-content .warning { animation-delay: 0.08s; }
.hero-content .hero-title { animation-delay: 0.18s; }
.hero-content .hero-actions { animation-delay: 0.30s; }
.hero-content .hero-controls { animation-delay: 0.42s; }

.warning {
  max-width: 100%;
  margin: 0 0 16px;
}

@media (min-width: 768px) {
  .warning {
    max-width: 740px;
    margin: 0 0 18px;
  }
}

.warning-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.warning-label {
  color: var(--brand);
  font-family: var(--font-en);
  direction: ltr;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

@media (min-width: 768px) {
  .warning-label {
    font-size: 13px;
  }
}

body.rtl .warning-label {
  font-family: var(--font-ar);
  font-weight: 900;
  color: var(--brand);
  font-size: clamp(28px, 5vw, 74px);
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1;
}

.warning-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, var(--brand), transparent);
  opacity: 0.9;
}

body.rtl .warning-line {
  background: linear-gradient(to left, var(--brand), transparent);
}

.warning-text {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .warning-text {
    font-size: 14px;
    letter-spacing: 0.10em;
  }
}

.hero-title {
  margin: 0 0 18px;
  max-width: 100%;
  font-family: var(--font-en);
  direction: ltr;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: clamp(20px, 5.5vw, 54px);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

@media (min-width: 768px) {
  .hero-title {
    max-width: 920px;
    margin: 0 0 20px;
    letter-spacing: 0.08em;
    line-height: 1.12;
  }
}

body.rtl .hero-title {
  font-family: var(--font-ar);
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .hero-actions {
    gap: 12px;
  }
}

.hero-controls {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero-controls {
    margin-top: 26px;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.16em;
  }
}

.hero-controls .dot {
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

@media (min-width: 768px) {
  .hero-controls .dot {
    width: 20px;
  }
}

@keyframes scrollHint {
  0% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0));
  transform: translateX(-50%);
  opacity: 0.85;
  z-index: 2;
  animation: scrollHint 1.4s ease-in-out infinite;
}

@media (min-width: 768px) {
  .scroll-indicator {
    height: 42px;
  }
}

/* BUTTONS - MOBILE OPTIMIZED */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  min-height: var(--touch-target);
  font-weight: 700;
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
  touch-action: manipulation;
}

@media (min-width: 768px) {
  .btn {
    padding: 12px 18px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }
}

.btn:active {
  transform: translateY(-1px);
  background: var(--brand-10);
  border-color: var(--brand-25);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-1px);
    background: var(--brand-10);
    border-color: var(--brand-25);
  }
}

.btn-primary {
  background: var(--brand-10);
  border-color: var(--brand-40);
}

.btn-primary:active {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.55);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: rgba(212, 175, 55, 0.14);
    border-color: rgba(212, 175, 55, 0.55);
  }
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

/* SECTIONS - MOBILE FIRST */
.section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 72px 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 84px 0;
  }
}

.section-head {
  margin: 0 0 20px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .section-head {
    margin: 0 0 22px;
    max-width: 900px;
  }
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

@media (min-width: 768px) {
  .section-kicker {
    font-size: 12px;
    letter-spacing: 0.16em;
  }
}

body.rtl .section-kicker {
  letter-spacing: 0.04em;
  text-transform: none;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 900;
  text-shadow: 0 0 22px rgba(212, 175, 55, 0.12);
  line-height: 1.25;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 16px;
  }
}

/* CARDS - MOBILE OPTIMIZED */
.card {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 14px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

@media (min-width: 768px) {
  .card {
    border-radius: 18px;
    padding: 16px;
  }
}

.card:active {
  background: var(--brand-10);
  border-color: var(--brand-25);
  transform: translateY(-2px);
}

@media (hover: hover) {
  .card:hover {
    background: var(--brand-10);
    border-color: var(--brand-25);
    transform: translateY(-2px);
  }
}

/* STORY SECTION */
.story-section {
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: url("./assets/story.png") center/cover no-repeat;
  opacity: 0.05;
  filter: blur(1px) saturate(0.9) contrast(0.95);
  transform: scale(1.05);
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .story-section::before {
    opacity: 0.07;
  }
}

.story-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 20%, rgba(212, 175, 55, 0.06), transparent 55%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.40), rgba(5, 5, 5, 0.70));
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .story-section::after {
    background:
      radial-gradient(900px 500px at 30% 20%, rgba(212, 175, 55, 0.08), transparent 55%),
      linear-gradient(to bottom, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.65));
  }
}

.story-section .container {
  position: relative;
  z-index: 1;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

@media (min-width: 920px) {
  .story-grid {
    grid-template-columns: 1fr 420px;
    gap: 22px;
  }
}

.story-text {
  padding: 16px;
}

@media (min-width: 768px) {
  .story-text {
    padding: 18px;
  }
}

.story-paragraph {
  margin: 0 0 12px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--muted);
  font-size: 15px;
}

@media (min-width: 768px) {
  .story-paragraph {
    margin: 0 0 14px;
    line-height: 1.95;
    font-size: 16px;
  }
}

.story-media {
  padding: 12px;
  order: -1;
}

@media (min-width: 920px) {
  .story-media {
    padding: 14px;
    order: 0;
  }
}

.story-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  object-fit: cover;
}

@media (min-width: 768px) {
  .story-photo {
    border-radius: 14px;
  }
}

/* OWNER SECTION */
.owner-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

@media (min-width: 920px) {
  .owner-card {
    grid-template-columns: 420px 1fr;
    gap: 22px;
    padding: 18px;
  }
}

.owner-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 768px) {
  .owner-media {
    border-radius: 16px;
  }
}

.owner-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.owner-name {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

@media (min-width: 768px) {
  .owner-name {
    font-size: 26px;
  }
}

.owner-role {
  margin: 6px 0 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

@media (min-width: 768px) {
  .owner-role {
    margin: 6px 0 14px;
    font-size: 16px;
  }
}

.owner-text {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

@media (min-width: 768px) {
  .owner-text {
    margin: 0 0 12px;
    line-height: 1.9;
    font-size: 16px;
  }
}

.owner-quote {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--brand-40);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 12px;
  color: var(--fg);
  font-size: 15px;
}

@media (min-width: 768px) {
  .owner-quote {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 16px;
  }
}

body.rtl .owner-quote {
  border-left: none;
  border-right: 3px solid var(--brand-40);
}

/* GALLERY - MOBILE OPTIMIZED */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
  }
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  .gallery-item {
    border-radius: 18px;
  }
}

.gallery-item:active {
  transform: scale(1.02);
  border-color: var(--brand-40);
}

@media (hover: hover) {
  .gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--brand-40);
  }
}

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

@media (min-width: 768px) {
  .gallery-item img {
    height: 280px;
  }
}

.gallery-item:active img {
  transform: scale(1.05);
}

@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.08);
  }
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
  opacity: 1;
  pointer-events: auto;
  gap: 10px;
}

@media (min-width: 768px) {
  .gallery-overlay {
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gallery-item:hover .gallery-overlay,
  .gallery-item:active .gallery-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

.gallery-info {
  flex: 1;
  min-width: 0;
}

.gallery-overlay h4 {
  margin: 0 0 4px;
  color: var(--fg);
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .gallery-overlay h4 {
    font-size: 18px;
  }
}

.gallery-price {
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.60);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2px;
  display: inline-block;
}

@media (min-width: 768px) {
  .gallery-price {
    padding: 6px 10px;
    font-size: 13px;
  }
}

.gallery-add {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--brand-40);
  background: rgba(5, 5, 5, 0.70);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.gallery-add:active {
  transform: scale(0.95);
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.55);
}

@media (hover: hover) {
  .gallery-add:hover {
    transform: translateY(-1px);
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.55);
  }
}

.gallery-actions {
  text-align: center;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
}

.testimonial-card {
  padding: 18px;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 20px;
  }
}

.stars {
  color: var(--brand);
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

@media (min-width: 768px) {
  .stars {
    font-size: 18px;
    margin-bottom: 12px;
  }
}

.testimonial-text {
  margin: 0 0 12px;
  line-height: 1.7;
  font-style: italic;
  color: var(--fg);
  font-size: 15px;
}

@media (min-width: 768px) {
  .testimonial-text {
    margin: 0 0 14px;
    line-height: 1.8;
    font-size: 16px;
  }
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  color: var(--fg);
  font-weight: 700;
  font-size: 15px;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 768px) {
  .testimonial-author strong {
    font-size: 16px;
  }
  
  .testimonial-author span {
    font-size: 14px;
  }
}

/* MENU SECTION */
.menu-card {
  text-align: center;
  padding: 28px 20px;
}

@media (min-width: 768px) {
  .menu-card {
    padding: 32px 24px;
  }
}

.menu-btn {
  margin-bottom: 10px;
  width: 100%;
  max-width: 320px;
}

@media (min-width: 768px) {
  .menu-btn {
    margin-bottom: 12px;
    width: auto;
  }
}

.menu-secondary {
  margin-bottom: 14px;
  width: 100%;
  max-width: 320px;
}

@media (min-width: 768px) {
  .menu-secondary {
    margin-bottom: 16px;
    width: auto;
  }
}

.menu-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 768px) {
  .menu-note {
    font-size: 14px;
  }
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .faq-list {
    gap: 14px;
  }
}

.faq-item {
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.faq-item:active {
  background: var(--brand-10);
}

@media (hover: hover) {
  .faq-item:hover {
    background: var(--brand-10);
  }
}

.faq-question {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: var(--touch-target);
}

@media (min-width: 768px) {
  .faq-question {
    padding: 16px 18px;
    font-size: 16px;
  }
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--brand);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .faq-question::after {
    font-size: 24px;
  }
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 16px 14px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

@media (min-width: 768px) {
  .faq-answer {
    padding: 0 18px 16px;
    line-height: 1.8;
    font-size: 16px;
  }
}

/* CART FAB */
.cart-fab {
  position: fixed;
  right: 16px;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.85);
  color: var(--fg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .cart-fab {
    right: calc(18px + env(safe-area-inset-right));
    bottom: calc(92px + env(safe-area-inset-bottom));
    padding: 12px 14px;
    gap: 10px;
  }
}

body.rtl .cart-fab {
  right: auto;
  left: 16px;
}

@media (min-width: 768px) {
  body.rtl .cart-fab {
    left: calc(18px + env(safe-area-inset-left));
  }
}

.cart-fab:active {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.92);
  border-color: var(--brand-25);
}

@media (hover: hover) {
  .cart-fab:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.92);
    border-color: var(--brand-25);
  }
}

.cart-fab-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .cart-fab-label {
    font-size: 12px;
  }
}

.cart-count {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 1px solid var(--brand-40);
  background: var(--brand-10);
  color: var(--brand);
  font-size: 12px;
}

@media (min-width: 768px) {
  .cart-count {
    min-width: 30px;
    height: 30px;
    font-size: 13px;
  }
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.cart-modal.is-open {
  display: block;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  -webkit-tap-highlight-color: transparent;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 440px;
  padding: 16px;
  overflow: auto;
  background: rgba(12, 12, 12, 0.98);
  border-left: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 600px) {
  .cart-panel {
    padding: 18px;
  }
}

body.rtl .cart-panel {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  background: rgba(12, 12, 12, 0.98);
  padding-bottom: 8px;
  z-index: 10;
}

.cart-title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

@media (min-width: 768px) {
  .cart-title {
    font-size: 18px;
  }
}

.cart-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .cart-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
}

.cart-close:active {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--brand-25);
}

@media (hover: hover) {
  .cart-close:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--brand-25);
  }
}

.cart-empty {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 768px) {
  .cart-empty {
    font-size: 15px;
  }
}

.cart-items {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
  .cart-item {
    border-radius: 14px;
  }
}

.cart-item-name {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.cart-item-title {
  font-weight: 900;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.15;
  font-size: 14px;
}

@media (min-width: 768px) {
  .cart-item-title {
    font-size: 15px;
  }
}

.cart-item-meta {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.78;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cart-item-meta {
    font-size: 12px;
  }
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .cart-item-controls {
    gap: 8px;
  }
}

.cart-qty {
  min-width: 22px;
  text-align: center;
  font-weight: 900;
  font-size: 13px;
}

@media (min-width: 768px) {
  .cart-qty {
    min-width: 24px;
    font-size: 14px;
  }
}

.cart-qty-btn,
.cart-remove {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  border-radius: 999px;
  padding: 6px 9px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

@media (min-width: 768px) {
  .cart-qty-btn,
  .cart-remove {
    padding: 7px 10px;
    min-width: 36px;
    min-height: 36px;
  }
}

.cart-qty-btn:active,
.cart-remove:active {
  transform: translateY(-1px);
  background: var(--brand-10);
  border-color: var(--brand-25);
}

@media (hover: hover) {
  .cart-qty-btn:hover,
  .cart-remove:hover {
    transform: translateY(-1px);
    background: var(--brand-10);
    border-color: var(--brand-25);
  }
}

.cart-note {
  margin-top: 6px;
}

.cart-note-label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

@media (min-width: 768px) {
  .cart-note-label {
    font-size: 14px;
  }
}

.cart-note-text {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border-radius: 12px;
  padding: 10px 12px;
  resize: vertical;
  font-size: 14px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .cart-note-text {
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 15px;
  }
}

.cart-customer {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.cart-field-label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

@media (min-width: 768px) {
  .cart-field-label {
    font-size: 14px;
  }
}

.cart-field-input,
.cart-field-textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 14px;
}

@media (min-width: 768px) {
  .cart-field-input,
  .cart-field-textarea {
    font-size: 15px;
  }
}

.cart-field-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .cart-field-textarea {
    min-height: 84px;
  }
}

.cart-field-input:focus,
.cart-field-textarea:focus {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.cart-summary-label {
  font-weight: 900;
  opacity: 0.9;
  font-size: 14px;
}

@media (min-width: 768px) {
  .cart-summary-label {
    font-size: 15px;
  }
}

.cart-summary-value {
  font-weight: 900;
  color: var(--brand);
  font-size: 15px;
}

@media (min-width: 768px) {
  .cart-summary-value {
    font-size: 16px;
  }
}

.cart-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .cart-actions {
    gap: 12px;
  }
}

.cart-actions .btn {
  flex: 1;
  min-width: 0;
}

.cart-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .cart-hint {
    font-size: 13px;
  }
}

/* CONTACT SECTION */
.active-branch {
  margin-bottom: 20px;
  padding: 20px;
}

@media (min-width: 768px) {
  .active-branch {
    margin-bottom: 24px;
    padding: 24px;
  }
}

.active-branch-head {
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .active-branch-head {
    margin-bottom: 16px;
  }
}

.active-branch-kicker {
  margin: 0 0 6px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 11px;
}

@media (min-width: 768px) {
  .active-branch-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
  }
}

.active-branch-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

@media (min-width: 768px) {
  .active-branch-title {
    font-size: 22px;
  }
}

.active-branch-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .active-branch-actions {
    gap: 12px;
    margin-bottom: 14px;
  }
}

.active-map {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 768px) {
  .active-map {
    margin-top: 14px;
    border-radius: 18px;
  }
}

.active-map-frame {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .active-map-frame {
    height: 260px;
  }
}

body.rtl .active-map-frame {
  direction: ltr;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--touch-target);
}

@media (min-width: 768px) {
  .active-chip {
    padding: 10px 14px;
    gap: 8px;
    flex: 0 1 auto;
  }
}

.active-chip:active {
  background: var(--brand-10);
  border-color: var(--brand-25);
  transform: translateY(-1px);
}

@media (hover: hover) {
  .active-chip:hover {
    background: var(--brand-10);
    border-color: var(--brand-25);
    transform: translateY(-1px);
  }
}

.active-chip-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .active-chip-label {
    font-size: 12px;
  }
}

.active-chip-value {
  color: var(--fg);
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

@media (min-width: 768px) {
  .active-chip-value {
    font-size: 14px;
  }
}

.active-branch-wa {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .active-branch-wa {
    flex: 1 1 auto;
    min-width: 200px;
  }
}

.active-branch-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 768px) {
  .active-branch-hint {
    font-size: 14px;
  }
}

.branch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .branch-grid {
    gap: 18px;
    margin-bottom: 24px;
  }
}

.branch-card {
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.branch-card.is-selected {
  background: var(--brand-10);
  border-color: var(--brand-40);
}

.branch-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .branch-head {
    gap: 10px;
    margin-bottom: 14px;
  }
}

.pin-ico {
  color: var(--brand);
  flex: 0 0 auto;
}

.branch-title {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}

@media (min-width: 768px) {
  .branch-title {
    font-size: 18px;
  }
}

.branch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}

@media (min-width: 768px) {
  .branch-row {
    gap: 12px;
  }
}

.branch-label {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

@media (min-width: 768px) {
  .branch-label {
    font-size: 14px;
  }
}

.branch-value {
  font-weight: 700;
  font-size: 14px;
}

@media (min-width: 768px) {
  .branch-value {
    font-size: 15px;
  }
}

.phone-link {
  color: var(--brand);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--brand-25);
  background: rgba(212, 175, 55, 0.08);
  color: var(--brand);
  font-weight: 700;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
  font-size: 12px;
  min-height: 36px;
}

@media (min-width: 768px) {
  .map-btn {
    padding: 10px 12px;
    font-size: 13px;
    min-height: 38px;
  }
}

.map-btn:active {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

@media (hover: hover) {
  .map-btn:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-1px);
  }
}

.contact-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px;
}

@media (min-width: 600px) {
  .contact-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .contact-footer {
    gap: 12px;
    padding: 16px;
  }
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
  min-height: var(--touch-target);
}

@media (min-width: 768px) {
  .contact-chip {
    border-radius: 14px;
    gap: 10px;
  }
}

.contact-chip:active {
  background: var(--brand-10);
  border-color: var(--brand-25);
  transform: translateY(-2px);
}

@media (hover: hover) {
  .contact-chip:hover {
    background: var(--brand-10);
    border-color: var(--brand-25);
    transform: translateY(-2px);
  }
}

.chip-ico {
  color: var(--brand);
  flex: 0 0 auto;
}

.chip-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

@media (min-width: 768px) {
  .chip-label {
    font-size: 13px;
  }
}

.chip-value {
  color: var(--fg);
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .chip-value {
    font-size: 14px;
  }
}

/* WHATSAPP FAB */
.whatsapp-fab {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 997;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--brand-25);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.3s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

@media (min-width: 768px) {
  .whatsapp-fab {
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: calc(16px + env(safe-area-inset-left));
    padding: 12px 14px;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

body.rtl .whatsapp-fab {
  left: auto;
  right: 16px;
}

@media (min-width: 768px) {
  body.rtl .whatsapp-fab {
    right: calc(16px + env(safe-area-inset-right));
  }
}

.whatsapp-fab:active {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.10);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

@media (hover: hover) {
  .whatsapp-fab:hover {
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.10);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
  }
}

.whatsapp-fab.is-idle {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.25);
  animation: glow 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .whatsapp-fab.is-idle {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 175, 55, 0.2);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.5);
  }
}

@media (min-width: 768px) {
  @keyframes glow {
    0%, 100% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 175, 55, 0.2);
    }
    50% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(212, 175, 55, 0.5);
    }
  }
}

.wa-ico {
  color: var(--brand);
  flex: 0 0 auto;
}

.whatsapp-fab-text {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

@media (min-width: 768px) {
  .whatsapp-fab-text {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}

body.rtl .whatsapp-fab-text {
  text-transform: none;
  letter-spacing: 0.04em;
}

/* TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  display: grid;
  gap: 8px;
  max-width: calc(100vw - 32px);
}

@media (min-width: 768px) {
  .toast-container {
    gap: 10px;
  }
}

body.rtl .toast-container {
  right: auto;
  left: 16px;
}

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

.toast {
  min-width: 240px;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--brand-25);
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.22s ease-out;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .toast {
    min-width: 260px;
    max-width: 360px;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

.toast p {
  margin: 0;
  color: var(--fg);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .toast p {
    font-size: 14px;
  }
}

.toast-success {
  border-color: rgba(34, 197, 94, 0.4);
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
}

/* RTL ADJUSTMENTS */
body.rtl .hero-content {
  text-align: right;
}

body.rtl .warning-top {
  flex-direction: row-reverse;
}

body.rtl .hero-actions {
  justify-content: flex-start;
}

@media (min-width: 768px) {
  body.rtl .hero-actions {
    justify-content: flex-end;
  }
}

body.rtl .hero-controls {
  justify-content: flex-start;
}

@media (min-width: 768px) {
  body.rtl .hero-controls {
    justify-content: flex-end;
  }
}

body.rtl .mobile-drawer {
  text-align: right;
}

body.rtl .story-text {
  text-align: right;
}

body.rtl .owner-content {
  text-align: right;
}

body.rtl .nav a,
body.rtl .btn,
body.rtl .warning-text,
body.rtl .hero-controls {
  letter-spacing: 0.04em;
  text-transform: none;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .hero-content .warning,
  .hero-content .hero-title,
  .hero-content .hero-actions,
  .hero-content .hero-controls {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .scroll-indicator {
    animation: none;
  }
  
  .btn,
  .card,
  .nav a,
  .lang,
  .logo,
  .whatsapp-fab,
  .gallery-item {
    transition: none;
  }
  
  .btn:hover,
  .btn:active,
  .card:hover,
  .card:active,
  .nav a:hover,
  .nav a:active,
  .lang:hover,
  .lang:active,
  .gallery-item:hover,
  .gallery-item:active {
    transform: none;
  }
  
  .whatsapp-fab.is-idle {
    animation: none;
  }
}

/* SAFE AREA INSETS */
@supports (padding: max(0px)) {
  body {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
  
  .site-header {
    padding-top: max(0px, env(safe-area-inset-top));
  }
}

/* PRINT STYLES */
@media print {
  .site-header,
  .whatsapp-fab,
  .cart-fab,
  .cart-modal,
  .toast-container,
  .scroll-indicator {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero-video,
  .hero-overlay {
    display: none;
  }
}