@font-face {
  font-family: vazirmatn;
  src: url(fonts/Vazirmatn-Regular.ttf) format(ttf);
}
body {
  font-family: vazirmatn;
}

/* =====================================================
   Negin BOUTIQUE — Global Styles
   Glassmorphism Design System
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors */
  --gold: #c9a84c;
  --gold-soft: #DAB65E;
  --gold-light: #e8c96a;
  --gold-dark: #9a7a28;
  --gold-glow: rgba(201, 168, 76, 0.4);

  /* Background */
  --bg-dark: #0a0c12;
  --bg-dark2: #0f1220;
  --bg-muted: #131829;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-hover: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-blur: blur(8px);
  --shadow-card: 0 25px 40px -12px rgba(0, 0, 0, 0.35);
  --glass-border-hover: rgba(201, 168, 76, 0.55);

  /* Text */
  --text-primary: #f8f4ed;
  --text-secondary: rgba(248, 244, 237, 0.7);
  --text-muted: rgba(248, 244, 237, 0.45);

  /* Header */
  --header-topbar-height: 40px;
  --header-navbar-height: 64px;
  --header-total: 104px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-med: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}
body[dir="rtl"] {
  font-family: "Noto Sans Arabic", "Montserrat", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
ul,
ol {
  list-style: none;
}
input,
textarea,
select {
  font-family: inherit;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark2);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3 {
  font-family: vazirmatn, sans-serif;
  line-height: 1.4;
}
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--gold-light),
    var(--gold),
    var(--gold-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Container ---------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}
.glass-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 168, 76, 0.1);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-med);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0c12;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.6);
  transform: translateY(-2px);
}

/* Central placering för innehåll i sidhuvudet samt marginaler */
.page-header-content {
  position: absolute;
  z-index: 1;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Central placering för innehåll i sidhuvudet samt marginaler */
.page-header-content {
  position: absolute;
  z-index: 1;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Container för knapparna under titeln */
.header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px; /* Snygg marginal från titeln */
  flex-wrap: wrap;
}

/* WhatsApp Outline Button Design */
.btn-outline {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border: 2px solid #25d366;
  font-size: 0.875rem;
}

.btn-outline:hover {
  background: linear-gradient(135deg, #2be874, #1aba9a); transform: translateY(-2px); }

/* Anpassad pulse-animation för WhatsApp-grön outline */
@keyframes pulse-ring-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 0 0 32px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-outline.pulse {
  animation: pulse-ring-green 1.2s infinite;
}


.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 1rem;
}
.btn-whatsapp:hover { background: linear-gradient(135deg, #2be874, #1aba9a); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* Pulse animation for WhatsApp */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 0 0 32px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.pulse { animation: pulse-ring 1.5s infinite; }

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}
.section-muted {
  background: var(--bg-muted);
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-primary);
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-divider {
  display: none;
}

.section-center-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin: 48px 0 32px;
}

/* =====================================================
   HEADER
   ===================================================== */
#site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-med);
}
#site-header.scrolled {
  background: rgba(10, 12, 18, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-topbar {
  height: var(--header-topbar-height);
  background: rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
}
.header-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.topbar-link:hover {
  color: var(--gold);
}
.topbar-link i {
  font-size: 0.72rem;
  color: var(--gold);
}
.follow-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}
.social-icon:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.header-navbar {
  height: var(--header-navbar-height);
  display: flex;
  align-items: center;
}
.header-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-text-fallback {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-lion {
  font-size: 2rem;
}
.logo-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.12em;
}
@media (max-width: 768px) {
  /* Hides topbar on screens smaller than 768px */
  .header-topbar {
    display: none !important;
  }
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width var(--transition-med);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}
.nav-link.active {
  color: var(--gold);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-btn,
.cart-btn,
.menu-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}
.lang-btn:hover,
.cart-btn:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.05);
}
.cart-btn {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: #0a0c12;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.menu-btn {
  display: none;
}

/* =====================================================
   MOBILE MENU
   ===================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1099;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  height: 100dvh;
  z-index: 1100;
  background: rgba(15, 18, 32, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--glass-border);
  transition: right var(--transition-slow);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
body[dir="rtl"] .mobile-menu {
  right: auto;
  left: -320px;
  border-left: none;
  border-right: 1px solid var(--glass-border);
  transition: left var(--transition-slow);
}
.mobile-menu.open {
  right: 0;
}
body[dir="rtl"] .mobile-menu.open {
  left: 0;
  right: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 0;
  flex: 1;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--glass-border);
}
.close-menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.close-menu-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
  padding-inline-start: 28px;
}
.mobile-nav-link i {
  font-size: 0.65rem;
  opacity: 0.5;
}

.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px;
  border-top: 1px solid var(--glass-border);
}
.mobile-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 20px;
}
.social-icon-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}
.social-icon-lg:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}


/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  position: relative;
  height: calc(100vh - var(--header-total));
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 12, 18, 0.82) 0%,
    rgba(10, 12, 18, 0.4) 50%,
    rgba(10, 12, 18, 0.15) 100%
  );
  z-index: 1;
}
.hero-container {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Placering i desktop */
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  margin-top: 150px;
}

.hero-content {
  max-width: 480px;
  width: 100%;
  margin-left: 260px;
  padding: 24px 28px;
  text-align: left; /* Vänsterställt för större skärmar */
  display: flex;
  flex-direction: column;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--gold-light),
    var(--gold),
    var(--gold-dark)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center; /* Centrerar knapparna automatiskt inuti kortet */
  margin-top: 8px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.prev-btn {
  left: 16px;
}
.next-btn {
  right: 16px;
}
.carousel-btn:hover {
  background: var(--gold);
  color: #0a0c12;
  border-color: var(--gold);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.hero-social {
  position: absolute;
  bottom: 40px;
  right: 160px;
  z-index: 3;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
body[dir="rtl"] .hero-social {
  right: auto;
  left: 24px;
}
.hero-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.hero-social-icon:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-med);
  position: relative;
}
.product-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(201, 168, 76, 0.12);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.3),
    transparent,
    rgba(201, 168, 76, 0.1)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-med);
}
.product-card:hover::before {
  opacity: 1;
}

.product-card-img-wrap {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-med);
}
.product-card:hover .product-card-overlay {
  opacity: 1;
}
.overlay-btn {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0c12;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform var(--transition-fast);
}
.overlay-btn:hover {
  transform: scale(1.05);
}

.product-card-body {
  padding: 16px 18px 18px;
}
.product-card-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.product-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
}
.product-card-colors {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.color-dot:hover {
  transform: scale(1.3);
  border-color: var(--gold);
}

/* =====================================================
   PRODUCT DETAIL MODAL
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  animation: fade-in 0.25s ease;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
  max-width: 680px;
  padding: 36px;
  animation: modal-in 0.3s ease;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  z-index: 1;
}
.modal-close:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.modal-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.product-modal-box {
  max-width: 900px;
  padding: 0;
  overflow-y: auto;
}

.pm-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.pm-gallery {
  background: var(--bg-dark2);
}
.pm-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.pm-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
}
.pm-thumb {
  width: calc(25% - 5px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    border-color var(--transition-fast),
    opacity var(--transition-fast);
  opacity: 0.6;
}
.pm-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}
.pm-thumb:hover {
  opacity: 1;
}

.pm-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pm-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.pm-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.pm-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pm-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pm-colors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pm-color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
}
.pm-color-btn.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.5);
}

.pm-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pm-size-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pm-size-btn:hover,
.pm-size-btn.selected {
  background: var(--gold);
  color: #0a0c12;
  border-color: var(--gold);
}

.pm-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pm-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.pm-qty-btn:hover {
  background: var(--gold);
  color: #0a0c12;
  border-color: var(--gold);
}
.pm-qty-num {
  font-size: 1rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.pm-add-btn {
  width: 100%;
  margin-top: auto;
}

.pm-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.pm-close-btn:hover {
  background: var(--gold);
  color: #0a0c12;
}

/* =====================================================
   CART DRAWER
   ===================================================== */
.cart-overlay {
  align-items: unset;
  justify-content: unset;
  padding: 0;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 3000;
  background: rgba(15, 18, 32, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-slow);
  overflow: hidden;
}
body[dir="rtl"] .cart-drawer {
  right: auto;
  left: -420px;
  border-left: none;
  border-right: 1px solid var(--glass-border);
  transition: left var(--transition-slow);
}
.cart-drawer.open {
  right: 0;
}
body[dir="rtl"] .cart-drawer.open {
  left: 0;
  right: auto;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--glass-border);
}
.cart-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--text-primary);
}
.close-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}
.close-cart-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-padding-bottom: 24px;
}

.cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
}
.cart-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--gold-dark);
  opacity: 0.5;
}
.cart-empty p {
  font-size: 0.95rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}
.cart-item-img {
  width: 70px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-item-name {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}
.qty-btn:hover {
  background: var(--gold);
  color: #0a0c12;
  border-color: var(--gold);
}
.qty-num {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.remove-item {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px;
  transition: color var(--transition-fast);
  align-self: start;
}
.remove-item:hover {
  color: #ef4444;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--glass-border);
}
.cart-total-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cart-total-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.inquiry-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.inquiry-title {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 12px;
}
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}
.d-none {
  display: none !important;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 16px; /* keep >=16px so iOS Safari doesn't auto-zoom on focus and hide the submit button */
  transition: border-color var(--transition-fast);
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}
.form-textarea {
  resize: vertical;
  min-height: 80px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.map-container {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #faf3ef;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
  transition: 0.2s;
  border: 1px solid #f3e7e0;
}

.map-container iframe {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
}

/* =====================================================
   WHATSAPP SECTION
   ===================================================== */
.whatsapp-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 388px;
  padding: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  object-fit: cover;
  overflow: hidden;
}
.whatsapp-card {
  text-align: center;
  padding: 26px 36px; 
}
.whatsapp-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}
.whatsapp-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 12px;
}
.whatsapp-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header-img {
  position: relative;
  margin-bottom: 20px;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 18, 0.211) 0%,
    rgba(10, 12, 18, 0.199) 100%
  );
}
.page-header-content {
  position: absolute;
  z-index: 1;
  text-align: center;
  padding: 20px;
}
.page-header-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
}
.page-header-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: -8px;
  margin-bottom: 20px;
}

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: rgba(5, 7, 14, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}
.footer-logo-fallback {
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  display: inline-block;
}
.footer-link:hover {
  color: var(--gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}
.footer-social-icon:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
/* Centrera footer-länkar enbart på mobilskärmar */
@media (max-width: 768px) {
    #site-footer .footer-grid {
        text-align: center;
    }

    #site-footer .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #site-footer .footer-nav,
    #site-footer .footer-contact,
    #site-footer .footer-legal {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #site-footer .footer-social {
        display: flex;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    #site-footer .footer-bottom {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
/* =====================================================
   SIZE GUIDE MODAL
   ===================================================== */
.size-table-wrap {
  overflow-x: auto;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.size-table th {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  padding: 10px 14px;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid var(--glass-border);
}
.size-table td {
  padding: 9px 14px;
  text-align: center;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.size-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* =====================================================
   BLOG PAGE
   ===================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
}
.blog-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.blog-card-img-wrap {
  height: 200px;
  overflow: hidden;
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}
.blog-card-body {
  padding: 20px;
}
.blog-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.blog-card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card:hover .blog-card-title {
  color: var(--gold-soft);
}
.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.blog-card-read {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-card-read:hover {
  text-decoration: underline;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-container {
  padding-top: 60px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-card {
  padding: 36px 40px;
}
.about-card-accent {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
}
.about-card-primary {
  background: rgba(201, 168, 76, 0.04);
}
.about-card-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}
.about-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background-color: #13182996;
  padding: 28px 24px;
  text-align: center;
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0 auto 16px;
}
.value-title {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.value-text {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  padding: 28px 24px;
  text-align: center;
}
.team-avatar {
  font-size: 4rem;
  color: var(--gold-dark);
  margin-bottom: 14px;
  opacity: 0.7;
}
.team-avatar img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-med);
  position: relative;
}
.team-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  margin-bottom: 40px;
}

.contact-info-card {
  background-color: #0000008a;
  padding: 32px;
  height: fit-content;
}
.contact-form-card {
  background-color: #0000008a;
  padding: 36px;
}
.contact-info-title {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 40px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.contact-item-value a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.contact-item-value a:hover {
  color: var(--gold);
}
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-success {
  text-align: center;
  padding: 32px;
  color: var(--gold);
}
.contact-success i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9999;
  background: rgba(15, 18, 32, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =====================================================
   ANIMATIONS & RTL OVERRIDES
   ===================================================== */
.fade-in-up {
  opacity: 0.6s ease;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

body[dir="rtl"] .hero-overlay {
  background: linear-gradient(
    to left,
    rgba(10, 12, 18, 0.82) 0%,
    rgba(10, 12, 18, 0.4) 50%,
    rgba(10, 12, 18, 0.15) 100%
  );
}
body[dir="rtl"] .hero-content {
  text-align: right;
}
body[dir="rtl"] .pm-info {
  text-align: right;
}
body[dir="rtl"] .mobile-nav-link i {
  transform: scaleX(-1);
}
body[dir="rtl"] .section-title::after {
  margin: 16px auto 0;
}
body[dir="rtl"] .value-card,
body[dir="rtl"] .team-card {
  text-align: right;
}
body[dir="rtl"] .value-icon,
body[dir="rtl"] .team-avatar {
  margin: 0 0 16px;
}
body[dir="rtl"] .about-card-text,
body[dir="rtl"] .value-text,
body[dir="rtl"] .team-bio,
body[dir="rtl"] .footer-desc,
body[dir="rtl"] .pm-desc,
body[dir="rtl"] .hero-subtitle,
body[dir="rtl"] .blog-card-excerpt,
body[dir="rtl"] .whatsapp-desc {
  line-height: 2;
}

/* =====================================================
   RESPONSIVE MEDIA QUERIES (Mobilanpassning & Bildförstoring)
   ===================================================== */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  /* Centrera hjälte-sektionen på surfplattor och mobiler */
  .hero-container {
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center; /* Centrerar hela glass-kortet på skärmen */
  }
    .hero-container {
    justify-content: center; /* Centrerar kortet i hjältecontainern */
    margin-top: 0;           /* Nollställer hårdkodad toppmarginal om det behövs */
  }

  .hero-content {
    margin-left: 0;          /* Tar bort 260px förskjutningen från desktop */
    margin-right: 0;
    margin-top: 0;
    text-align: center;      /* Centrerar rubrik och brödtext inuti kortet */
    align-items: center;     /* Centrerar flex-element inuti kortet */
  }

  .hero-buttons {
    justify-content: center; /* Centrerar knapparna inuti kortet */
    width: 100%;
  }
  .hero-social {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .page-header-content {
    bottom: 20px;
}

  /* Förstärkning för RTL (Persiska) så att centreringen bibehålls */
  body[dir="rtl"] .hero-social {
    right: auto;
    left: 50%;
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .pm-layout {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* --- MOBILER & Mindre Skärmar (Huvudsakliga ändringen) --- */
@media (max-width: 560px) {
  /* Mindre sidomarginal på mobilen */
  .container {
    padding: 0 10px;
  }

  .section {
    padding: 36px 0;
  }

  /* Produktnät: 1 kolumn med minimalt mellanrum */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Gör produktkorten och bilderna större */
  .product-card-img-wrap {
    height: 420px; /* Optimerad bildhöjd för mobil */
  }

  .product-card-body {
    padding: 12px 14px; /* Mindre marginal inuti kortet */
  }

  .product-card-name {
    font-size: 1.05rem;
  }

  .product-card-price {
    font-size: 1.1rem;
  }

  /* Produktmodal i mobilen */
  .pm-main-img {
    height: 360px;
  }

  .blog-grid,
  .footer-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content {
  max-width: 480px;
  width: 100%;
  padding: 24px 28px;
  text-align: left; /* Vänsterställt för större skärmar */
  display: flex;
  flex-direction: column;
}

  body[dir="rtl"] .hero-content {
    text-align: center !important;
  }

 .hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center; /* Centrerar knapparna automatiskt inuti kortet */
  margin-top: 8px;
}

  /* Gör att knapparna tar full bredd på väldigt små skärmar om du önskar, annars behålls standard bredd */
  .hero-buttons .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 8px;
  }

  .product-card-img-wrap {
    height: 350px;
  }
}

/* =====================================================
   WHATSAPP SECTION - Media Query (< 1280px)
   ===================================================== */
@media (max-width: 1280px) {
  #whatsapp .whatsapp-container {
    /* Gör containern smalare än skärmen så marginaler skapas */
    width: calc(100% - 48px); 
    max-width: 1000px; 
    
    /* Centrerar elementet horisontellt (Lika marginal höger & vänster) */
    margin-left: auto;
    margin-right: auto;
    
    /* Anpassa bakgrundsbilden så den centreras snyggt i kortet */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
}

/* Extra anpassning för mindre mobiler (valfritt men rekommenderat) */
@media (max-width: 560px) {
  #whatsapp .whatsapp-container {
    width: calc(100% - 20px); /* Liten marginal för mobilskärmar */
    padding: 1rem 0.5rem;
  }
}


.values-section {
  position: relative;
  padding: 60px 20px;
  overflow: hidden; /* För att hålla blurren inom ytan */
  /* Ta bort background-image från här */
}

.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/header/girl.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(4px);            /* Justera värdet för mer/mindre oskärpa */
  z-index: -1;                  /* Lägger bilden bakom innehållet */
}

