:root {
  --rx-bg: #040814;
  --rx-panel: rgba(8, 15, 30, 0.88);
  --rx-panel-strong: rgba(8, 15, 30, 0.96);
  --rx-card: rgba(12, 21, 40, 0.9);
  --rx-card-soft: rgba(10, 17, 32, 0.78);
  --rx-line: rgba(148, 163, 184, 0.16);
  --rx-line-strong: rgba(96, 165, 250, 0.24);
  --rx-text: #f7fbff;
  --rx-text-soft: #c3d1eb;
  --rx-text-muted: #85a0c7;
  --rx-brand: linear-gradient(135deg, #4f8cff 0%, #7456ff 52%, #26c6ff 100%);
  --rx-success: linear-gradient(135deg, #17c964 0%, #2dd4bf 100%);
  --rx-danger: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  --rx-shadow: 0 24px 60px rgba(2, 6, 23, 0.42);
  --rx-shadow-soft: 0 16px 34px rgba(2, 6, 23, 0.26);
  --rx-radius-xl: 30px;
  --rx-radius-lg: 22px;
  --rx-radius-md: 18px;
  --rx-radius-sm: 14px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.18), transparent 24rem),
    radial-gradient(circle at top right, rgba(116, 86, 255, 0.14), transparent 22rem),
    linear-gradient(180deg, #020611 0%, #061121 40%, #071527 100%);
}

body::before {
  opacity: 0.4;
}

.store-container,
.page-inner,
.admin-content,
.admin-layout {
  position: relative;
  z-index: 1;
}

.glass-card,
.auth-card,
.store-product-card,
.store-section,
.section-card,
.stat-card,
.admin-order-card,
.policy-card {
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.94), rgba(7, 13, 26, 0.92)) !important;
  border: 1px solid var(--rx-line) !important;
  box-shadow: var(--rx-shadow-soft);
}

.store-navbar {
  background: rgba(4, 10, 22, 0.78) !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  isolation: isolate;
}

.store-navbar a,
.store-navbar button,
.store-navbar span,
.store-navbar strong {
  color: var(--rx-text);
}

.store-footer {
  background: rgba(4, 10, 22, 0.92) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-links a {
  color: var(--rx-text-soft);
}

.glow-btn,
.btn-primary,
.btn-buy-now,
.btn.btn-primary {
  background: var(--rx-brand) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 14px 28px rgba(79, 140, 255, 0.28);
}

.btn-buy-now {
  min-height: 52px;
}

.btn,
.btn-glass,
.btn-ghost,
.btn-dark {
  border-radius: 16px !important;
}

.btn-glass,
.btn-dark,
.btn-ghost {
  background: rgba(12, 20, 36, 0.92) !important;
  color: var(--rx-text) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
}

input,
textarea,
select,
.input {
  background: rgba(6, 11, 23, 0.94) !important;
  border-color: rgba(96, 165, 250, 0.14) !important;
  color: var(--rx-text) !important;
  border-radius: 16px !important;
}

input::placeholder,
textarea::placeholder {
  color: #7f92b3 !important;
}

.page-home .store-shell .store-container {
  max-width: 1240px;
}

.home-hero-shell {
  padding: 28px;
}

.home-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.category-pills {
  scroll-snap-type: x proximity;
  scroll-padding-inline: 10px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding-inline-start: 2px;
  padding-inline-end: 10px;
  margin-inline: -2px;
}

.category-pill {
  scroll-snap-align: start;
}

.home-catalog-shell {
  padding: 22px;
}

.home-recommended-shell {
  padding: 18px 22px 20px;
}

.home-recommended-shell .section-title-row {
  align-items: center;
  margin-bottom: 14px;
}

.home-recommended-shell .section-title-row h2 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: -0.01em;
  padding-top: 1px;
}

.home-recommended-shell .filter-summary {
  margin-top: 4px;
}

.catalog-title-shell {
  align-items: flex-end;
}

.page-home .store-section:first-of-type,
.page-home .hero-glass,
.page-home .store-hero,
.page-home .hero-card {
  border-radius: 30px;
}

.page-home .hero-stats-box,
.page-home .hero-stat {
  background: linear-gradient(180deg, rgba(11, 19, 38, 0.94), rgba(9, 16, 30, 0.92)) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

.page-home .store-grid,
.page-wishlist .store-grid,
.page-product .store-grid {
  gap: 18px;
}

.store-product-card {
  border-radius: 24px !important;
  overflow: hidden;
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.store-product-card .spc-image-wrap {
  background: linear-gradient(180deg, rgba(8, 14, 27, 0.98), rgba(11, 17, 31, 0.94));
}

.store-product-card .spc-body {
  padding: 18px !important;
}

.spc-meta-stack {
  margin-top: 9px;
  display: grid;
  gap: 6px;
}

.spc-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: 5px 10px;
  background: rgba(6, 12, 24, 0.82);
  color: var(--rx-text-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.spc-meta-chip i {
  width: 13px;
  height: 13px;
}

.spc-title,
.pdp-title,
.topbar h1,
.section-title-row h2,
.section-head h2,
.policy-hero h1 {
  color: var(--rx-text) !important;
}

.spc-rating-text,
.spc-review-count,
.muted,
.pdp-tax-note,
.pdp-seller,
.policy-hero p,
.policy-card p,
.policy-card li,
.footer-copy {
  color: var(--rx-text-muted) !important;
}

.spc-price,
.pdp-selling-price,
.order-card-amount,
.success-value {
  color: #f8fbff !important;
}

.spc-mrp,
.pdp-mrp {
  color: #7f92b3 !important;
}

.spc-discount-badge,
.pdp-discount {
  background: rgba(22, 163, 74, 0.16) !important;
  border: 1px solid rgba(34, 197, 94, 0.22);
  color: #86efac !important;
}

.page-product .breadcrumb,
.page-wishlist .breadcrumb,
.page-account .breadcrumb {
  margin-bottom: 20px;
  color: var(--rx-text-muted);
}

.page-product .pdp-layout {
  gap: 26px;
}

.page-product .pdp-main-image-wrap,
.page-product .pdp-info,
.page-product .pdp-description,
.page-product .pdp-support-card {
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.94), rgba(7, 13, 26, 0.94)) !important;
  border: 1px solid var(--rx-line) !important;
  border-radius: 26px !important;
}

.page-product .pdp-support-card strong,
.page-product .pdp-support-card span,
.page-product .pdp-description p {
  color: var(--rx-text-soft) !important;
}

.page-product .size-btn,
.page-product .color-btn,
.page-product .qty-stepper,
.page-product .qty-btn {
  background: rgba(7, 13, 26, 0.94) !important;
  color: var(--rx-text) !important;
  border-color: rgba(96, 165, 250, 0.16) !important;
}

.page-product .size-btn.selected,
.page-product .color-btn.selected {
  background: rgba(79, 140, 255, 0.18) !important;
  box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.3) inset;
}

.page-checkout .store-container {
  max-width: 1080px !important;
}

.page-checkout .auth-link {
  color: var(--rx-text-soft);
}

.page-checkout .auth-card {
  border-radius: 28px !important;
  padding: 26px !important;
}

.page-checkout #payment-overlay {
  background: radial-gradient(circle at top, rgba(79, 140, 255, 0.14), transparent 18rem), rgba(2, 6, 16, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-checkout .flip-card-front,
.page-checkout .flip-card-back {
  background: linear-gradient(145deg, rgba(9, 16, 31, 0.98), rgba(13, 25, 47, 0.96)) !important;
  border: 1px solid rgba(96, 165, 250, 0.18) !important;
}

.page-checkout .overlay-status {
  color: #e7f0ff !important;
}

.page-checkout #payment-overlay::before,
.page-checkout #payment-overlay::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  inset: auto;
  transform: translateZ(0);
  pointer-events: none;
}

.page-checkout #payment-overlay::before {
  width: 112px;
  height: 112px;
  border: 2px solid rgba(96, 165, 250, 0.24);
  animation: paymentPulseRing 1.6s ease-out 1;
}

.page-checkout #payment-overlay::after {
  width: 180px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(79,140,255,0.2), rgba(79,140,255,0.9), rgba(38,198,255,0.25));
  top: calc(50% + 120px);
  left: 50%;
  transform: translateX(-50%);
  animation: paymentSweep 1.6s ease-in-out 1;
}

@keyframes paymentPulseRing {
  0% { transform: translateX(-50%) scale(0.72); opacity: 0.3; top: calc(50% - 58px); left: 50%; }
  70% { transform: translateX(-50%) scale(1); opacity: 1; top: calc(50% - 58px); left: 50%; }
  100% { transform: translateX(-50%) scale(1.12); opacity: 0; top: calc(50% - 58px); left: 50%; }
}

@keyframes paymentSweep {
  0%, 100% { opacity: 0.28; transform: translateX(-50%) scaleX(0.88); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

.page-success .auth-card {
  border-radius: 30px !important;
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.98), rgba(6, 13, 24, 0.98)) !important;
}

.checkout-shell {
  max-width: 1180px;
}

.checkout-hero,
.success-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
  margin-bottom: 22px;
}

.checkout-hero-copy,
.success-intro {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: linear-gradient(135deg, rgba(8, 15, 30, 0.92), rgba(14, 24, 45, 0.86));
  box-shadow: var(--rx-shadow-soft);
}

.checkout-hero-copy h1,
.success-intro h1 {
  margin: 10px 0 12px;
}

.checkout-hero-copy p,
.success-intro p {
  max-width: 760px;
}

.checkout-hero-card {
  display: grid;
  gap: 12px;
  align-content: space-between;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(96,165,250,0.18);
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.94), rgba(6, 13, 24, 0.96));
}

.checkout-hero-chip,
.success-loader-chip {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(96,165,250,0.22);
  background: rgba(37,99,235,0.12);
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-hero-card strong {
  font-size: 1.2rem;
  color: var(--rx-text);
  line-height: 1.3;
}

.checkout-hero-card small {
  color: var(--rx-text-muted);
  line-height: 1.55;
}

.checkout-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.checkout-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 15, 30, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}

.checkout-lean-hero {
  grid-template-columns: 1fr;
  margin-bottom: 14px;
}

.checkout-lean-hero .checkout-hero-copy {
  min-height: 0;
}

.checkout-summary-note {
  margin-top: 12px;
  color: var(--rx-text-muted);
}

.checkout-summary-card {
  position: sticky;
  top: 24px;
  margin: 0 !important;
  padding: 24px !important;
}

.checkout-form-card {
  margin: 0 !important;
  padding: 24px !important;
}

.checkout-summary-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.checkout-icon-badge {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 18px;
  color: #f8fbff;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(37, 99, 235, 0.12)),
    rgba(10, 18, 34, 0.92);
  border: 1px solid rgba(96, 165, 250, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(15, 23, 42, 0.22);
}

.checkout-icon-badge svg,
.checkout-icon-badge i {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2.1;
}

.checkout-summary-head h2 {
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 0;
}

.checkout-summary-head > div:last-child {
  min-width: 0;
}

@media (max-width: 560px) {
  .checkout-summary-head {
    align-items: flex-start;
    gap: 12px;
  }

  .checkout-icon-badge {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .checkout-icon-badge svg,
  .checkout-icon-badge i {
    width: 18px !important;
    height: 18px !important;
  }
}

.checkout-product-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(7, 13, 26, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.checkout-product-thumb {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.9);
}

.checkout-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-product-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--rx-text-muted);
  font-size: 0.92rem;
}

.checkout-summary-row strong {
  color: var(--rx-text);
  font-size: 0.96rem;
}

.checkout-summary-row.is-hidden {
  display: none;
}

.checkout-summary-row-discount strong {
  color: #86efac;
}

.checkout-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--rx-text-soft);
}

.checkout-summary-total strong {
  color: #f8fbff;
  font-size: 1.2rem;
}

.checkout-summary-total-final {
  margin-top: 10px;
}

.checkout-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.checkout-trust-grid article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(7, 13, 26, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.checkout-trust-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--rx-text-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-trust-grid strong {
  color: var(--rx-text);
  line-height: 1.35;
}

.checkout-form-head h2 {
  margin: 8px 0 10px;
}

.checkout-form-head p {
  max-width: 60ch;
}

.checkout-form-stack {
  margin-top: 22px;
}

.checkout-saved-address {
  padding: 16px;
  border-radius: 18px;
  background: rgba(7, 13, 26, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
  margin-bottom: 10px;
}

.checkout-saved-address label {
  margin-bottom: 8px;
}

.checkout-form-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.14);
  margin: 4px 0;
}

.checkout-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-save-address {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--rx-text-muted);
  cursor: pointer;
}

.checkout-save-address input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: #4f8cff;
}

.checkout-coupon-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(7, 13, 26, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.checkout-coupon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-coupon-head strong {
  display: block;
  margin-top: 4px;
  color: var(--rx-text);
}

.checkout-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

#coupon-status[data-tone="success"] {
  color: #86efac !important;
}

#coupon-status[data-tone="error"] {
  color: #fca5a5 !important;
}

.checkout-pay-btn,
.success-home-btn {
  width: 100%;
  justify-content: center;
  min-height: 54px;
  margin-top: 8px;
}

.checkout-status {
  margin-top: 10px;
  color: var(--rx-text-muted);
  text-align: center;
  font-size: 0.84rem;
}

.checkout-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--rx-text-muted) !important;
}

@media (max-width: 560px) {
  .checkout-coupon-row {
    grid-template-columns: 1fr;
  }

  .checkout-coupon-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.success-stage-card {
  position: relative;
  min-height: 520px;
  margin: 0 !important;
  padding: 28px !important;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-processing-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  z-index: 20;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-processing-copy {
  margin-top: 22px;
}

.success-processing-copy h2 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.success-processing-copy p {
  margin-top: 8px;
}

.success-processing-steps {
  display: inline-flex;
  gap: 8px;
  margin-top: 16px;
}

.success-processing-steps span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f8cff, #26c6ff);
  opacity: 0.3;
  animation: successStepPulse 1.1s ease-in-out 1;
}

.success-processing-steps span:nth-child(2) { animation-delay: 0.16s; }
.success-processing-steps span:nth-child(3) { animation-delay: 0.32s; }

@keyframes successStepPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.28; }
  50% { transform: scale(1); opacity: 1; }
}

.success-content-shell {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
}

.success-eyebrow {
  color: #86efac !important;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.success-title {
  margin-top: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.success-copy {
  margin: 14px auto 0;
  max-width: 420px;
}

.success-details-grid {
  margin-top: 32px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
  border-radius: 18px;
  text-align: left;
}

.success-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rx-text-muted) !important;
}

.success-value {
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  color: var(--rx-text);
}

.success-value-amount {
  color: #86efac;
  font-weight: 800;
}

.success-action-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
  margin-top: 28px;
}

.page-success #processing-state {
  background: linear-gradient(180deg, rgba(4, 9, 20, 0.98), rgba(7, 13, 26, 0.98)) !important;
}

.page-success #success-content > div[style*="grid-template-columns"] {
  border-radius: 20px !important;
  background: rgba(11, 18, 34, 0.92) !important;
  border: 1px solid rgba(96, 165, 250, 0.14) !important;
}

.page-account .page-inner,
.page-admin .admin-content,
.page-admin .admin-layout {
  padding-top: 20px;
  padding-bottom: 32px;
}

.page-account .topbar,
.page-admin .topbar {
  border-radius: 24px !important;
  align-items: center;
}

.page-account .section-card,
.page-admin .section-card {
  border-radius: 24px !important;
}

.page-wishlist .section-title-row,
.page-account .section-title-row,
.page-admin .section-title-row,
.page-admin .section-head {
  margin-bottom: 16px;
}

.page-account .empty-state {
  padding: 40px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10,18,34,0.94), rgba(7,13,26,0.92));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.page-orders .order-card,
.page-orders .admin-order-card,
.page-admin-orders .admin-order-card {
  border-radius: 22px !important;
}

.page-orders .order-tracker,
.page-orders .address-card,
.page-orders .order-actions,
.page-admin-orders .order-detail-row {
  background: rgba(7, 13, 26, 0.9) !important;
}

.page-issues .issue-list,
.page-admin-issues .issue-list {
  gap: 14px;
}

.page-admin-dashboard .stats-grid,
.page-admin-products .stats-grid,
.page-import-ops .stats-grid {
  gap: 18px;
}

.page-admin .sidebar {
  background: linear-gradient(180deg, rgba(7, 13, 26, 0.96), rgba(5, 11, 21, 0.96)) !important;
  border-radius: 28px !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
}

.page-admin .side-nav a {
  border-radius: 18px !important;
}

.page-admin .side-nav a.active,
.page-admin .side-nav a:hover {
  background: linear-gradient(135deg, rgba(79,140,255,0.2), rgba(116,86,255,0.18)) !important;
  color: #fff !important;
}

.policy-page .store-container {
  max-width: 1040px;
  padding-top: 24px;
  padding-bottom: 48px;
}

.policy-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.policy-hero {
  padding: 28px;
  border-radius: var(--rx-radius-xl);
  background: linear-gradient(135deg, rgba(10, 18, 34, 0.98), rgba(17, 24, 39, 0.92));
  border: 1px solid rgba(96, 165, 250, 0.18);
  box-shadow: var(--rx-shadow);
}

.policy-hero h1 {
  margin: 8px 0 10px;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
}

.policy-hero p {
  max-width: 720px;
}

.policy-card-stack,
.policy-card-grid {
  display: grid;
  gap: 18px;
}

.policy-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.policy-card {
  padding: 24px;
  border-radius: 22px;
}

.policy-card h2,
.policy-card h3,
.policy-card strong {
  color: var(--rx-text);
}

.policy-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--rx-text-soft);
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.faq-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-admin-issue-thread .toolbar,
.page-account .toolbar,
.page-admin .toolbar {
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 980px) {
  .store-navbar {
    padding: 12px 14px !important;
    background: rgba(4, 10, 22, 0.96) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hero-drop-strip {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .hero-drop-strip::-webkit-scrollbar {
    display: none;
  }

  .hero-drop-item {
    flex: 0 0 240px;
  }

  .checkout-hero,
  .success-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .page-home .store-grid,
  .page-wishlist .store-grid,
  .page-product .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .policy-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .store-shell,
  .store-container {
    overflow-x: clip;
  }

  .store-navbar {
    position: sticky;
    top: 0;
    z-index: 260 !important;
    isolation: isolate;
    background: #060c19 !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.5) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .store-navbar .navbar-brand-pill,
  .store-navbar .mobile-account-chip,
  .store-navbar .mobile-nav-card,
  .store-navbar .mobile-signin-btn {
    background: #070e1b !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 720px) {
  .store-navbar {
    padding: 8px 10px 10px !important;
    background: #060c19 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .store-navbar .navbar-container {
    height: auto !important;
    min-height: 0 !important;
    align-items: stretch !important;
  }

  .page-home .store-grid,
  .page-wishlist .store-grid,
  .page-product .store-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  .home-hero-shell,
  .home-catalog-shell,
  .checkout-hero-copy,
  .checkout-hero-card,
  .checkout-summary-card,
  .checkout-form-card,
  .success-intro,
  .success-stage-card {
    padding: 18px !important;
  }

  .page-checkout .auth-card,
  .checkout-summary-card {
    position: static !important;
  }

  .checkout-city-grid,
  .checkout-trust-grid,
  .success-details-grid,
  .success-action-row {
    grid-template-columns: 1fr;
  }

  .catalog-title-shell {
    align-items: stretch;
    gap: 14px;
  }

  .catalog-title-shell .branding-animation {
    justify-content: flex-start;
    padding: 0;
  }

  .page-admin .admin-layout,
  .page-admin .admin-content,
  .page-account .page-inner {
    padding-inline: 14px;
  }
}

@media (max-width: 560px) {
  .page-home .store-grid,
  .page-wishlist .store-grid,
  .page-product .store-grid {
    grid-template-columns: 1fr !important;
  }

  .page-home .store-container {
    padding-top: 8px !important;
  }

  .home-hero-shell {
    padding: 16px !important;
    gap: 16px;
  }

  .page-home .commerce-hero {
    gap: 16px;
  }

  .page-home .hero-left h1 {
    font-size: 2.15rem !important;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .page-home .hero-desc,
  .page-home .hero-left p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-stats-box {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .hero-stat {
    min-height: 92px;
    padding: 12px 10px !important;
  }

  .hero-stat-num {
    font-size: 1.2rem !important;
  }

  .category-pills {
    padding-bottom: 0;
    padding-inline-end: 12px;
    scrollbar-width: none;
  }

  .category-pills::-webkit-scrollbar {
    display: none;
  }

  .home-hero-cta-row {
    flex-direction: column;
  }

  .hero-drop-item {
    flex-basis: 220px;
  }

  .section-title-row,
  .store-filters {
    gap: 12px;
  }

  .home-catalog-shell {
    padding: 16px !important;
  }

  .store-filters {
    display: grid !important;
  }

  .category-pill {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .search-input-wrapper {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .search-input-wrapper .search-input,
  .search-input-wrapper .btn-primary {
    min-height: 48px;
  }

  .search-input-wrapper .clear-btn {
    grid-column: 1 / -1;
  }

  .sort-form {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px 12px;
    gap: 8px;
  }

  .sort-form label {
    grid-column: 1 / -1;
  }

  .sort-form .sort-select {
    min-width: 0;
  }

  .sort-form .btn {
    width: auto !important;
    min-width: 96px;
  }

  .catalog-title-shell h2 {
    font-size: 1.9rem;
  }

  .policy-hero,
  .policy-card,
  .glass-card,
  .auth-card,
  .section-card {
    border-radius: 20px !important;
  }

  .policy-hero {
    padding: 22px;
  }

  .page-admin .sidebar {
    padding: 14px 12px !important;
  }
}

/* Auth modal overlay (split layout, UI-only redesign) */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.12), transparent 24rem),
    radial-gradient(circle at top right, rgba(38, 198, 255, 0.08), transparent 22rem),
    linear-gradient(rgba(2, 6, 12, 0.78), rgba(2, 6, 12, 0.82));
  z-index: 100000;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.redesign-auth-modal {
  position: relative;
  width: min(464px, 100%);
  max-width: 464px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 15, 29, 0.98), rgba(5, 10, 21, 0.98)),
    radial-gradient(circle at top right, rgba(53, 168, 255, 0.1), transparent 14rem);
  box-shadow: 0 28px 70px rgba(1, 4, 15, 0.62), 0 10px 28px rgba(37, 99, 235, 0.12);
  animation: authModalIn 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-shell {
  display: block;
}

.auth-panel {
  position: relative;
  z-index: 1;
}

.auth-modal-title {
  margin: 0;
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 1.85rem;
  line-height: 1.04;
  letter-spacing: 0;
  color: #f8fbff;
}

.auth-modal-subtitle {
  margin: 0;
  max-width: none;
  color: #a8bad7;
  font-size: 0.94rem;
  line-height: 1.55;
}

.auth-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.9), rgba(8, 15, 29, 0.96)),
    radial-gradient(circle at top right, rgba(38, 198, 255, 0.07), transparent 13rem);
}

.auth-panel-head {
  display: grid;
  gap: 10px;
  padding-right: 34px;
}

.auth-panel-kicker {
  margin: 0;
  color: #89a7d5;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(7, 13, 26, 0.8);
  width: 100%;
  margin-top: 4px;
}

.auth-tab {
  background: transparent;
  color: var(--rx-text-soft);
  border: 0;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.93rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.auth-tab.active {
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.24), rgba(38, 198, 255, 0.22));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(79, 140, 255, 0.18);
  transform: translateY(-1px);
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-input-group {
  display: grid;
  gap: 8px;
  margin: 0;
}

.auth-input-group label {
  display: block;
  color: #d8e4fb;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auth-input-group input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.96), rgba(7, 13, 26, 0.94));
  color: var(--rx-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-input-group input:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-input-group input:-webkit-autofill,
.auth-input-group input:-webkit-autofill:hover,
.auth-input-group input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fbff;
  transition: background-color 100000s ease-in-out 0s;
  box-shadow: 0 0 0 1000px rgba(7, 13, 26, 0.96) inset;
}

.auth-error {
  color: #fecaca;
  margin: 0;
  min-height: 18px;
  font-size: 0.85rem;
}

.auth-form-meta {
  margin: -2px 0 0;
}

.auth-form-meta small {
  color: var(--rx-text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  display: block;
}

.auth-form-intro {
  display: grid;
  gap: 6px;
  margin-bottom: 2px;
}

.auth-form-intro strong {
  color: #f8fbff;
  font-size: 0.96rem;
}

.auth-form-intro span {
  color: var(--rx-text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.auth-inline-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: -2px 0 0;
}

.auth-inline-actions-spread {
  justify-content: space-between;
}

.auth-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background: rgba(12, 22, 40, 0.72);
  color: #b9d7ff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 140ms ease, transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.auth-text-link:hover {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(17, 31, 55, 0.92);
  transform: translateY(-1px);
}

.auth-submit-btn {
  position: relative;
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #4f8cff 0%, #6a67ff 54%, #26c6ff 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 18px 36px rgba(53, 109, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  overflow: visible;
}

.auth-submit-btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(79, 140, 255, 0.16), rgba(38, 198, 255, 0.12));
  filter: blur(12px);
  opacity: 0;
  transition: opacity 160ms ease;
  z-index: -1;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(53, 109, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.auth-submit-btn:hover::after {
  opacity: 1;
}

.auth-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.16), 0 18px 36px rgba(53, 109, 255, 0.28);
}

.auth-submit-btn:active {
  transform: translateY(-1px);
}

.auth-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}

.auth-divider::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.18), transparent);
}

.auth-divider span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: rgba(7, 13, 26, 0.96);
  color: #88a0c4;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-google-btn {
  position: relative;
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.96), rgba(6, 12, 24, 0.94)),
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.06), transparent 10rem);
  color: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.14);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.auth-google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 6px 18px rgba(79, 140, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.22);
}

.auth-google-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.auth-google-btn:disabled {
  opacity: 0.95;
  cursor: not-allowed;
}

.auth-google-btn.is-loading {
  pointer-events: none;
}

.auth-btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(191, 219, 254, 0.35);
  border-top-color: #bfdbfe;
  animation: authSpin 0.7s linear infinite;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

.auth-note {
  color: var(--rx-text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: -2px 0 0;
  text-align: center;
}

.auth-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(7, 13, 26, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #dbeafe;
  font-size: 20px;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.auth-modal-close:hover {
  transform: translateY(-1px);
  background: rgba(12, 22, 40, 0.92);
  border-color: rgba(96, 165, 250, 0.24);
}

@keyframes authModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .redesign-auth-modal {
    width: min(464px, 100%);
  }
}

@media (max-width: 640px) {
  .auth-modal-overlay {
    padding: 12px;
    background: linear-gradient(rgba(3, 7, 12, 0.82), rgba(3, 7, 12, 0.84));
  }

  .redesign-auth-modal {
    max-height: calc(100vh - 24px);
    border-radius: 18px;
  }

  .auth-panel {
    padding: 18px;
    gap: 16px;
  }

  .auth-tabs {
    width: 100%;
  }

  .auth-modal-title {
    font-size: 1.65rem;
  }

  .auth-submit-btn,
  .auth-google-btn {
    min-height: 48px;
    border-radius: 14px;
  }

  .auth-modal-close {
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
  }
}

/* Discount badge — strong red glow, hardware-accelerated, low-cost animation */
.store-product-card .spc-discount-badge,
.spc-discount-badge,
.profit-tag.discount {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 60;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff4d4f 0%, #d92b2b 100%);
  box-shadow: 0 10px 30px rgba(217,43,43,0.28), 0 4px 12px rgba(217,43,43,0.18);
  letter-spacing: 0.02em;
  transform-origin: center;
  will-change: transform, opacity;
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
}
.spc-discount-badge::before,
.profit-tag.discount::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(217,43,43,0.32), transparent);
  filter: blur(8px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}
.spc-discount-badge {
  animation: none;
}
.store-product-card:hover .spc-discount-badge {
  animation: badgePulsePerf 900ms ease-out 1;
}
@keyframes badgePulsePerf {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.98; transform: scale(1.04); }
}

/* Ensure the badge always contrasts on light backgrounds (avoid white background leak) */
.spc-discount-badge, .profit-tag.discount {
  background-image: linear-gradient(135deg, #ff3b30 0%, #ff1f3b 100%) !important;
  color: #fff !important;
  border: 0 !important;
}

/* Keep PDP price discount inline; only catalog/list cards should be absolute badges. */
.pdp-price-block .pdp-discount {
  position: static;
  inset: auto;
  z-index: auto;
  pointer-events: auto;
}

/* Universal mobile stabilization layer (applied last for predictable cascade). */
@media (max-width: 900px) {
  .store-shell,
  .store-container,
  .page-inner,
  .admin-layout,
  .admin-content {
    overflow-x: clip;
  }

  .store-navbar {
    position: sticky;
    top: 0;
    z-index: 280 !important;
    isolation: isolate;
    background: #060c19 !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.48) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .store-navbar .navbar-brand-pill,
  .store-navbar .mobile-account-chip,
  .store-navbar .mobile-nav-card,
  .store-navbar .mobile-signin-btn {
    background: #070e1b !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .page-home .store-container,
  .page-checkout .store-container,
  .page-account .store-container,
  .page-admin .store-container {
    padding-top: calc(10px + env(safe-area-inset-top));
  }

  .checkout-hero-copy p,
  .checkout-form-head p,
  .success-intro p {
    line-height: 1.55;
  }
}

@media (max-width: 720px) {
  .checkout-lean-hero {
    margin-bottom: 10px;
  }

  .checkout-lean-hero .checkout-hero-copy {
    padding-block: 14px !important;
  }

  .checkout-lean-hero h1 {
    font-size: 1.45rem !important;
  }

  .home-hero-shell,
  .home-catalog-shell,
  .checkout-hero-copy,
  .checkout-hero-card,
  .checkout-summary-card,
  .checkout-form-card,
  .success-intro,
  .success-stage-card,
  .auth-card {
    padding: 16px !important;
  }

  .page-home .section-title-row h2,
  .page-product .pdp-title,
  .page-checkout h1,
  .page-checkout h2 {
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .checkout-hero-points {
    gap: 8px;
  }

  .checkout-hero-points span {
    min-height: 36px;
    line-height: 1.2;
  }
}

@media (max-width: 560px) {
  .page-home .store-grid,
  .page-wishlist .store-grid,
  .page-product .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .checkout-hero,
  .checkout-grid,
  .success-layout {
    gap: 12px;
  }

  .store-product-card {
    border-radius: 14px !important;
    transform: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .store-product-card .spc-body {
    padding: 10px !important;
  }

  .store-product-card .spc-title {
    min-height: 30px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 2;
  }

  .store-product-card .spc-price {
    font-size: 15px !important;
  }

  .store-product-card .spc-mrp,
  .store-product-card .spc-savings {
    font-size: 11px !important;
  }

  .store-product-card .spc-meta-stack,
  .store-product-card .spc-trust-badge,
  .store-product-card .spc-rating,
  .store-product-card .spc-sizes {
    display: none !important;
  }

  .store-product-card .spc-discount-badge {
    top: 8px;
    left: 8px;
    padding: 4px 7px;
    font-size: 10px;
    box-shadow: none;
  }

  .store-product-card .spc-wishlist-btn {
    width: 30px !important;
    height: 30px !important;
    top: 8px !important;
    right: 8px !important;
  }
}

@media (max-width: 340px) {
  .page-home .store-grid,
  .page-wishlist .store-grid,
  .page-product .store-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  .page-home .store-container,
  .page-product .store-container,
  .page-checkout .store-container,
  .page-account .store-container {
    padding-inline: 10px !important;
  }

  .auth-panel {
    padding: 14px;
  }
}

/* Final performance layer: admin is work-first, so remove decorative motion and blur. */
.page-admin *,
.page-admin *::before,
.page-admin *::after {
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  scroll-behavior: auto !important;
}

.page-admin .glass-card,
.page-admin .section-card,
.page-admin .stat-card,
.page-admin .admin-order-card,
.page-admin .product-card,
.page-admin .store-product-card,
.page-admin .sidebar,
.page-admin .topbar,
.page-admin .btn,
.page-admin .icon-btn,
.page-admin .input,
.page-admin input,
.page-admin textarea,
.page-admin select {
  animation: none !important;
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.page-admin .glass-card::before,
.page-admin .glass-card::after,
.page-admin .section-card::before,
.page-admin .section-card::after,
.page-admin .stat-card::before,
.page-admin .stat-card::after,
.page-admin .store-product-card::before,
.page-admin .store-product-card::after,
.page-admin .branding-animation {
  animation: none !important;
  transform: none !important;
}

.page-admin .side-nav a:hover,
.page-admin .side-nav a.active,
.page-admin .btn:hover,
.page-admin .btn:active,
.page-admin .icon-btn:hover,
.page-admin .icon-btn:active,
.page-admin .product-card:hover,
.page-admin .store-product-card:hover,
.page-admin .stat-card:hover,
.page-admin .section-card:hover {
  transform: none !important;
}

.page-admin .spin-icon,
.page-admin [data-lucide="loader-2"] {
  animation: spin 0.8s linear infinite !important;
}

/* Final mobile density layer: keep catalog discovery dense and stable. */
@media (max-width: 720px) {
  .page-home .store-grid,
  .page-wishlist .store-grid,
  .page-product .store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .page-home .store-product-card,
  .page-wishlist .store-product-card,
  .page-product .store-product-card {
    min-width: 0 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .page-home .store-product-card:hover,
  .page-wishlist .store-product-card:hover,
  .page-product .store-product-card:hover,
  .page-home .store-product-card:hover .spc-image-wrap img,
  .page-wishlist .store-product-card:hover .spc-image-wrap img,
  .page-product .store-product-card:hover .spc-image-wrap img {
    transform: none !important;
  }

  .page-home .spc-image-wrap,
  .page-wishlist .spc-image-wrap,
  .page-product .spc-image-wrap {
    aspect-ratio: 1 / 1.18;
  }

  .page-home .spc-body,
  .page-wishlist .spc-body,
  .page-product .spc-body {
    padding: 7px !important;
    gap: 4px !important;
  }

  .page-home .spc-title,
  .page-wishlist .spc-title,
  .page-product .spc-title {
    min-height: 29px !important;
    font-size: 10px !important;
    line-height: 1.26 !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .page-home .spc-price,
  .page-wishlist .spc-price,
  .page-product .spc-price {
    font-size: 12.5px !important;
    line-height: 1.15 !important;
  }

  .page-home .spc-mrp,
  .page-home .spc-savings,
  .page-wishlist .spc-mrp,
  .page-wishlist .spc-savings,
  .page-product .spc-mrp,
  .page-product .spc-savings {
    font-size: 9.5px !important;
  }

  .page-home .spc-meta-stack,
  .page-home .spc-trust-badge,
  .page-home .spc-rating,
  .page-home .spc-sizes,
  .page-wishlist .spc-meta-stack,
  .page-wishlist .spc-trust-badge,
  .page-wishlist .spc-rating,
  .page-wishlist .spc-sizes,
  .page-product .spc-meta-stack,
  .page-product .spc-trust-badge,
  .page-product .spc-rating,
  .page-product .spc-sizes {
    display: none !important;
  }

  .page-home .spc-discount-badge,
  .page-wishlist .spc-discount-badge,
  .page-product .spc-discount-badge {
    top: 6px !important;
    left: 6px !important;
    padding: 2px 5px !important;
    font-size: 8.5px !important;
    box-shadow: none !important;
    animation: none !important;
  }

  .page-home .spc-wishlist-btn,
  .page-wishlist .spc-wishlist-btn,
  .page-product .spc-wishlist-btn {
    width: 26px !important;
    height: 26px !important;
    top: 6px !important;
    right: 6px !important;
  }
}

@media (max-width: 359px) {
  .page-home .store-grid,
  .page-wishlist .store-grid,
  .page-product .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.audience-pills {
  margin-top: -2px;
}

.audience-pills .category-pill {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(96, 165, 250, 0.18);
}

@media (max-width: 900px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .store-product-card,
  .store-product-card::before,
  .store-product-card::after,
  .store-product-card .spc-image-wrap::after,
  .store-product-card .spc-discount-badge,
  .branding-animation {
    animation: none !important;
    transition-duration: 0s !important;
  }

  .store-product-card,
  .store-product-card .spc-image-wrap img {
    will-change: auto !important;
  }

  .store-product-card:hover,
  .store-product-card:hover .spc-image-wrap img {
    transform: none !important;
  }
}

/* Souled Store inspired retail refresh */
.store-shell {
  background:
    radial-gradient(circle at top center, rgba(0, 102, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #070a10 0%, #0a1019 26%, #0b111c 100%);
}

.page-home .store-container,
.page-product .store-container,
.page-checkout .store-container,
.page-account .store-container,
.page-policy .store-container {
  max-width: 1320px;
}

.redesign-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(6, 10, 16, 0.84);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.navbar-shell {
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand-pill {
  border-radius: 14px !important;
  box-shadow: none !important;
  background: #0f1520 !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
}

.navbar-brand-icon {
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.24), rgba(32, 211, 255, 0.18)) !important;
}

.navbar-brand-copy strong {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.navbar-brand-copy small {
  color: rgba(226, 232, 240, 0.62);
}

.page-home .home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 22px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(8, 14, 24, 0.98), rgba(10, 18, 30, 0.95)),
    radial-gradient(circle at top left, rgba(0, 102, 255, 0.18), transparent 36%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.34);
}

.page-home .hero-left h1 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 3.7vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.page-home .hero-desc,
.page-home .hero-left p {
  max-width: 60ch;
  color: rgba(226, 232, 240, 0.76);
}

.page-home .hero-trust-strip {
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .hero-trust-strip span {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(11, 18, 30, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.11);
  color: #dbe7ff;
  font-size: 0.82rem;
}

.page-home .hero-stats-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .hero-stat {
  min-height: 108px;
  justify-content: center;
  align-items: flex-start;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 20, 33, 0.96), rgba(9, 14, 24, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 18px;
}

.page-home .hero-stat-num {
  font-size: 2rem;
  line-height: 1;
}

.page-home .hero-drop-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.page-home .hero-drop-item {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(10, 16, 26, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.page-home .hero-drop-item span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.35;
}

.retail-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.retail-trust-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(12, 18, 28, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.09);
}

.retail-trust-pill i {
  width: 18px;
  height: 18px;
  color: #60a5fa;
  flex-shrink: 0;
}

.retail-trust-pill strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.94rem;
}

.retail-trust-pill span {
  display: block;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.83rem;
  line-height: 1.4;
}

.page-home .store-filters {
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(9, 14, 22, 0.98));
}

.page-home .search-input-wrapper {
  align-items: stretch;
  gap: 10px;
}

.page-home .search-input {
  min-height: 54px;
  border-radius: 16px;
  background: rgba(6, 10, 16, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.page-home .category-pills {
  gap: 10px;
}

.page-home .category-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.page-home .category-pill.active {
  background: #0066ff;
  border-color: #0066ff;
  color: #ffffff;
  box-shadow: none;
}

.catalog-eyebrow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #dbe7ff;
  background: rgba(0, 102, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.page-home .section-title-row,
.page-wishlist .section-title-row {
  align-items: center;
}

.page-home .store-product-card,
.page-wishlist .store-product-card,
.page-product .store-product-card {
  border-radius: 18px;
  background: #101620;
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: none;
}

.page-home .spc-image-wrap,
.page-wishlist .spc-image-wrap,
.page-product .spc-image-wrap {
  border-radius: 16px 16px 0 0;
  aspect-ratio: 0.82;
  background: #090d14;
}

.page-home .spc-body,
.page-wishlist .spc-body,
.page-product .spc-body {
  gap: 8px;
  padding: 14px 14px 16px;
}

.page-home .spc-title,
.page-wishlist .spc-title,
.page-product .spc-title {
  font-size: 0.94rem;
  line-height: 1.38;
  min-height: 2.76em;
}

.page-home .spc-price,
.page-wishlist .spc-price,
.page-product .spc-price {
  font-size: 1.06rem;
  font-weight: 800;
}

.page-home .spc-meta-chip,
.page-product .spc-meta-chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.08);
}

.page-product .pdp-layout {
  gap: 28px;
  align-items: start;
}

.page-product .pdp-main-image-wrap,
.page-product .pdp-info,
.page-product .pdp-description,
.page-product .pdp-support-card {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.98), rgba(9, 13, 21, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: none;
}

.page-product .pdp-main-image-wrap {
  min-height: 580px;
}

.page-product .pdp-info {
  padding: 24px;
}

.page-product .pdp-title {
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-product .pdp-price-block {
  align-items: center;
  gap: 12px;
}

.page-product .pdp-selling-price {
  font-size: clamp(2rem, 2.5vw, 2.7rem);
}

.page-product .pdp-buy-form {
  display: grid;
  gap: 18px;
}

.page-product .pdp-qty-row {
  padding-top: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.page-product .pdp-policy {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.page-cart .cart-page-container,
.page-account .store-container {
  max-width: 1240px;
}

.page-cart .cart-page-head,
.page-orders .store-container > div:first-child,
.page-wishlist .store-section,
.page-issues .topbar,
.page-success .success-intro,
.page-policy .policy-hero {
  border-radius: 22px;
}

.page-cart .cart-page-head {
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 21, 34, 0.98), rgba(9, 14, 22, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.page-cart .cart-layout {
  gap: 22px;
}

.page-cart .cart-item-card,
.page-cart .cart-summary-panel,
.page-account .auth-card,
.page-issues .section-card,
.page-success .success-stage-card,
.page-policy .policy-card {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 20, 31, 0.98), rgba(9, 13, 21, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: none;
}

.page-cart .cart-summary-top h2,
.page-checkout .checkout-summary-head h2,
.page-checkout .checkout-form-head h2,
.page-policy .policy-hero h1,
.page-success .success-title {
  letter-spacing: -0.03em;
}

.page-cart .cart-checkout-cta,
.page-checkout .checkout-pay-btn,
.page-success .success-home-btn,
.page-orders .glow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 14px;
  background: linear-gradient(90deg, #005af7, #1d7ff7 52%, #28b8ff);
  box-shadow: 0 14px 28px rgba(0, 102, 255, 0.18);
}

.page-checkout .checkout-shell {
  max-width: 1260px;
}

.page-checkout .checkout-hero {
  padding: 24px 0 10px;
}

.page-checkout .checkout-grid {
  gap: 22px;
}

.page-checkout .checkout-summary-card,
.page-checkout .checkout-form-card {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 20, 31, 0.98), rgba(9, 13, 21, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: none;
}

.page-checkout .checkout-product-card,
.page-checkout .checkout-coupon-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.page-checkout .checkout-form-stack label input,
.page-checkout .checkout-form-stack label textarea,
.page-checkout .checkout-form-stack label select,
.page-checkout .checkout-coupon-row input {
  border-radius: 14px;
  background: #090d14;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.page-orders .store-container {
  max-width: 1140px !important;
}

.page-orders .auth-card,
.page-orders .order-card,
.page-orders .admin-order-card,
.page-orders .address-card,
.page-orders .order-actions {
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(14, 20, 31, 0.98), rgba(9, 13, 21, 0.98)) !important;
  border: 1px solid rgba(148, 163, 184, 0.1) !important;
}

.page-orders .order-tracker {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.page-issues .page-inner {
  max-width: 1120px;
}

.page-issues .topbar,
.page-issues .section-card {
  background: linear-gradient(180deg, rgba(14, 20, 31, 0.98), rgba(9, 13, 21, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.page-success .success-layout {
  gap: 18px;
}

.page-success .success-stage-card {
  padding: 28px;
}

.page-policy .policy-layout {
  gap: 18px;
}

.page-policy .policy-hero {
  padding: 28px;
  background: linear-gradient(180deg, rgba(15, 21, 34, 0.98), rgba(9, 14, 22, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.page-policy .policy-card-stack,
.page-policy .policy-card-grid {
  gap: 16px;
}

.store-footer {
  margin-top: 32px;
  padding: 26px 20px 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(7, 10, 16, 0.92);
}

.store-footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.store-footer .footer-links a {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-footer .footer-copy {
  margin-top: 14px;
  color: rgba(148, 163, 184, 0.78);
  text-align: center;
}

@media (max-width: 1024px) {
  .page-home .home-hero-shell,
  .retail-trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .hero-drop-strip {
    grid-template-columns: 1fr;
  }

  .page-product .pdp-layout,
  .page-checkout .checkout-grid,
  .page-cart .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .redesign-navbar {
    padding-top: 10px;
  }

  .page-home .home-hero-shell,
  .retail-trust-row {
    grid-template-columns: 1fr;
  }

  .page-home .home-hero-shell {
    padding: 18px;
    gap: 16px;
  }

  .page-home .hero-left h1 {
    max-width: none;
    font-size: 2rem;
  }

  .retail-trust-pill {
    padding: 14px;
  }

  .page-home .store-filters {
    padding: 14px;
  }

  .page-home .search-input-wrapper {
    flex-wrap: wrap;
  }

  .page-home .search-input {
    width: 100%;
  }

  .page-product .pdp-info,
  .page-cart .cart-page-head,
  .page-cart .cart-item-card,
  .page-cart .cart-summary-panel,
  .page-checkout .checkout-summary-card,
  .page-checkout .checkout-form-card,
  .page-policy .policy-hero,
  .page-policy .policy-card,
  .page-success .success-stage-card {
    border-radius: 18px;
  }
}
