/* MAQAM Store — professional Arabic RTL ecommerce */

:root,
html[data-theme="dark"] {
  --mq-bg: #070a12;
  --mq-surface: #0f1420;
  --mq-surface-2: #161b29;
  --mq-line: rgba(255, 255, 255, 0.08);
  --mq-text: #f5f3ee;
  --mq-muted: rgba(245, 243, 238, 0.62);
  --mq-gold: #c5a059;
  --mq-gold-2: #dcb479;
  --mq-ink: #0b0f19;
  --mq-on-gold: #0b0f19;
  --mq-logo-filter: invert(1);
  --mq-hero-scrim: linear-gradient(180deg, rgba(5, 7, 13, 0.55) 0%, rgba(5, 7, 13, 0.62) 45%, rgba(5, 7, 13, 0.82) 100%);
  --mq-input-bg: #121826;
  --mq-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --mq-radius: 14px;
  --mq-header-h: 64px;
  --mq-container: 1180px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --mq-bg: #f3f1eb;
  --mq-surface: #ffffff;
  --mq-surface-2: #ffffff;
  --mq-line: #d8d3c8;
  --mq-text: #0b0f19;
  --mq-muted: #5f6368;
  --mq-gold: #c5a059;
  --mq-gold-2: #a98e48;
  --mq-ink: #0b0f19;
  --mq-on-gold: #0b0f19;
  --mq-logo-filter: none;
  --mq-hero-scrim: linear-gradient(180deg, rgba(11, 15, 25, 0.45) 0%, rgba(11, 15, 25, 0.55) 45%, rgba(11, 15, 25, 0.78) 100%);
  --mq-input-bg: #ffffff;
  --mq-shadow: 0 14px 34px rgba(11, 15, 25, 0.08);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body.mq-store {
  margin: 0;
  direction: inherit;
  text-align: start;
  background: var(--mq-bg);
  color: var(--mq-text);
  font-family: 'Alexandria', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.mq-container {
  width: min(100% - 2rem, var(--mq-container));
  margin-inline: auto;
}

.mq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

.mq-btn-primary {
  background: var(--mq-gold);
  color: var(--mq-on-gold);
}

.mq-btn-primary:hover { background: var(--mq-gold-2); }

.mq-btn-ghost {
  background: transparent;
  border-color: rgba(197, 160, 89, 0.7);
  color: var(--mq-text);
}

.mq-btn-ghost:hover {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--mq-gold);
}

.mq-btn-block { width: 100%; }

/* Announcement */
.mq-announce {
  background: var(--mq-surface);
  border-bottom: 1px solid var(--mq-line);
  font-size: 0.74rem;
  color: var(--mq-muted);
  overflow: hidden;
  line-height: 1.3;
}

.mq-announce-track {
  display: flex;
  width: max-content;
  animation: mq-announce-marquee 36s linear infinite;
}

.mq-announce:hover .mq-announce-track {
  animation-play-state: paused;
}

.mq-announce-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1.5rem;
  padding: 0.38rem 1.5rem;
}

.mq-announce span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.mq-announce span::after {
  content: "◆";
  color: var(--mq-gold);
  font-size: 0.55rem;
}

@keyframes mq-announce-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

html[dir="rtl"] .mq-announce-track {
  animation-name: mq-announce-marquee-rtl;
}

@keyframes mq-announce-marquee-rtl {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .mq-announce-track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .mq-announce-group[aria-hidden="true"] {
    display: none;
  }
}

/* Header */
.mq-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--mq-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mq-line);
}

.mq-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--mq-header-h);
}

.mq-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.mq-logo img {
  height: 26px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: center;
  filter: var(--mq-logo-filter);
}

.mq-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.mq-nav a {
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  color: var(--mq-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: 0.2s ease;
}

.mq-nav a:hover,
.mq-nav a.is-active {
  color: var(--mq-on-gold);
  background: var(--mq-gold);
}

.mq-nav-mobile-tools {
  display: none;
}

.mq-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mq-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--mq-line);
  background: color-mix(in srgb, var(--mq-surface-2) 80%, transparent);
  color: var(--mq-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.mq-icon-btn:hover { border-color: var(--mq-gold); color: var(--mq-gold); }

.mq-theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .mq-theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .mq-theme-toggle .icon-sun { display: none; }

.mq-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mq-gold);
  color: var(--mq-on-gold);
  font-size: 0.68rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mq-login-link {
  color: var(--mq-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.mq-login-link:hover { color: var(--mq-gold); }
.mq-menu-toggle { display: none; }

/* Hero */
.mq-hero {
  position: relative;
  min-height: clamp(460px, 68vh, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #05070d;
}

.mq-hero-calm {
  align-items: center;
  text-align: center;
}

.mq-hero-media,
.mq-hero-glow { position: absolute; inset: 0; }

.mq-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.mq-hero-glow {
  background: var(--mq-hero-scrim);
  pointer-events: none;
}

.mq-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 4.5rem;
  max-width: 560px;
}

.mq-hero-calm .mq-hero-content {
  margin-inline: auto;
  max-width: 520px;
}

.mq-hero-brand {
  margin: 0 0 0.75rem;
  color: var(--mq-gold);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mq-hero-content h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--mq-gold);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.mq-hero-slogan-en {
  margin: 0 0 1rem !important;
  color: var(--mq-gold-2) !important;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem) !important;
  letter-spacing: 0.04em;
}

.mq-hero-content > p:not(.mq-hero-brand):not(.mq-hero-slogan-en) {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.7;
}

.mq-hero-calm .mq-hero-actions {
  justify-content: center;
  gap: 0.85rem;
}

.mq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mq-hero .mq-btn {
  min-width: 148px;
  min-height: 48px;
  padding: 0.75rem 1.55rem;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.mq-hero .mq-btn-primary {
  background: var(--mq-gold);
  color: var(--mq-on-gold);
  border-color: var(--mq-gold);
}

.mq-hero .mq-btn-primary:hover {
  background: var(--mq-gold-2);
  border-color: var(--mq-gold-2);
  color: var(--mq-on-gold);
}

.mq-hero .mq-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  color: #fff;
  backdrop-filter: blur(8px);
}

.mq-hero .mq-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

.mq-hero-nav {
  position: absolute;
  inset-block: 0;
  inset-inline: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.mq-hero-nav button {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: #0b0f19;
  cursor: pointer;
}

.mq-brand-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #0a0e18;
  line-height: 0;
}

.mq-brand-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Features */
.mq-features {
  background: var(--mq-surface);
  border-block: 1px solid var(--mq-line);
  padding: 1.4rem 0;
}

.mq-features-slim {
  padding: 0.95rem 0;
}

.mq-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mq-features-slim .mq-features-grid {
  gap: 0.75rem 1rem;
}

.mq-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mq-features-slim .mq-feature {
  gap: 0.65rem;
  justify-content: center;
}

.mq-features-slim .mq-feature-icon {
  width: 36px;
  height: 36px;
}

.mq-features-slim .mq-feature strong {
  font-size: 0.88rem;
  font-weight: 500;
}

.mq-section-airy {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.mq-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--mq-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mq-feature strong { display: block; font-size: 0.92rem; color: var(--mq-text); }
.mq-feature span { display: block; font-size: 0.78rem; color: var(--mq-muted); }

/* Sections */
.mq-section { padding: 4rem 0; }

.mq-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.mq-eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(197, 160, 89, 0.1);
  color: var(--mq-gold-2);
  font-size: 0.75rem;
  font-weight: 500;
}

.mq-section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.mq-section-head p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--mq-muted);
}

/* Products */
.mq-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.mq-shop-grid.mq-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.mq-card {
  background: var(--mq-surface-2);
  border: 1px solid var(--mq-line);
  border-radius: var(--mq-radius);
  overflow: hidden;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: var(--mq-shadow);
}

.mq-card-media {
  position: relative;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--mq-surface) 70%, #1c2233);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-decoration: none;
  color: inherit;
}

html[data-theme="light"] .mq-card-media {
  background: #ebe7de;
}

.mq-card-tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--mq-gold);
  color: var(--mq-on-gold);
  font-size: 0.72rem;
  font-weight: 500;
}

.mq-card-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mq-shop-grid .mq-card-body {
  padding: 1.2rem 1.25rem 1.3rem;
}

.mq-card-cat {
  display: block;
  color: var(--mq-gold-2);
  font-size: 0.72rem;
  font-weight: 500;
}

.mq-shop-grid .mq-card-cat {
  font-size: 0.8rem;
}

.mq-card-title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.mq-shop-grid .mq-card-title {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
  line-height: 1.4;
}

.mq-card-title a:hover { color: var(--mq-gold); }
.mq-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 500;
}

.mq-shop-grid .mq-card-price {
  font-size: 1.15rem;
}
.mq-card-price .old {
  color: var(--mq-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: line-through;
}

.mq-card-wish {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--mq-line);
  background: transparent;
  color: var(--mq-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  flex-shrink: 0;
}

.mq-card-wish:hover {
  border-color: rgba(197, 160, 89, 0.55);
  color: var(--mq-gold);
}

.mq-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.mq-card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  color: var(--mq-muted);
  font-size: 0.78rem;
}

.mq-card-rating .stars {
  color: var(--mq-gold);
  letter-spacing: -1px;
  font-size: 0.72rem;
}

.mq-card-rating .reviews { opacity: 0.8; }

.mq-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
}

.mq-card-cart {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--mq-line);
  color: var(--mq-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  flex-shrink: 0;
}

.mq-card-cart:hover {
  border-color: var(--mq-gold);
  background: var(--mq-gold);
  color: var(--mq-on-gold);
}

/* Breadcrumb / page shell */
.mq-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--mq-muted);
  font-size: 0.88rem;
}

.mq-breadcrumb a:hover { color: var(--mq-gold); }
.mq-breadcrumb .sep { opacity: 0.5; }

.mq-page { padding: 2.2rem 0 4rem; }
.mq-page-title { margin: 0 0 0.35rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.mq-page-lead { margin: 0 0 1.75rem; color: var(--mq-muted); }

.mq-panel {
  background: var(--mq-surface-2);
  border: 1px solid var(--mq-line);
  border-radius: var(--mq-radius);
  padding: 1.25rem;
}

/* Shop hero */
.mq-shop-hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 2rem;
  min-height: 220px;
  background: #0a0e18;
  border-bottom: 1px solid var(--mq-line);
}

.mq-shop-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 7, 13, 0.78) 0%, rgba(5, 7, 13, 0.55) 48%, rgba(5, 7, 13, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.25), rgba(5, 7, 13, 0.72)),
    var(--mq-shop-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

html[data-theme="light"] .mq-shop-hero {
  background: #161b29;
}

html[data-theme="light"] .mq-shop-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 15, 25, 0.72) 0%, rgba(11, 15, 25, 0.48) 50%, rgba(11, 15, 25, 0.28) 100%),
    linear-gradient(180deg, rgba(11, 15, 25, 0.2), rgba(11, 15, 25, 0.62)),
    var(--mq-shop-hero-image);
}

.mq-shop-hero-inner { position: relative; z-index: 1; }

.mq-breadcrumb-on-dark {
  margin-bottom: 0.85rem;
}
.mq-breadcrumb-on-dark,
.mq-breadcrumb-on-dark a { color: rgba(255, 255, 255, 0.7); }
.mq-breadcrumb-on-dark a:hover { color: var(--mq-gold); }

.mq-shop-hero-copy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem 2rem;
  align-items: end;
  margin-bottom: 0;
}

.mq-shop-hero-copy .mq-eyebrow { margin-bottom: 0.45rem; }

.mq-shop-hero-copy h1 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
}

.mq-shop-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 460px;
}

.mq-shop-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  padding: 0.35rem 0.35rem 0.35rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

.mq-shop-search input {
  border: 0;
  background: transparent;
  color: #fff;
  min-height: 40px;
  outline: none;
  font: inherit;
  font-size: 0.92rem;
}

.mq-shop-search input::placeholder { color: rgba(255, 255, 255, 0.45); }
.mq-shop-search .mq-btn {
  border-radius: 11px;
  min-height: 40px;
  padding: 0.55rem 1.15rem;
}

.mq-shop-cats {
  border-bottom: 1px solid var(--mq-line);
  background: var(--mq-surface);
  padding: 1.5rem 0 1.35rem;
}

.mq-cat-strip {
  display: flex;
  justify-content: center;
  gap: 1.35rem 1.75rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.35rem;
  scrollbar-width: thin;
}

.mq-cat-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  min-width: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mq-text);
  font: inherit;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

a.mq-cat-item { color: inherit; }

.mq-home-cats {
  border-block: 1px solid var(--mq-line);
  padding-top: 1.75rem;
  padding-bottom: 1.15rem;
}

.mq-cat-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(197, 160, 89, 0.28), transparent 45%),
    var(--cat-tone, #1b2434);
  border: 2px solid transparent;
  color: var(--mq-gold);
  box-shadow: 0 10px 24px rgba(11, 15, 25, 0.12);
  transition: 0.22s ease;
}

html[data-theme="light"] .mq-cat-avatar {
  box-shadow: 0 10px 22px rgba(11, 15, 25, 0.08);
}

.mq-cat-avatar svg {
  width: 34px;
  height: 34px;
}

.mq-cat-label {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.mq-cat-count {
  margin-top: -0.25rem;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--mq-muted);
}

.mq-cat-item:hover .mq-cat-avatar,
.mq-cat-item.is-active .mq-cat-avatar {
  border-color: var(--mq-gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(197, 160, 89, 0.22);
}

.mq-cat-item.is-active .mq-cat-label {
  color: var(--mq-gold-2);
}

.mq-cat-item.is-active .mq-cat-count {
  color: var(--mq-gold-2);
}

.mq-shop-page { padding-top: 1.6rem; }

/* Shop layout */
.mq-shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.mq-filters {
  position: sticky;
  top: calc(var(--mq-header-h) + 1rem);
}

.mq-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mq-filters-head .mq-side-title { margin: 0; }
.mq-filters-close { display: none; }

.mq-filters-panel { padding: 1.35rem 1.25rem; }

.mq-filters h3,
.mq-side-title {
  margin: 0 0 0.9rem;
  font-size: 1rem;
}

.mq-filter-group + .mq-filter-group {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--mq-line);
}

.mq-filter-group > strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.mq-filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--mq-muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.mq-filter-group label span { flex: 1; }
.mq-filter-group label em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--mq-muted);
  opacity: 0.8;
}

.mq-price-range { margin-bottom: 0.75rem; }
.mq-price-range input[type="range"] {
  width: 100%;
  accent-color: var(--mq-gold);
}

.mq-price-inputs {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  color: var(--mq-muted);
  font-size: 0.8rem;
}

.mq-btn-block { width: 100%; justify-content: center; }

.mq-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--mq-line);
  border-radius: var(--mq-radius);
  background: var(--mq-surface-2);
}

.mq-shop-toolbar-start,
.mq-shop-toolbar-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.mq-shop-toolbar-start strong {
  display: block;
  font-size: 0.95rem;
}

.mq-shop-result-meta {
  display: block;
  color: var(--mq-muted);
  font-size: 0.78rem;
}

.mq-filters-open { display: none; }

.mq-view-toggle {
  display: inline-flex;
  border: 1px solid var(--mq-line);
  border-radius: 10px;
  overflow: hidden;
}

.mq-view-toggle button {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--mq-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mq-view-toggle button.is-active {
  background: rgba(197, 160, 89, 0.15);
  color: var(--mq-gold-2);
}

.mq-sort-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mq-muted);
  font-size: 0.85rem;
}

.mq-sort-field select {
  min-width: 170px;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--mq-line);
  background: var(--mq-input-bg);
  color: var(--mq-text);
}

.mq-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.mq-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(197, 160, 89, 0.1);
  color: var(--mq-gold-2);
  font-size: 0.8rem;
}

.mq-chip button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.mq-chip-clear {
  border: 0;
  background: transparent;
  color: var(--mq-muted);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}

.mq-shop-grid .mq-card-media {
  aspect-ratio: 4 / 3.4;
  min-height: 210px;
  padding: 1.5rem;
}

.mq-shop-grid .mq-card-media svg {
  width: 84px;
  height: 84px;
}

.mq-shop-grid .mq-card-rating {
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
}

.mq-shop-grid .mq-card-cart {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.mq-shop-grid.is-list {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.mq-shop-grid.is-list .mq-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: stretch;
  flex-direction: unset;
}

.mq-shop-grid.is-list .mq-card:hover {
  transform: none;
}

.mq-shop-grid.is-list .mq-card-media {
  aspect-ratio: auto;
  min-height: 160px;
  height: 100%;
  border-inline-end: 1px solid var(--mq-line);
}

.mq-shop-grid.is-list .mq-card-body {
  justify-content: center;
  padding: 1.1rem 1.25rem;
  gap: 0.15rem;
}

.mq-shop-grid.is-list .mq-card-title {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.mq-shop-grid.is-list .mq-card-rating {
  margin-bottom: 0.55rem;
}

.mq-shop-grid.is-list .mq-card-foot {
  margin-top: 0.35rem;
  max-width: 280px;
}

.mq-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 2rem;
}

.mq-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--mq-line);
  background: var(--mq-surface-2);
  color: var(--mq-text);
  font: inherit;
  cursor: pointer;
}

.mq-page-btn.is-active,
.mq-page-btn:hover:not(:disabled) {
  border-color: rgba(197, 160, 89, 0.55);
  background: rgba(197, 160, 89, 0.12);
  color: var(--mq-gold-2);
}

.mq-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mq-filters-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 60;
}

.mq-shop-toolbar select,
.mq-field input,
.mq-field select,
.mq-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--mq-line);
  background: var(--mq-input-bg);
  color: var(--mq-text);
}

.mq-field { margin-bottom: 0.9rem; }
.mq-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--mq-muted);
}

.mq-field textarea { min-height: 120px; resize: vertical; }

/* Product details */
.mq-product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.mq-product-gallery {
  border: 1px solid var(--mq-line);
  border-radius: var(--mq-radius);
  background: var(--mq-surface-2);
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.mq-product-info h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.mq-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  color: var(--mq-muted);
  font-size: 0.9rem;
}

.mq-product-price {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--mq-gold-2);
  margin-bottom: 1rem;
}

.mq-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mq-line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.mq-qty button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--mq-text);
  cursor: pointer;
}

.mq-qty span {
  min-width: 42px;
  text-align: center;
  font-weight: 500;
}

.mq-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.mq-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0 0.9rem;
  border-bottom: 1px solid var(--mq-line);
}

.mq-tabs button {
  border: 0;
  background: transparent;
  color: var(--mq-muted);
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.mq-tabs button.is-active {
  color: var(--mq-text);
  border-bottom-color: var(--mq-gold);
}

/* Cart / checkout */
.mq-table {
  width: 100%;
  border-collapse: collapse;
}

.mq-table th,
.mq-table td {
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid var(--mq-line);
  text-align: start;
  vertical-align: middle;
}

.mq-table th {
  color: var(--mq-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.mq-cart-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mq-cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--mq-surface) 70%, #243044);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mq-cart-layout,
.mq-checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.2rem;
  align-items: start;
}

.mq-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
  color: var(--mq-muted);
}

.mq-summary-row.total {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--mq-line);
  color: var(--mq-text);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Auth */
.mq-auth {
  max-width: 460px;
  margin: 0 auto;
}

.mq-auth-alt {
  margin-top: 1rem;
  text-align: center;
  color: var(--mq-muted);
  font-size: 0.9rem;
}

.mq-auth-alt a { color: var(--mq-gold-2); font-weight: 500; }

/* About / contact / blog */
.mq-about-grid,
.mq-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.mq-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.mq-stat {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--mq-line);
  background: var(--mq-bg);
  text-align: center;
}

.mq-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--mq-gold-2);
}

.mq-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.mq-blog-card {
  border: 1px solid var(--mq-line);
  border-radius: var(--mq-radius);
  background: var(--mq-surface-2);
  overflow: hidden;
}

.mq-blog-cover {
  height: 160px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.35), rgba(22, 27, 41, 0.9));
}

.mq-blog-card .body { padding: 1rem; }
.mq-blog-card .date { color: var(--mq-muted); font-size: 0.8rem; }
.mq-blog-card h3 { margin: 0.4rem 0 0.55rem; font-size: 1.05rem; }

/* Footer */
.mq-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: color-mix(in srgb, var(--mq-bg) 92%, #000);
  border-top: 1px solid var(--mq-line);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.mq-footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--mq-footer-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.mq-footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.55), rgba(7, 10, 18, 0.82));
}

.mq-footer-inner {
  position: relative;
  z-index: 1;
}

.mq-footer-brand p {
  margin: 1rem 0 0;
  max-width: 280px;
  line-height: 1.7;
}

.mq-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mq-footer h3 { margin: 0 0 0.9rem; font-size: 1rem; }
.mq-footer p,
.mq-footer a { color: var(--mq-muted); font-size: 0.9rem; }
.mq-footer a:hover { color: var(--mq-gold); }
.mq-footer li + li { margin-top: 0.45rem; }

.mq-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--mq-line);
  color: var(--mq-muted);
  font-size: 0.82rem;
}

/* Floating contact */
.mq-float {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mq-float a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.mq-float-call { background: var(--mq-gold); color: var(--mq-on-gold); }
.mq-float-wa { background: #25d366; color: #fff; }

/* Mobile */
@media (max-width: 991px) {
  .mq-announce { font-size: 0.74rem; }
  .mq-header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    min-height: 60px;
  }
  .mq-logo {
    justify-self: start;
    max-width: min(46vw, 150px);
  }
  .mq-logo img {
    height: 24px;
    max-width: 100%;
  }
  .mq-header-actions {
    gap: 0.3rem;
    justify-self: end;
  }
  .mq-header-actions > .mq-lang-switch,
  .mq-header-actions > .mq-theme-toggle {
    display: none;
  }
  .mq-icon-btn {
    width: 36px;
    height: 36px;
  }
  .mq-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    inset-inline: 0;
    background: var(--mq-surface-2);
    border-bottom: 1px solid var(--mq-line);
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .mq-nav.is-open { display: flex; }
  .mq-nav-mobile-tools {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--mq-line);
  }
  .mq-menu-toggle { display: inline-flex; }

  .mq-hero {
    min-height: clamp(420px, 72vh, 560px);
    align-items: center;
  }

  .mq-hero-content {
    max-width: 100%;
    text-align: center;
    margin-inline: auto;
    padding: 3.25rem 0 3.5rem;
  }

  .mq-hero-content h1 {
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .mq-hero-slogan-en {
    font-size: 0.92rem !important;
    margin-bottom: 0.75rem !important;
  }

  .mq-hero-content > p:not(.mq-hero-brand):not(.mq-hero-slogan-en) {
    font-size: 0.92rem;
    margin-bottom: 1.15rem;
    max-width: 28rem;
    margin-inline: auto;
  }

  .mq-hero-actions {
    justify-content: center;
    width: 100%;
  }

  .mq-hero .mq-btn {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 180px;
    min-height: 44px;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
  }

  .mq-features-slim {
    padding: 1rem 0;
  }

  .mq-features-slim .mq-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem;
  }

  .mq-features-slim .mq-feature {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.55rem;
    min-height: 102px;
    padding: 0.85rem 0.55rem;
    border: 1px solid var(--mq-line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--mq-surface-2) 88%, transparent);
  }

  .mq-features-slim .mq-feature-icon {
    width: 38px;
    height: 38px;
  }

  .mq-features-slim .mq-feature strong {
    font-size: 0.8rem;
    line-height: 1.35;
    max-width: 11ch;
  }

  .mq-home-cats {
    padding-top: 1.25rem;
    padding-bottom: 0.85rem;
  }

  .mq-section-airy {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .mq-home-loyalty {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.25rem 1.1rem;
  }

  .mq-home-loyalty .mq-hero-actions {
    justify-content: center;
  }

  .mq-footer {
    padding: 2rem 0 5.75rem;
    margin-top: 1rem;
  }

  .mq-footer-bg {
    opacity: 0.09;
    background-position: center top;
  }

  .mq-footer-bg::after {
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.7), rgba(7, 10, 18, 0.88));
  }

  .mq-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .mq-footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    padding: 0.35rem 0 0.75rem;
    border-bottom: 1px solid var(--mq-line);
    margin-bottom: 0.35rem;
  }

  .mq-footer-brand .mq-logo {
    justify-content: center;
    margin-inline: auto;
  }

  .mq-footer-brand p {
    margin: 0.75rem auto 0;
    max-width: 26rem;
    font-size: 0.86rem;
  }

  .mq-footer-col {
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--mq-line);
    border-radius: 14px;
    background: rgba(15, 20, 32, 0.55);
  }

  .mq-footer-col h3 {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    color: var(--mq-gold-2);
  }

  .mq-footer-col a {
    font-size: 0.84rem;
  }

  .mq-footer-col li + li {
    margin-top: 0.4rem;
  }

  .mq-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding-top: 1rem;
  }

  .mq-float {
    left: 0.75rem;
    bottom: 0.75rem;
    gap: 0.5rem;
  }

  .mq-float a {
    width: 46px;
    height: 46px;
  }

  .mq-features-grid,
  .mq-products,
  .mq-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mq-shop-grid.mq-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mq-shop-layout,
  .mq-product-layout,
  .mq-cart-layout,
  .mq-checkout-layout,
  .mq-about-grid,
  .mq-contact-grid { grid-template-columns: 1fr; }

  .mq-shop-hero {
    padding: 1.1rem 0 1.15rem;
    min-height: 0;
  }

  .mq-shop-hero-bg {
    background-image:
      linear-gradient(180deg, rgba(5, 7, 13, 0.55) 0%, rgba(5, 7, 13, 0.78) 48%, rgba(5, 7, 13, 0.94) 100%),
      var(--mq-shop-hero-image);
    background-position: center 28%;
  }

  html[data-theme="light"] .mq-shop-hero-bg {
    background-image:
      linear-gradient(180deg, rgba(11, 15, 25, 0.5) 0%, rgba(11, 15, 25, 0.74) 48%, rgba(11, 15, 25, 0.92) 100%),
      var(--mq-shop-hero-image);
  }

  .mq-breadcrumb-on-dark { margin-bottom: 0.55rem; font-size: 0.8rem; }

  .mq-shop-hero-copy {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    align-items: stretch;
  }

  .mq-shop-hero-copy .mq-eyebrow {
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
  }

  .mq-shop-hero-copy h1 {
    font-size: 1.28rem;
    margin-bottom: 0;
  }

  .mq-shop-hero-copy p {
    display: none;
  }

  .mq-shop-search {
    grid-template-columns: auto 1fr auto;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.28rem 0.28rem 0.28rem 0.85rem;
    background: rgba(8, 11, 18, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
  }

  .mq-shop-search input {
    min-height: 36px;
    font-size: 0.86rem;
  }

  .mq-shop-search .mq-btn {
    grid-column: auto;
    width: auto;
    min-height: 36px;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.84rem;
  }

  .mq-shop-cats {
    padding-top: 0.85rem;
    padding-bottom: 0.35rem;
  }

  .mq-cat-strip {
    justify-content: flex-start;
    gap: 0.95rem;
  }
  .mq-cat-avatar {
    width: 64px;
    height: 64px;
  }
  .mq-cat-avatar svg {
    width: 26px;
    height: 26px;
  }

  .mq-filters-open { display: inline-flex; }
  .mq-filters {
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(320px, 88vw);
    z-index: 70;
    margin: 0;
    padding: 1rem;
    background: var(--mq-bg);
    border-inline-end: 1px solid var(--mq-line);
    overflow: auto;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
  }
  html[dir="rtl"] .mq-filters { transform: translateX(110%); }
  .mq-filters.is-open { transform: translateX(0); }
  .mq-filters-close {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--mq-line);
    background: var(--mq-surface-2);
    color: var(--mq-text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
  }
  .mq-shop-grid.is-list .mq-card {
    grid-template-columns: 108px 1fr;
  }
  .mq-shop-grid.is-list .mq-card-media {
    min-height: 108px;
  }
  .mq-shop-grid.is-list .mq-card-body {
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 575px) {
  .mq-container {
    width: min(100% - 1.35rem, var(--mq-container));
  }

  .mq-announce {
    font-size: 0.7rem;
  }

  .mq-announce-group { gap: 1.1rem; padding: 0.5rem 1.1rem; }
  .mq-announce span { gap: 1.1rem; }

  .mq-hero {
    min-height: 78svh;
  }

  .mq-hero-media img {
    object-position: center 30%;
  }

  .mq-hero-content {
    padding: 2.6rem 0 2.8rem;
  }

  .mq-hero-content h1 {
    font-size: 1.35rem;
    line-height: 1.45;
  }

  .mq-hero-slogan-en {
    font-size: 0.84rem !important;
  }

  .mq-hero-content > p:not(.mq-hero-brand):not(.mq-hero-slogan-en) {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .mq-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .mq-hero .mq-btn {
    max-width: none;
    width: 100%;
  }

  .mq-features-slim .mq-feature {
    min-height: 96px;
    padding: 0.75rem 0.45rem;
  }

  .mq-features-slim .mq-feature-icon {
    width: 34px;
    height: 34px;
  }

  .mq-features-slim .mq-feature strong {
    font-size: 0.76rem;
    max-width: 12ch;
  }

  .mq-features-slim .mq-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem;
  }

  .mq-cat-avatar {
    width: 58px;
    height: 58px;
  }

  .mq-cat-label {
    font-size: 0.78rem;
  }

  .mq-section-head h2 {
    font-size: 1.25rem;
  }

  .mq-section-head p {
    font-size: 0.88rem;
  }

  .mq-shop-hero {
    padding: 0.95rem 0 1rem;
  }

  .mq-shop-hero-copy h1 {
    font-size: 1.18rem;
    line-height: 1.4;
  }

  .mq-shop-search svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .mq-products,
  .mq-blog-grid,
  .mq-shop-grid.mq-products,
  .mq-stat-grid { grid-template-columns: 1fr; }

  .mq-shop-grid.is-list .mq-card { grid-template-columns: 1fr; }
  .mq-shop-grid.is-list .mq-card-media {
    min-height: 160px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--mq-line);
  }

  .mq-footer {
    padding-bottom: 6rem;
  }

  .mq-footer-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .mq-footer-col {
    padding: 0.95rem 1rem;
  }

  .mq-footer-col ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.75rem;
  }

  .mq-footer-col li + li {
    margin-top: 0;
  }

  .mq-footer-brand p {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .mq-sort-field { width: 100%; }
  .mq-sort-field select { flex: 1; min-width: 0; }
  .mq-table thead { display: none; }
  .mq-table tr {
    display: block;
    margin-bottom: 0.8rem;
    border: 1px solid var(--mq-line);
    border-radius: 12px;
    padding: 0.6rem;
  }
  .mq-table td {
    display: flex;
    justify-content: space-between;
    border: 0;
    padding: 0.4rem 0;
  }
}

/* Card loyalty points */
.mq-card-points {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.92);
  color: var(--mq-on-gold);
  font-size: 0.7rem;
  font-weight: 500;
}

/* Legal / prose */
.mq-legal { max-width: 860px; }
.mq-prose h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.05rem;
}
.mq-prose p,
.mq-prose li {
  color: var(--mq-muted);
  line-height: 1.8;
}
.mq-prose ul {
  margin: 0.4rem 0 0;
  padding-inline-start: 1.2rem;
}
.mq-prose li { margin-bottom: 0.35rem; }

/* Loyalty */
.mq-loyalty-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.mq-step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  color: var(--mq-gold-2);
  font-weight: 500;
}
.mq-loyalty-steps h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.mq-loyalty-steps p { margin: 0; color: var(--mq-muted); line-height: 1.7; }

.mq-loyalty-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: rgba(197, 160, 89, 0.1);
}
.mq-loyalty-inline strong { color: var(--mq-gold-2); }
.mq-loyalty-inline span { color: var(--mq-muted); font-size: 0.88rem; }

.mq-home-loyalty {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
}

/* FAQ */
.mq-faq-list { display: grid; gap: 0.7rem; }
.mq-faq-item {
  border: 1px solid var(--mq-line);
  border-radius: var(--mq-radius);
  background: var(--mq-surface-2);
  padding: 0.9rem 1.1rem;
}
.mq-faq-item summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.mq-faq-item summary::-webkit-details-marker { display: none; }
.mq-faq-item p {
  margin: 0.7rem 0 0;
  color: var(--mq-muted);
  line-height: 1.75;
}

/* Profile */
.mq-profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.mq-profile-card { text-align: center; }
.mq-profile-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(197, 160, 89, 0.18);
  color: var(--mq-gold-2);
  font-weight: 500;
  font-size: 1.15rem;
}
.mq-profile-card h2 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.mq-profile-card > p { margin: 0 0 0.75rem; color: var(--mq-muted); }
.mq-rank-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--mq-gold-2);
  font-size: 0.8rem;
  font-weight: 500;
}
.mq-profile-nav {
  display: grid;
  gap: 0.35rem;
  text-align: right;
}
.mq-profile-nav a {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: var(--mq-muted);
  font-size: 0.9rem;
}
.mq-profile-nav a:hover,
.mq-profile-nav a.is-active {
  background: rgba(197, 160, 89, 0.12);
  color: var(--mq-gold-2);
}
.mq-profile-main { display: grid; gap: 1rem; }
.mq-wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.mq-wallet-stat {
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--mq-line);
  background: var(--mq-bg);
  text-align: center;
}
.mq-wallet-stat span {
  display: block;
  color: var(--mq-muted);
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}
.mq-wallet-stat strong {
  font-size: 1.25rem;
  color: var(--mq-gold-2);
}
.mq-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--mq-line);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.mq-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--mq-gold), var(--mq-gold-2));
}
.mq-muted-note {
  margin: 0 0 1rem;
  color: var(--mq-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.mq-order-list,
.mq-tx-list { display: grid; gap: 0.65rem; }
.mq-order-row,
.mq-tx-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--mq-line);
}
.mq-order-row:last-child,
.mq-tx-row:last-child { border-bottom: 0; }
.mq-order-row span,
.mq-tx-row span { color: var(--mq-muted); font-size: 0.88rem; }
.mq-order-row > div { display: grid; gap: 0.2rem; }
.mq-status {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.mq-status.is-shipped { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.mq-status.is-done { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.mq-status.is-prep { background: rgba(197, 160, 89, 0.15); color: var(--mq-gold-2); }
.mq-tx-row .up { color: #4ade80; }
.mq-tx-row .down { color: #f87171; }
.mq-tx-row { grid-template-columns: 1fr auto; }
.mq-merchant-cta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mq-line);
}
.mq-merchant-cta p {
  margin: 0.35rem 0 0;
  color: var(--mq-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .mq-loyalty-steps,
  .mq-profile-layout,
  .mq-wallet-grid { grid-template-columns: 1fr; }
  .mq-order-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Feature banner (split card) */
.mq-feature-banner-wrap { padding-top: 2.5rem; }

.mq-feature-banner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 420px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--mq-line);
  background: #101624;
  box-shadow: var(--mq-shadow);
}

html[data-theme="light"] .mq-feature-banner {
  background: #161b29;
}

.mq-feature-banner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  color: #fff;
}

.mq-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.55);
  color: var(--mq-gold-2);
  font-size: 0.78rem;
  font-weight: 500;
}

.mq-feature-banner-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.35;
  color: #fff;
}

.mq-feature-banner-copy p {
  margin: 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  font-size: 0.98rem;
}

.mq-feature-banner-copy .mq-btn {
  width: fit-content;
  border-radius: 12px;
}

.mq-feature-trust {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.mq-feature-trust .star {
  color: var(--mq-gold);
  font-size: 1rem;
}

.mq-feature-banner-media {
  position: relative;
  min-height: 360px;
  background: #0a0e18;
}

.mq-feature-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* FAQ accordion */
.mq-home-faq .mq-section-head h2 em {
  font-style: normal;
  color: var(--mq-gold-2);
}

.mq-home-faq-inner {
  max-width: 820px;
  margin-inline: auto;
}

.mq-faq-accordion {
  gap: 0.75rem;
}

.mq-faq-accordion .mq-faq-item {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.mq-faq-accordion .mq-faq-item[open] {
  border-color: rgba(197, 160, 89, 0.45);
}

.mq-faq-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
}

.mq-faq-accordion summary span {
  flex: 1;
  text-align: right;
  font-size: 0.98rem;
  line-height: 1.5;
}

.mq-faq-chevron {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.55);
  color: var(--mq-gold-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mq-faq-accordion .mq-faq-item[open] .mq-faq-chevron {
  transform: rotate(180deg);
  background: rgba(197, 160, 89, 0.12);
}

.mq-faq-accordion .mq-faq-item p {
  padding: 0 1.15rem 1.1rem;
  margin: 0;
}

@media (max-width: 991px) {
  .mq-feature-banner {
    grid-template-columns: 1fr;
  }
  .mq-feature-banner-media {
    min-height: 280px;
    order: -1;
  }
}

/* Search modal */
body.mq-search-open { overflow: hidden; }

.mq-search-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: start center;
  padding: 12vh 1rem 1rem;
}

.mq-search-modal[hidden] { display: none !important; }

.mq-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.62);
  backdrop-filter: blur(4px);
}

.mq-search-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  border-radius: 18px;
  border: 1px solid var(--mq-line);
  background: var(--mq-surface-2);
  box-shadow: var(--mq-shadow);
  padding: 1.1rem 1.15rem 1.25rem;
  animation: mqSearchIn 0.2s ease;
}

@keyframes mqSearchIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.mq-search-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.mq-search-dialog-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.mq-search-field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.4rem 0.4rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--mq-line);
  background: var(--mq-input-bg);
  color: var(--mq-muted);
}

.mq-search-field:focus-within {
  border-color: rgba(197, 160, 89, 0.55);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.mq-search-field input {
  border: 0;
  outline: none;
  background: transparent;
  color: var(--mq-text);
  min-height: 42px;
  font: inherit;
  font-size: 0.95rem;
  width: 100%;
}

.mq-search-field input::placeholder { color: var(--mq-muted); }

.mq-search-field .mq-btn {
  border-radius: 11px;
  min-height: 40px;
  padding: 0.55rem 1.1rem;
}

.mq-search-suggestions {
  margin-top: 1rem;
}

.mq-search-suggestions > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--mq-muted);
  font-size: 0.82rem;
}

.mq-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mq-search-chips a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--mq-line);
  background: var(--mq-bg);
  color: var(--mq-text);
  font-size: 0.85rem;
}

.mq-search-chips a:hover {
  border-color: rgba(197, 160, 89, 0.5);
  color: var(--mq-gold-2);
}

@media (max-width: 575px) {
  .mq-search-modal { padding-top: 18vh; }
  .mq-search-field {
    grid-template-columns: auto 1fr;
  }
  .mq-search-field .mq-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Language switcher */
.mq-lang-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--mq-line);
  border-radius: 10px;
  background: var(--mq-surface-2);
}

.mq-lang-switch button {
  border: 0;
  background: transparent;
  color: var(--mq-muted);
  min-width: 34px;
  min-height: 34px;
  padding: 0 0.55rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}

.mq-lang-switch button.is-active {
  background: var(--mq-gold);
  color: var(--mq-on-gold);
}

.mq-lang-switch-compact {
  border-radius: 999px;
}

.mq-lang-switch-compact button {
  min-width: 38px;
  min-height: 38px;
  color: var(--mq-text);
}

.mq-lang-switch-compact button:hover {
  color: var(--mq-gold);
}

/* LTR adjustments */
html[dir="ltr"] body.mq-store {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .mq-nav a.is-active,
html[dir="ltr"] .mq-card-title,
html[dir="ltr"] .mq-faq-accordion summary span,
html[dir="ltr"] .mq-profile-nav {
  text-align: left;
}

html[dir="ltr"] .mq-card-tag,
html[dir="ltr"] .mq-card-points {
  right: auto;
  left: 0.85rem;
}

html[dir="ltr"] .mq-badge {
  left: auto;
  right: -4px;
}

html[dir="ltr"] .mq-float {
  right: auto;
  left: 1rem;
}

html[dir="ltr"] .mq-feature-banner-media { order: 0; }
