﻿/* Abar IQ storefront — Orbit-inspired catalog layout */
:root {
  --aq-bg: #f4f6f9;
  --aq-surface: #ffffff;
  --aq-ink: #1a1f36;
  --aq-muted: #6b7280;
  --aq-line: #e5e7eb;
  --aq-primary: #5b21b6;
  --aq-primary-2: #7c3aed;
  --aq-accent: #0891b2;
  --aq-accent-soft: #22d3ee;
  --aq-danger: #dc2626;
  --aq-ok: #059669;
  --aq-radius: 6px;
  --aq-radius-lg: 8px;
  --aq-shadow: 0 8px 28px rgba(26, 31, 54, 0.08);
  --aq-header-h: 72px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body.aq-body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  background: var(--aq-bg);
  color: var(--aq-ink);
  padding-bottom: 70px;
}
@media (min-width: 992px) { body.aq-body { padding-bottom: 0; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.aq-wrap { width: min(1240px, calc(100% - 1.5rem)); margin-inline: auto; }
.aq-ltr { direction: ltr; unicode-bidi: isolate; }

/* Kill leftover promo strip if an old page/cache still emits it */
.aq-strip { display: none !important; height: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden !important; border: 0 !important; }

/* —— Header —— */
.aq-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--aq-surface);
  border-bottom: 1px solid var(--aq-line);
  box-shadow: 0 2px 12px rgba(26, 31, 54, 0.04);
}
.aq-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--aq-header-h);
  padding: 0.65rem 0;
}
.aq-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.aq-brand img,
.aq-brand .aq-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.aq-brand .aq-logo-on-dark { display: none; }
html[data-theme="dark"] .aq-brand .aq-logo:not(.aq-logo-on-dark) { display: none; }
html[data-theme="dark"] .aq-brand .aq-logo-on-dark { display: block; }
.aq-brand-text { line-height: 1.15; }
.aq-brand-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.aq-brand-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--aq-muted);
  font-weight: 600;
}

.aq-search {
  display: none;
  position: relative;
}
@media (min-width: 768px) { .aq-search { display: block; } }
.aq-search form {
  display: flex;
  background: var(--aq-bg);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  overflow: hidden;
}
.aq-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem 1.1rem;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
}
.aq-search button {
  border: 0;
  background: var(--aq-primary);
  color: #fff;
  padding: 0 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

.aq-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.aq-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--aq-bg);
  color: var(--aq-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
}
.aq-icon-btn:hover { background: #ede9fe; color: var(--aq-primary); }
.aq-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--aq-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* Account dropdown */
.aq-account { position: relative; }
.aq-account-menu {
  min-width: 220px;
  margin-top: 0.4rem !important;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  box-shadow: var(--aq-shadow);
  padding: 0.4rem;
  z-index: 1200;
}
.aq-account-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  color: var(--aq-ink);
}
.aq-account-menu .dropdown-item i { color: var(--aq-primary); font-size: 1rem; }
.aq-account-menu .dropdown-item:hover,
.aq-account-menu .dropdown-item:focus {
  background: #f3f0ff;
  color: var(--aq-primary);
}
.aq-account-logout {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--aq-danger) !important;
}
.aq-account-logout i { color: var(--aq-danger) !important; }
.aq-account-menu .dropdown-divider { margin: 0.35rem 0; }

/* Offcanvas above sticky header so backdrop click works */
.aq-offcanvas.offcanvas,
.offcanvas.aq-offcanvas {
  z-index: 1260;
}
.aq-offcanvas + .offcanvas-backdrop,
.offcanvas-backdrop.show {
  z-index: 1250;
}
body:has(.aq-offcanvas.show) .offcanvas-backdrop {
  z-index: 1250;
}
.aq-search-canvas {
  height: auto !important;
  max-height: 42vh;
}
.aq-search-panel {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}
.aq-search-panel input {
  flex: 1;
  border-radius: var(--aq-radius);
  border: 1px solid var(--aq-line);
  font-family: inherit;
}

/* —— Nav / mega —— */
.aq-nav {
  background: var(--aq-ink);
  color: #fff;
}
.aq-nav-inner {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.aq-nav-inner::-webkit-scrollbar { display: none; }
.aq-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  border-bottom: 2px solid transparent;
}
.aq-nav-link:hover,
.aq-nav-link.active {
  color: #fff;
  background: rgba(124, 58, 237, 0.25);
  border-bottom-color: var(--aq-accent-soft);
}
.aq-nav-cta {
  margin-inline-start: auto;
  background: var(--aq-primary-2) !important;
  border-bottom-color: transparent !important;
  border-radius: 0;
}

/* —— Mobile bottom bar —— */
.aq-mobile-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1050;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid var(--aq-line);
  padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom));
}
@media (min-width: 992px) { .aq-mobile-bar { display: none; } }
.aq-mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--aq-muted);
  padding: 0.35rem;
}
.aq-mobile-bar a i { font-size: 1.2rem; }
.aq-mobile-bar a.active,
.aq-mobile-bar a:hover { color: var(--aq-primary); }

/* —— Footer —— */
.aq-footer {
  background: #111827;
  color: #d1d5db;
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
}
.aq-footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .aq-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.aq-footer h6 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}
.aq-footer ul { list-style: none; padding: 0; margin: 0; }
.aq-footer li { margin-bottom: 0.55rem; }
.aq-footer a { color: #9ca3af; font-size: 0.9rem; }
.aq-footer a:hover { color: var(--aq-accent-soft); }
.aq-footer-brand img {
  width: min(220px, 100%);
  border-radius: 10px;
  margin-bottom: 0.85rem;
}
.aq-footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
}

/* —— Shared UI —— */
.aq-section { padding: 2.25rem 0; }
.aq-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.aq-section-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
}
.aq-section-head p {
  margin: 0.25rem 0 0;
  color: var(--aq-muted);
  font-size: 0.9rem;
}
.aq-link-more {
  color: var(--aq-primary);
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
}

.aq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--aq-radius);
  border: 0;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.aq-btn:active { transform: scale(0.98); }
.aq-btn-primary {
  background: linear-gradient(135deg, var(--aq-primary-2), var(--aq-primary));
  color: #fff;
  box-shadow: 0 10px 24px rgba(91, 33, 182, 0.28);
}
.aq-btn-ghost {
  background: #fff;
  color: var(--aq-ink);
  border: 1px solid var(--aq-line);
}

/* —— Homepage sliding banners —— */
.aq-hero-slider {
  position: relative;
  background: #0b1020;
  overflow: hidden;
}
.aq-hero-slider .carousel-inner,
.aq-hero-slider .carousel-item {
  height: clamp(280px, 56vw, 460px);
  overflow: hidden;
}
.aq-slide {
  position: relative;
  display: block;
  height: 100%;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.aq-slide picture,
.aq-slide-photo {
  display: block;
  width: 100%;
  height: 100%;
}
.aq-slide-photo {
  object-fit: cover;
  object-position: center;
}
.aq-slide-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.4rem 1.25rem 2.35rem;
  background:
    linear-gradient(180deg, rgba(11,16,32,0.08) 0%, rgba(11,16,32,0.18) 42%, rgba(11,16,32,0.88) 100%);
}
@media (min-width: 768px) {
  .aq-hero-slider .carousel-inner,
  .aq-hero-slider .carousel-item { height: clamp(320px, 38vw, 500px); }
  .aq-slide-photo { object-position: left center; }
  .aq-slide-copy {
    justify-content: center;
    padding: 2.2rem 7% 2.2rem 46%;
    background: linear-gradient(90deg, transparent 22%, rgba(11,16,32,0.28) 58%, rgba(11,16,32,0.78) 100%);
  }
}
.aq-slide-copy h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.aq-slide-copy p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(0.92rem, 2vw, 1.15rem);
  font-weight: 700;
}
.aq-hero-slider .carousel-control-prev,
.aq-hero-slider .carousel-control-next { display: none; }
.aq-hero-slider .carousel-indicators {
  margin: 0;
  gap: 0.35rem;
  bottom: 12px;
}
.aq-hero-slider .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  opacity: 1;
}
.aq-hero-slider .carousel-indicators .active {
  width: 22px;
  background: #fff;
}

/* —— Top shortcuts: artwork tiles —— */
.aq-top { padding: 1.5rem 0 0.25rem; }
.aq-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 900px) {
  .aq-tiles { grid-template-columns: repeat(4, 1fr); }
}
.aq-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--aq-radius);
  overflow: hidden;
  background: #1e1b4b;
  box-shadow: var(--aq-shadow);
  border-bottom: 3px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.aq-tile-teal { border-bottom-color: #14b8a6; }
.aq-tile-amber { border-bottom-color: #f59e0b; }
.aq-tile-ice { border-bottom-color: #a5b4fc; }
.aq-tile-violet { border-bottom-color: #8b5cf6; }
.aq-tile-emerald { border-bottom-color: #10b981; }
.aq-tile-sky { border-bottom-color: #38bdf8; }
.aq-tile-magenta { border-bottom-color: #ec4899; }
.aq-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(30,27,75,0.3);
}
.aq-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.aq-tile:hover img { transform: scale(1.06); }
.aq-tile-label {
  position: absolute;
  inset-inline: 0.55rem;
  bottom: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: calc(var(--aq-radius) - 2px);
  background: rgba(11,16,32,0.78);
  backdrop-filter: blur(8px);
  color: #fff;
}
.aq-tile-ice .aq-tile-label {
  background: rgba(255,255,255,0.88);
  color: #1e1b4b;
}
.aq-tile-label strong { font-size: 0.9rem; font-weight: 800; }
.aq-tile-label i { font-size: 0.9rem; opacity: 0.75; transition: transform .2s ease; }
.aq-tile:hover .aq-tile-label i { transform: translateX(-4px); }
.aq-tile-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 2.4rem;
  color: #c4b5fd;
  background:
    radial-gradient(circle at 50% 40%, rgba(124,58,237,0.55), transparent 62%),
    linear-gradient(160deg, #1e1b4b, #0b1020);
}

/* —— Closing banner —— */
.aq-banner {
  position: relative;
  display: block;
  border-radius: var(--aq-radius);
  overflow: hidden;
  background: #0b1020;
  box-shadow: var(--aq-shadow);
}
.aq-banner img {
  width: 100%;
  height: clamp(220px, 34vw, 340px);
  object-fit: cover;
  object-position: left center;
  display: block;
}
.aq-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 8% 1.25rem 42%;
  text-align: start;
  color: #fff;
  background: linear-gradient(90deg, rgba(11,16,32,0.05) 20%, rgba(11,16,32,0.72) 55%, rgba(11,16,32,0.88));
}
@media (max-width: 640px) {
  .aq-banner-text {
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(11,16,32,0.88), rgba(11,16,32,0.2) 70%);
  }
}
.aq-banner-text strong {
  font-size: clamp(1.3rem, 4.5vw, 2rem);
  font-weight: 900;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

/* —— Promo tiles —— */
.aq-promos {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .aq-promos { grid-template-columns: repeat(4, 1fr); }
}
.aq-promo {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  padding: 1.15rem;
  box-shadow: var(--aq-shadow);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, border-color .2s ease;
}
.aq-promo:hover {
  transform: translateY(-3px);
  border-color: #c4b5fd;
}
.aq-promo i {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #ede9fe;
  color: var(--aq-primary);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.aq-promo strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.aq-promo span { color: var(--aq-muted); font-size: 0.8rem; }

/* —— Category chips / grid —— */
.aq-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .aq-cats { grid-template-columns: repeat(6, 1fr); }
}
.aq-cat {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  text-align: center;
  padding: 1.1rem 0.5rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.aq-cat:hover {
  border-color: #c4b5fd;
  box-shadow: var(--aq-shadow);
}
.aq-cat i {
  display: block;
  font-size: 1.55rem;
  color: var(--aq-primary);
  margin-bottom: 0.45rem;
}
.aq-cat strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
}

/* —— Product card —— */
.aq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .aq-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1100px) {
  .aq-grid { grid-template-columns: repeat(4, 1fr); }
}
.aq-card {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.aq-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--aq-shadow);
}
.aq-card-media {
  aspect-ratio: 1;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.aq-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.aq-card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--aq-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}
.aq-card-tag.sale {
  background: #dc2626;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.28);
}
.aq-card-tag.auction { background: #0e7490; }
.aq-card-tag.sold { background: #6b7280; }
.aq-card-price {
  margin-top: auto;
  color: var(--aq-primary);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
}
.aq-card-price .aq-price-was,
.aq-price-was {
  color: #9ca3af;
  font-weight: 700;
  font-size: 0.85em;
  text-decoration: line-through;
}
.aq-card-price .aq-price-now { color: #dc2626; }
.aq-pill-sale { background: #fee2e2; color: #b91c1c; }
.aq-price-stack { display: flex; flex-direction: column; gap: 0.15rem; }
.aq-price-stack .aq-price-lg { color: #dc2626; }
.aq-card-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.aq-card-cat {
  color: var(--aq-muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.aq-card-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.aq-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.aq-card-actions .aq-btn {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.78rem;
}
.aq-card-actions .aq-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

/* —— Homepage deals strip —— */
.aq-deals {
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  padding: 2.4rem 0 2.6rem;
  background:
    radial-gradient(1200px 280px at 80% -20%, rgba(124, 58, 237, 0.45), transparent 60%),
    radial-gradient(900px 240px at 0% 120%, rgba(220, 38, 38, 0.28), transparent 55%),
    linear-gradient(135deg, #0b1020 0%, #1e1b4b 55%, #111827 100%);
  color: #fff;
}
.aq-deals-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 88%);
}
.aq-deals .aq-wrap { position: relative; z-index: 1; }
.aq-deals-head { margin-bottom: 1.2rem; }
.aq-deals-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.2);
  color: #fecaca;
  font-size: 0.75rem;
  font-weight: 800;
}
.aq-deals-head h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 900;
}
.aq-deals-head p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-weight: 700;
}
.aq-deals-track {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.7rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.aq-deals-track::-webkit-scrollbar { height: 6px; }
.aq-deals-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.28);
  border-radius: 99px;
}
.aq-deal {
  flex: 0 0 min(220px, 78vw);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}
.aq-deal:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); color: #fff; }
.aq-deal-off {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  background: #dc2626;
  color: #fff;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.35);
}
.aq-deal-img {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.aq-deal-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.aq-deal-name {
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.aq-deal-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}
.aq-deal-prices s {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}
.aq-deal-prices b {
  color: #fde68a;
  font-size: 1.05rem;
}
.aq-deal-prices small { font-weight: 800; font-size: 0.72rem; }

/* —— Shop layout —— */
.aq-shop {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0 2.5rem;
}
@media (min-width: 992px) {
  .aq-shop { grid-template-columns: 260px 1fr; align-items: start; }
}
.aq-filters {
  background: var(--aq-surface);
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  padding: 1.1rem;
}
.aq-filters h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
}
.aq-filter-group { margin-bottom: 1.1rem; }
.aq-filter-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--aq-muted);
  margin-bottom: 0.45rem;
}
.aq-chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.aq-chip {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: var(--aq-radius-sm, 4px);
  border: 1px solid var(--aq-line);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--aq-ink);
  cursor: pointer;
}
.aq-chip.active,
.aq-chip:hover {
  background: #ede9fe;
  border-color: #c4b5fd;
  color: var(--aq-primary);
}
.aq-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.aq-shop-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.aq-filter-toggle {
  position: relative;
}
.aq-filter-toggle.has-filters {
  border-color: #fecaca;
  color: #b91c1c;
}
.aq-filter-badge {
  position: absolute;
  top: -7px;
  left: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--aq-danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px #fff;
  line-height: 1;
}
.aq-btn-clear-filters {
  background: #fff;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.aq-btn-clear-filters:hover {
  background: #fef2f2;
  color: #991b1b;
}
.aq-chip-clear {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.aq-chip-clear:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}
.aq-shop-toolbar select {
  border: 1px solid var(--aq-line);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font-family: inherit;
  background: #fff;
}

/* —— Product details —— */
.aq-details-page { padding-top: 0.75rem; }
.aq-crumb {
  font-size: 0.78rem;
  color: var(--aq-muted);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.aq-crumb span { color: var(--aq-ink); font-weight: 700; }
.aq-details {
  display: grid;
  gap: 1.5rem;
  padding: 0 0 1.25rem;
}
@media (min-width: 992px) {
  .aq-details {
    direction: ltr;
    grid-template-columns: minmax(420px, 1.2fr) minmax(280px, 0.8fr);
    align-items: start;
    gap: 1.6rem;
  }
  .aq-buybox { direction: rtl; }
}
.aq-gallery {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  padding: 0.55rem;
  min-width: 0;
}
.aq-gallery-stage {
  position: relative;
  flex: 1;
  min-width: 0;
}
.aq-gallery-main {
  position: relative;
  display: block;
  width: 100%;
  height: min(58vw, 340px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}
.aq-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.28s ease;
  pointer-events: none;
}
.aq-gallery-main img.is-zoom { transform: scale(1.7); }
.aq-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--aq-ink);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.aq-gallery-nav.prev { right: 8px; }
.aq-gallery-nav.next { left: 8px; }
.aq-thumbs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.1rem;
  scrollbar-width: thin;
}
.aq-thumbs button {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.aq-thumbs button.active {
  border-color: var(--aq-primary);
  box-shadow: 0 0 0 2px rgba(91, 33, 182, 0.15);
}
.aq-thumbs img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
@media (min-width: 992px) {
  .aq-gallery {
    flex-direction: row;
    padding: 0.65rem;
  }
  .aq-thumbs {
    flex-direction: column;
    width: 68px;
    flex: 0 0 68px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 460px;
  }
  .aq-thumbs button {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }
  .aq-gallery-stage { min-height: 360px; }
  .aq-gallery-main {
    height: min(46vh, 460px);
  }
}
.aq-buybox {
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  padding: 1.05rem 1.15rem 1.2rem;
  box-shadow: var(--aq-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.aq-details-info {
  display: grid;
  gap: 1.25rem;
  padding: 0 0 1.75rem;
}
.aq-details-info .aq-spec,
.aq-details-info .aq-desc {
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  padding: 1.05rem 1.15rem 1.2rem;
  box-shadow: var(--aq-shadow);
}
.aq-attr-boxes {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.aq-attr-boxes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.aq-attr-box {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: 10px;
  text-decoration: none;
  overflow: visible;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.aq-attr-box img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.aq-attr-box-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1);
  display: block;
}
.aq-attr-box-fallback {
  font-size: 0.95rem;
  font-weight: 900;
  color: #5b21b6;
}
.aq-attr-box-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 5;
}
.aq-attr-box-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: #0f172a;
}
.aq-attr-box:hover,
.aq-attr-box:focus-visible {
  border-color: #a78bfa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(91, 33, 182, 0.12);
  outline: none;
}
.aq-attr-box:hover .aq-attr-box-tip,
.aq-attr-box:focus-visible .aq-attr-box-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.aq-buybox h1 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.35;
}
.aq-buy-head { display: flex; flex-direction: column; gap: 0.45rem; }
.aq-buy-deal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: #faf7ff;
  border: 1px solid #ede9fe;
  border-radius: 8px;
}
.aq-buy-deal .aq-price-lg { margin: 0; }
.aq-buy-actions {
  display: grid;
  gap: 0.7rem;
}
.aq-buy-cta { width: 100%; justify-content: center; }
.aq-spec h2,
.aq-desc h2 {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 900;
}
.aq-spec table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--aq-line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.9rem;
}
.aq-spec thead th {
  background: #f3f0ff;
  color: var(--aq-ink);
  font-weight: 900;
  padding: 0.55rem 0.75rem;
  text-align: start;
  border-bottom: 1px solid var(--aq-line);
}
.aq-spec tbody th,
.aq-spec tbody td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--aq-line);
  text-align: start;
  vertical-align: top;
}
.aq-spec tbody th {
  width: 38%;
  color: var(--aq-muted);
  font-weight: 700;
  background: #fafafa;
}
.aq-spec tbody td { font-weight: 800; }
.aq-spec tbody tr:last-child th,
.aq-spec tbody tr:last-child td { border-bottom: 0; }
.aq-spec tbody tr:nth-child(even) td { background: #fcfcfd; }
.aq-desc-body {
  margin: 0;
  color: #2d3348;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.8;
}
.aq-desc-body p {
  margin: 0 0 0.55rem;
}
.aq-desc-body p:last-child { margin-bottom: 0; }
.aq-desc-body p.aq-desc-gap { height: 0.35rem; margin: 0; }
.aq-desc-body strong {
  color: var(--aq-ink);
  font-weight: 700;
}
.aq-desc-body .aq-desc-h {
  margin: 0.15rem 0 0.7rem;
  color: var(--aq-ink);
  font-size: 1rem;
  font-weight: 800;
}
.aq-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(10, 12, 24, 0.92);
  display: grid;
  place-items: center;
  padding: 3.5rem 1rem 2rem;
  backdrop-filter: blur(10px);
}
.aq-lightbox[hidden] { display: none; }
body.aq-lightbox-open { overflow: hidden; }
.aq-lightbox-stage {
  margin: 0;
  max-width: min(920px, 100%);
  max-height: calc(100vh - 7rem);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem;
}
.aq-lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 8.5rem);
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}
.aq-lightbox-stage img.is-zoom {
  transform: scale(1.55);
  cursor: zoom-out;
}
.aq-lightbox-close,
.aq-lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.aq-lightbox-close {
  top: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}
.aq-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
}
.aq-lightbox-nav.prev { right: 16px; }
.aq-lightbox-nav.next { left: 16px; }
.aq-lightbox-dots {
  position: absolute;
  bottom: 16px;
  display: flex;
  gap: 0.4rem;
}
.aq-lightbox-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.aq-lightbox-dots button.active { background: #fff; width: 18px; }
.aq-price-lg {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--aq-primary);
  margin: 0;
}
.aq-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.aq-pill {
  background: #f3f4f6;
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--aq-muted);
}
.aq-pill-auction { background: #cffafe; color: #0e7490; }
.aq-pill-warn { background: #fee2e2; color: #b91c1c; }
.aq-auction-box {
  background: linear-gradient(145deg, #1e1b4b, #312e81);
  color: #fff;
  border-radius: var(--aq-radius);
  padding: 1rem;
}
.aq-auction-box .aq-price-lg { color: var(--aq-accent-soft); margin: 0.25rem 0 0.45rem; }
.aq-auction-kicker { font-weight: 800; }
.aq-auction-end { opacity: .85; font-size: .85rem; margin-bottom: .75rem; }
.aq-auction-form { display: flex; flex-direction: column; gap: 0.5rem; }
.aq-auction-form label { font-size: 0.85rem; }
.aq-auction-closed { color: #fbbf24; }

/* —— Quantity picker (product details) —— */
.aq-qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.aq-qty-label { font-weight: 800; }
.aq-qty-stock { font-size: 0.85rem; color: var(--aq-ok); font-weight: 800; }
.aq-qty-stock.is-out { color: var(--aq-danger); }
.aq-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  overflow: hidden;
  background: #fff;
}
.aq-qty button {
  width: 42px;
  border: 0;
  background: #f3f4f6;
  color: var(--aq-primary);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.aq-qty button:hover { background: #e9e7f5; }
.aq-qty button:active { transform: scale(0.96); }
.aq-qty input {
  width: 64px;
  border: 0;
  border-inline: 1px solid var(--aq-line);
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  padding: 0.6rem 0.25rem;
  color: var(--aq-ink);
  -moz-appearance: textfield;
}
.aq-qty input::-webkit-outer-spin-button,
.aq-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.aq-qty input:focus { outline: none; }

/* —— Page heroes (about/contact) —— */
.aq-page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 16, 32, 0.42) 0%, rgba(30, 27, 75, 0.28) 100%),
    url("/images/abar-hero.png") center / cover no-repeat;
  color: #fff;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.aq-page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
}
.aq-page-hero p {
  margin: 0 auto;
  max-width: 560px;
  opacity: 0.9;
}

.aq-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--aq-muted);
  background: #fff;
  border: 1px dashed var(--aq-line);
  border-radius: var(--aq-radius);
}

/* —— Side cart (cart-ui.js) —— */
.gr-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1270;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.gr-cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.gr-cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1280;
  width: min(360px, 94vw);
  background: #fff;
  box-shadow: 0 0 40px rgba(0,0,0,.18);
  transform: translateX(-105%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.gr-cart-drawer.is-open { transform: translateX(0); }
.gr-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--aq-line);
  background: linear-gradient(135deg, #f8f5ff, #fff);
}
.gr-cart-head strong { display: block; font-size: 1.05rem; }
.gr-cart-head small { color: var(--aq-muted); }
.gr-cart-scroll { flex: 1; overflow: auto; }
.gr-cart-body { padding: 1rem; }
.gr-cart-empty { text-align: center; padding: 2.2rem 0.75rem; color: var(--aq-muted); }
.gr-cart-empty i { font-size: 2.2rem; color: var(--aq-primary); display: block; margin-bottom: 0.75rem; }
.gr-cart-empty h6 { color: var(--aq-ink); font-weight: 800; margin: 0 0 0.4rem; }
.gr-cart-empty p { font-size: 0.88rem; margin: 0 0 1rem; line-height: 1.55; }
.gr-cart-shop,
.gr-cart-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  border: 1px solid var(--aq-line);
  background: #fff;
  color: var(--aq-ink);
  border-radius: var(--aq-radius);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}
.gr-cart-shop:hover,
.gr-cart-continue:hover {
  background: #f3f0ff;
  border-color: #ddd6fe;
  color: var(--aq-primary);
}
.gr-cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.65rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--aq-line);
}
.gr-cart-thumb {
  width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #f3f4f6;
  display: grid; place-items: center; color: var(--aq-muted);
}
.gr-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gr-cart-name { font-weight: 800; font-size: 0.88rem; display: block; margin-bottom: 0.25rem; }
.gr-cart-unit { font-size: 0.78rem; color: var(--aq-muted); display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.gr-cart-now { color: var(--aq-primary); font-weight: 800; }
.gr-cart-was { text-decoration: line-through; opacity: 0.7; }
.gr-cart-ws {
  background: #ecfeff;
  color: #0e7490;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
}
.gr-cart-qty { display: flex; align-items: center; gap: 0.3rem; margin-top: 0.45rem; }
.gr-cart-qty button,
.gr-cart-qty input {
  border: 1px solid var(--aq-line);
  background: #fff;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  text-align: center;
  font-family: inherit;
  font-weight: 800;
  color: var(--aq-ink);
  cursor: pointer;
}
.gr-cart-qty button:hover { background: #f3f0ff; border-color: #ddd6fe; color: var(--aq-primary); }
.gr-cart-qty input { width: 42px; cursor: text; }
.gr-cart-remove {
  color: var(--aq-danger) !important;
  border-color: transparent !important;
  background: #fef2f2 !important;
  width: 30px !important;
}
.gr-cart-remove:hover { background: #fee2e2 !important; }
.gr-cart-line { font-weight: 800; font-size: 0.85rem; color: var(--aq-primary); white-space: nowrap; }
.gr-cart-foot {
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid var(--aq-line);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.gr-cart-save {
  background: #ecfdf5;
  color: var(--aq-ok);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}
.gr-cart-sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  margin: 0;
}
.gr-cart-sum strong { color: var(--aq-primary); font-size: 1.05rem; }
.gr-cart-tip,
.gr-cart-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--aq-muted);
  line-height: 1.45;
  text-align: center;
}
.gr-cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  background: var(--aq-primary);
  color: #fff !important;
  padding: 0.85rem;
  border-radius: 6px;
  font-weight: 800;
  border: 0;
}
.gr-cart-checkout:hover { background: var(--aq-primary-2); color: #fff !important; }
.gr-fly {
  position: fixed; z-index: 3000; border-radius: 6px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); pointer-events: none; object-fit: cover; background: #fff;
}

/* Advanced shop filters */
.aq-filters-advanced { position: sticky; top: 88px; }
.aq-filters-head { display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:.85rem; }
.aq-filters-head h3 { margin:0; font-size:1rem; font-weight:900; display:inline-flex; align-items:center; gap:.45rem; }
.aq-filters-head h3 .aq-filter-badge { position:static; box-shadow:none; }
.aq-clear { color: var(--aq-danger); font-size:.8rem; font-weight:800; }
.aq-filter-form .aq-filter-group { margin-bottom:1rem; }
.aq-filter-form .aq-btn-clear-filters { margin-top:.5rem; }
.aq-filter-form label { display:block; font-size:.78rem; font-weight:800; color:var(--aq-muted); margin-bottom:.4rem; }
.aq-input { width:100%; border:1px solid var(--aq-line); border-radius:var(--aq-radius); padding:.55rem .7rem; font-family:inherit; font-size:.9rem; background:#fff; }
.aq-price-row { display:grid; grid-template-columns:1fr auto 1fr; gap:.4rem; align-items:center; }
.aq-quick-prices { display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.5rem; }
.aq-check { display:flex !important; align-items:center; gap:.45rem; font-size:.86rem; font-weight:700; margin-bottom:.45rem; cursor:pointer; color:var(--aq-ink); }
.aq-active-filters { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1rem; }
@media (max-width: 991px) {
  .aq-filters-advanced { display:none; position:static; }
  .aq-filters-advanced.is-open { display:block; margin-bottom:1rem; }
}

/* Force store offcanvas above sticky header, narrow enough to leave a tap target */
body.aq-body .offcanvas-backdrop {
  z-index: 1250 !important;
  background: rgba(15, 23, 42, 0.5);
}
body.aq-body .offcanvas {
  z-index: 1260 !important;
}
body.aq-body #aqMenu.offcanvas {
  --bs-offcanvas-width: min(78vw, 320px);
  width: min(78vw, 320px);
}
body.aq-body .aq-search-canvas.offcanvas-top {
  border-bottom: 1px solid var(--aq-line);
  box-shadow: var(--aq-shadow);
}

/* —— Auth (login) —— */
.aq-auth {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 2.5rem 1rem;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(124, 58, 237, 0.12), transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(8, 145, 178, 0.1), transparent 40%),
    var(--aq-bg);
}
.aq-auth-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius-lg);
  box-shadow: var(--aq-shadow);
  padding: 1.75rem 1.5rem 1.5rem;
}
.aq-auth-lockup {
  margin: -1.75rem -1.5rem 1.15rem;
  overflow: hidden;
  border-radius: var(--aq-radius-lg) var(--aq-radius-lg) 0 0;
  background: #1e1b4b;
}
.aq-auth-lockup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.aq-auth-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--aq-line);
}
.aq-auth-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.aq-auth-brand strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
}
.aq-auth-brand span {
  display: block;
  color: var(--aq-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.aq-auth-form { display: flex; flex-direction: column; gap: 0.35rem; }
.aq-auth-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--aq-muted);
  margin-top: 0.55rem;
}
.aq-auth-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  background: var(--aq-bg);
  padding: 0 0.75rem;
}
.aq-auth-field:focus-within {
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  background: #fff;
}
.aq-auth-field i { color: var(--aq-primary); opacity: 0.8; }
.aq-auth-field input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.8rem 0;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
}
.aq-auth-eye {
  border: 0;
  background: transparent;
  color: var(--aq-muted);
  padding: 0.25rem;
  cursor: pointer;
}
.aq-auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.aq-auth-row a { color: var(--aq-primary); }
.aq-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  margin: 0;
}
.aq-auth-submit { width: 100%; margin-top: 0.65rem; padding: 0.85rem; }
.aq-auth-foot {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--aq-muted);
}
.aq-auth-foot a { color: var(--aq-primary); }
.aq-auth-error {
  color: var(--aq-danger);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0.15rem 0;
}
.aq-auth-ok {
  background: #ecfdf5;
  color: var(--aq-ok);
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* —— Account page —— */
.aq-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--aq-accent);
  text-transform: uppercase;
}
.aq-account-page {
  width: min(980px, calc(100% - 1.5rem));
  margin: 1.5rem auto 3rem;
}
.aq-account-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.25rem;
  border-radius: var(--aq-radius-lg);
  background:
    linear-gradient(135deg, rgba(91, 33, 182, 0.95), rgba(8, 145, 178, 0.88)),
    #5b21b6;
  color: #fff;
  box-shadow: var(--aq-shadow);
  margin-bottom: 1rem;
}
.aq-account-hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
}
.aq-account-email {
  margin: 0.25rem 0 0;
  opacity: 0.9;
  font-size: 0.9rem;
  font-weight: 600;
}
.aq-account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.aq-account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}
@media (max-width: 640px) {
  .aq-account-stats { grid-template-columns: 1fr; }
}
.aq-account-stat {
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  padding: 0.9rem 1rem;
  text-align: center;
}
.aq-account-stat strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--aq-primary);
}
.aq-account-stat span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--aq-muted);
}
.aq-account-admin {
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius-lg);
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1rem;
}
.aq-account-admin h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 900;
}
.aq-account-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}
.aq-account-admin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  border-radius: var(--aq-radius);
  background: linear-gradient(180deg, #f8f5ff, #fff);
  border: 1px solid #ede9fe;
  font-weight: 800;
  font-size: 0.88rem;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.aq-account-admin-card i {
  font-size: 1.35rem;
  color: var(--aq-primary);
}
.aq-account-admin-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--aq-shadow);
  color: var(--aq-primary);
}
.aq-account-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
}
@media (max-width: 800px) {
  .aq-account-grid { grid-template-columns: 1fr; }
}
.aq-account-panel {
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius-lg);
  padding: 1.15rem;
}
.aq-account-panel-head {
  margin-bottom: 1rem;
}
.aq-account-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
}
.aq-account-panel-head span {
  display: block;
  margin-top: 0.2rem;
  color: var(--aq-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.aq-account-hint {
  margin: 0.85rem 0 0;
  color: var(--aq-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
.aq-account-empty {
  text-align: center;
  padding: 1.75rem 0.5rem;
  color: var(--aq-muted);
}
.aq-account-empty i {
  font-size: 1.8rem;
  color: var(--aq-primary);
  display: block;
  margin-bottom: 0.5rem;
}
.aq-account-orders {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.aq-account-order {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--aq-line);
  border-radius: var(--aq-radius);
  background: var(--aq-bg);
}
.aq-account-order strong { font-weight: 900; }
.aq-account-order > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
}
.aq-account-order > div:first-child span { color: var(--aq-muted); font-weight: 600; }
.aq-account-order-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.aq-account-status {
  background: #ede9fe;
  color: var(--aq-primary);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
}
.aq-account-order-link {
  color: var(--aq-primary);
  font-weight: 800;
  font-size: 0.85rem;
}
.aq-account-logout-wrap {
  margin-top: 1.25rem;
  text-align: center;
}

/* —— Checkout success —— */
.aq-success {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 2.5rem 1rem 3.5rem;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(124, 58, 237, 0.18), transparent 55%),
    radial-gradient(ellipse at 90% 80%, rgba(8, 145, 178, 0.12), transparent 45%),
    var(--aq-bg);
}
.aq-success-glow {
  position: absolute;
  inset: 10% 20% auto;
  height: 220px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.aq-success-inner {
  position: relative;
  width: min(520px, 100%);
  text-align: center;
}
.aq-success-mark {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #7c3aed, #5b21b6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  box-shadow: 0 16px 40px rgba(91, 33, 182, 0.35);
  animation: aqSuccessPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.aq-success-ring {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
}
.aq-success-ring circle {
  fill: none;
  stroke: rgba(124, 58, 237, 0.35);
  stroke-width: 3;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: aqSuccessRing 1s ease 0.2s forwards;
}
.aq-success-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aq-accent);
}
.aq-success h1 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 900;
  color: var(--aq-ink);
  line-height: 1.25;
  animation: aqSuccessUp 0.5s ease 0.1s both;
}
.aq-success-lead {
  margin: 0.65rem auto 1.35rem;
  max-width: 36ch;
  color: var(--aq-muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  animation: aqSuccessUp 0.5s ease 0.18s both;
}
.aq-success-ticket {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid #ddd6fe;
  border-radius: 10px;
  box-shadow: var(--aq-shadow);
  animation: aqSuccessUp 0.5s ease 0.25s both;
}
.aq-success-ticket span {
  color: var(--aq-muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.aq-success-ticket strong {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--aq-primary);
  letter-spacing: 0.02em;
}
.aq-success-copy {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f3f0ff;
  color: var(--aq-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.aq-success-copy:hover { background: #ede9fe; }

.aq-success-signup {
  position: relative;
  text-align: start;
  padding: 1.15rem 1.2rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(140deg, #ffffff 0%, #f8f5ff 100%);
  border: 2px solid var(--aq-primary);
  box-shadow: 0 16px 36px rgba(91, 33, 182, 0.18);
  animation: aqSuccessUp 0.5s ease 0.3s both;
}
.aq-success-signup-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.aq-success-signup-head i {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #7c3aed, #5b21b6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.aq-success-signup-head strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--aq-ink);
}
.aq-success-signup-head span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aq-muted);
  line-height: 1.45;
}
.aq-success-signup-perks {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.aq-success-signup-perks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--aq-ink);
}
.aq-success-signup-perks i { color: var(--aq-ok); }
.aq-success-signup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: var(--aq-radius);
  background: linear-gradient(135deg, var(--aq-primary-2), var(--aq-primary));
  color: #fff !important;
  font-weight: 900;
  font-size: 1.02rem;
  box-shadow: 0 12px 26px rgba(91, 33, 182, 0.32);
}
.aq-success-signup-cta:hover { filter: brightness(1.06); color: #fff !important; }
.aq-success-signup-note {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--aq-muted);
}
.aq-success-signup-note a { color: var(--aq-primary); }

.aq-success-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  text-align: start;
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: 10px;
  overflow: hidden;
  animation: aqSuccessUp 0.5s ease 0.32s both;
}
.aq-success-steps li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--aq-line);
}
.aq-success-steps li:last-child { border-bottom: 0; }
.aq-success-steps li.is-now {
  background: linear-gradient(90deg, #f8f5ff, #fff);
}
.aq-success-step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--aq-bg);
  color: var(--aq-muted);
  font-weight: 900;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.aq-success-steps li.is-now .aq-success-step-num {
  background: var(--aq-primary);
  color: #fff;
}
.aq-success-steps strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--aq-ink);
}
.aq-success-steps small {
  display: block;
  margin-top: 0.15rem;
  color: var(--aq-muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.aq-success-steps em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--aq-primary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.aq-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  animation: aqSuccessUp 0.5s ease 0.4s both;
}
.aq-success-actions .aq-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.1rem;
}
.aq-btn-wa {
  background: #25d366;
  color: #fff !important;
  border: 0;
  border-radius: var(--aq-radius);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.aq-btn-wa:hover { filter: brightness(1.05); color: #fff !important; }

@keyframes aqSuccessPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes aqSuccessRing {
  to { stroke-dashoffset: 0; }
}
@keyframes aqSuccessUp {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 520px) {
  .aq-success-actions { flex-direction: column; }
  .aq-success-actions .aq-btn { width: 100%; justify-content: center; }
}

/* Brand / attribute discovery strips */
.aq-brands-section { background: #fff; border-block: 1px solid var(--aq-line); }
.aq-brand-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.aq-brand-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--aq-ink);
  font-weight: 800;
  font-size: 0.78rem;
  text-align: center;
}
.aq-brand-chip img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--aq-line);
  border-radius: 10px;
  padding: 8px;
}
.aq-brand-chip:hover img { border-color: #a78bfa; }
.aq-attr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
}
.aq-attr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.75rem;
  background: #fff;
  border: 1px solid var(--aq-line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--aq-ink);
  font-weight: 800;
  text-align: center;
}
.aq-attr-card:hover { border-color: #a78bfa; }
.aq-attr-logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aq-attr-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.aq-attr-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.08);
  display: inline-block;
}
