/* ===========================
   LUMINA — Design System
   =========================== */

/* ---- Design Tokens ---- */
:root {
  /* Colors */
  --bg: #faf8f5;
  --bg-alt: #f3efe9;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --text-muted: #8a8a8a;
  --border: #e5e0d8;
  --accent: #c4633f;
  --accent-dark: #a14e2e;
  --accent-light: #e8d5c8;
  --success: #4a7c59;
  --danger: #c4453f;
  --gold: #c9a961;

  /* Typography */
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.3s var(--ease);

  /* Layout */
  --container: 1280px;
  --header-h: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* ---- Header / Navigation ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition), background var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 248, 245, 0.95);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
}

.icon-btn:hover {
  background: var(--bg-alt);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.5;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transform: scale(0);
  transition: transform var(--transition);
}

.cart-badge.visible {
  transform: scale(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.5) 0%, rgba(26,26,26,0.2) 50%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: var(--space-xl) 0;
}

.hero-content .eyebrow {
  color: var(--accent-light);
  margin-bottom: var(--space-md);
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: var(--accent);
  color: #fff;
}

.hero .btn-primary:hover {
  background: var(--accent-dark);
}

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--text);
  border-color: #fff;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.section-header .eyebrow {
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* ---- Product Cards ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.product-card {
  cursor: pointer;
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: var(--space-md);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.3rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-badge.new {
  background: var(--text);
  color: #fff;
}

.product-badge.sale {
  background: var(--accent);
  color: #fff;
}

.product-badge.bestseller {
  background: var(--gold);
  color: #fff;
}

.quick-add {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  padding: 0.7rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 2;
}

.product-card:hover .quick-add {
  opacity: 1;
  transform: translateY(0);
}

.quick-add:hover {
  background: var(--text);
  color: #fff;
}

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

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.product-price {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.product-price .original {
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* ---- Collections Banner ---- */
.collection-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.collection-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

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

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
}

.collection-overlay h3 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.collection-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.collection-overlay .btn {
  align-self: flex-start;
}

/* ---- Brand Story ---- */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.brand-story-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.brand-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-content .eyebrow {
  margin-bottom: var(--space-md);
}

.brand-story-content h2 {
  margin-bottom: var(--space-lg);
}

.brand-story-content p {
  color: var(--text-soft);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.brand-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

.brand-stat .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}

.brand-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Features Strip ---- */
.features-strip {
  background: var(--bg-alt);
  padding: var(--space-xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.feature-text .title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.feature-text .desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 1rem;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.author-location {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Newsletter ---- */
.newsletter {
  background: var(--text);
  color: var(--bg);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.newsletter h2 {
  color: var(--bg);
  margin-bottom: var(--space-md);
}

.newsletter p {
  color: rgba(250,248,245,0.6);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
  color: var(--bg);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--accent-dark);
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-alt);
  padding: var(--space-2xl) 0 var(--space-xl);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--text);
  border-color: var(--text);
}

.footer-social a:hover svg {
  stroke: var(--bg);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--transition);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.payment-icons {
  display: flex;
  gap: var(--space-sm);
}

.payment-icon {
  height: 24px;
  padding: 2px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: calc(var(--header-h) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
  background: var(--bg-alt);
}

.page-hero .eyebrow {
  margin-bottom: var(--space-md);
}

.page-hero h1 {
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span.separator {
  opacity: 0.5;
}

/* ---- Shop Page ---- */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-lg));
  align-self: start;
}

.filter-group {
  margin-bottom: var(--space-xl);
}

.filter-group h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-soft);
  transition: color var(--transition);
}

.filter-option:hover {
  color: var(--accent);
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.filter-option .count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.shop-main {
  min-width: 0;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.shop-toolbar .result-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.shop-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* ---- Product Detail Page ---- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-2xl);
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-h) + var(--space-lg));
  align-self: start;
}

.gallery-main {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: var(--space-md);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}

.gallery-thumb.active {
  border-color: var(--accent);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-detail .breadcrumb {
  margin-bottom: var(--space-lg);
}

.product-info-detail .product-category {
  margin-bottom: var(--space-sm);
}

.product-info-detail h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.product-price-detail {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.product-price-detail .original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-left: 0.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-rating .stars {
  margin-bottom: 0;
}

.product-rating .review-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-description {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.product-options {
  margin-bottom: var(--space-lg);
}

.option-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.option-choices {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.option-choice {
  padding: 0.6rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.option-choice:hover {
  border-color: var(--text);
}

.option-choice.selected {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.color-choice {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.color-choice.selected {
  border-color: var(--text);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text);
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  width: fit-content;
}

.quantity-selector button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: background var(--transition);
}

.quantity-selector button:hover {
  background: var(--bg-alt);
}

.quantity-selector input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  background: transparent;
  outline: none;
}

.product-actions-detail {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.product-meta {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
}

.meta-row {
  display: flex;
  gap: var(--space-md);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.meta-row .label {
  font-weight: 600;
  min-width: 100px;
  color: var(--text);
}

.meta-row .value {
  color: var(--text-soft);
}

/* ---- Tabs ---- */
.product-tabs {
  padding-bottom: var(--space-2xl);
}

.tab-headers {
  display: flex;
  gap: var(--space-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.tab-header {
  padding: var(--space-md) 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.tab-header.active {
  color: var(--text);
}

.tab-header.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.tab-content {
  display: none;
  max-width: 800px;
  line-height: 1.8;
  color: var(--text-soft);
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}

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

/* ---- Cart Page ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-2xl);
}

.cart-items {
  min-width: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item:first-child {
  border-top: 1px solid var(--border);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info .product-category {
  margin-bottom: 0.2rem;
}

.cart-item-info .product-name {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.cart-item-info .variant {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cart-item-info .remove-btn {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--transition);
}

.cart-item-info .remove-btn:hover {
  color: var(--danger);
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-md);
}

.cart-item-price {
  font-size: 1.05rem;
  font-weight: 600;
}

.cart-summary {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--header-h) + var(--space-lg));
  align-self: start;
}

.cart-summary h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.promo-input {
  display: flex;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.promo-input input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  outline: none;
  background: var(--surface);
}

.promo-input input:focus {
  border-color: var(--accent);
}

.promo-input button {
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition);
}

.promo-input button:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.free-shhip-bar {
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: var(--space-md);
}

/* ---- Empty Cart ---- */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.empty-state svg {
  width: 80px;
  height: 80px;
  stroke: var(--border);
  fill: none;
  stroke-width: 1;
  margin: 0 auto var(--space-lg);
}

.empty-state h2 {
  margin-bottom: var(--space-md);
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

/* ---- Checkout Page ---- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-2xl);
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-2xl);
}

.checkout-form h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
  margin-top: var(--space-xl);
}

.checkout-form h3:first-child {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition);
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition);
}

.payment-method:hover {
  border-color: var(--text);
}

.payment-method.selected {
  border-color: var(--accent);
  background: var(--accent-light);
}

.payment-method input[type="radio"] {
  accent-color: var(--accent);
}

.payment-method .method-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.payment-method .method-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payment-method .method-icon {
  margin-left: auto;
  font-size: 1.5rem;
}

/* ---- Toast Notification ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text);
  color: var(--bg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  width: 20px;
  height: 20px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2;
}

/* ---- Drawer (Cart) ---- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg);
  z-index: 1600;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.drawer-header h3 {
  font-size: 1.15rem;
}

.drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition);
}

.drawer-close:hover {
  background: var(--bg-alt);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md) var(--space-xl);
}

.drawer-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border);
}

.drawer-footer .summary-row {
  padding: 0.3rem 0;
}

.drawer-footer .btn {
  margin-top: var(--space-md);
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.mini-cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
}

.mini-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-cart-item-info .name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.mini-cart-item-info .variant {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.mini-cart-item-info .qty {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.mini-cart-item-price {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---- Animations ---- */
.fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out) both;
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .shop-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-layout,
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary,
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-2xl) var(--space-xl);
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .product-grid,
  .shop-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-banner,
  .brand-story {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    display: none;
  }

  .shop-sidebar.mobile-open {
    display: block;
  }

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

  .hero {
    min-height: 80vh;
  }

  .drawer {
    width: 100vw;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .brand-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

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

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item-right {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===========================
   PayPal Integration Styles
   =========================== */

.paypal-button-container {
  min-height: 120px;
  margin-top: 1rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.paypal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 2rem 0;
}

.paypal-loading .spin {
  animation: spin 0.8s linear infinite;
}

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

.paypal-demo-notice {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.paypal-demo-notice svg {
  flex-shrink: 0;
  color: var(--gold);
}

.paypal-demo-notice strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.paypal-demo-notice p {
  margin: 0;
}

.paypal-demo-notice code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border: 1px solid var(--border);
}

.paypal-demo-notice.error {
  border-color: var(--danger);
}

.paypal-demo-notice.error svg {
  color: var(--danger);
}

.paypal-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin-top: 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  overflow: hidden;
  max-height: 0;
}

.paypal-status.loading {
  color: var(--text-soft);
  max-height: 60px;
  padding: 0.75rem 1rem;
}

.paypal-status .spin {
  animation: spin 0.8s linear infinite;
}

.paypal-status.error {
  color: var(--danger);
  background: rgba(196, 69, 63, 0.08);
  max-height: 60px;
  padding: 0.75rem 1rem;
}

.paypal-status.warning {
  color: #8a6d00;
  background: rgba(201, 169, 97, 0.12);
  max-height: 60px;
  padding: 0.75rem 1rem;
}

.paypal-status.success {
  color: var(--success);
  background: rgba(74, 124, 89, 0.08);
  max-height: 60px;
  padding: 0.75rem 1rem;
}

/* Payment Success Page */
.payment-success {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: success-pop 0.5s var(--ease-out);
}

@keyframes success-pop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.order-confirmation-box {
  margin: 2rem auto;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.confirmation-row:last-child {
  border-bottom: none;
}

.confirmation-row span {
  color: var(--text-muted);
}

.confirmation-row strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .paypal-button-container {
    padding: 1rem;
  }

  .order-confirmation-box {
    max-width: 100%;
  }
}

/* ── Language Switcher ── */
.lang-switcher {
  position: relative;
  margin-left: 1rem;
  z-index: 1000;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.lang-current:hover {
  border-color: var(--text-soft);
}

.lang-current svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.lang-current.open svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-dropdown button:last-child {
  border-bottom: none;
}

.lang-dropdown button:hover {
  background: var(--bg-soft);
}

.lang-dropdown button.active {
  color: var(--primary);
  font-weight: 600;
}

/* ── RTL Support (Arabic) ── */
html.rtl {
  direction: rtl;
}

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

html.rtl .nav-links {
  flex-direction: row-reverse;
}

html.rtl .nav-actions {
  flex-direction: row-reverse;
}

html.rtl .lang-switcher {
  margin-left: 0;
  margin-right: 1rem;
}

html.rtl .lang-dropdown {
  right: auto;
  left: 0;
}

html.rtl .lang-dropdown button {
  text-align: right;
}

html.rtl .collection-card,
html.rtl .product-card,
html.rtl .testimonial-card,
html.rtl .artisan-card {
  text-align: right;
}

html.rtl .footer-grid,
html.rtl .newsletter-inner {
  direction: rtl;
}

html.rtl .footer-col h4 {
  text-align: right;
}

html.rtl .checkout-layout,
html.rtl .cart-page-layout {
  direction: rtl;
}

html.rtl .breadcrumb a {
  direction: rtl;
}

html.rtl .drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

html.rtl .drawer.open {
  transform: translateX(0);
}

html.rtl .drawer-overlay {
  right: auto;
  left: 0;
}

html.rtl .drawer-header {
  flex-direction: row-reverse;
}

html.rtl .mini-cart-item {
  flex-direction: row-reverse;
}

html.rtl .cart-item-row {
  direction: rtl;
}

html.rtl .faq-item h4 {
  padding-right: 0;
  padding-left: 2rem;
}

html.rtl .faq-toggle {
  right: auto;
  left: 0;
}

html.rtl .form-grid {
  direction: rtl;
}

html.rtl .form-group label {
  text-align: right;
}

html.rtl .form-group input,
html.rtl .form-group select,
html.rtl .form-group textarea {
  text-align: right;
}

html.rtl .tab-header {
  direction: rtl;
}

html.rtl .contact-form,
html.rtl .contact-info {
  text-align: right;
}

html.rtl .about-grid,
html.rtl .values-grid,
html.rtl .artisans-grid {
  direction: rtl;
}

html.rtl .story-content {
  text-align: right;
}

html.rtl .stats-grid {
  direction: rtl;
}

/* RTL fixes for flex layouts */
html.rtl .payment-methods .payment-method {
  flex-direction: row-reverse;
}

html.rtl .payment-methods .payment-method input[type="radio"] {
  margin-left: 0.75rem;
  margin-right: 0;
}

html.rtl .confirmation-row {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  html.rtl .nav-links.active {
    align-items: flex-start;
  }

  html.rtl .lang-switcher {
    margin-right: 0.5rem;
  }
}
