:root {
  --bg: #0d1118;
  --bg-soft: #141b25;
  --panel: #151d29;
  --panel-2: #101827;
  --panel-3: #0d1623;
  --text: #e9f0fb;
  --muted: #93a4bc;
  --brand: #1ec18d;
  --brand-strong: #0fa976;
  --accent: #48b7ff;
  --accent-soft: #7cd1ff;
  --accent-warm: #ffd16e;
  --line: #273447;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.26);
  --glow: 0 0 0 1px rgba(137, 201, 255, 0.2), 0 14px 38px rgba(8, 17, 28, 0.42);
  --content-max: 1500px;
  --content-gutter: clamp(14px, 2.1vw, 30px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Bahnschrift, "Trebuchet MS", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  direction: ltr;
  text-align: left;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background:
    radial-gradient(circle at 10% -8%, rgba(72, 183, 255, 0.2), transparent 34%),
    radial-gradient(circle at 90% -4%, rgba(30, 193, 141, 0.14), transparent 26%),
    radial-gradient(circle at 50% 110%, rgba(23, 86, 142, 0.18), transparent 36%),
    linear-gradient(180deg, #090f16 0%, #0b1119 52%, #0a0f15 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  z-index: -1;
}

::selection {
  background: rgba(84, 181, 255, 0.3);
  color: #eef8ff;
}

html[dir="ltr"],
body.force-ltr {
  direction: ltr !important;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.45rem, 2.25vw, 2rem);
}

h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
}

.container {
  width: min(var(--content-max), calc(100vw - (var(--content-gutter) * 2)));
  margin: 0 auto;
}

.promo-bar {
  border-bottom: 1px solid #2d4b6f;
  background: linear-gradient(90deg, #0e2b45, #123f36 58%, #114c5c);
  box-shadow: inset 0 -1px 0 rgba(120, 177, 225, 0.16);
}

.promo-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.promo-inner p {
  margin: 0;
  color: #d0e8ff;
  font-weight: 600;
}

.promo-actions {
  display: flex;
  align-items: center;
}

.countdown-blocks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-block {
  min-width: 62px;
  border: 1px solid #3d5b81;
  border-radius: 10px;
  background: #0f2034;
  display: grid;
  gap: 2px;
  place-items: center;
  padding: 6px 8px;
}

.time-block strong {
  color: #d2efff;
  font-size: 1rem;
}

.time-block span {
  font-size: 0.63rem;
  color: #8fb6da;
  letter-spacing: 0.4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(10, 15, 23, 0.95), rgba(10, 15, 23, 0.78));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand,
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid rgba(127, 179, 228, 0.38);
  background: linear-gradient(145deg, rgba(13, 23, 38, 0.92), rgba(18, 33, 52, 0.92));
  box-shadow:
    0 0 0 1px rgba(82, 136, 188, 0.16) inset,
    0 10px 20px rgba(0, 0, 0, 0.35),
    0 0 14px rgba(88, 209, 255, 0.2);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-main {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 1.45px;
  color: #eaf6ff;
  text-shadow: 0 1px 9px rgba(73, 154, 214, 0.35);
}

.brand-sub {
  font-size: 0.76rem;
  letter-spacing: 1.7px;
  color: #91d3f7;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.currency-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.language-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.currency-label {
  font-size: 0.75rem;
  color: #88a0bd;
}

.language-label {
  font-size: 0.75rem;
  color: #88a0bd;
}

.currency-switcher {
  background: #101b2a;
  color: #dbe9fb;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 6px 8px;
  font-weight: 700;
}

.language-switcher {
  background: #101b2a;
  color: #dbe9fb;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 6px 8px;
  font-weight: 700;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(180deg, #17273a, #142234);
  color: #f2f7ff;
  border-color: #345678;
  box-shadow: 0 8px 20px rgba(8, 16, 26, 0.34);
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  border-radius: 999px;
  background: #24364f;
  color: #bde6ff;
  font-size: 0.75rem;
  padding: 0 6px;
  margin-inline-start: 6px;
}

#wishlist-link,
#compare-link {
  display: inline-flex;
  align-items: center;
}

.hero {
  padding: 92px 0 70px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(67, 157, 235, 0.12), transparent),
    radial-gradient(520px 220px at 100% 10%, rgba(37, 172, 130, 0.12), transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(2vw, 12px);
  bottom: 14px;
  width: min(44vw, 580px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 182, 235, 0.45), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(24px, 3vw, 54px);
  align-items: center;
}

.hero h1,
h1,
h2,
h3 {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  margin: 0 0 14px;
  line-height: 1.03;
  text-wrap: balance;
}

.hero p {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 62ch;
}

.hero-persona {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(92, 162, 220, 0.45);
  background: linear-gradient(180deg, rgba(15, 34, 54, 0.8), rgba(14, 27, 42, 0.66));
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
}

.hero-banner {
  background:
    linear-gradient(135deg, rgba(18, 34, 54, 0.9), rgba(15, 63, 80, 0.86)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  color: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(110, 169, 219, 0.34);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto -28% -46% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 209, 255, 0.26), transparent 62%);
  pointer-events: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.hero-stats article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(209, 238, 255, 0.18);
}

.section {
  padding: 52px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.grid > * {
  opacity: 0;
  transform: translateY(12px);
  animation: cardEnter 0.45s ease forwards;
}

.grid > *:nth-child(2) {
  animation-delay: 0.05s;
}

.grid > *:nth-child(3) {
  animation-delay: 0.1s;
}

.grid > *:nth-child(4) {
  animation-delay: 0.15s;
}

.grid > *:nth-child(5) {
  animation-delay: 0.2s;
}

.grid > *:nth-child(6) {
  animation-delay: 0.25s;
}

.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #192638 0%, #141d2c 66%, #121a27 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: 240ms ease;
  position: relative;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 46%, rgba(120, 197, 255, 0.1) 52%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-card img,
.product-view img,
.cart-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.product-card img {
  transition: transform 320ms ease, filter 320ms ease;
}

.product-card:hover {
  border-color: #5b88b7;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(89, 149, 208, 0.28) inset;
}

.product-card:hover::before {
  transform: translateX(120%);
}

.product-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.category {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7acfff;
  margin: 0;
}

.chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  background: linear-gradient(180deg, #223449, #1a2a3d);
  color: #b8d8f7;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid #334f6d;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.product-meta strong {
  color: var(--text);
  font-size: 1.15rem;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.preference-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pref-btn {
  border: 1px solid #35506f;
  border-radius: 999px;
  background: #101d2e;
  color: #bad2ee;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 10px;
  cursor: pointer;
}

.pref-btn.active,
.pref-btn:hover {
  border-color: #6fd0ff;
  color: #ffffff;
  background: #173450;
}

.rating-widget {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #32455f;
}

.rating-stars {
  display: flex;
  gap: 6px;
  margin: 6px 0;
}

.rating-breakdown {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.rating-cooldown {
  color: #ffca8b;
  font-weight: 700;
}

.rating-cooldown.ready {
  color: #9ae8bd;
}

.rating-row {
  display: grid;
  grid-template-columns: 36px 1fr 34px;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  color: #b8c8dc;
}

.rating-bar {
  border: 1px solid #334b68;
  border-radius: 999px;
  height: 9px;
  background: #0d1624;
  overflow: hidden;
}

.rating-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #60b8ff, #ffd46f);
}

.rating-star {
  border: 1px solid #3a5576;
  border-radius: 8px;
  background: #0f1b2b;
  color: #8da3be;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 6px 8px;
}

.rating-star:hover,
.rating-star.active {
  color: #ffd46f;
  border-color: #ffd46f;
  background: #2a2212;
}

.rating-lock-note {
  font-size: 0.72rem;
  color: #f0c58f;
}

.btn {
  border: 0;
  background: linear-gradient(135deg, #31dba4, #18ae80);
  color: #072218;
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 22px rgba(14, 72, 53, 0.34), 0 0 0 1px rgba(214, 255, 241, 0.2) inset;
}

.btn:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
}

.btn-ghost {
  background: linear-gradient(180deg, rgba(13, 25, 39, 0.84), rgba(13, 25, 39, 0.44));
  color: #d8e5f7;
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #16283d;
  border-color: #4a759f;
}

.btn-small {
  padding: 8px 12px;
}

.page-hero {
  padding: 26px 24px;
  border: 1px solid rgba(66, 105, 143, 0.45);
  background:
    linear-gradient(160deg, rgba(19, 33, 50, 0.88), rgba(13, 23, 35, 0.82)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.tebex-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.about-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -110px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(63, 171, 255, 0.2), transparent 62%);
  pointer-events: none;
}

.about-hero-actions {
  margin-top: 14px;
}

.about-hero-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-hero-stats article {
  border: 1px solid rgba(76, 126, 176, 0.45);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(15, 29, 46, 0.8), rgba(11, 20, 31, 0.72));
  display: grid;
  gap: 2px;
}

.about-hero-stats strong {
  font-size: 1.2rem;
  color: #eff8ff;
}

.about-hero-stats span {
  color: #9eb8d5;
  font-size: 0.78rem;
  font-weight: 700;
}

.about-split {
  margin-bottom: 16px;
}

.about-card {
  border-radius: 16px;
}

.about-roadmap {
  margin-bottom: 16px;
}

.about-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-step {
  border: 1px solid rgba(73, 120, 169, 0.46);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(15, 28, 44, 0.8), rgba(10, 18, 28, 0.72));
}

.about-step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  color: #d8efff;
  border: 1px solid #4c7bab;
  background: linear-gradient(180deg, #19344f, #162a40);
}

.about-step h3 {
  margin: 10px 0 6px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-pillar {
  border-radius: 14px;
  min-height: 170px;
}

.contact-hero {
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: auto -130px -120px auto;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(44, 195, 154, 0.18), transparent 62%);
  pointer-events: none;
}

.contact-hero-points {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-layout {
  align-items: start;
}

.contact-form-shell {
  border-radius: 16px;
}

.contact-form-shell h3 {
  margin: 0;
}

.contact-form-shell textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-note {
  font-size: 0.78rem;
}

.contact-side {
  display: grid;
  gap: 12px;
}

.contact-info-card {
  border-radius: 14px;
}

.contact-prep-list {
  margin: 0;
  padding-inline-start: 18px;
  display: grid;
  gap: 6px;
}

.cart-hero {
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.cart-hero::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(85, 184, 255, 0.2), transparent 64%);
  pointer-events: none;
}

.cart-hero-points {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-hero-actions {
  margin-top: 12px;
}

.cart-layout-enhanced {
  align-items: start;
}

.cart-main-col {
  display: grid;
  gap: 12px;
}

.cart-summary-panel {
  position: sticky;
  top: 98px;
}

.cart-empty-box {
  border: 1px dashed #3c5f84;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(14, 27, 43, 0.78), rgba(10, 19, 29, 0.68));
}

.cart-empty-box h3 {
  margin: 0 0 8px;
}

.qty-input {
  width: 62px;
  border: 1px solid #355473;
  border-radius: 999px;
  background: #102034;
  color: #e8f2ff;
  padding: 6px 10px;
  text-align: center;
  font-weight: 800;
}

.qty-input:focus {
  outline: none;
  border-color: #69bdf7;
  box-shadow: 0 0 0 3px rgba(80, 164, 228, 0.2);
}

.cart-coupon-box {
  border: 1px solid #345679;
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(14, 29, 45, 0.72), rgba(10, 20, 32, 0.62));
  margin-bottom: 6px;
}

.cart-coupon-box label {
  display: block;
  font-size: 0.78rem;
  color: #a4bed8;
  font-weight: 700;
  margin-bottom: 6px;
}

.cart-coupon-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-coupon-row input {
  flex: 1 1 180px;
  min-width: 0;
  border: 1px solid #355675;
  border-radius: 10px;
  background: #0f1d2f;
  color: #e8f3ff;
  padding: 9px 10px;
}

.cart-coupon-note {
  margin-top: 7px;
  font-size: 0.76rem;
}

#checkout-coupon-row {
  display: none;
}

.cart-recommendations h3 {
  margin: 0 0 4px;
}

.cart-reco-grid {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.cart-reco-card {
  border: 1px solid #2f4e6d;
  border-radius: 12px;
  padding: 8px;
  background: #101b2a;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  align-items: center;
}

.cart-reco-card img {
  width: 82px;
  height: 74px;
  border-radius: 9px;
  object-fit: cover;
}

.cart-reco-card h4 {
  margin: 0;
}

.checkout-hero {
  margin-bottom: 16px;
}

.checkout-hero-points {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkout-layout-enhanced {
  align-items: start;
}

.checkout-form-shell {
  border-radius: 16px;
}

.checkout-form-shell h3 {
  margin: 0;
}

.checkout-provider-lock {
  border: 1px solid #3c6387;
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(16, 34, 52, 0.78), rgba(12, 25, 39, 0.68));
}

.checkout-provider-lock p {
  margin: 0 0 4px;
}

.checkout-provider-lock strong {
  font-size: 1rem;
  color: #dff3ff;
}

.checkout-summary-panel {
  position: sticky;
  top: 98px;
}

.top-categories {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 4px;
}

.top-category {
  border: 1px solid #385270;
  border-radius: 999px;
  padding: 8px 12px;
  color: #bad5f3;
  background: #101b2a;
  font-weight: 700;
  white-space: nowrap;
}

.top-category span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #15283f;
  margin-inline-end: 6px;
  font-size: 0.68rem;
}

.top-category.active,
.top-category:hover {
  color: #fff;
  border-color: #54b4ff;
  background: #143352;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  border: 1px solid rgba(66, 105, 143, 0.42);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: linear-gradient(180deg, rgba(15, 27, 42, 0.82), rgba(12, 22, 34, 0.7));
}

.filters-advanced {
  width: 100%;
  display: grid;
  gap: 10px;
}

.framework-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.framework-filter label {
  border: 1px solid #325171;
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #112238, #0f1d30);
  color: #c6dcf5;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 82px;
  justify-content: center;
  transition: 0.2s ease;
}

.framework-filter input {
  width: 16px;
  height: 16px;
  margin: 0;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #4e6f93;
  border-radius: 5px;
  background: #0d1a2a;
  display: inline-grid;
  place-items: center;
  transition: 0.2s ease;
}

.framework-filter input::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 9px;
  border-right: 2px solid #dff3ff;
  border-bottom: 2px solid #dff3ff;
  transform: translate(-50%, -58%) rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}

.framework-filter input:checked {
  border-color: #69bbf2;
  background: linear-gradient(180deg, #2a8fcd, #1f74ac);
  box-shadow: 0 0 0 2px rgba(72, 160, 226, 0.1);
}

.framework-filter input:checked::before {
  transform: translate(-50%, -58%) rotate(45deg) scale(1);
}

.framework-filter label:hover {
  border-color: #4f7aa4;
  background: linear-gradient(180deg, #132740, #102239);
}

.framework-filter label:has(input:checked) {
  border-color: #56ace8;
  color: #ecf7ff;
  background: linear-gradient(180deg, #17314f, #132842);
  box-shadow:
    0 0 0 1px rgba(121, 195, 245, 0.18) inset,
    0 6px 14px rgba(14, 34, 56, 0.26);
}

.framework-filter label:active {
  transform: translateY(1px);
}

.price-filter {
  display: grid;
  gap: 8px;
  color: #c3d9f2;
  font-weight: 700;
}

.filters input,
.filters select,
form input,
form textarea,
form select {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111926;
  color: var(--text);
  padding: 12px;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.filters input:focus,
.filters select:focus,
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: #4f86b8;
  box-shadow: 0 0 0 3px rgba(72, 151, 214, 0.2);
  background: #101d2d;
}

input[type="range"] {
  accent-color: #5cc4ff;
}

input::placeholder,
textarea::placeholder {
  color: #7788a1;
}

.product-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.product-view img {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
}

.large strong {
  font-size: 1.7rem;
}

.cart-layout,
.checkout-layout,
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.admin-products {
  display: grid;
  gap: 10px;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101a29;
  padding: 10px;
}

.admin-card.admin-card-changed {
  border-color: #49b8ff;
  box-shadow: 0 0 0 1px rgba(73, 184, 255, 0.45) inset;
}

.admin-card p {
  margin: 0 0 6px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.admin-log {
  display: grid;
  gap: 8px;
}

.admin-log-item {
  position: relative;
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.admin-log-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: #4fc2ff;
  box-shadow: 0 0 0 3px rgba(79, 194, 255, 0.15);
}

.admin-log-body {
  display: grid;
  gap: 2px;
}

.admin-log-item p {
  margin: 4px 0;
}

.admin-tools-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.admin-tools-row select {
  min-width: 160px;
}

.admin-tools-row input[type="search"] {
  min-width: 220px;
  flex: 1;
}

.admin-tools-row .muted {
  margin: 0;
  align-self: center;
}

.admin-snapshot-diff {
  margin-bottom: 10px;
  padding: 10px;
}

.admin-snapshot-diff p {
  margin: 4px 0;
}

.admin-rating-chart {
  height: 84px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  align-items: end;
  background: #0f1826;
  margin-bottom: 8px;
}

.admin-rating-bar {
  min-height: 2px;
  border-radius: 6px 6px 2px 2px;
}

.admin-rating-bar.set {
  background: linear-gradient(180deg, #54c8ff, #2f7fb5);
}

.admin-rating-bar.clear {
  background: linear-gradient(180deg, #7af0b9, #2f9d74);
  opacity: 0.75;
}

.field-chip {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  margin: 2px 4px 2px 0;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #162235;
  color: #cde8ff;
}

.field-chip.price,
.field-chip.oldPrice {
  background: #1a2b1e;
  color: #aef5c0;
}

.field-chip.rating {
  background: #2a2316;
  color: #ffe1a1;
}

.field-chip.frameworks,
.field-chip.badges {
  background: #1b2134;
  color: #c9d3ff;
}

.field-chip.description,
.field-chip.shortDescription {
  background: #2a1d22;
  color: #ffc2d0;
}

.admin-restore-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 16, 0.72);
  display: grid;
  place-items: center;
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.admin-restore-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.admin-restore-modal-card {
  width: min(640px, 92vw);
  max-height: 82vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101a29;
  padding: 14px;
}

.admin-restore-content {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-restore-content ul {
  margin: 0;
  padding-inline-start: 18px;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-lock {
  margin-bottom: 16px;
}

.admin-locked-hidden {
  display: none;
}

#admin-lock .product-actions {
  align-items: center;
}

#admin-lock input {
  max-width: 260px;
}

.cart-panel,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #182334, #121a27 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.cart-row {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.cart-row img {
  border-radius: 10px;
  height: 84px;
}

.cart-v2-row {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #111a28;
  padding: 10px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.cart-v2-row img {
  width: 120px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-v2-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.qty-pill {
  min-width: 32px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: #c7d8ee;
  background: #0f1d2d;
}

.line-total {
  color: #9db2cc;
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.site-footer {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.7), rgba(8, 12, 18, 0.92)),
    radial-gradient(circle at 70% 0%, rgba(60, 116, 175, 0.15), transparent 36%);
  box-shadow: inset 0 1px 0 rgba(154, 203, 255, 0.08);
}

.legal-note {
  margin: 12px 0 0;
  font-size: 0.79rem;
  line-height: 1.4;
  color: #788da8;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 26px;
}

#toast-host {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 8px;
  z-index: 40;
}

.toast {
  background: linear-gradient(180deg, #0f1a29, #0d1623);
  color: #fff;
  padding: 11px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  animation: slideUp 240ms ease;
  border: 1px solid rgba(87, 140, 196, 0.42);
}

.toast.hide {
  opacity: 0;
  transform: translateY(5px);
  transition: 300ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 420ms ease forwards;
}

.store-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 98px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #152132, #101722),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.side-panel h3 {
  margin-top: 0;
}

.side-links {
  display: grid;
  gap: 8px;
}

.side-link {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  color: #bbcae1;
  font-weight: 600;
  background: #101928;
}

.side-link:hover,
.side-link.active {
  border-color: #38608b;
  color: #ffffff;
  background: #15263c;
}

.store-count {
  margin: 0 0 12px;
}

.quick-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-price-btn {
  border: 1px solid #345574;
  border-radius: 999px;
  padding: 7px 12px;
  background: linear-gradient(180deg, #132438, #102033);
  color: #b9d7f5;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.quick-price-btn:hover,
.quick-price-btn.active {
  border-color: #67beff;
  color: #ffffff;
  background: linear-gradient(180deg, #1c3c5b, #173553);
}

.store-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #315171;
  border-radius: 999px;
  padding: 4px;
  background: linear-gradient(180deg, #112033, #0f1d2f);
}

.store-view-btn {
  border: 1px solid transparent;
  background: transparent;
  color: #a9c5e3;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.store-view-btn:hover,
.store-view-btn.active {
  color: #ffffff;
  border-color: #5db9ff;
  background: linear-gradient(180deg, #20425f, #1a3852);
}

.store-active-filters {
  margin: 0 0 12px;
}

.filter-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  border: 1px solid #3c5e83;
  border-radius: 999px;
  padding: 7px 11px;
  background: linear-gradient(180deg, #14263b, #112033);
  color: #cbe4ff;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip:hover {
  border-color: #67bfff;
  color: #fff;
}

.filter-chip-reset {
  border-color: #5f7ea2;
  background: linear-gradient(180deg, #1b2f47, #17283d);
}

.store-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.store-tab {
  border: 1px solid #355372;
  border-radius: 999px;
  background: linear-gradient(180deg, #132236, #101d2c);
  color: #b8d5f2;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

.store-tab.active,
.store-tab:hover {
  color: #ffffff;
  border-color: #66bfff;
  background: linear-gradient(180deg, #1a3b5a, #173654);
  box-shadow: 0 8px 20px rgba(8, 17, 27, 0.32);
}

.store-tools {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid rgba(72, 120, 168, 0.42);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 24, 38, 0.86), rgba(10, 18, 29, 0.74));
}

.store-tools-head {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.store-tools-head .btn {
  flex: 0 0 auto;
}

.store-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-preset-empty {
  font-size: 0.82rem;
}

.store-preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #3b5d83;
  border-radius: 999px;
  background: linear-gradient(180deg, #12263c, #102132);
  padding: 2px;
}

.store-preset-chip.active {
  border-color: #68c2ff;
  box-shadow: 0 0 0 1px rgba(110, 196, 255, 0.24);
}

.store-preset-chip button {
  border: 0;
  background: transparent;
  color: #d0e6ff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.store-preset-chip [data-preset-apply] {
  padding: 6px 10px;
}

.store-preset-delete {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(19, 38, 58, 0.9) !important;
}

.store-preset-delete:hover {
  color: #ffffff;
  background: rgba(46, 84, 124, 0.95) !important;
}

.store-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.store-insight-card {
  border: 1px solid rgba(68, 111, 156, 0.45);
  border-radius: 12px;
  padding: 11px 12px;
  background: linear-gradient(180deg, rgba(16, 31, 48, 0.82), rgba(13, 22, 35, 0.7));
  display: grid;
  gap: 3px;
}

.store-insight-card span {
  color: #95afcc;
  font-size: 0.75rem;
  font-weight: 700;
}

.store-insight-card strong {
  color: #f0f7ff;
  font-size: 1rem;
}

.load-more-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.store-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 22px;
}

.grid.store-grid-list {
  grid-template-columns: 1fr;
  gap: 14px;
}

.grid.store-grid-list .product-card {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 228px;
}

.grid.store-grid-list .product-card .image-wrap {
  aspect-ratio: auto;
  height: 100%;
  min-height: 100%;
}

.grid.store-grid-list .product-card .product-body {
  padding: 18px;
  align-content: start;
}

.grid.store-grid-list .product-card .muted {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid.store-grid-list .product-card .product-actions {
  margin-top: 4px;
}

.grid.store-grid-list .product-card .product-meta {
  gap: 10px;
  flex-wrap: wrap;
}

.grid.store-grid-list .product-card:hover {
  transform: none;
}

.grid.store-grid-list .product-card:hover img {
  transform: none;
  filter: saturate(1.03);
}

.store-empty-state h3 {
  margin: 0 0 8px;
}

.skeleton-card {
  border: 1px solid #2d4460;
  border-radius: var(--radius);
  min-height: 290px;
  background: linear-gradient(180deg, #162436, #121d2d);
  position: relative;
  overflow: hidden;
}

.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(151, 213, 255, 0.16), transparent);
  transform: translateX(-100%);
  animation: skeletonShift 1.2s ease-in-out infinite;
}

.store-sticky-cart {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 69;
  width: min(360px, calc(100vw - 32px));
  border: 1px solid #3a5d83;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: linear-gradient(180deg, rgba(15, 30, 46, 0.95), rgba(11, 23, 36, 0.92));
  box-shadow: 0 18px 34px rgba(5, 12, 22, 0.42);
}

.store-sticky-cart strong {
  font-size: 0.9rem;
  color: #eaf4ff;
}

.framework-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.framework-pill {
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid #34506f;
  color: #aad8ff;
  background: #102239;
  border-radius: 999px;
  padding: 4px 8px;
}

.coming-soon-card {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(17, 42, 68, 0.92), rgba(13, 50, 43, 0.9)),
    radial-gradient(circle at 90% 0%, rgba(110, 213, 255, 0.2), transparent 40%);
  border: 1px solid rgba(102, 176, 226, 0.45);
  padding: 22px;
}

#store-coming-soon {
  margin-top: 12px;
}

.coming-soon-card h3 {
  margin: 0 0 10px;
}

.coming-soon-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.coming-soon-points .chip {
  background: rgba(13, 35, 56, 0.78);
  border: 1px solid rgba(113, 176, 224, 0.45);
  color: #ddf2ff;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.new-price {
  color: #6dffbe;
  font-size: 1.15rem;
  font-weight: 800;
}

.old-price {
  color: #8494aa;
  text-decoration: line-through;
  font-size: 0.92rem;
}

.discount-tag {
  color: #ffcfb4;
  background: #432a1d;
  border: 1px solid #7d4935;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 7, 13, 0.65);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: 220ms ease;
}

.cart-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(420px, 92vw);
  background: #101824;
  border-left: 1px solid var(--line);
  z-index: 60;
  transform: translateX(105%);
  transition: 260ms ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-head,
.drawer-summary {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.drawer-summary {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: grid;
  gap: 8px;
}

.drawer-items {
  overflow: auto;
  padding: 10px 14px;
  display: grid;
  gap: 10px;
}

.drawer-row {
  border: 1px solid var(--line);
  background: #121d2c;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: center;
}

.drawer-row p {
  margin: 0;
}

.drawer-row img {
  width: 74px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
}

.drawer-actions {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.compare-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  bottom: 16px;
  z-index: 55;
  width: min(900px, 94vw);
  border: 1px solid #335274;
  border-radius: 14px;
  background: rgba(10, 16, 25, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px;
  display: grid;
  gap: 10px;
  transition: 240ms ease;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #3a6188;
  background: linear-gradient(180deg, #17324f, #122840);
  color: #e7f4ff;
  font-size: 1.2rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(5, 12, 22, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  z-index: 70;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  filter: brightness(1.08);
}

#recently-viewed-home .section-head,
#recently-viewed-product .section-head {
  padding-top: 6px;
}

.compare-dock.show {
  transform: translateX(-50%) translateY(0);
}

.compare-dock-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compare-chip {
  border: 1px solid #365a7f;
  border-radius: 999px;
  padding: 6px 10px;
  background: #13263c;
  color: #c3dcf7;
  font-size: 0.78rem;
  font-weight: 700;
}

.compare-dock-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(2, 7, 13, 0.72);
  display: none;
  place-items: center;
  padding: 16px;
}

.compare-modal.show {
  display: grid;
}

.quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 72;
  background: rgba(2, 7, 13, 0.76);
  display: none;
  place-items: center;
  padding: 16px;
}

.quickview-modal.show {
  display: grid;
}

.quickview-modal-card {
  width: min(920px, 96vw);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #131f31, #101926 72%);
  padding: 14px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
}

.quickview-grid {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 14px;
  align-items: start;
}

.quickview-grid img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #355574;
}

.quickview-grid .category {
  margin-bottom: 6px;
}

.quickview-grid h3 {
  margin: 0 0 8px;
}

.compare-modal-card {
  width: min(980px, 96vw);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #101a28;
  padding: 14px;
}

.compare-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

body[data-page="wishlist"] .grid > .panel {
  grid-column: 1 / -1;
}

.compare-table-wrap {
  overflow: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: start;
  vertical-align: top;
}

.compare-table th {
  background: #122035;
}

.product-quickbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(11, 17, 26, 0.92);
  border-top: 1px solid #325174;
  backdrop-filter: blur(10px);
}

.quickbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quickbar-inner h3,
.quickbar-inner p {
  margin: 0;
}

.quickbar-price {
  color: #74f8c3;
  font-size: 1.25rem;
  font-weight: 800;
}

body[data-page="product"] {
  padding-bottom: 90px;
}

.checkout-items {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.checkout-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(180deg, #101a29, #0f1826);
}

.checkout-item p {
  margin: 0;
}

.checkout-totals {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin-bottom: 10px;
  display: grid;
  gap: 6px;
}

.checkout-totals p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.success-hero {
  text-align: center;
}

.success-card {
  width: min(680px, 100%);
  margin: 0 auto;
}

.form-error {
  margin: 0;
  color: #ffbdb7;
  background: #401f27;
  border: 1px solid #6b313a;
  border-radius: 10px;
  padding: 10px;
  display: none;
}

.form-error.show {
  display: block;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes skeletonShift {
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .grid > * {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.store-grid-list .product-card {
    grid-template-columns: 1fr;
  }

  .grid.store-grid-list .product-card .image-wrap {
    min-height: 190px;
    max-height: 260px;
  }

  .grid.store-grid-list .product-card .product-actions .btn {
    flex: 1 1 calc(50% - 5px);
  }

  .grid.store-grid-list .product-card .preference-actions {
    width: 100%;
  }

  .grid.store-grid-list .product-card .preference-actions .pref-btn {
    flex: 1;
  }

  .store-insights {
    grid-template-columns: 1fr;
  }

  .store-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .hero-grid,
  .product-view,
  .quickview-grid,
  .cart-layout,
  .checkout-layout,
  .admin-layout,
  .two-col {
    grid-template-columns: 1fr;
  }

  .about-hero-stats,
  .about-roadmap-grid,
  .about-pillars {
    grid-template-columns: 1fr;
  }

  .contact-side {
    grid-template-columns: 1fr;
  }

  .cart-summary-panel {
    position: static;
  }

  .checkout-summary-panel {
    position: static;
  }

  .cart-row {
    grid-template-columns: 84px 1fr;
  }

  .cart-v2-row {
    grid-template-columns: 96px 1fr;
  }

  .cart-v2-row img {
    width: 96px;
    height: 84px;
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .store-view-switch {
    width: 100%;
    justify-content: space-between;
  }

  .store-view-btn {
    flex: 1;
    text-align: center;
  }

  .cart-hero-actions .btn {
    flex: 1;
  }

  .cart-reco-card {
    grid-template-columns: 1fr;
  }

  .cart-reco-card img {
    width: 100%;
    height: 160px;
  }

  .store-tools-head {
    flex-direction: column;
    align-items: stretch;
  }

  .store-tools-head .btn {
    width: 100%;
  }

  .page-hero {
    padding: 18px 14px;
  }

  .promo-inner {
    min-height: 70px;
    align-items: start;
    padding: 10px 0;
    flex-direction: column;
  }

  .countdown-blocks {
    width: 100%;
    justify-content: space-between;
  }

  .compare-dock {
    width: 96vw;
    bottom: 10px;
  }

  .store-sticky-cart {
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    width: min(94vw, 500px);
  }

  .compare-dock-actions {
    justify-content: stretch;
  }

  .compare-dock-actions .btn {
    flex: 1;
  }

  .time-block {
    min-width: 0;
    flex: 1;
  }

  .navbar {
    flex-direction: column;
    align-items: start;
    padding: 10px 0;
  }

  .nav-links {
    width: 100%;
    gap: 8px;
  }

  .nav-links a,
  .language-wrap,
  .currency-wrap {
    width: 100%;
  }

  .language-switcher,
  .currency-switcher {
    width: 100%;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .quickbar-inner {
    min-height: 92px;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
  }
}
