:root {
  --radius: 12px;
  --radius-lg: 16px;
  --header-h: 56px;
  --bottom-nav-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ar: system-ui, -apple-system, 'Segoe UI', 'Noto Sans Arabic', sans-serif;
}

[dir="rtl"] { --font: var(--font-ar); }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.app-body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}

[dir="rtl"] body { text-align: right; }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header - mobile app style */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: env(safe-area-inset-top, 0);
  box-shadow: var(--shadow-brand);
}

.app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  height: auto;
  padding: 10px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.app-header .logo {
  color: #ffffff;
}

.app-header .logo img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo__text { display: none; }
@media (min-width: 400px) { .logo__text { display: inline; } }

.app-header__actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--gray-800);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.icon-btn:hover { color: var(--primary); background: var(--primary-light); }
.icon-btn:active { background: var(--primary-light-hover); }

.app-header .icon-btn {
  color: #ffffff;
}

.app-header .icon-btn:active {
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch {
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
}

.app-header .lang-switch {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.cart-count {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  background: var(--danger);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.desktop-nav {
  display: none;
  gap: 24px;
  padding: 0 16px 12px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.desktop-nav a {
  color: #ffffff;
  font-weight: 500;
  padding: 8px 0;
}

.desktop-nav a:hover { color: rgba(255, 255, 255, 0.78); }

/* Bottom nav - mobile app */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  color: var(--gray-400);
  font-size: 0.65rem;
  font-weight: 500;
  position: relative;
  min-height: var(--bottom-nav-h);
}

.bottom-nav__item.active,
.bottom-nav__item:active { color: var(--primary); }

.bottom-nav__badge {
  position: absolute;
  top: 4px;
  inset-inline-end: calc(50% - 20px);
  background: var(--danger);
  color: white;
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 8px;
}

/* Main */
.app-main { min-height: calc(100dvh - var(--header-h) - var(--bottom-nav-h)); }

@media (min-width: 768px) {
  body.app-body { padding-bottom: 0; }
  .bottom-nav { display: none !important; }
  .hide-desktop { display: none !important; }
  .desktop-nav { display: flex; }
  .logo__text { display: inline; }
}

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }

  .app-header .logo img {
    width: 42px;
    height: 42px;
  }

  .app-header__inner {
    min-height: 52px;
    padding: 6px 12px;
  }

  .app-header .icon-btn {
    width: 40px;
    height: 40px;
  }
}

/* Hero */
.hero-slider-wrap {
  padding-top: 16px;
}

.hero-slider-wrap + .hero-slider-wrap,
.hero-slider-wrap + .app-section {
  margin-top: 0;
}

.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

@media (max-width: 767px) {
  .hero-slider-wrap--mobile {
    padding: 0 12px 12px;
    margin: 0;
  }

  .hero-slider--mobile {
    height: 300px;
    border-radius: var(--radius-lg);
  }

  .hero-slider--mobile .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--overlay-gradient);
    pointer-events: none;
  }

  .hero-slider--mobile .hero-slide__content {
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  }
}

@media (min-width: 768px) {
  .hero-slider .hero-slide__content { text-shadow: none; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #fff;
}

.hero-slide__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.hero-slide__content {
  position: relative;
  z-index: 1;
  padding: 24px 16px 32px;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-slide__content h1 { font-size: 1.5rem; margin-bottom: 8px; }
.hero-slide__content p { font-size: 0.9rem; margin-bottom: 16px; opacity: 0.95; }

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

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.hero-dots span.active { background: white; width: 20px; border-radius: 4px; }

/* Category nav bar (desktop, below slider) */
.category-nav-bar {
  padding: 0 16px 32px;
  margin-top: 16px;
}

.category-nav-bar .container {
  display: flex;
  justify-content: center;
}

.category-nav-bar__inner {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8f4fa 100%);
  border: 1.5px solid #d4c0da;
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow:
    0 10px 40px rgba(22, 32, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.category-nav-bar__item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 10px;
  color: var(--gray-800);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease;
}

.category-nav-bar__item:hover {
  background: rgba(22, 32, 42, 0.07);
  color: var(--primary-dark);
}

.category-nav-bar__item:active {
  transform: scale(0.98);
}

.category-nav-bar__icon-wrap {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--gradient-surface);
  border: 1px solid #cfc0d8;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.category-nav-bar__item:hover .category-nav-bar__icon-wrap {
  background: linear-gradient(145deg, #e8d8ec 0%, #d8e4ef 100%);
  border-color: var(--accent);
}

.category-nav-bar__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.category-nav-bar__icon-fallback {
  color: var(--primary);
  opacity: 0.75;
}

.category-nav-bar__label {
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-nav-bar__divider {
  width: 1px;
  align-self: center;
  height: 36px;
  background: linear-gradient(180deg, transparent, #d4c0da 20%, #b8cfe0 80%, transparent);
  flex-shrink: 0;
}

@media (min-width: 768px) and (max-width: 900px) {
  .category-nav-bar__item {
    flex-direction: column;
    gap: 6px;
    padding: 10px 6px;
    font-size: 0.78rem;
  }

  .category-nav-bar__icon-wrap {
    width: 34px;
    height: 34px;
  }

  .category-nav-bar__divider {
    height: 48px;
  }
}

/* Sections */
.section { padding: 24px 0; }
.section--alt { background: var(--white); }
.section--mosque { background: linear-gradient(180deg, var(--primary-light), var(--gray-50)); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-header h2 { font-size: 1.15rem; color: var(--primary-dark); }
.link-more { font-size: 0.85rem; font-weight: 600; }

/* App-style home sections (all screen sizes — pwa-mobile only added mobile extras) */
.app-section {
  padding: 24px 0;
}

.app-section--mosque {
  background: linear-gradient(180deg, var(--primary-light), var(--gray-50));
}

.app-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 16px;
}

.app-section__head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.app-section__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.app-section .product-grid,
.app-section .product-scroll {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Product card: floating add (mobile) vs full actions (desktop) */
.product-card__actions--desktop {
  display: none;
}

@media (min-width: 768px) {
  .product-card__add {
    display: none !important;
  }

  .product-card__actions--desktop {
    display: flex !important;
  }
}

/* Product grid & cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-scroll::-webkit-scrollbar { display: none; }
.product-scroll .product-card { flex: 0 0 160px; scroll-snap-align: start; }
@media (min-width: 640px) { .product-scroll .product-card { flex: 0 0 200px; } }

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.product-card:active { transform: scale(0.98); }

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #f8fafc;
  overflow: hidden;
}

.product-card__image-wrap:not(.product-card__image-wrap--photo) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-card__img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__image-wrap--photo .product-card__img {
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 1;
}

.badge--sale { background: var(--danger); color: white; }
.badge--success { background: #059669; color: white; position: static; display: inline-block; }
.badge--oos { background: var(--gray-600); color: white; inset-inline-start: auto; inset-inline-end: 8px; }
.badge--lg { position: static; display: inline-block; margin-bottom: 12px; }

.product-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card__title { font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.product-card__title a { color: inherit; }
.product-card__desc { font-size: 0.75rem; color: var(--gray-400); }
.product-card__meta { font-size: 0.7rem; color: var(--gray-400); display: flex; gap: 8px; flex-wrap: wrap; }
.product-card__price { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.product-card__actions { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

.price-current { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
.price-current--lg { font-size: 1.5rem; }
.price-old { font-size: 0.8rem; color: var(--gray-400); text-decoration: line-through; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  min-height: 44px;
  touch-action: manipulation;
}

.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-dark); }
.btn--outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary-light); border-color: var(--primary-hover); color: var(--primary-hover); }
.btn--white { background: white; color: var(--primary); }
.btn--white:hover { background: var(--primary-light); color: var(--primary-hover); }
.btn--ghost:hover { color: var(--primary); background: var(--primary-light); }
.btn--ghost { background: transparent; color: var(--gray-600); }
.btn--disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }
.btn--whatsapp { background: #25d366; color: white; }
.btn--block { width: 100%; }
.btn--sm { padding: 8px 14px; min-height: 36px; font-size: 0.8rem; }
.btn--lg { padding: 16px 24px; font-size: 1rem; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

.form-errors { background: #fef2f2; color: var(--danger); padding: 12px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.9rem; }

.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
}

.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }

.radio-card span { display: flex; flex-direction: column; gap: 4px; }
.radio-card span strong { font-weight: 600; }
.radio-card span small { font-size: 0.8rem; color: var(--gray-500); font-weight: 400; }

.radio-card--online:has(input:checked) { border-color: #1d4ed8; background: #eff6ff; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

/* Cart */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.cart-item__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--primary-light);
  border-radius: 8px;
  padding: 8px;
}

.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 600; font-size: 0.9rem; }
.cart-item__meta { font-size: 0.8rem; color: var(--gray-400); }
.cart-item__price { font-weight: 700; color: var(--primary); margin-top: 4px; }

.cart-summary {
  position: sticky;
  bottom: calc(var(--bottom-nav-h) + 16px);
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 16px;
}

@media (min-width: 768px) { .cart-summary { position: static; } }

.cart-summary__row { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-summary__total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--gray-200); margin-top: 8px; padding-top: 12px; }

.cart-summary__hint {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: -4px 0 8px;
  line-height: 1.4;
}

.field-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 6px;
}

/* Checkout */
.page-checkout {
  padding-bottom: 32px;
}

.checkout-head {
  margin-bottom: 24px;
}

.checkout-head__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
  text-decoration: none;
}

.checkout-head__back:hover { text-decoration: underline; }

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.75rem;
  color: var(--gray-400);
  flex-wrap: wrap;
}

.checkout-steps__item:not(:last-child)::after {
  content: '›';
  margin-inline-start: 8px;
  color: var(--gray-300);
}

.checkout-steps__item a { color: inherit; text-decoration: none; }
.checkout-steps__item.is-done { color: var(--gray-600); }
.checkout-steps__item.is-active { color: var(--primary); font-weight: 600; }

.page-checkout h1 {
  font-size: 1.5rem;
  margin: 0;
}

.checkout-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr minmax(300px, 360px);
    gap: 32px;
  }
}

.checkout-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.checkout-section {
  padding: 20px 20px 8px;
  border-bottom: 1px solid var(--gray-100);
}

.checkout-section:last-of-type { border-bottom: none; }

.checkout-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--gray-800);
}

.checkout-section__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-fields--2 {
  display: grid;
  gap: 0 16px;
}

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

.checkout-pin-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.checkout-pin-row input {
  flex: 1;
  min-width: 0;
}

.checkout-pin-row .btn {
  flex-shrink: 0;
  white-space: nowrap;
  align-self: stretch;
}

.checkout-head__sub {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 400;
}

.checkout-form .input-prefix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius, 10px);
  overflow: hidden;
  background: var(--gray-50);
}

.checkout-form .input-prefix span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border-right: 1px solid var(--gray-200);
  white-space: nowrap;
}

.checkout-form .input-prefix input {
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.checkout-form .input-prefix:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  background: var(--white);
}

.checkout-form .form-group { padding: 0; margin-bottom: 14px; }

.checkout-form .form-group input,
.checkout-form .form-group textarea,
.checkout-form .form-group select {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.checkout-form .form-group input:focus,
.checkout-form .form-group textarea:focus,
.checkout-form .form-group select:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.field-hint--ok {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #059669;
  font-weight: 500;
}

.field-hint--warn {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #b45309;
  font-weight: 500;
}

.checkout-payment {
  border: none;
  padding: 0;
  margin: 0;
}

.radio-card--payment {
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  margin-bottom: 10px;
  transition: border-color 0.15s, background 0.15s;
}

.radio-card__icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.radio-card__text { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.checkout-alert { margin: 0 20px 12px; }

.checkout-submit-btn {
  margin: 8px 20px 0;
  width: calc(100% - 40px);
}

.checkout-auth-links {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 16px 20px 20px;
  margin: 0;
}

.checkout-auth-links a { color: var(--primary); font-weight: 500; }

.checkout-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@media (min-width: 900px) {
  .checkout-summary {
    position: sticky;
    top: calc(var(--header-h, 64px) + 16px);
  }
}

.checkout-summary__toggle {
  display: none;
}

.checkout-summary__title {
  font-size: 1.05rem;
  margin: 0 0 16px;
  padding: 20px 20px 0;
}

.checkout-summary__body {
  padding: 0 20px 20px;
}

.checkout-items {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  scrollbar-width: thin;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.checkout-item__img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--gray-100);
  flex-shrink: 0;
}

.checkout-item__info {
  flex: 1;
  min-width: 0;
}

.checkout-item__name {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 2px;
}

.checkout-item__meta {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.checkout-item__price {
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--primary);
}

.checkout-summary__rows { margin-bottom: 12px; }

.checkout-summary__note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.4;
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.checkout-mobile-bar {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-form .select-styled,
.checkout-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--gray-50);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-inline-end: 40px;
}

html[dir="rtl"] .checkout-form select {
  background-position: left 14px center;
}

.qty-controls { display: inline-flex; align-items: center; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 40px; height: 40px; border: none; background: var(--gray-100); font-size: 1.2rem; cursor: pointer; }
.qty-controls input { width: 48px; text-align: center; border: none; font-weight: 600; }

/* Product detail — light layout */
.product-page {
  padding-bottom: 24px;
}

.product-page__nav {
  padding-top: 8px;
  padding-bottom: 4px;
}

.product-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.product-page__back:hover {
  text-decoration: underline;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-gallery__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-gallery__frame--photo {
  background: #fff;
}

.product-gallery__frame:not(.product-gallery__frame--photo) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-gallery__badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--danger);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-gallery__main {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.product-gallery__frame--photo .product-gallery__main {
  object-fit: cover;
  object-position: center;
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-gallery__thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
}

.product-gallery__thumb.is-active {
  border-color: var(--primary);
}

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

.product-detail {
  display: grid;
  gap: 24px;
  padding: 12px 0 24px;
}

@media (min-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 16px 0 40px;
    align-items: start;
  }
}

.product-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px;
  border: 1px solid var(--gray-100);
}

.product-info-card__head {
  margin-bottom: 16px;
}

.product-stock-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.product-stock-pill--in {
  background: #ecfdf5;
  color: #047857;
}

.product-stock-pill--out {
  background: #fef2f2;
  color: #b91c1c;
}

.product-info-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--gray-800);
}

.product-info-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.product-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.product-meta-chip strong {
  font-weight: 600;
  color: var(--gray-500);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-attributes {
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border: none;
}

.product-attributes__row {
  margin: 0 0 3px;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

.product-attributes__row:last-child {
  margin-bottom: 0;
}

.product-attributes__label {
  display: inline;
  font-size: 0.72rem;
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #c4bfb8;
}

.product-attributes__label::after {
  content: ':';
  margin: 0 0.3em 0 0.08em;
}

.product-attributes__values {
  display: inline;
  font-size: 0.68rem;
  font-weight: 400;
  font-style: italic;
  color: #b5aea3;
}

.product-variant-picker {
  margin-bottom: 20px;
  padding-top: 4px;
}

.product-variant-picker__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.product-variant-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-variant-btn {
  padding: 10px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.product-variant-btn:hover:not(:disabled) {
  border-color: var(--primary);
}

.product-variant-btn.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.product-variant-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.product-desc-block {
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.product-desc-block__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin: 0 0 8px;
}

.product-description {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.product-actions {
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.qty-controls--product {
  border-radius: 12px;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
}

.qty-controls--product .qty-btn {
  width: 44px;
  height: 44px;
  background: transparent;
}

.qty-controls--product input {
  width: 52px;
  font-size: 1rem;
  background: transparent;
}

.qty-selector label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.product-actions__cart {
  margin-top: 14px;
}

.product-mobile-bar {
  display: none;
}

.product-related {
  padding: 8px 0 24px;
}

.product-related__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--gray-800);
}

.product-info h1 { font-size: 1.4rem; margin: 12px 0; }
.product-specs { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--gray-600); margin-bottom: 16px; }
.qty-selector { margin-bottom: 0; }

/* Shop */
.shop-layout { display: grid; gap: 24px; padding: 16px 0 32px; }
@media (min-width: 768px) { .shop-layout { grid-template-columns: 220px 1fr; } }

.shop-filters { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); height: fit-content; border: 1px solid var(--gray-200); }
.filter-form h3 { font-size: 0.75rem; margin: 0 0 10px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.filter-form h3:not(:first-child) { margin-top: 20px; }

.mobile-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.mobile-filter-bar input { flex: 1; min-width: 120px; padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.mobile-filter-bar select { padding: 12px; border: 1px solid var(--gray-200); border-radius: var(--radius); }

/* Footer */
.app-footer {
  background: var(--primary-dark);
  color: white;
  padding: 32px 0 24px;
  margin-top: 32px;
}

@media (max-width: 767px) { .app-footer { padding-bottom: calc(var(--bottom-nav-h) + 24px); } }

.footer-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-grid h4 { margin-bottom: 12px; font-size: 0.9rem; }
.footer-links { list-style: none; }
.footer-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 2; }
.social-icons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.social-icons__empty {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}
.social-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}
.social-icon--instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); border-color: transparent; }
.social-icon--facebook:hover { background: #1877f2; border-color: transparent; }
.social-icon--twitter:hover { background: #000000; border-color: transparent; }
.social-icon--youtube:hover { background: #ff0000; border-color: transparent; }
.social-icon--tiktok:hover { background: #010101; border-color: transparent; }
.social-icon--snapchat:hover { background: #fffc00; color: #000; border-color: transparent; }
.social-icon--whatsapp:hover { background: #25d366; border-color: transparent; }

.app-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.store-badge {
  display: inline-block;
  padding: 10px 16px;
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.store-badge--lg { padding: 14px 24px; font-size: 0.9rem; }

.app-download-banner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 32px 0;
  margin-top: 16px;
}

.app-download-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .app-download-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.copyright { text-align: center; font-size: 0.8rem; opacity: 0.7; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.2); }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-start;
  padding: calc(var(--header-h) + 16px) 16px;
}

.search-overlay[hidden] { display: none; }

.search-form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 12px;
  border-radius: var(--radius-lg);
}

.search-form input { flex: 1; border: none; font-size: 1rem; }

/* Toast */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--gray-800);
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 0.9rem;
  z-index: 300;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Misc */
.page-header { background: var(--primary); color: white; padding: 24px 0; margin-bottom: 16px; }
.page-header--mosque { background: var(--gradient-brand); }
.page-header--about { background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 50%, var(--accent) 100%); }
.page-header h1 { font-size: 1.4rem; }
.page-header__sub { margin: 8px 0 0; font-size: 0.92rem; opacity: 0.92; font-weight: 400; }

/* About page */
.about-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

.about-intro__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 28px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f4fa 100%);
  border: 1.5px solid #e8dce9;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 36px rgba(22, 32, 42, 0.08);
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .about-intro__card {
    flex-direction: row;
    text-align: start;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 28px;
  }
}

.about-intro__logo-wrap {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-surface);
  border: 1px solid #d4c0da;
  border-radius: 24px;
  padding: 10px;
}

.about-intro__logo-wrap img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.about-intro__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.about-intro__title {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 6px;
  line-height: 1.2;
}

.about-intro__tagline {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 12px;
}

.about-intro__text {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 0.95rem;
}

.about-section-title {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin: 0 0 16px;
  text-align: center;
}

.about-values { margin-bottom: 24px; }

.about-values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .about-values__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.about-value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.about-value-card:hover {
  border-color: #d4c0da;
  box-shadow: 0 6px 20px rgba(102, 59, 114, 0.1);
  transform: translateY(-2px);
}

.about-value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--gradient-surface);
  color: var(--primary);
  border: 1px solid #d4c0da;
}

.about-value-card h3 {
  font-size: 0.88rem;
  color: var(--gray-800);
  margin: 0 0 6px;
}

.about-value-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.about-mission {
  background: var(--gradient-brand);
  color: white;
  border: none;
  margin-bottom: 24px;
}

.about-mission h2 {
  font-size: 1.05rem;
  margin: 0 0 10px;
}

.about-mission p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.95;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.about-cta .btn { min-width: 160px; }

@media (max-width: 767px) {
  .about-page { padding-top: 12px; }

  .about-intro__card {
    margin-top: 0;
  }

  .about-value-card p { font-size: 0.72rem; }
}

.empty-state, .loading { text-align: center; padding: 48px 16px; color: var(--gray-400); }
.order-confirm { text-align: center; padding: 48px 16px; }
.order-confirm__icon { width: 72px; height: 72px; background: var(--success); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 16px; }
/* —— Contact page —— */
.page-header--contact {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 55%, var(--accent) 100%);
  color: #fff;
  border-bottom: none;
  padding: 28px 0;
  margin-bottom: 0;
}

.page-header--contact h1 {
  color: #fff;
}

.page-header--contact .page-header__sub {
  color: rgba(255, 255, 255, 0.88);
  opacity: 1;
}

.contact-page {
  padding: 24px 0 48px;
  background: var(--color-bg);
}

.contact-page__mobile-head {
  margin: 0 0 16px;
  padding: 18px 16px;
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 55%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
}

.contact-page__mobile-head h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

.contact-page__mobile-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 32px;
  }
}

.contact-info-panel,
.contact-form-panel {
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(62, 45, 28, 0.06);
  padding: 22px 20px;
}

.contact-info-panel__title,
.contact-form-panel__title {
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.contact-info-panel__sub,
.contact-form-panel__sub {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f9f6f1;
  border: 1px solid #ebe4d8;
  color: #8b6914;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-info-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--gray-800);
}

.contact-info-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8b6914;
}

.contact-info-link--tel {
  font-size: 1rem;
  color: var(--primary);
}

.contact-whatsapp-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-whatsapp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.contact-whatsapp-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-whatsapp-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-whatsapp-card__text strong {
  font-size: 1rem;
}

.contact-whatsapp-card__text small {
  font-size: 0.78rem;
  opacity: 0.9;
}

.contact-whatsapp-card__arrow {
  font-size: 1.25rem;
  opacity: 0.85;
}

.contact-social-panel {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #ebe4d8;
}

.contact-social-panel h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin: 0 0 12px;
}

.contact-social-panel .social-icons {
  justify-content: flex-start;
}

.contact-social-panel .social-icon {
  background: #f3f4f6;
  border-color: var(--gray-200);
  color: #1a1a1a;
}

.contact-social-panel .social-icon:hover {
  color: #fff;
}

.contact-social-panel .social-icon--snapchat:hover {
  color: #000;
}

.contact-form .form-group {
  margin-bottom: 14px;
}

.contact-form .form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-700);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: #8b6914;
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.12);
  background: #fff;
}

.contact-form .input-prefix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
}

.contact-form .input-prefix span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f3f4f6;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 600;
  border-right: 1px solid var(--gray-200);
}

.contact-form .input-prefix input {
  border: none;
  border-radius: 0;
  background: transparent;
}

.contact-form .input-prefix:focus-within {
  border-color: #8b6914;
  box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.12);
}

@media (min-width: 600px) {
  .contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .contact-form__row .form-group {
    margin-bottom: 0;
  }
}

.contact-form__submit {
  margin-top: 8px;
}

.contact-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.45;
}

.contact-alert--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.contact-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-map-panel {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 4px 16px rgba(62, 45, 28, 0.06);
}

.contact-map-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-map-panel__head strong {
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.contact-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-box { height: 200px; background: var(--gray-200); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gray-400); margin-top: 12px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.static-page {
  padding: 24px 0 48px;
  max-width: 720px;
}

.static-page h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.static-page__subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin: 0 0 20px;
  line-height: 1.5;
}

.static-content { line-height: 1.7; color: var(--text); }
.static-content p { margin-bottom: 12px; }

.static-content .static-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.static-content .static-main-heading {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--primary-dark);
  line-height: 1.25;
}

.static-content .static-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--primary);
}

.static-content .static-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 16px 0 8px;
}

.static-content .static-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}

.static-content .static-table th,
.static-content .static-table td {
  border: 1px solid var(--gray-200);
  padding: 10px 12px;
  text-align: start;
}

.static-content .static-table th {
  background: var(--gray-50);
  font-weight: 600;
}

.static-content .static-figure {
  margin: 16px 0;
}

.static-content .static-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.static-content .static-figure figcaption {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 8px;
  text-align: center;
}

.static-content .static-list {
  margin: 0 0 16px 1.2em;
}

.static-content--plain {
  font-size: 1rem;
  line-height: 1.75;
  white-space: normal;
}

/* —— Home sections + boutique product cards —— */
.home-section {
  padding: 28px 0 12px;
}

.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.home-section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-section__title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

.home-section__sub {
  margin: 6px 0 0;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.home-section__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.product-grid--boutique {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 640px) {
  .product-grid--boutique {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .product-grid--boutique {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

.product-scroll .product-card--boutique {
  flex: 0 0 200px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .product-scroll .product-card--boutique { flex: 0 0 240px; }
}

.product-card--boutique {
  background: #f9f6f1;
  border-radius: 14px;
  border: 1px solid #ebe4d8;
  box-shadow: 0 8px 24px rgba(62, 45, 28, 0.06);
  overflow: hidden;
  text-align: center;
}

.product-card--boutique .product-card__image-wrap {
  aspect-ratio: 4/5;
  background:
    radial-gradient(circle at 20% 30%, rgba(214, 168, 100, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #faf7f2 0%, #f3ece2 100%);
  padding: 16px 12px 8px;
}

.product-card--boutique .product-card__image-wrap--photo .product-card__img {
  object-fit: contain;
  max-height: 100%;
  width: auto;
  margin: 0 auto;
}

.product-card--boutique .product-card__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #9a8b7a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card--boutique .product-card__wish.is-active {
  color: #c2410c;
}

.product-card--boutique .product-card__wish.is-active svg {
  fill: currentColor;
}

.product-card--boutique .product-card__oos {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 1;
}

.product-card--boutique .product-card__body {
  padding: 14px 14px 16px;
  gap: 8px;
  align-items: center;
}

.product-card--boutique .product-card__eyebrow {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a8b7a;
  line-height: 1.4;
}

.product-card--boutique .product-card__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  margin: 0;
}

.product-card--boutique .product-card__title a {
  color: #1a1a1a;
  text-decoration: none;
}

.product-card--boutique .product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 4px;
}

.product-card--boutique .product-card__price-current {
  font-size: 1rem;
  font-weight: 700;
  color: #8b6914;
}

.product-card--boutique .product-card__price-old {
  font-size: 0.8rem;
  color: #9a8b7a;
  text-decoration: line-through;
}

.product-card--boutique .product-card__discount {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: #dc2626;
  padding: 2px 6px;
  border-radius: 4px;
}

.product-card--boutique .product-card__cta {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
}

.product-card--boutique .product-card__btn {
  flex: 1;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.product-card--boutique .product-card__btn--outline {
  background: transparent;
  border-color: #8b6914;
  color: #8b6914;
}

.product-card--boutique .product-card__btn--fill {
  background: #8b6914;
  color: #fff;
  border-color: #8b6914;
}

.product-card--boutique .product-card__btn--disabled {
  flex: 1;
  background: #e5e7eb;
  color: #6b7280;
  border-radius: 999px;
  padding: 10px;
  font-size: 0.75rem;
}

/* Testimonials */
.home-section--testimonials {
  background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
  padding-bottom: 32px;
}

.home-section--instagram {
  padding: 32px 0 36px;
  background: linear-gradient(180deg, #fff 0%, #fdf8fb 45%, #faf8f5 100%);
}

.home-instagram__head {
  gap: 8px;
  margin-bottom: 22px;
}

.home-instagram__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.22);
}

.home-instagram__handle {
  color: #c13584;
  font-weight: 600;
  text-decoration: none;
}

.home-instagram__handle:hover {
  text-decoration: underline;
}

.instagram-feed--home {
  margin: 0 auto;
  max-width: 920px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.instagram-feed--home .instagram-feed__grid-wrap {
  margin: 0 -4px;
}

.instagram-feed--home .instagram-feed__grid {
  display: grid;
  gap: 12px;
  margin: 0;
}

.instagram-feed--home .instagram-feed__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instagram-feed--home .instagram-feed__grid--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instagram-feed--home .instagram-feed__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(62, 45, 28, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-feed--home .instagram-feed__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(62, 45, 28, 0.14);
}

.instagram-feed--home .instagram-feed__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram-feed--home .instagram-feed__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 133, 41, 0.55), rgba(221, 42, 123, 0.55), rgba(129, 52, 175, 0.55));
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.instagram-feed--home .instagram-feed__item:hover .instagram-feed__overlay {
  opacity: 1;
}

.instagram-feed--home .instagram-feed__footer {
  margin-top: 20px;
}

.instagram-feed--home .instagram-feed__footer--center {
  display: flex;
  justify-content: center;
}

.instagram-feed--home .instagram-feed__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  border: none;
  box-shadow: 0 6px 18px rgba(221, 42, 123, 0.25);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.instagram-feed--home .instagram-feed__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(221, 42, 123, 0.32);
  color: #fff;
}

@media (max-width: 639px) {
  .home-section--instagram {
    padding: 24px 0 28px;
  }

  .instagram-feed--home .instagram-feed__grid-wrap {
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .instagram-feed--home .instagram-feed__grid-wrap::-webkit-scrollbar {
    display: none;
  }

  .instagram-feed--home .instagram-feed__grid {
    display: flex;
    gap: 10px;
    width: max-content;
    padding-bottom: 4px;
  }

  .instagram-feed--home .instagram-feed__grid--3,
  .instagram-feed--home .instagram-feed__grid--6 {
    grid-template-columns: none;
  }

  .instagram-feed--home .instagram-feed__item {
    flex: 0 0 72vw;
    max-width: 280px;
    scroll-snap-align: start;
  }

  .home-section__sub {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

@media (min-width: 640px) {
  .instagram-feed--home .instagram-feed__grid--6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.instagram-feed__empty {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

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

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

@media (min-width: 960px) {
  .testimonials-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  background: #fff;
  border: 1px solid #ebe4d8;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(62, 45, 28, 0.05);
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
}

.testimonial-card__avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8b6914;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-card__stars {
  color: #d1d5db;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial-card__stars .is-on {
  color: #f59e0b;
}

.testimonial-card__quote {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--gray-700);
  font-style: italic;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.85rem;
}

.testimonial-card__author span {
  font-size: 0.75rem;
  color: var(--gray-500);
}
